View Single Post
Old 09-10-02, 09:58 PM   #3
utiel
Registered User
 
Join Date: Aug 2002
Location: mallorca
Posts: 65
Default If you compile a new kernel... compile Nvidia driver too

If you have compiled your kernel ( a new version ) then you have to recompile and install your Nvidia-driver ( but not Nvidia-GLX)

I use src.rpm, because I use RedHat

With src.rpm, you recompile it with:

rpmbuild --rebuild Nvidia_kernel.src.rpm ( or the file you have downloaded )

If all is OK, then in /usr/src/redhat/RPMS/i386, there will be your Nvidia_kernel.rpm

Install it with:

rpm -U Nvidia_kernel.rpm --force ( --force because it exist and is the same version)


NOTE:
If you try to recompile Nvidia_driver from src.rpm , it will be compiled for your current running kernel, not kernel in /usr/src/linux. There is a variable to export, TARGET_KERNEL, I think, but don't remember now




About drm.o , I recommend do a "make mrproper" and configure and compile your kernel. If error still exists, delete this file or say N to drm/dri options ( Nvidia use Internal DRI, not from Kernel )
utiel is offline   Reply With Quote