Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia drivers fail to load
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
OneInThreeWaves
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jul 2004
Posts: 92
Location: La Florida

PostPosted: Wed Aug 04, 2004 8:53 pm    Post subject: nvidia drivers fail to load Reply with quote

Well, I just got done re-compiling my kernel to rid myself of genkernel and redundant intel video drivers...

But I still can't get my video drivers to function properly.

When I modprobe for nvidia it tells me that the modules can't load because 'nvidia.ko' is an invalid module format.

How does one remedy this?

Thanks in advance. =]
_________________
Rock over London!
Rock on Chicago!
Duracel: No other battery lasts longer.
Back to top
View user's profile Send private message
oumpah-pah
Guru
Guru


Joined: 18 Jul 2004
Posts: 575
Location: Lausanne, Switzerland

PostPosted: Wed Aug 04, 2004 9:06 pm    Post subject: Reply with quote

Did you issue
Code:
emerge -va nvidia-kernel

after recompiling your kernel ? Also check that your /usr/src/linux symlink points to the kernel sources you are now using.
Back to top
View user's profile Send private message
OneInThreeWaves
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jul 2004
Posts: 92
Location: La Florida

PostPosted: Wed Aug 04, 2004 9:19 pm    Post subject: Reply with quote

I didn't use the -va a command at first, but I did just now. They still don't work. ='[

And, yeah, the symlink is pointing to the correct kernel.

This is really weird...

All my other modules load, except for this one.
_________________
Rock over London!
Rock on Chicago!
Duracel: No other battery lasts longer.
Back to top
View user's profile Send private message
oumpah-pah
Guru
Guru


Joined: 18 Jul 2004
Posts: 575
Location: Lausanne, Switzerland

PostPosted: Wed Aug 04, 2004 9:27 pm    Post subject: Reply with quote

Which kernel do you use, and could you post the exact error message you get when you try to modprobe the nvidia module ?
Back to top
View user's profile Send private message
OneInThreeWaves
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jul 2004
Posts: 92
Location: La Florida

PostPosted: Wed Aug 04, 2004 9:54 pm    Post subject: Reply with quote

I'm using 2.6.7-gentoo-r11.

Heres what happens...

Code:
modprobe nvidia
FATAL: Error insterting nvidia (/lib/modules/2.6.7-gentoo-r11/nvidia.ko): Invalid module format


It gave me this error even before I recompiled my kernel.

See, I used genkernel before, but it loaded the module 'intel_agp' which wouldn't display color depth above 4. I wanted to get rid of this, and other useless modules that genkernel loaded. So, I got rid of genkernel, compiled my kernel manually, and now I can't even start X at all, because I have no working video drivers. =P

Nvidia is supposed to use nvidia.o, but it doesn't even install that on my computer.
_________________
Rock over London!
Rock on Chicago!
Duracel: No other battery lasts longer.
Back to top
View user's profile Send private message
oumpah-pah
Guru
Guru


Joined: 18 Jul 2004
Posts: 575
Location: Lausanne, Switzerland

PostPosted: Wed Aug 04, 2004 10:03 pm    Post subject: Reply with quote

With the 2.6 kernels, you must use >=media-video/nvidia-kernel-1.0.6106-r1. As it is masked, you should add the folowing lines in your /etc/portage/package.keywords file (if it doesn't exist, create it) :
Quote:
media-video/nvidia-kernel ~x86
media-video/nvidia-glx ~x86
Back to top
View user's profile Send private message
newboydan
n00b
n00b


Joined: 02 Jan 2003
Posts: 16

PostPosted: Wed Aug 04, 2004 10:18 pm    Post subject: Reply with quote

Have you re-emerged nvidia-kernel? You seem to need to do this after each kernel reinstall (as for alsa-driver).
Back to top
View user's profile Send private message
OneInThreeWaves
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jul 2004
Posts: 92
Location: La Florida

PostPosted: Wed Aug 04, 2004 10:36 pm    Post subject: Reply with quote

VICTORY!

I got it working. Thank you very very very much, Mr.oumpah-pah.

=D
_________________
Rock over London!
Rock on Chicago!
Duracel: No other battery lasts longer.
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