"failed to load kernel module"
Samuel Rydh
mol-general@lists.maconlinux.org
Tue, 6 May 2003 10:36:05 +0200
On Mon, May 05, 2003 at 07:23:30PM -0400, David Rostenne wrote:
> I have just installed Gentoo on a Powermac 7300, dual cpu 200mhz
> 604e, 384 mb ram, No extras...
>
> I have also built a new kernel using linux-2.4.20-ppc-r3 and it's
> associated modules.
>
> The error I get when starting mol;
>
> spike root # startmol
> Mac-on-Linux 0.9.68 Copyright (C) 1997-2003 Samuel Rydh
> Starting MOL session 0
> Loading Mac-on-Linux kernel module:
> /usr/lib/mol/0.9.68/modules/2.4.20-ppc-r3-smp-noav/mol.o
> /usr/lib/mol/0.9.68/modules/2.4.20-ppc-r3-smp-noav/mol.o: unresolved
> symbol __global_save_flags
> /usr/lib/mol/0.9.68/modules/2.4.20-ppc-r3-smp-noav/mol.o: unresolved
> symbol __global_restore_flags
> ====================================================================
> Failed to load the module - try recompiling the MOL kernel
> module. Instructions (and information about common problems)
> are available at <http://www.maconlinux.org>.
> ====================================================================
>
> Any ideas would be most welcome!
>
Try doing something like
cd /usr/src/linux
cp .config /tmp/config-bak
make mrproper
cp /tmp/config-bak
make oldconfig
make dep
make
and then recompile the MOL kernel module.
Cheers,
/Samuel