Error: The MOL kernel module is not loaded

Ben Stanley mol-general@lists.maconlinux.org
Fri, 31 May 2002 15:06:51 +1000


Hi,

I did indeed compile from srpm. I have now modded the .spec file to 
apply your patch and re-built.

Thanks for the hint. It worked like a charm. I'm now running mol-0.9.63.

Ben.

Bill Fink wrote:

>Hi,
>
>It sounds like you ran into the same problem I did, so I'm guessing that
>you built mol-kmods from the Source RPM.  There's a bug which results in
>rpm stripping the symbols from the MOL kernel modules in the generated
>binary mol-kmods PPC RPM, which causes the error you encountered.  You
>can either apply the following one line patch or get the latest MOL via
>rsync from rsync.penguinppc.org::mol which should have this patch included.
>
>						-Bill
>
>
>
>--------------------------------------------------------------------------------
>diff -ur mol-kmods-0.9.63.dist/Makefile.in mol-kmods-0.9.63.mod/Makefile.in
>--- mol-kmods-0.9.63.dist/Makefile.in   Wed May  1 11:50:20 2002
>+++ mol-kmods-0.9.63.mod/Makefile.in    Thu May 23 04:38:44 2002
>@@ -467,7 +467,7 @@
>        for x in $$MODS ; do \
>                y=`echo $$x | sed -e s/mollib// -e s/[a-zA-Z0-9_]*.o$$//`
>; \
>                $(INSTALL) -v -d $(DESTDIR)$(mol_libdir)/$$y || exit 1
>; \
>-               $(INSTALL) -v $$x $(DESTDIR)$(mol_libdir)/$$y || exit 1
>; \
>+               $(INSTALL) -v --mode=644 $$x $(DESTDIR)$(mol_libdir)/$$y || exit 1              ; \
>        done ; }
>
> install-exec-hook: install-modules
>
>  
>