Linux - Why am I unable to load the NVIDIA kernel module that I compiled for the Red Hat Linux 7.3 2.4.18-3bigmem kernel?

Answer ID 172
Published 11/30/2004 09:19 AM
Updated 02/25/2008 10:48 AM

Why am I unable to load the NVIDIA kernel module that I compiled
for the Red Hat Linux 7.3 2.4.18-3bigmem kernel?


The kernel header files Red Hat Linux distributes for Red Hat Linux 7.3
2.4.18-3bigmem kernel are misconfigured.  NVIDIA's precompiled kernel
module for this kernel can be loaded, but if you wish to compile the
NVIDIA kernel interface files yourself for this kernel, then you will
need to perform the following:

 cd /lib/modules/`uname -r`/build/
 make mrproper
 cp configs/kernel-2.4.18-i686-bigmem.config .config
 make oldconfig dep

Note: Red Hat Linux ships kernel header files that are simultaneously
configured for ALL of their kernels for a particular distribution
version.  A header file generated at boot time sets up a few parameters
that select the correct configuration.  Rebuilding the kernel headers
with the above commands will create header files suitable for the
Red Hat Linux 7.3 2.4.18-3bigmem kernel configuration only, thus trashing
the header files for the other configurations.

Was this answer helpful?
Your rating has been submitted, please tell us how we can make this answer more useful.

LIVE CHAT

Chat online with one of our support agents

CHAT NOW

ASK US A QUESTION

Contact Support for assistance

CONTACT US