Nvidia drivers with multiple kernels
Hi
I currently have 3 kernel's on my system 1 Slackwareold, a stock 2.4.26 kernel 2 Slackware2.6, my own 2.6.6 kernel that sort of works 3 Slackwaretest, my 2.6.6 that I've compiled about 10 times, trying to get all my funky and odd h/w to work. The problem is whenever i switch between kernel's (if i need to burn a cd i have to use Slackware old, or if i want to have another go at getting my raid card working i use Slackwaretest etc) i have to reinstall the nvidia drivers, now this doesn't take too long but it is becoming tedious. I notice it compiles a kernel module, is there no way i can just put this somewhere and call it up, so i dont have to faff around every time i switch as its driving me mad! Any help is greatly appreciated. |
dunno...I noticed the same thing. luckily I got rid of the thing by changing card :) why don't you just build one working one and use it? and if you really need a "test-kernel", compile one but don't use X with it (so you don't need to fight with nvidia things), but use it from shell and test your hw and stuff from there until you get it work..that's what I'd do, rather than installing nvidia drivers all the time (yes, it is annoying) :)
|
Hi, see the following thread:
http://www.linuxquestions.org/questi...hreadid=181348 It did fix it for me Remember to replace OLDKERNELVERSION with the kernelversion where you compiled under, because that's the directory where the module will be removed. |
Im trying to get a fully working 2.6.6 kernel, but i also have to use the machine for real work, so untill everything works i gotta keep switching!
Im gonna try leaving x out and getting my stuff working, good idea! but still it should be possible, shoudnt it? bstrik, tried it, x just crashes with "no screens found" Thanx anyway |
could you please show your X-logfile. It should have a hint about the error(s) occurring.
|
sh NVIDIAxxxxxxx.sh -K
|
bstrik, where is my x logfile?, is it in /var? ( i dont want to post wrong file!)
|
Your X-logfile is in /var/log
|
hi! this is from nvidia README file:
Q: I just upgraded my kernel, and now the NVIDIA kernel module will not load. What is wrong? A: The kernel interface layer of the NVIDIA kernel module must be compiled specifically for the configuration and version of your kernel. If you upgrade your kernel, then the simplest solution is to reinstall the driver. ADVANCED: You can install the NVIDIA kernel module for a non running kernel (for example: in the situation where you just built and installed a new kernel, but have not rebooted yet) with a command line such as this: sh NVIDIA-Linux-x86-1.0-5336-pkg1.run --kernel-name='KERNEL_NAME' Where 'KERNEL_NAME' is what `uname -r` would report if the target kernel were running. it work in my machine (two kernels) |
Ive fixed it!
I tried all the suggestions and would like to thank everyone who replied, however nothing worked, so ive stuck my old card in, and i will put my nvidia one back in when my 2.6.6 kernel is perfect. Once again thanx for all the great help, and i hope any more problems i have will be answered as quickly |
All times are GMT -5. The time now is 11:16 PM. |