Click to See Complete Forum and Search --> : Redhat enterprise5 kernel compilation


Net_Spy
11-14-2007, 05:34 AM
Greetings to all,

I'm having a problem with redhat enterprise 5 kernel version 2.6.18-8.I could not find the source for recompile.I installed my machine a week ago now I need to add few module in kernel and idea Looking forward for kind response.

Regards
Net_Spy

bwkaz
11-14-2007, 07:19 PM
Red Hat has (or at least, they had) packages named kernel-source-<version> that contained the kernel sources. That should be what you need -- just make sure you install the right version. (Match whichever kernel you're running.)

phlipant
11-15-2007, 01:25 AM
Red Hat has (or at least, they had) packages named kernel-source-<version> that contained the kernel sources. That should be what you need -- just make sure you install the right version. (Match whichever kernel you're running.)

I`m not certain about Red Hat, but Fedora uses kernel-devel. I suspect they use the same naming convention. At any rate, try

yum install kernel-source

and

yum install kernel-devel

to load the source code