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
  • 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

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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 Month12 days, 21 hours left to enroll

578 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