Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
modprobe failing to find nvidia driver
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Pinan
n00b
n00b


Joined: 18 Apr 2006
Posts: 35

PostPosted: Mon Sep 04, 2006 11:53 pm    Post subject: modprobe failing to find nvidia driver Reply with quote

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
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Tue Sep 05, 2006 12:11 am    Post subject: Reply with quote

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
View user's profile Send private message
Pinan
n00b
n00b


Joined: 18 Apr 2006
Posts: 35

PostPosted: Tue Sep 05, 2006 12:19 am    Post subject: Reply with quote

No chroot envronment
Machine has been reboot faster than a yoyo :(

Still no luck
Back to top
View user's profile Send private message
Pinan
n00b
n00b


Joined: 18 Apr 2006
Posts: 35

PostPosted: Tue Sep 05, 2006 12:39 am    Post subject: Reply with quote

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
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Tue Sep 05, 2006 12:43 am    Post subject: Reply with quote

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
View user's profile Send private message
Pinan
n00b
n00b


Joined: 18 Apr 2006
Posts: 35

PostPosted: Tue Sep 05, 2006 12:59 am    Post subject: Reply with quote

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
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Tue Sep 05, 2006 1:29 am    Post subject: Reply with quote

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
Code:
modprobe nvidia


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
View user's profile Send private message
Pinan
n00b
n00b


Joined: 18 Apr 2006
Posts: 35

PostPosted: Tue Sep 05, 2006 1:40 am    Post subject: Reply with quote

Tried that, modprobe still cliams "nvidia not found"
:( :( :( :( :( :( :( :( :( :( :(
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Tue Sep 05, 2006 1:57 am    Post subject: Reply with quote

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
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Tue Sep 05, 2006 2:01 am    Post subject: Reply with quote

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
View user's profile Send private message
Pinan
n00b
n00b


Joined: 18 Apr 2006
Posts: 35

PostPosted: Tue Sep 05, 2006 7:51 am    Post subject: Reply with quote

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
View user's profile Send private message
Pinan
n00b
n00b


Joined: 18 Apr 2006
Posts: 35

PostPosted: Wed Sep 06, 2006 10:11 pm    Post subject: modprobe failing to find nvidia driver[Solved] Reply with quote

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 :twisted: :twisted: :twisted:

Dooooooooooooooooooooooeeee !

Had a looking in /boot/grub, nice looking r5 kernel, booted that, loaded X

Nice display. 8) :D :D :D :D :D :D :D :D :D :D

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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