Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36321 - Cannot load any modules on AMD64 non-SMP kernel
Summary: Cannot load any modules on AMD64 non-SMP kernel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: AMD64 All
: Normal normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-22 14:42 UTC by Charles N. Burns
Modified: 2005-03-25 11:25 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 Charles N. Burns 2003-12-22 14:42:09 UTC
This pertains to the 17 DEC 2003 AMD64 beta.

Loading *any* module at install time with modprobe yields invalid module format errors. For example, modprobing the VIA-RHINE module yields:

mii: disagrees about version of symbol struct_module
warning: error insterting mii (/lib/modules/2.6.0/kernel/drivers/net/mii.ko): Invalid module format
via_rhine: disagrees about version of symbol struct_module
fatal: error inserting via_rhine (/lib/modules/2.6.0/kernel/drivers/net/via-rhine.ko): invalid module format


Workaround: Loading the SMP kernel (even on non-SMP systems like my laptop) allows modules to be loaded.
Comment 1 Brad House 2003-12-24 07:57:03 UTC
yep, that's why the 12/17 was removed from the mirrors :/
use the 12/21 one ...
I'll reply in that forum too.
Comment 2 Richard Betham 2004-02-02 08:16:18 UTC
Jubilee Web Ltd has 3 second hand computers, about 15 months old.
The man in the shop said that they had AMD processors.
When one is booted on a Gentoo CD it states:
Processor 0 is AMD Duron(tm) Processor 1202MHz, 64 KB Cache...
No Network device auto detected...

...

The command uname -a gets the response:
Linux cdimage 2.4.21-gss #1 Mon Jul 21 00:38:59 Local time zone must be set--see zic manu i686 AMD Duron(tm) Processor AuthenticAMD GNU/Linux .

The computers have Ethernet cards made by Accton.
So require the 8139too driver.

I got these to compile an boot up on a kernel, emerged from gentoo-sources.
However, whenether the kernel was compiled for a K7 processor, modprobe 8139too failed.
But when the kernel had been compiled for PentiumIII, modprobe 8139too worked.

I obtained the CD with a copy of Linux Format magazine 
LXF46 November 2003.
Comment 3 Richard Betham 2004-02-02 08:18:09 UTC
Jubilee Web Ltd has 3 second hand computers, about 15 months old.
The man in the shop said that they had AMD processors.
When one is booted on a Gentoo CD it states:
Processor 0 is AMD Duron(tm) Processor 1202MHz, 64 KB Cache...
No Network device auto detected...

...

The command uname -a gets the response:
Linux cdimage 2.4.21-gss #1 Mon Jul 21 00:38:59 Local time zone must be set--see zic manu i686 AMD Duron(tm) Processor AuthenticAMD GNU/Linux .

The computers have Ethernet cards made by Accton.
So require the 8139too driver.

I got these to compile and boot up on a kernel, emerged from gentoo-sources.
However, whenether the kernel was compiled for a K7 processor, modprobe 8139too failed.
But when the kernel had been compiled for PentiumIII, modprobe 8139too worked.

I obtained the CD with a copy of Linux Format magazine 
LXF46 November 2003.
Comment 4 Richard Betham 2004-02-17 08:48:15 UTC
I had rebooted onto various experimental kernels and run menuconfig, thus obtained the above results.

Since my comment on 02 Feb, I have got it to work.
The CD-ROM is Gentoo Linux 1.4 .

To get the kernel modules to work I booted the computer on the CD ROM followed the instructions to chroot
 I gave the commands..
env-update
source /etc-profile
emerge unmerge gentoo-sources
rm /usr/src/linux
rm -r /usr/src/linux-2.4.20-gentoo-r6/
emerge -p sys-kernel/gentoo-sources
tar -cf /root/gento-sources.uni.tar
make menuconfig
make dep && make clean bzImage modules modules_install
cp -p /boot/bzImage.. /boot/bzImage..
/sbin/lilo
etc-update
exit
umount ..
reboot.
...

-- Afterwards, whenever I try a new configuration, I start by:
cp -pi /usr/src/linux/.config /root/.config...
rm  /usr/src/linux
rm -r /usr/src/linux-2.4.20-gentoo-r6/
tar -xf /root/gentoo-source.uni.tar
cp pi /root/.config... /usr/src/linux/.config
make menuconfig

It works, even for Athlon Duron K7, and not using smp.
It loads the kernel modules when I ask it to.
How much of all that is necessary, I do not know.

E&OE
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2005-03-25 11:25:06 UTC
Moving these so we can remove the "Install CD" component from "Gentoo Linux".

I apologize to everyone for this spam, but according to the bugzilla developers,
this is the only reasonable way to do this.