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

Re: NVidia - correct build/install sequence?



Quoting Rick Macdonald <rickmacd@shaw.ca>:

> I recently switched to using module-assistant for building nvidia 
> drivers but wonder if I am doing everything in the correct sequence. I 
> especially wonder if the first reboot is always necessary.
> 
> Here's what I do when upgrading kernel versions or even reconfiguring a 
> kernel, both of which seem to require rebuilding NVidia to match.
> 
> cd /usr/src/linux
> make xconfig
> make-kpkg clean
> make-kpkg --append-to-version .rickm.4 kernel_image
> cd ..
> dpkg -i kernel-image-2.6.9.rickm.4_10.00.Custom_i386.deb
> ==>> reboot
> 
> I always do the reboot here, figuring that the kernel needs to be 
> installed and running for the nvidia to build correctly. Usually, GDM 
> fails to run after booting because the old driver doesn't match the new 
> kernel. But what if I'm reconfiguring, such as turning on tmpfs or some 
> drivers? Should I always reboot?

Actually, you can tack modules_image to the end of your make-kpkg line.
Install both packages (kernel-image and nvidia-kernel) at the same time and
reboot only once.

-Roberto

-- 
Roberto C. Sanchez
http://familiasanchez.net/~sanchezr



Reply to: