How to not rebuild NVIDIA drivers for each kernel?
Is it possible to not rebuild the NVIDIA drivers for each kernel build, if not for different versions of the kernel at least for rebuilds of the same kernel?
|
yes, before doing make modules_install simply backup the old nvdia module and copy it back afterwards...
(works only for rebuild of the same kernel version) |
Actually, there is a way. Here's the short steps:
Code:
1. Boot with the new kernel. and you can quite happily boot into either one without re-installing. Evidence: Code:
dave@matthews:~$ ls /lib/modules/2.4.32/kernel/drivers/video/ them on a customer's box. I've done it, rebooted a few times, and it's nice how they work. ;) |
I think it's not the problem building two nvidia-modules for different kernels, but keeping the nvidia module when rebuilding the kernel... (what is solved with my idea)
Your method can be achieved much easier using NVIDIA-INSTALLER -N (see advanced installer options) |
So now we know how to keep the Nvidia module for a rebuild
of the same kernel version, and how to keep if for a rebuild of a different kernel version. Nice to work together, eh? |
Thanks everyone for your help, this'll make things easier.
|
Looking at "man nvidia-installer" I see these:
Quote:
Don't forget that *nix commands are case sensitive. As for the -N switch, I always tell it NOT to go to the Nvidia FTP site, because it's just an unnecessary waste of time. When I first ran Slackware in 2003 I would let it try, but it never reached the site. Same with trying the "nvidia-installer --update" option. It can get there to tell me there's a new version, but it can't download it for me (never gets past 1%). Today it's hung here: Code:
Downloading: |
Might wanna check this thread of mine.
See the "-K -k <kernel_number>" option, but only works with the "*pkg1.run" shell script, not with the "nvidia-installer" executable. |
nice co-working here... :)
sorry for the confusion, of course I meant -K, not -N... CMIIW: you can add these parameters to the .run files an to the nvidia-installer script contained inside, as the .run script passes them on. the download-problem seems specific to your system, as it works perfectly for me (and btw. also using a browser pointing to the address given by your output). |
All times are GMT -5. The time now is 03:34 PM. |