LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Nvidia drivers with multiple kernels (https://www.linuxquestions.org/questions/slackware-14/nvidia-drivers-with-multiple-kernels-184852/)

linuxhaxz 05-23-2004 11:51 AM

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.

b0uncer 05-23-2004 12:08 PM

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) :)

bstrik 05-23-2004 12:15 PM

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.

linuxhaxz 05-23-2004 12:16 PM

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

bstrik 05-23-2004 12:21 PM

could you please show your X-logfile. It should have a hint about the error(s) occurring.

Linux.tar.gz 05-23-2004 12:22 PM

sh NVIDIAxxxxxxx.sh -K

linuxhaxz 05-23-2004 12:27 PM

bstrik, where is my x logfile?, is it in /var? ( i dont want to post wrong file!)

bstrik 05-24-2004 12:43 AM

Your X-logfile is in /var/log

acerny 05-24-2004 07:24 AM

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)

linuxhaxz 05-24-2004 02:36 PM

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.