On Wed, 2003-08-06 at 22:21, �lie Charest wrote:
> Le 6 Ao�t 2003 12:42, Thomas Backlund a �crit :
> > From: "Thomas Backlund" <[EMAIL PROTECTED]>
> >
> > Argh ... Onother typo... It should be:
> >
> > rpm --rebuild kernel_srpm_name  --without up --without smp --without
> > secure --without doc --without BOOT
> >
> >
> > will build only the enterprise kernel and the kernel-source ...
> 
> I did this, and it worked...however, once I've installed the kernel and the 
> kernel-source, I can't install the NVIDIA driver module. Using the install 
> script, I get this error message:
> 
> "ERROR: Unable to load the kernel module 'nvidia.o'.  This is most likely
>        because the kernel module was built using the wrong kernel header 
> files.
>        Please make sure you have installed the kernel header files for your
>        kernel; on Red Hat Linux systems, for example, be sure you have the
>        'kernel-source' rpm installed.  If you know the correct kernel header
>        files are installed, you may specify the kernel include path with the
>        '--kernel-include-path' commandline option."
> 
> I've tried using the --kernel-inclue-path with both of these paths:
> 
> /usr/src/linux-2.4.21-6.5tmb/include
> /lib/modules/2.4.21-6.5tmbenterprise/build/include
> 
> but I get the same error message.
> 
> Should I try re-configuring and re-compiling the kernel using the installed 
> sources? Is anyone else having this problem?

Yes, of course. You have to recompile the nvidia driver every time you
install a new kernel.
-- 
adamw


Reply via email to