Link to home
Start Free TrialLog in
Avatar of plefort
plefort

asked on

Red Hat versioning & updating kernels

Hi all,

I am trying to get ndiswrapper 1.1 to work.  It requires the include files for the kernel 2.4.21-4.  I am ruinning that kernel since I have Red Hat Enterprise vers. 3.

The problem comes into existance when I install the source files for that kernel.  The tarball itself is called, "kernel.2.4.21.tar.bzip2" not "kernel.2.4.21-4.tar.bzip2".
I install & compile the source.

So, the problem is when I compile the ndiswrapper code.  When I go to load ndiswrapper, using modprobe I get an error message that says that ndiswrapper was compiled with include files from 2.4.21 instead of 2.4.21-4.  How do I go about overcoming this problem?

What does the "-4" stand for & where does it come from?

Thanks.

Philip Lefort
Avatar of jlevie
jlevie

You don't want to be using a tarball for the kernel sources, but rather you should do an 'up2date -i kernel-source'. That will install sources that match your RedHat kernel.
Avatar of plefort

ASKER

That's actually a pretty good answer.  Where can I get the kernel-source from? I thought it would be with the CDs that came
with the s/w but it wasn't.

ASKER CERTIFIED SOLUTION
Avatar of pdub79
pdub79

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The kernel-source rpm package is on the RHEL 3.0 CD's, but I don't remember which one. The easy way to install the sources is to use up2date, as I mentioned above.