[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernel 2.6.5 and Nvidia driver



> I am facing a problem in installing the nvidia binary driver with
> the latest kernel 2.6.5.
> 
> With the earlier kernel versions, I could install the driver without any
> hassles. I get the following error message when I try to
> install it with kernel 2.6.5:
> 
>   ERROR: Unable to determine the NVIDIA kernel module filename.
> 
> Any pointers?
> 
> For the record, I am not using the debian package for nvidia drivers. I
> install it directly and so far this has not given me any trouble.

In kernel 2.6.5, "make clean" has become more aggressive and now removes
some files that you need to build some modules, e.g. nvidia and vmware.  If
you run "make clean" after you build your kernel-- and this happens by
default if, for example, you build the kernel with make-kpkg kernel_image--
then your nvidia module won't compile.

Try rebuilding your kernel and avoiding "make clean" afterwards-- however
that is done.  I use make-kpkg kernel_image, and the workaround there is to
add a line

do_clean := NO

in /etc/kernel-pkg.conf.  See http://bugs.debian.org/242163.




Reply to: