Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65152 - nvidia modules will not load. Get error during modprobe
Summary: nvidia modules will not load. Get error during modprobe
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-23 16:24 UTC by Ben Plessinger
Modified: 2004-09-25 21:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Plessinger 2004-09-23 16:24:34 UTC
FATAL: Error inserting nvidia (/lib/modules/2.6.8-gentoo-r4/video/nvidia.ko): Invalid module format
I tried using the 6111 r1 and that didnt work
I tried using the 5336 r4 / r2 and that didnt work either.
It was working last night and then I did a emerge -u world and it no longer works.  After I restarted my machine after the -u world it would not load the nvidia driver.

Reproducible: Always
Steps to Reproduce:
1.just restart the computer.
Actual Results:  
nvidia driver would not load

Expected Results:  
should have loaded the driver

Portage 2.0.51_rc1 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r0,
2.6.8-gentoo-r4 i686)
=================================================================
System uname: 2.6.8-gentoo-r4 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz
Gentoo Base System version 1.6.0
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb bitmap-fonts crypt cups encode esd foomaticdb gdbm
gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod motif mpeg
ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime
readline sdl slang spell ssl svga tcltk tcpd truetype x86 xml2 xmms xprint xv zlib"
Comment 1 Ben Plessinger 2004-09-23 16:57:42 UTC
as I keep trying things I recieved this error durring emerge.  Not sure what it means.

By notusing the kernel's ability to output to an alternative directory, some external module builds may fail.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2004-09-23 22:22:15 UTC
I'd guess you compiled your kernel with a different version of gcc than the nvidia kernel module. Run `dmesg | head -n 1` please, then compare that with `emerge -V`.
Comment 3 Ben Plessinger 2004-09-24 15:35:20 UTC
You are right they are two different versions.  SHould I just recompile the kernel?  I am sorry for not figuring this out.  I am new to linux so a lot of this is new to me
Comment 4 Andrew Bevitt 2004-09-25 17:27:59 UTC
Recompile nvidia-kernel with the gcc version you compiled your kernel with
or
Recompile your kernel with the gcc version you compiled nvidia-kernel with

The last line in dmesg after modprobe nvidia should tell you which versions are mismatched... gcc-config is a nice tool you might want to look at aswell.
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2004-09-25 17:37:46 UTC
PEBKAC
Comment 6 Ben Plessinger 2004-09-25 21:24:33 UTC
i recompiled the kernel.
Yes the problem was with me.  I didnt know that they had to have the gcc version.  Again I am new and just learning