View previous topic :: View next topic |
Author |
Message |
chix4mat Apprentice
Joined: 11 Dec 2005 Posts: 190 Location: Canada
|
Posted: Tue Mar 21, 2006 9:25 pm Post subject: Cannot get NVIDIA to work.. |
|
|
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 |
|
|
Deepak420 Apprentice
Joined: 12 Jan 2005 Posts: 173 Location: Beantown
|
Posted: Tue Mar 21, 2006 10:28 pm Post subject: |
|
|
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 |
|
|
chix4mat Apprentice
Joined: 11 Dec 2005 Posts: 190 Location: Canada
|
Posted: Tue Mar 21, 2006 10:33 pm Post subject: |
|
|
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 |
|
|
augury l33t
Joined: 22 May 2004 Posts: 722 Location: philadelphia
|
Posted: Wed Mar 22, 2006 12:43 am Post subject: |
|
|
duh
point it somewhere else and try again or boot r7 |
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1246
|
Posted: Wed Mar 22, 2006 8:49 am Post subject: |
|
|
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 |
|
|
augury l33t
Joined: 22 May 2004 Posts: 722 Location: philadelphia
|
Posted: Wed Mar 22, 2006 11:07 pm Post subject: |
|
|
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 |
|
|
|