Re: mol-0.9.58-1 rejects System.map


Subject: Re: mol-0.9.58-1 rejects System.map
From: Samuel Rydh (samuel@ibrium.se)
Date: Wed May 16 2001 - 15:23:25 MDT


On Wed, May 16, 2001 at 06:33:18PM +1000, Tim Passmore wrote:
> Hi All
>
> I just tried upgrading my mol version from 0.9.47 to 0.9.58 with the
> following results.
>
> [root@mactim root]# startmol /boot/vmlinux
> =================================================================
> Mac-on-Linux 0.9.58 <www.maconlinux.org>
> (C) 1997-2001 Samuel Rydh <samuel@ibrium.se>
> =================================================================
> Certain kernel symbols are missing. Trying to find a valid System.map file
> Examining '/boot/vmlinux'
> **** Symbol file matches ****
> Caching kernel symbol file as /var/tmp/System.map-2.2.16
> /usr/bin/startmol: insmod: command not found
> ....

Your problem is that /sbin is not in your PATH. (I'll make
sure the startmol script can cope with this in the next version -
it really should use /sbin/insmod and not just insmod).

One simple way to get /sbin in the path is by giving
the command 'su -l' (if the -l switch is not used, the
PATH is inherited which usually mean that /sbin is not in
the PATH).

Regards,

/Samuel

----------------------------------------------------------
 E-mail <samuel@ibrium.se> WWW: <http://www.ibrium.se>
  Phone/fax: (home) +46 8 4418431, (work) +46 8 7908470
----------------------------------------------------------



This archive was generated by hypermail 2a24 : Wed May 16 2001 - 14:28:57 MDT