OK- A dumb question. Will a "generic"(kernel.org) kernel work with Centos 4? My reason for asking- I'm needing to upgrade from RH9, and would rather go ahead and go with 4 for the 2.6 kernel, but I need a patched kernel (Win4Lin), and I'm not sure they will offer a prepatched version (though they probably will for EL4). Thanks! -- Chris Bryant
Short answer: probably yes, but not in the way RH/CentOS intended. Long answer: you are better off obtaining the source RPM for the running kernel at hand, add your patch to the already insanely long list of Red Hat patches applied to the kernel, change the release tag (to make it unique to you), and 'rpmbuild -ba' a whole new set of kernel binaries. -te Chris Bryant wrote:> OK- A dumb question. Will a "generic"(kernel.org) kernel work with > Centos 4? > My reason for asking- I'm needing to upgrade from RH9, and would rather > go ahead and go with 4 for the 2.6 kernel, but I need a patched kernel > (Win4Lin), and I'm not sure they will offer a prepatched version (though > they probably will for EL4). > > Thanks! >-- Troy Engel | Systems Engineer Fluid, Inc | http://www.fluid.com
On Fri, 2005-02-25 at 17:06 -0500, Chris Bryant wrote:> OK- A dumb question. Will a "generic"(kernel.org) kernel work with Centos 4? > My reason for asking- I'm needing to upgrade from RH9, and would rather > go ahead and go with 4 for the 2.6 kernel, but I need a patched kernel > (Win4Lin), and I'm not sure they will offer a prepatched version (though > they probably will for EL4).I have not tried this on Centos 4 but on the -3 series, the kernel would boot fine, but I couldn't get XFree to run. I did not research it very far, but I'm guessing it had to do with the patches. Do you have the option of attempting to apply the patch(es) you need to the Centos 4 kernel to see if it will apply? -- C. Linus Hicks <lhicks at nc dot rr dot com>
Thanks to all- for some reason, Netraverse says that the patch *must* be applied to a vanilla kernel and not a distribution kernel, though I'm not sure why. I'll probably try it anyway- I'm good at breaking things (c; -- Chris Bryant