Red Hat versioning & updating kernels

Posted on 2005-04-01
Medium Priority
Last Modified: 2013-12-16
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?


Philip Lefort
Question by:plefort
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 40

Expert Comment

ID: 13685085
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.

Author Comment

ID: 13686287
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.


Accepted Solution

pdub79 earned 750 total points
ID: 13686364
http://kernel.org provides the latest linux kernels
LVL 40

Expert Comment

ID: 13686518
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.

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month13 days, 3 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question