OpenVZ Forum


Home » General » Support » Patch for vanilla kernel?
Patch for vanilla kernel? [message #43872] Wed, 26 October 2011 17:02 Go to next message
pixnion
Messages: 4
Registered: October 2011
Junior Member
Hi,

Looking at download.openvz.org/kernel/ there seems to only be (up to date) patches for the RHEL kernels? Will up to date patches never be released for the vanilla kernels found at kernel.org (even if it's for old versions)?
Re: Patch for vanilla kernel? [message #43875 is a reply to message #43872] Thu, 27 October 2011 14:10 Go to previous messageGo to next message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
I can see the same type of patches for all the kernels, ie.:

patch-042stab039.5-combined.gz (latest RHEL6 testing kernel)

patch-feoktistov.1-combined.gz (latest 2.6.32 devel kernel, obsolete)

This isn't what you're looking for?

[Updated on: Thu, 27 October 2011 14:11]

Report message to a moderator

Re: Patch for vanilla kernel? [message #43881 is a reply to message #43875] Thu, 27 October 2011 19:37 Go to previous messageGo to next message
pixnion
Messages: 4
Registered: October 2011
Junior Member
None of the patches that you've linked, or any other that I've found at download.openvz.org/kernel/ are possible to use for patching i.e. ftp://ftp.funet.fi/pub/Linux/kernel/v2.6/longterm/v2.6.32/li nux-2.6.32.46.tar.gz as in the vanilla long term support 2.6.32 linux kernel. I guess it won't be a problem to patch a RHEL customized linux kernel, but I'm not using RHEL or any such distribution based on RHEL.

Is OpenVZ developed only for RHEL (or CentOS/Scientific Linux etc.)?
Re: Patch for vanilla kernel? [message #43883 is a reply to message #43872] Thu, 27 October 2011 21:18 Go to previous messageGo to next message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
These patches are applicable to vanilla Linux 2.6.32 kernel (not to 2.6.32.y), available from kernel.org.

That's why you can't use them directly against 2.6.32.46...

Perhaps someone could provide a more in depth advice if you tell us which distro are you planning to use? For example, debian, gentoo and owl also have openvz kernels.

Re: Patch for vanilla kernel? [message #43917 is a reply to message #43883] Sat, 29 October 2011 13:38 Go to previous messageGo to next message
pixnion
Messages: 4
Registered: October 2011
Junior Member
I use several distributions but I always use vanilla kernels.

Mainline version 2.6.32 is really really old and shouldn't be used, which means that any patches for that kernel version are thus pointless...
Re: Patch for vanilla kernel? [message #43918 is a reply to message #43872] Sat, 29 October 2011 21:36 Go to previous messageGo to next message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
Combined patches contain all the updates up to the point of their release. If you look at the release page for the latest openvz RHEL6 kernel, you'll see that the combined patch basically contains:
- all the Red Hat's patches up to 2.6.32-131.12.1
- openvz patchset.

And if you look at the last openvz vanilla (now obsolete) 2.6.32-feokistov kernel, you'll see that the combined patch contains:
- all vanilla patches up to 2.6.32.28
- openvz patchset.

OpenVZ team basically suggests using the RHEL openvz kernel at the moment, since other kernel branches aren't supported. You'll find more info about the reasons for this and the future plans here:

The "RHEL6 goes stable!" blog post.

I'm not that familiar with how Debian and Gentoo maintain their openvz kernels, you might want to look into that if you think their branches would be more suitable for your needs.
Re: Patch for vanilla kernel? [message #43921 is a reply to message #43918] Sun, 30 October 2011 10:36 Go to previous message
pixnion
Messages: 4
Registered: October 2011
Junior Member
Thank you for this clarifying answer. This also explains why applying the patch to vanilla 2.6.32.46 outputs warnings about "reversed patching" or "already patched" or whatever it said. Smile
Previous Topic: Watchdog Kernel Panic (RHEL 6 / 042stab037.1 )
Next Topic: Enable Quota
Goto Forum:
  


Current Time: Tue Jul 16 02:45:37 GMT 2024

Total time taken to generate the page: 0.02584 seconds