Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot get NVIDIA to work..
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
chix4mat
Apprentice
Apprentice


Joined: 11 Dec 2005
Posts: 190
Location: Canada

PostPosted: Tue Mar 21, 2006 9:25 pm    Post subject: Cannot get NVIDIA to work.. Reply with quote

Hey all,

I've already made a thread about this, around last week. I have tried many more things since then and am still having no luck at all. I have tried recompiling the kernel, re-emerging the nvidia-glx/kernel, and trying to use the direct NVIDIA drivers from their site and haven't had luck at all.

I am hoping that someone can look at my setup below and tell me what's wrong exactly.

localhost rwilliams # uname -a
Linux localhost 2.6.15-gentoo-r5 #1 SMP Mon Feb 13 20:23:47 UTC 2006 i686 Mobile Intel(R) Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux


localhost src # ls -l
total 8
lrwxrwxrwx 1 root root 22 Mar 20 13:49 linux -> linux-2.6.15-gentoo-r7
drwxr-xr-x 20 root root 4096 Mar 16 12:15 linux-2.6.15-gentoo-r1
drwxr-xr-x 20 root root 4096 Mar 20 14:34 linux-2.6.15-gentoo-r7


localhost modules # ls -l
total 12
drwxr-xr-x 5 root root 4096 Mar 16 12:31 2.6.15-gentoo-r1 (includes a nvidia.ko under the video directory)
drwxr-xr-x 3 root root 4096 Mar 21 16:45 2.6.15-gentoo-r5 (does not have a video directory)
drwxr-xr-x 3 root root 4096 Mar 20 13:59 2.6.15-gentoo-r7 (includes a nvidia.ko under the video directory)


localhost video # modprobe nvidia
FATAL: Module nvidia not found.


Alright, sure enough I did upgrade my Kernel in hopes that would help, but it didn't. I tried different versions and re-emerged so many things, and I still can't modprobe nvidia. I had no problem like this with previous Gentoo installs, so I am unsure why I am running into them now.. nothing has changed inside the PC.

Any help would be most appreciated. If I left out any info, I can provide it.
Back to top
View user's profile Send private message
Deepak420
Apprentice
Apprentice


Joined: 12 Jan 2005
Posts: 173
Location: Beantown

PostPosted: Tue Mar 21, 2006 10:28 pm    Post subject: Reply with quote

This is because you're running the 2.6.15-gentoo-r5 kernel, but don't have the nvidia drivers installed for it. Also you're /usr/src/linux should be pointing to the kernel that you are running so you may want to fix it ant try reinstalling the nvidia stuff - then try modprobe nvidia.
Back to top
View user's profile Send private message
chix4mat
Apprentice
Apprentice


Joined: 11 Dec 2005
Posts: 190
Location: Canada

PostPosted: Tue Mar 21, 2006 10:33 pm    Post subject: Reply with quote

Well, what's wierd is the fact that uname says I am using r5, when under the /usr/src/linux it only shows r1 and r7. I don't get it.
Back to top
View user's profile Send private message
augury
l33t
l33t


Joined: 22 May 2004
Posts: 722
Location: philadelphia

PostPosted: Wed Mar 22, 2006 12:43 am    Post subject: Reply with quote

duh :?:

point it somewhere else and try again or boot r7
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1246

PostPosted: Wed Mar 22, 2006 8:49 am    Post subject: Reply with quote

rm /usr/src/linux
ln -s 'your kernel' /usr/src/linux

emerge nvidia-glx and nvidia-kernel

go to /etc/modules.autoload/your-kernel and write nvidia this way the driver is loaded at boot

reboot
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
augury
l33t
l33t


Joined: 22 May 2004
Posts: 722
Location: philadelphia

PostPosted: Wed Mar 22, 2006 11:07 pm    Post subject: Reply with quote

the
Code:
linux -> linux-2.6.15-gentoo-r7
link is so stuff (like nividia module) knows where the kernel source is. It should be linked to the kernel you intend to build it for. Modules for kernels are in /lib/modules. The kernel knows which one it is.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum