LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   kernel-headers (https://www.linuxquestions.org/questions/red-hat-31/kernel-headers-159768/)

warmongr 03-19-2004 07:23 AM

kernel-headers
 
Hi all,

New to the forum. Have found some great threads so far. Thanks.

Now to my problem.

I'm trying to configure the latest qla2300 drivers into my 2.4.20-30 kernel and the installation is complaining about header files missing. I went looking for a kernel-headers file for this kernel and can not find one anywhere?

Any ideas? Has something changed. I looked on the Redhat 9 disks 1 2 and 3 and no kernel-headers package.

Thanks for any help you can give.

Ice9 03-19-2004 07:30 AM

You've got to install the kernel source from the RH cd's.

warmongr 03-19-2004 08:22 AM

Thanks Ice9. The problem with that is this is an updated kernel. The kernel source is on the CD's is 2.4.20-6 and the kernel I'm running is the 2.4.20-30. When I try and run the procedures from the qlogic module install, it's looking for a file in /usr/src/linux-2.4/include/linux/modversions.h file. This file does not exist so the install failes. I've looked at the source for the redhat stock cd and the 2.4.25 kernel source and it is not in either directory. It is however in the 2.6 kernel source but that is another story all together.

Ice9 03-19-2004 08:48 AM

Here are lots of rpm's for various kernels, including the source for 2.4.20-30.

warmongr 03-19-2004 09:12 AM

Cool. Thanks for the link. What I did to get the module to build was to go to the 2.6 source. Grab the modversions.h file from there. Copy it into my 2.4 kernel source directory and the driver built.

Thanks for you help. Not sure if the driver is sound at this moment but I am booting off of a SANS device and it's working so the driver must be working or there'd be no OS.

Quick responses. Do you do tek-tips too.

N

Ice9 03-19-2004 09:28 AM

tek-tips?

warmongr 03-19-2004 11:34 AM

Sorry,

www.tek-tips.com. Another forum for teks.

Thanks for the help today.

N


All times are GMT -5. The time now is 07:16 PM.