Re: cannot load *any* modules with 2.4 kernel

From: Willy Tarreau
Date: Sun May 21 2006 - 01:51:44 EST


On Sat, May 20, 2006 at 08:05:55PM -0400, George Nychis wrote:
> Okay, so heres what I did. I downloaded modutils version 2.4.27 and
> extracted it to /usr/local/modutils
>
> Then in my 2.4.32 kernel's Makefile, I changed the DEPMOD variable to
> point to /usr/local/modutils/sbin/depmod
>
> Then I build the kernel with:
> make dep && make bzImage modules modules_install && make install
>
> So then my initrd gets generated, I reboot to the 2.4.32 kernel, and
> thats where i'm at now.
>
> So then for instance I goto /lib/modules/2.4.32/net and do:
> /usr/local/modutils/sbin/insmod 8390.o
>
> and I see all those unresolved symbols

Hmmm 8390.o needs crc32.o (or maybe you built it into your kernel).
Could you please :
- grep 8390.o /lib/modules/2.4.32/modules.dep
- post the exact list of unresolved symbols that insmod outputs
- grep 2 or 3 of them in /proc/ksyms (eg: printk)
- post your .config so that we can find a way to reproduce your problem.

> So maybe now that you have more info, we can figure something out.

By the time you do this, it would also be interesting to retry without
CONFIG_MODVERSIONS. Oh, and please report your gcc and binutils versions
so that we can be as close as possible to your conditions when trying
to reproduce.

> Thanks!
> George

Regards,
willy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/