View previous topic :: View next topic |
Author |
Message |
Pinan n00b
Joined: 18 Apr 2006 Posts: 35
|
Posted: Mon Sep 04, 2006 11:53 pm Post subject: modprobe failing to find nvidia driver |
|
|
Just loaded from the 2006.1 boot disk
Have loaded the GE7600 specfic files
emerge media-video/nvidia-glx media-video/nvidia-kernel
This results in the file /lib/modules/2.6.17-gentoo-r5/video/nvidia.ko
being created.
Doing a modprobe nvidia
results in 'FATAL: Module nvidia not found' error
The driver is listed in /etc.modules.d/nvidia
Anybody got any suggestions, according to the manual page for modprobe, the settings appear to be correct
David |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Tue Sep 05, 2006 12:11 am Post subject: |
|
|
Did you reboot after emerging nvidia-drivers, or did you try to modprobe nvidia in chrooted environment?
I'm not sure, but I beleive that you compiled a different kernel, than the one on the cd. So you need to reboot to the new kernel, to get new modules to load.
Correct me if I'm wroGn. _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
Pinan n00b
Joined: 18 Apr 2006 Posts: 35
|
Posted: Tue Sep 05, 2006 12:19 am Post subject: |
|
|
No chroot envronment
Machine has been reboot faster than a yoyo
Still no luck |
|
Back to top |
|
|
Pinan n00b
Joined: 18 Apr 2006 Posts: 35
|
Posted: Tue Sep 05, 2006 12:39 am Post subject: |
|
|
Inserting the line x11-drivers/nvidia-drivers ~x86 into /etc/portage/package.keywords
and attemping a emerge x11-drivers/nvidia-drivers
results in an error message about no ebuilds to satisfy "x11-drivers/nvidia-drivers" |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Tue Sep 05, 2006 12:43 am Post subject: |
|
|
Yup. Nvidia has problems with xorg 7.1 and is blocked.
See this post
https://forums.gentoo.org/viewtopic-t-458721.html
For the time you solve this, you can use nv driver or vesa instead. So you have at least some graphic environment. _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
Pinan n00b
Joined: 18 Apr 2006 Posts: 35
|
Posted: Tue Sep 05, 2006 12:59 am Post subject: |
|
|
I am not running xorg7.1, from /var/log/Xorg.0.log, after seeing all of the "problems" with it and nvidia
X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.16-gentoo-r1 i686
Current Operating System: Linux moggie 2.6.17-gentoo-r7 #1 SMP Tue Aug 29 01:48:00 UTC 2006 i686
Build Date: 07 July 2006
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Sep 5 00:44:32 2006
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.Org Configured"
(**) |-->Screen "Screen0" (0)
(**) | |-->Monitor "Monitor0"
(**) | |-->Device "Card0" |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Tue Sep 05, 2006 1:29 am Post subject: |
|
|
You do not have to unmask nvidia-drivers, if you use stable branch. I think it should work without unmasking.
At the beginning I just said, that if you booted from the cdrom, then you can't use the drivers from the other kernel that you have on the harddrive.
Simply just boot into gentoo on your hard drive, remove the unmask that you added and then do
Code: | emerge nvidia-kernel nvidia-glx |
I think that you must then do the following
Code: | env-update
eselect opengl set nvidia
|
and then you can
If I remember correctly xorg loads nvidia.ko by itself, so modprobe might not be needed. _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
Pinan n00b
Joined: 18 Apr 2006 Posts: 35
|
Posted: Tue Sep 05, 2006 1:40 am Post subject: |
|
|
Tried that, modprobe still cliams "nvidia not found"
|
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Tue Sep 05, 2006 1:57 am Post subject: |
|
|
Is your symlink to the /usr/src/linux the correct one.
Maybe (I'm not sure, but ) you can try this
Code: | cd /usr/src/linux
make modules && make modules_install
|
and then modprobe again. _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Tue Sep 05, 2006 2:01 am Post subject: |
|
|
I just saw that you have build xorg with some older kernel. I would try to emerge it again with the current one. It's a time consuming idea, but if nothing works, it might be worth a try. _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
Pinan n00b
Joined: 18 Apr 2006 Posts: 35
|
Posted: Tue Sep 05, 2006 7:51 am Post subject: |
|
|
Tried that, lots of objects compiled, same old problm.
Did a strace on modprobe
Turns out that the nvidia driver is listed in /etc/modules.d, but its not listed in /lib/modules2.6.17-gentoo-r7/modules.dep
also checked
/lib/modules/2.6.27-gentoo-r7/modules.alias
I have tried things such as modules-upate to no luck
It seems that the nvidia module is installed on the system, but its not listed in the list of known drivers.
I have had a previous version of gentoo installed on this machine with out these wreched problems, any suggestions welcome |
|
Back to top |
|
|
Pinan n00b
Joined: 18 Apr 2006 Posts: 35
|
Posted: Wed Sep 06, 2006 10:11 pm Post subject: modprobe failing to find nvidia driver[Solved] |
|
|
Took another look at the output of strace discovered that the machine was attempting to
/lib/modules/2.6.27-gentoo-r7/modules.alias
Noticed that hte kernel sym link /usr/src/linux was set to 2.6.27-gentoo-r5 level kernel
Did a uname, machine is loading a 2.6.27-gentoo-r7 kernel.
At some point in the past portage has down graded my kernel to 2.6.27-gentoo-r5 without telling me
Dooooooooooooooooooooooeeee !
Had a looking in /boot/grub, nice looking r5 kernel, booted that, loaded X
Nice display.
Thanks to everybody that helped.
It is sufficent to say that I shall watch what protage is up to like a HAWK |
|
Back to top |
|
|
|