Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65115 - FATAL: Error inserting ndiswrapper (/lib/modules/2.6.8-gentoo-r3/misc/ndiswrapper.ko): Invalid module format
Summary: FATAL: Error inserting ndiswrapper (/lib/modules/2.6.8-gentoo-r3/misc/ndiswra...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-23 11:47 UTC by Robert Muchacki (RETIRED)
Modified: 2004-10-05 15:05 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 Robert Muchacki (RETIRED) gentoo-dev 2004-09-23 11:47:26 UTC
After emerging ndiswrapper, I get this error:

FATAL: Error inserting ndiswrapper (/lib/modules/2.6.8-gentoo-r3/misc/ndiswrapper.ko): Invalid module format

trying do modprobe ndiswrapper.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




hefajstos linux # emerge info
Portage 2.0.51_rc1 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.4.20040808-r0,
2.6.8-gentoo-r3 i686)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.5.3
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
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 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -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.2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi acpi4linux alsa apache2 apm arts avi bitmap-fonts bluetooth bzlib
cdr crypt cups directfb divx4linux dvb dvd edl encode esd fbcon fbdev foomaticdb
freetype ftp gif gnome gpm gtk gtk2 imlib irda java jpeg kde libg++ libwww mad
mikmod mmx motif mozilla mpeg mplayer ncurses nls oggvorbis ooo-kde opengl
oracle oracle7 orathreads oss pam pdflib perl png postgres python qt
quicktimeradeon readline samba sdl slang spell sse ssl svga tcltk tcpd truetype
wifi x86 xml2 xmms xosd xprint xv zlib"
Comment 1 Peter Johanson (RETIRED) gentoo-dev 2004-09-23 11:49:47 UTC
To confirm, what version of module-init-tools are you using? Did you emerge modutils recently?

module-init-tools is needed when using a 2.6 kernel.
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2004-09-29 11:33:33 UTC
Robert, you are definitely using modutils and not module-init-tools. Please switch and try again and report back.
Comment 3 Robert Muchacki (RETIRED) gentoo-dev 2004-10-05 15:05:34 UTC
Well, not true.

The problem was with GCC - kernel and ndiswrapper built with different versions. I recompiled the kernel and it somehow worked.