View previous topic :: View next topic |
Author |
Message |
twitch n00b
Joined: 10 Aug 2005 Posts: 10
|
Posted: Fri Aug 12, 2005 4:03 am Post subject: Module problem |
|
|
I just installed gentoo 2005.1 on my AMD64 3000 system. I used the athlon-xp packages. I built the kernel with genkernel, and have coldplug running at boot. When the system boots I get an enormous list of module errors like this one:
Code: | modprobe: FATAL: Error inserting forcedeth (/lib/modules/2.6.12-gentoo-r6/kernel/drivers/net/forcedeth.ko): Invalid module format
modprobe: FATAL: Error inserting forcedeth (/lib/modules/2.6.12-gentoo-r6/kernel/drivers/net/forcedeth.ko): Invalid module format
... can't load module forcedeth
missing kernel or user mode driver forcedeth
|
I have checked and the forcedeth module is in the above directory.
I have tried this with CFLAGS set to "-march=athlon-xp -msse2 -O2 -pipe -ftracer" and with it just set to "-O2".
dmesg gives the following:
Code: | forcedeth: version magic '2.6.12-gentoo-r6 SMP preempt 586 4KSTACKS gcc-3.3' should be '2.6.12-gentoo-r6 SMP preempt K8 gcc-3.3' |
The modules to load my mouse and my ethernet card are among the ones giving errors.
Any thoughts?
Steve |
|
Back to top |
|
|
tommyjs n00b
Joined: 10 Aug 2004 Posts: 43 Location: Poland. Lodz
|
Posted: Mon Aug 15, 2005 12:36 am Post subject: |
|
|
Obviously your modules are compiled using different .config than your kernel.
Try cd /usr/src/linux-`uname -r`; make modules_install
If not, I would recompile and reinstall both your kernel and your modules.
Perhaps
make && make modules_install && cp arch/[your arch]/boot/bzImage [your current kernel location]
I've never used genkernel so I cannot help you any more. |
|
Back to top |
|
|
ddecock n00b
Joined: 25 Jan 2005 Posts: 9
|
Posted: Thu Aug 18, 2005 11:32 am Post subject: Genkernel change |
|
|
I had the same problem. This is caused by the new naming of the initrd and kernel in your boot directory.
You will have to change your grub.conf or lilo to reflect these changes. Otherwise, your previous kernel configuration will be loaded, using your new modules. And that is causing the conflict.
So,
kernel -> kernel-genkernel-x86...
initrd -> initramfs-genkernel-x86...
Best regards,
Dries |
|
Back to top |
|
|
pr3d n00b
Joined: 19 Aug 2005 Posts: 17
|
Posted: Thu Aug 25, 2005 10:36 pm Post subject: help |
|
|
i have the same problem, but i didnt use genkernel, so there is no initrd, but i have a second kernel installed with genkernel which i dont use.
here is my topic:
https://forums.gentoo.org/viewtopic-t-371848.html |
|
Back to top |
|
|
|