LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-23-2004, 11:51 AM   #1
linuxhaxz
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 48

Rep: Reputation: 15
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.
 
Old 05-23-2004, 12:08 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
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)
 
Old 05-23-2004, 12:15 PM   #3
bstrik
LQ Newbie
 
Registered: Sep 2003
Location: Netherlands
Distribution: Slackware-current 32-bit
Posts: 13

Rep: Reputation: 0
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.

Last edited by bstrik; 05-23-2004 at 12:18 PM.
 
Old 05-23-2004, 12:16 PM   #4
linuxhaxz
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 48

Original Poster
Rep: Reputation: 15
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

Last edited by linuxhaxz; 05-23-2004 at 12:18 PM.
 
Old 05-23-2004, 12:21 PM   #5
bstrik
LQ Newbie
 
Registered: Sep 2003
Location: Netherlands
Distribution: Slackware-current 32-bit
Posts: 13

Rep: Reputation: 0
could you please show your X-logfile. It should have a hint about the error(s) occurring.
 
Old 05-23-2004, 12:22 PM   #6
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
sh NVIDIAxxxxxxx.sh -K
 
Old 05-23-2004, 12:27 PM   #7
linuxhaxz
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 48

Original Poster
Rep: Reputation: 15
bstrik, where is my x logfile?, is it in /var? ( i dont want to post wrong file!)
 
Old 05-24-2004, 12:43 AM   #8
bstrik
LQ Newbie
 
Registered: Sep 2003
Location: Netherlands
Distribution: Slackware-current 32-bit
Posts: 13

Rep: Reputation: 0
Your X-logfile is in /var/log
 
Old 05-24-2004, 07:24 AM   #9
acerny
LQ Newbie
 
Registered: May 2004
Location: Czech Republic
Distribution: Arch Linux
Posts: 17

Rep: Reputation: 0
Lightbulb

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)
 
Old 05-24-2004, 02:36 PM   #10
linuxhaxz
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 48

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nvidia trouble with multiple kernels slackware 10.1 salviadud Slackware 8 07-20-2005 07:48 PM
nvidia driver for multiple kernels Cornholio Linux - Hardware 4 04-02-2005 01:35 AM
Multiple Kernels apocolpse Linux - Newbie 3 03-17-2005 03:09 AM
nvidia grafic driver solution running multiple kernels bstrik Slackware 4 09-02-2004 10:19 AM
Multiple kernels question oneandoneis2 Slackware 5 06-25-2004 07:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration