View previous topic :: View next topic |
Author |
Message |
gnat79 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/36479934343f78a5e4a727.jpg)
Joined: 20 Jan 2004 Posts: 111 Location: Richmond Virginia, USA
|
Posted: Thu Oct 05, 2006 2:08 pm Post subject: Error loading nvidia modules [solved] |
|
|
I just upgraded to nvidia-drivers
[ebuild R ] x11-drivers/nvidia-drivers-1.0.8774
but now I can't start X as a regular user. I can do it as root. I always get this message:
FATAL: Error inserting nvidia (/lib/modules/2.6.15-gentoo-r1/video/nvidia.ko): Invalid module format
I'm not sure what the problem is. Do I have to upgrade my kernel to get the latest to work? I thought that the nvidia drivers were totally separate from the kernel.
Thanks in advance. _________________ There are 11 kinds of people in the world:
those who can count in binary and those who can't.
Last edited by gnat79 on Sat Oct 07, 2006 4:25 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Big Jim Slade Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/117771706942853c6d8dcff.gif)
Joined: 04 May 2005 Posts: 197 Location: Washington State
|
Posted: Thu Oct 05, 2006 2:22 pm Post subject: |
|
|
Have you updated gcc recently? I believe (although it's been a while) that you'll see this error if you compile your kernel with one major version of gcc and modules with another (like kernel with gcc 3.4 and nvidia with 4.1).
If you're not sure, try rebuilding the kernel and see if that helps. It may require you to re-emerge any other modules though, such as alsa if you're not using the built-in module. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sonicbhoc Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/19626066624403a4096a7e1.gif)
Joined: 24 Oct 2005 Posts: 1805 Location: In front of the computer screen
|
Posted: Thu Oct 05, 2006 3:53 pm Post subject: |
|
|
here's what you should do:
emerge module-rebuild
cd /usr/src/linux
make && make modules_install install && module-rebuild rebuild
reboot
See if that works. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gnat79 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/36479934343f78a5e4a727.jpg)
Joined: 20 Jan 2004 Posts: 111 Location: Richmond Virginia, USA
|
Posted: Thu Oct 05, 2006 6:43 pm Post subject: |
|
|
Ahh.. yeah when I rebuilt the kernel last it was with gcc 3.3.4 and then I updated to gcc-4.1.1
I'll rebuild and upgrade the kernel and see what happens then.
Thanks! _________________ There are 11 kinds of people in the world:
those who can count in binary and those who can't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
millerl n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/14196352054907b3492fdfd.jpg)
Joined: 26 Jul 2004 Posts: 51 Location: Coeur d'Alene
|
Posted: Thu Oct 05, 2006 7:42 pm Post subject: |
|
|
sonicbhoc wrote: | here's what you should do:
emerge module-rebuild
cd /usr/src/linux
make && make modules_install install && module-rebuild rebuild
reboot
See if that works. |
That did it. But its odd, I don't recall building any new verisons of gcc recently seeing as this is a new install I'm on. *shrug*
Thanks sonicbhoc, that fixed it for me! ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gnat79 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/36479934343f78a5e4a727.jpg)
Joined: 20 Jan 2004 Posts: 111 Location: Richmond Virginia, USA
|
Posted: Fri Oct 06, 2006 7:02 pm Post subject: |
|
|
I did that
Quote: |
emerge module-rebuild
cd /usr/src/linux
make && make modules_install install && module-rebuild rebuild
reboot
|
and I still have the problem.
I think there is something messed up with my kernel because I get funny compile messages when I compile it. I'll post those in a little while, maybe that is the cause. _________________ There are 11 kinds of people in the world:
those who can count in binary and those who can't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gnat79 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/36479934343f78a5e4a727.jpg)
Joined: 20 Jan 2004 Posts: 111 Location: Richmond Virginia, USA
|
Posted: Sat Oct 07, 2006 4:25 am Post subject: |
|
|
Ok, my kernel was compiling funny because the old one was compiled with gcc3.3.4 and the new one was using 4.1.1. So, updating to a newer kernel solved that without me having to clean the old stuff out. I also got nvidia drivers working on the second try (forgot that you don't want nvidia frambuffer support in the kernel). So, now it's working nicely.
Thanks to all of you for your help! _________________ There are 11 kinds of people in the world:
those who can count in binary and those who can't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|