Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Module problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
twitch
n00b
n00b


Joined: 10 Aug 2005
Posts: 10

PostPosted: Fri Aug 12, 2005 4:03 am    Post subject: Module problem Reply with quote

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
View user's profile Send private message
tommyjs
n00b
n00b


Joined: 10 Aug 2004
Posts: 43
Location: Poland. Lodz

PostPosted: Mon Aug 15, 2005 12:36 am    Post subject: Reply with quote

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
View user's profile Send private message
ddecock
n00b
n00b


Joined: 25 Jan 2005
Posts: 9

PostPosted: Thu Aug 18, 2005 11:32 am    Post subject: Genkernel change Reply with quote

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
View user's profile Send private message
pr3d
n00b
n00b


Joined: 19 Aug 2005
Posts: 17

PostPosted: Thu Aug 25, 2005 10:36 pm    Post subject: help Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum