OpenVZ Forum


Home » Mailing lists » Users » 2.6.22.ovz00x spec file
2.6.22.ovz00x spec file [message #21593] Thu, 11 October 2007 18:15 Go to next message
Jean-Marc Pigeon is currently offline  Jean-Marc Pigeon
Messages: 27
Registered: October 2007
Junior Member
Bonjour a Tous,


	2.6.22 kernel based src.rpm file DO NOT generate
	package "devel" when an RPMBUILD is done.

	RHEL5 openvz kernel spec file does it.

	Generating the devel package is mandatory to have
	some other application (ie: nvidia drivers) to
	be installed on the openvz kernel.

	I have tuned the 2.6.22 kernel.ovz.spec to
	generate devel package, but it may still need fine
	tuning before (if) included in current openvz distribution.

	What is the "openvz devel team" position about 
	having the spec file to generate kernel devel package?

	 
-- 
A bientôt
==========================================================================
Jean-Marc Pigeon                                   Internet: jmp@safe.ca
SAFE Inc.                                          Phone: (514) 493-4280
                                                   Fax:   (514) 493-1946
        Clement, 'a kiss solution' to get rid of SPAM (at last)
           Clement' Home base <"http://www.clement.safe.ca">
==========================================================================
Re: 2.6.22.ovz00x spec file [message #21599 is a reply to message #21593] Thu, 11 October 2007 21:34 Go to previous messageGo to next message
mhw is currently offline  mhw
Messages: 12
Registered: March 2007
Junior Member
Hello,


On Thu, 2007-10-11 at 14:15 -0400, Jean-Marc Pigeon wrote:
> Bonjour a Tous,
> 
> 
> 	2.6.22 kernel based src.rpm file DO NOT generate
> 	package "devel" when an RPMBUILD is done.

> 	RHEL5 openvz kernel spec file does it.

	I mentioned this in another message a while back and never got a reply
to that particular E-Mail.

> 	Generating the devel package is mandatory to have
> 	some other application (ie: nvidia drivers) to
> 	be installed on the openvz kernel.

	Have you actually tried it?  I was able to build the madwifi drivers
with what's in the kernel install.  OTOH, the fglrx driver (ATI) failed
for some obscure reason (implicit declaration of some function or
another).

> 	I have tuned the 2.6.22 kernel.ovz.spec to
> 	generate devel package, but it may still need fine
> 	tuning before (if) included in current openvz distribution.

> 	What is the "openvz devel team" position about 
> 	having the spec file to generate kernel devel package?

	I'm not on the devel team but I've been interacting with some of them
on some of these issues and other configuration issues.  You probably
should post this to the devel list, instead of the user list, and you
should file a bugzilla request, in buzilla.openvz.org, to cover it as
well.  Attach your tweaked .spec file to the bugzilla report to them.

	Mike
-- 
Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw@WittsEnd.com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471        | possible worlds.  A pessimist is sure of it!
Re: 2.6.22.ovz00x spec file [message #21601 is a reply to message #21599] Thu, 11 October 2007 22:12 Go to previous messageGo to next message
Jean-Marc Pigeon is currently offline  Jean-Marc Pigeon
Messages: 27
Registered: October 2007
Junior Member
Bonjour a tous,

On Thu, 2007-10-11 at 17:34 -0400, Michael H. Warfield wrote:
> Hello,
> 
> 
> On Thu, 2007-10-11 at 14:15 -0400, Jean-Marc Pigeon wrote:
> > Bonjour a Tous,
> > 
> > 
> > 	2.6.22 kernel based src.rpm file DO NOT generate
> > 	package "devel" when an RPMBUILD is done.
> 
> > 	RHEL5 openvz kernel spec file does it.
> 
> 	I mentioned this in another message a while back and never got a reply
> to that particular E-Mail.
> 
> > 	Generating the devel package is mandatory to have
> > 	some other application (ie: nvidia drivers) to
> > 	be installed on the openvz kernel.
> 
> 	Have you actually tried it?  I was able to build the madwifi drivers
> with what's in the kernel install.  OTOH, the fglrx driver (ATI) failed
> for some obscure reason (implicit declaration of some function or
> another).

		Yes, I was able to generate
	nvidia-kmod-100.14.19-1.2.6.22_ovz003.1.src.rpm.

	
	My concerne is now netfilter capability (Very mandatory
	for a kernel used by a server). My understanding
	it is fixed within ovz004. is it?
	
		
> 
> > 	I have tuned the 2.6.22 kernel.ovz.spec to
> > 	generate devel package, but it may still need fine
> > 	tuning before (if) included in current openvz distribution.
> 
> > 	What is the "openvz devel team" position about 
> > 	having the spec file to generate kernel devel package?
> 
> 	I'm not on the devel team but I've been interacting with some of them
> on some of these issues and other configuration issues.  You probably
> should post this to the devel list, instead of the user list, and you
> should file a bugzilla request, in buzilla.openvz.org, to cover it as
> well.  Attach your tweaked .spec file to the bugzilla report to them.

	Ok, I'll do it, spec file is not perfect yet (/boot/config file
	is not 'packaged' within the Kernel.X86.rpm), but
	it is generating kernel devel and binary packages.

> 
> 	Mike
-- 
A bientôt
==========================================================================
Jean-Marc Pigeon                                   Internet: jmp@safe.ca
SAFE Inc.                                          Phone: (514) 493-4280
                                                   Fax:   (514) 493-1946
        Clement, 'a kiss solution' to get rid of SPAM (at last)
           Clement' Home base <"http://www.clement.safe.ca">
==========================================================================
Re: [Users] 2.6.22.ovz00x spec file [message #21603 is a reply to message #21601] Thu, 11 October 2007 23:10 Go to previous message
mhw is currently offline  mhw
Messages: 12
Registered: March 2007
Junior Member
Bonjour...

	Adding devel to the cc list.  Knock knock!

On Thu, 2007-10-11 at 18:12 -0400, Jean-Marc Pigeon wrote:
> Bonjour a tous,
> 
> On Thu, 2007-10-11 at 17:34 -0400, Michael H. Warfield wrote:
> > Hello,
> > 
> > 
> > On Thu, 2007-10-11 at 14:15 -0400, Jean-Marc Pigeon wrote:
> > > Bonjour a Tous,
> > > 
> > > 
> > > 	2.6.22 kernel based src.rpm file DO NOT generate
> > > 	package "devel" when an RPMBUILD is done.
> > 
> > > 	RHEL5 openvz kernel spec file does it.
> > 
> > 	I mentioned this in another message a while back and never got a reply
> > to that particular E-Mail.
> > 
> > > 	Generating the devel package is mandatory to have
> > > 	some other application (ie: nvidia drivers) to
> > > 	be installed on the openvz kernel.
> > 
> > 	Have you actually tried it?  I was able to build the madwifi drivers
> > with what's in the kernel install.  OTOH, the fglrx driver (ATI) failed
> > for some obscure reason (implicit declaration of some function or
> > another).

> 		Yes, I was able to generate
> 	nvidia-kmod-100.14.19-1.2.6.22_ovz003.1.src.rpm.

	
> 	My concerne is now netfilter capability (Very mandatory
> 	for a kernel used by a server). My understanding
> 	it is fixed within ovz004. is it?

	I'm still waiting to hear back from Pavel or Alexey but, AFAICT, no, it
is not.

	Corresponding in private with Kir, he seemed surprised at my earlier
post asking if ovz004 fixed the netfilter problem and he asked me for
bugzilla numbers.  Then he asked Pavel or Alexey to comment.  Haven't
heard back further at this point.

	They may yet fix it before ovz004 is out (Kir indicated sometime this
week) but I tried building from the git tree 2.6.22 branch ovz004 tag
just a couple days ago and two of the conntrack modules still had
unresolved externals and bombed the build.  I just checked git and
nothing has been committed to that branch in the last 9 days.

> > 
> > > 	I have tuned the 2.6.22 kernel.ovz.spec to
> > > 	generate devel package, but it may still need fine
> > > 	tuning before (if) included in current openvz distribution.
> > 
> > > 	What is the "openvz devel team" position about 
> > > 	having the spec file to generate kernel devel package?
> > 
> > 	I'm not on the devel team but I've been interacting with some of them
> > on some of these issues and other configuration issues.  You probably
> > should post this to the devel list, instead of the user list, and you
> > should file a bugzilla request, in buzilla.openvz.org, to cover it as
> > well.  Attach your tweaked .spec file to the bugzilla report to them.
> 
> 	Ok, I'll do it, spec file is not perfect yet (/boot/config file
> 	is not 'packaged' within the Kernel.X86.rpm), but
> 	it is generating kernel devel and binary packages.

	Regards,
	Mike
-- 
Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw@WittsEnd.com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471        | possible worlds.  A pessimist is sure of it!
Previous Topic: VPS capabilities
Next Topic: boot error - unable to mount root fs on unknown-block(0,0)
Goto Forum:
  


Current Time: Thu May 02 04:07:03 GMT 2024

Total time taken to generate the page: 0.01799 seconds