Error: The MOL kernel module is not loaded

Bill Fink mol-general@lists.maconlinux.org
Fri, 31 May 2002 00:25:40 -0400


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
--------------------------------------------------------------------------------



> Hi,
> 
> I just upgraded to mol-0.9.63, and now I can't start mol.
> 
> When I try, it says
> 
> [root@echo /root]# startmol
> Loading Mac-on-Linux kernel module:
>    /usr/lib/mol/0.9.63/modules/2.4.19-pre7-ben0/mol.o
> Loading SheepNet ethernet kernel module:
>    /usr/lib/mol/0.9.63/modules/2.4.19-pre7-ben0/sheep_net.o
> Copyright (C) 1997-2002 Samuel Rydh <samuel@ibrium.se>
> Version 0.9.63
> Error: The MOL kernel module is not loaded
> [root@echo /root]# lsmod
> Module                  Size  Used by
> sheep_net               4768   0  (unused)
> mol                    37840   0  (unused)
> appletalk              23872  12  (autoclean)
> gmac                   16448   1  (autoclean)
> dmasound_pmac          47024   2
> i2c-core               14624   0  [dmasound_pmac]
> dmasound_core          13488   2  [dmasound_pmac]
> soundcore               4496   3  [dmasound_core]
> pmac_nvram             11808   0  [dmasound_pmac]
> [root@echo /root]#
> 
> So it's loading the (correct) modules and then telling me that they 
> aren't loaded...
> 
> I get the same message when I try to run
> 
> /usr/lib/mol/0.9.63/bin/mol
> 
> so the message comes from the binary, not the startmol script.
> 
> I'm running a 2.4.19-pre7-ben0 kernel, as you can see above.
> 
> Thanks for any help. I can poke around in the sources if necessary, but 
> I thought I'd stop and ask questions first :-)
> 
> I think I'll downgrade to my previous (working) version, 0.9.60, as an 
> intermediate measure.
> 
> Ben.