Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155650 - ndiswrapper.ko module wrong format
Summary: ndiswrapper.ko module wrong format
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Petteri Räty (RETIRED)
URL:
Whiteboard:
Keywords:
: 156180 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-19 02:09 UTC by Jim Steichen
Modified: 2006-11-25 00:47 UTC (History)
0 users

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


Attachments
generated by ndiswrapper-buginfo script (ndiswrapper-buginfo.gz,730 bytes, application/gzip)
2006-11-19 02:11 UTC, Jim Steichen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Steichen 2006-11-19 02:09:24 UTC
emerge -q ndiswrapper seems to go okay but modprobe
reports that the ndiswrapper module is an invalid format.
I have an attachment (from ndiswrapper-buginfo) that I will send once someone
requests it.
Comment 1 Jim Steichen 2006-11-19 02:11:22 UTC
Created attachment 102329 [details]
generated by ndiswrapper-buginfo script

Here's the attached ndiswrapper bug report.
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2006-11-19 02:16:10 UTC
(In reply to comment #0)
> emerge -q ndiswrapper seems to go okay but modprobe
> reports that the ndiswrapper module is an invalid format.
> I have an attachment (from ndiswrapper-buginfo) that I will send once someone
> requests it.
> 

You have most likely recently switched the system compiler to for example gcc-4.1. Your kernel modules have to be compiled with the same gcc version as the kernel or the kernel will not allow you to modprobe them. Use dmesg to find out what version your kernel was compiled with. Either run make clean && make on your kernel to compile it with the newer kernel or use gcc-config to compile ndiswrapper with the old gcc.
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2006-11-19 02:17:26 UTC
See http://www.gentoo.org/doc/en/gcc-upgrading.xml#doc_chap5
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-11-19 02:17:41 UTC
<snip>
ndiswrapper: version magic '2.6.15-gentoo-r1.6 preempt PENTIUM4 gcc-3.4' should be '2.6.15-gentoo-r1.6 preempt PENTIUM4 gcc-3.3'
</snip>

It just plain won't work if you compiled kernel w/ different gcc version than its modules.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-11-25 00:47:09 UTC
*** Bug 156180 has been marked as a duplicate of this bug. ***