darkleaf |
08-19-2004 10:45 AM |
Kernel compile breaks both nvidia driver module and dirver installation
I recompiled my kernel so I had alsa as modules instead of built-in. The problem is the kernel compilation breaks the nvidia driver and later the installation. Because I reinstalled debian because of this yesterday already I don't feel like doing that again.
I did the compilation and now modprobe can't find the driver anymore. The nvidia installation program recognised the installed driver and removes it. Now I install the driver again, after building the kernel module I get an error that I built the nvidia module against the wrong kernel sources. I have my kernel source untarred in /usr/src/linux so I gave it with the --kernel-source-path but it still gives me the same error. Why can't it compile against the source I used to install the kernel now? When I compiled a new kernel once (without the driver installed) it worked fine and now I try to compile a new kernel and the driver and the installation break. This is how I build my kernels:
make clean /mrproper (tried both)
make menuconfig (only with make mrproper above)
make && make modules
make modules_install
make install
Could the problem be that with the first compilation a linux.old and linux is made (in lilo and in /boot it has some similar files of which I can't get the names now but vmlinuz and vmlinuz.old are there as well for example) and that it can't make this again if I compile a new kernel? Would it have a problem removing the linux.old changing linux to linux.old and then create the new linux in this folder for example?
I can't give logs cause I can't get it on this computer.
Thanks for any help you have on this topic !
|