LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-28-2004, 04:11 PM   #1
darklordzim
Member
 
Registered: Apr 2004
Location: Minnesota USA
Distribution: Ubuntu 9.10 desktop, and 9.4 server
Posts: 50

Rep: Reputation: 15
nvidia driver issues after upgrading kernel


alright... here is the problem.

i just upgraded my kernel to 2.6.9. i just installed the tgz package off the net.. (generic kernel, headers, modules, and source)

i then went to the nvidia site (using links) and downloaded the nvidia driver.
when i went to install the driver however, it says it cant find the kernel source.

so i ran the installer with the "--kernel-source-path /usr/src/linux-2.6.9/" option and i still get the same error
i cant figure out what i'm doing wrong, and was wondering if anyone else knew how to fix it?
 
Old 12-28-2004, 05:12 PM   #2
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
you should have a link " /lib/modules/2.6.9/build " that points to the sources.
( i think it's normally made by " make modules_install " ).

if you don't have it , just make it ( w. " ln -s /usr/src/linux-2.6.9 /lib.....etc. ).

egag
 
Old 12-28-2004, 05:38 PM   #3
darklordzim
Member
 
Registered: Apr 2004
Location: Minnesota USA
Distribution: Ubuntu 9.10 desktop, and 9.4 server
Posts: 50

Original Poster
Rep: Reputation: 15
yes, thats there, and it points the right place.. should i remove the /lib/modules/2.4.26/ dir? since i deleted the old kernel and stuff?
would that be messing things up even though there is no build@ link?
 
Old 12-28-2004, 05:42 PM   #4
darklordzim
Member
 
Registered: Apr 2004
Location: Minnesota USA
Distribution: Ubuntu 9.10 desktop, and 9.4 server
Posts: 50

Original Poster
Rep: Reputation: 15
here is my error:

ERROR: Unable to load tghe kernel module 'nvidia.ko'. this is likely because the kernel module was built using the wrong kernel source files. please make sure you have installd 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.

also my nvidia-installer.log is online at: http://reapercore.com/nvidia-installer.log

Last edited by darklordzim; 12-28-2004 at 05:43 PM.
 
Old 12-28-2004, 06:00 PM   #5
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,244

Rep: Reputation: 47
Let's get some basic info. Your info shows you are running FC2 but posting in Slack forum. What distro are you running? If Slack what version? Is this one of the kernels that is in the Slack updates in current. Did you take care of the file type mkinitrd if need be? Are you certain that is the kernel you booted into?

Also seems like I remember some issues with some of the 2.6.x kernels and nvidia, have you searched this forum for similar issue?

Last edited by ringwraith; 12-28-2004 at 06:01 PM.
 
Old 12-28-2004, 06:07 PM   #6
darklordzim
Member
 
Registered: Apr 2004
Location: Minnesota USA
Distribution: Ubuntu 9.10 desktop, and 9.4 server
Posts: 50

Original Poster
Rep: Reputation: 15
yes... i am on slack 10, yes the kernel was from slackware-current, yes i know the kernel is booted into, because it shows 2.6.9 above the login. i just forgot to change my info to show thta i'm on slackware :P
 
Old 12-28-2004, 06:33 PM   #7
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
did you build that module while running X ?
it was build ok, but loading it in the kernel gave errors.

so maybe it can't be loaded because another display-driver is already loaded.

egag
 
Old 12-28-2004, 06:36 PM   #8
darklordzim
Member
 
Registered: Apr 2004
Location: Minnesota USA
Distribution: Ubuntu 9.10 desktop, and 9.4 server
Posts: 50

Original Poster
Rep: Reputation: 15
no no.. i'm in text mode. the installer wont even START while X is running
 
Old 12-28-2004, 06:37 PM   #9
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
what does " modprobe nvidia " gives you. ?

egag
 
Old 12-28-2004, 06:41 PM   #10
darklordzim
Member
 
Registered: Apr 2004
Location: Minnesota USA
Distribution: Ubuntu 9.10 desktop, and 9.4 server
Posts: 50

Original Poster
Rep: Reputation: 15
modprobe nvidia doesn't give any errors
 
Old 12-28-2004, 06:46 PM   #11
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
type " lsmod" to check if it's loaded .
if so, it should be ok.

edit xorg.conf to use nvidia and try it......

egag
 
Old 12-28-2004, 06:50 PM   #12
darklordzim
Member
 
Registered: Apr 2004
Location: Minnesota USA
Distribution: Ubuntu 9.10 desktop, and 9.4 server
Posts: 50

Original Poster
Rep: Reputation: 15
it shows its loaded... however

XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0" after 0 requests (0 knonw processed) with 0 events remaining

log posted on http://reapercore.com/Xorg.0.log
 
Old 12-28-2004, 07:10 PM   #13
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
it sais
--------------
(EE) Failed to load module "nvidia" (module does not exist, 0)
--------------

although it is there ?

did you reboot before doing that ?

egag
 
Old 12-28-2004, 07:11 PM   #14
darklordzim
Member
 
Registered: Apr 2004
Location: Minnesota USA
Distribution: Ubuntu 9.10 desktop, and 9.4 server
Posts: 50

Original Poster
Rep: Reputation: 15
no, still have not rebooted

and i kinda cant just fall back to my kernel 2.4.26 stuff, cuz i didn't think about the problems with nvidia drivers, so i removed teh old kernel.... so as it sits right now, i'm stuck in the text mode.

Last edited by darklordzim; 12-28-2004 at 07:23 PM.
 
Old 12-28-2004, 07:32 PM   #15
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
maybe try " #ldconfig "

can be that the module will be found after that.

egag
 
  


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
kernel source and nvidia driver installation issues - have searched timsch75 Slackware 7 11-12-2005 06:36 PM
NVIDIA driver issues jse Fedora - Installation 7 03-24-2005 12:23 PM
nvidia Driver probs after upgrading card JShadow Linux - Newbie 3 01-22-2005 05:27 AM
nvidia driver issues with kernel 2.6 Da_Necromancer Linux - Software 3 05-04-2004 07:54 AM
upgrading NVIDIA driver...troubles! lord_clarence Mandriva 10 10-29-2003 06:45 AM


All times are GMT -5. The time now is 08:42 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration