LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 08-06-2004, 06:29 AM   #1
csDraco_
Member
 
Registered: Feb 2002
Location: Canada
Distribution: Fedora / CentOS
Posts: 93

Rep: Reputation: 15
Post Fresh Slack 10 install, nvidia wrong kernel problem.


Hi all, I'm trying to install the latest nvidia drivers using NVIDIA-Linux-x86-1.0-6111-pkg1.run, but it tells me that my kernel is of the wrong version, so I do run:
NVIDIA-Linux-x86-1.0-6111-pkg1.run --kernel-source-path="/usr/src/linux-2.4.26"
the compilation of nvidia.o proceeds and the following error follows:
Code:
ERROR: Unable to load the kernel module 'nvidia.o'.  
This is most likely because the kernel module was built using the wrong kernel source files.  
Please make sure you have installed the kernel source files for your kernel; 
on Red Hat Linux systems, for example, be sure you have the 'kernel-source' rpm installed.  
If you know the correct kernel source files are installed, you may specify 
the kernel source path with the '--kernel-source-path' commandline option.
Which also sugests that I have choosen a wrong version of the kernel .. does Slackware 10 comes with a different kernal source than which it uses?


Also when I run:
sh NVIDIA-Linux-x86-1.0-6111-pkg1.run --kernel-name=`uname -r` (uname -r being 2.4.26) That does a successfull installation, but afterward the nvidia.o can't be loaded.

ie. insmod nvidia
Code:
Using /lib/modules/2.4.26/kernel/drivers/video/nvidia.o
Warning: loading /lib/modules/2.4.26/kernel/drivers/video/nvidia.o will taint the kernel: non-GPL license - NVIDIA 
  See http://www.tux.org/lkml/#export-tainted for information about tainted modules
  /lib/modules/2.4.26/kernel/drivers/video/nvidia.o: init_module: No such device
  /lib/modules/2.4.26/kernel/drivers/video/nvidia.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
Key line being:
/lib/modules/2.4.26/kernel/drivers/video/nvidia.o: init_module: No such device

What's the init_module?
Sounds like nvidia.o was compiled for a wrong kernal version ... am I right or is it something else?
 
Old 08-06-2004, 06:35 AM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
did you try :
sh NVIDIA-Linux-x86-1.0-6111-pkg1.run -K=2.4.26 ?
 
Old 08-06-2004, 08:26 AM   #3
csDraco_
Member
 
Registered: Feb 2002
Location: Canada
Distribution: Fedora / CentOS
Posts: 93

Original Poster
Rep: Reputation: 15
csDraco_

Thanks for replying Cedric.

-K is intended to be used to install kernel modules for additional kernels, correct me if I'm wrong but I think you mean -k=2.4.26 .. in that case yes, as "-k" and "--kernel-name" are the same options.
 
Old 08-06-2004, 08:47 AM   #4
csDraco_
Member
 
Registered: Feb 2002
Location: Canada
Distribution: Fedora / CentOS
Posts: 93

Original Poster
Rep: Reputation: 15
I just examined /var/log/syslog and found that whenever I try to load nvidia.o the following is appended to the log

Code:
Aug  6 09:33:33 doomstar kernel: NVRM: Can't find an IRQ for your NVIDIA card!
Aug  6 09:33:33 doomstar kernel: NVRM: Please check your BIOS settings.
Aug  6 09:33:33 doomstar kernel: NVRM: [Plug & Play OS   ] should be set to NO
Aug  6 09:33:33 doomstar kernel: NVRM: [Assign IRQ to VGA] should be set to YES
Aug  6 09:33:33 doomstar kernel: NVRM: the NVIDIA probe routine was not called for 1 device(s)!!
Aug  6 09:33:33 doomstar kernel: NVRM: no devices probed, aborting!
Aug  6 09:33:33 doomstar kernel: NVRM: this often occurs when rivafb is loaded and claims the device's resources.
Aug  6 09:33:33 doomstar kernel: NVRM: try removing the rivafb module (or reconfiguring your kernel to remove
Aug  6 09:33:33 doomstar kernel: NVRM: rivafb support) and then try loading the NVIDIA kernel module again.
I pretty sure these settings are wrong in my bios:

[Plug & Play OS ] should be set to NO
[Assign IRQ to VGA] should be set to YES


I need to check that once I get home ... can't do that through ssh

I'll reply back this evening after work .. as I don't find a 100km (one way) drive to my pc at home an option during lunch time
 
Old 08-06-2004, 09:41 AM   #5
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
[Plug & Play OS ] should be set to NO
It is set to yes in my pc and it works fine, when you tried -k options, did you give it explicitly 2.4.26 or by `uname -r` ? I remember I had a similar problem and I had to give it the number not issued by uname command.

Excuse me for off topic, but is it common for canadian people to work 100 km away their home ?
 
Old 08-06-2004, 10:06 AM   #6
csDraco_
Member
 
Registered: Feb 2002
Location: Canada
Distribution: Fedora / CentOS
Posts: 93

Original Poster
Rep: Reputation: 15
Sorry my mistake .. make that 54km one way ... not 100 .. I was thinking "both ways" and wrote down "on way" ... around 50km is average I'd say. It takes me about 40min to drive through that 54km.
 
Old 08-06-2004, 06:02 PM   #7
csDraco_
Member
 
Registered: Feb 2002
Location: Canada
Distribution: Fedora / CentOS
Posts: 93

Original Poster
Rep: Reputation: 15
Finally I got home ... and it's Friday!
I'm typing this in mozilla 1.7.2 without squinting my eyes .. at the non irritating 85Hz vertical refresh rate of my monitor

Just as syslog said:

[Plug & Play OS ] should be set to NO
[Assign IRQ to VGA] should be set to YES


I had both in reverse ... probably only the latter makes the diference.

Thanks for replying Cedrik! ... that keept me motivated
 
Old 11-30-2004, 07:41 PM   #8
H2O-linux
Member
 
Registered: Sep 2004
Location: Second ring of youranus
Distribution: debian testing
Posts: 153

Rep: Reputation: 30
csDraco_

That worked for me also. I set the bios to IRQ for VGA !!!
 
  


Reply



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
Fresh Install Slack 10 Kernel Ver. Prob. Dusk Slackware 4 12-06-2004 09:08 AM
I chose the wrong option for kernel. Do I need to re install? [Slack 10] madbrain Slackware - Installation 6 09-06-2004 02:41 PM
Slack 10, fresh install, mysqld start problem. jml75 Slackware 6 08-17-2004 09:26 PM
no network after fresh Slack 9 install major.tom Slackware 4 08-04-2003 04:01 PM
Can't boot fresh slack-9b install. gusgorman Slackware 8 02-21-2003 07:27 PM

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

All times are GMT -5. The time now is 12:05 PM.

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