View previous topic :: View next topic |
Author |
Message |
OneInThreeWaves Tux's lil' helper
Joined: 16 Jul 2004 Posts: 92 Location: La Florida
|
Posted: Wed Aug 04, 2004 8:53 pm Post subject: nvidia drivers fail to load |
|
|
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 |
|
|
oumpah-pah Guru
Joined: 18 Jul 2004 Posts: 575 Location: Lausanne, Switzerland
|
Posted: Wed Aug 04, 2004 9:06 pm Post subject: |
|
|
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 |
|
|
OneInThreeWaves Tux's lil' helper
Joined: 16 Jul 2004 Posts: 92 Location: La Florida
|
Posted: Wed Aug 04, 2004 9:19 pm Post subject: |
|
|
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 |
|
|
oumpah-pah Guru
Joined: 18 Jul 2004 Posts: 575 Location: Lausanne, Switzerland
|
Posted: Wed Aug 04, 2004 9:27 pm Post subject: |
|
|
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 |
|
|
OneInThreeWaves Tux's lil' helper
Joined: 16 Jul 2004 Posts: 92 Location: La Florida
|
Posted: Wed Aug 04, 2004 9:54 pm Post subject: |
|
|
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 |
|
|
oumpah-pah Guru
Joined: 18 Jul 2004 Posts: 575 Location: Lausanne, Switzerland
|
Posted: Wed Aug 04, 2004 10:03 pm Post subject: |
|
|
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 |
|
|
newboydan n00b
Joined: 02 Jan 2003 Posts: 16
|
Posted: Wed Aug 04, 2004 10:18 pm Post subject: |
|
|
Have you re-emerged nvidia-kernel? You seem to need to do this after each kernel reinstall (as for alsa-driver). |
|
Back to top |
|
|
OneInThreeWaves Tux's lil' helper
Joined: 16 Jul 2004 Posts: 92 Location: La Florida
|
Posted: Wed Aug 04, 2004 10:36 pm Post subject: |
|
|
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 |
|
|
|