Problem with VMWare module
Bruce Marshall
bmarsh
Tue Jan 10 14:52:31 PST 2006
On Tuesday 10 January 2006 11:59, HarryG wrote:
> On Monday 09 January 2006 05:30 pm, Kurt Wall wrote:
> > On Mon, Jan 09, 2006 at 04:43:35PM -0500, HarryG took 42 lines to write:
> > > I seem to loose the module after a reboot. How can I check if it loads
> > > after restarting?
> > >
> > > When it is built, it reads out:
> > >
> > > Building the vmmon module.
> > >
> > > Using 2.6.x kernel build system.
> > > make: Entering directory `/tmp/vmware-config0/vmmon-only'
> > > make -C /usr/src/linux-headers-2.6.12-1-586tsc/include/.. SUBDIRS=$PWD
> > > SRCROOT=$PWD/. modules
> > > make[1]: Entering directory `/usr/src/linux-headers-2.6.12-1-586tsc'
> > > CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
> > > CC [M] /tmp/vmware-config0/vmmon-only/linux/hostif.o
> > > CC [M] /tmp/vmware-config0/vmmon-only/common/task.o
> >
> > [...]
> >
> > > CC /tmp/vmware-config0/vmmon-only/vmmon.mod.o
> > > LD [M] /tmp/vmware-config0/vmmon-only/vmmon.ko
> > > make[1]: Leaving directory `/usr/src/linux-headers-2.6.12-1-586tsc'
> > > cp -f vmmon.ko ./../vmmon.o
> > > make: Leaving directory `/tmp/vmware-config0/vmmon-only'
> > > The module loads perfectly in the running kernel.
> >
> > Does your distribution delete files in /tmp when it reboots? I don't
> > see in this output that you ever actually install the module and
> > update your dependencies with "depmod -ae".
>
> It appears to do the delete. Also, after starting up thismorning I did a
> lsmod >mods, then did the reinstall and did a lsmod >mod2 (see attached).
> It appears that the modules created are vmnet and vmmod. (Please look to
> see if I am correct in this).
>
> How can I load them automatically at boot?
>
> This is a new yet interesting area for me.
Here's what I put into /etc/init.d/boot.local
# Start vmware
/etc/init.d/rc5.d/S19vmware start
boot.local is an SuSE thing so you may have to put that into rc.local or
whatever will get it executed.
And no, I don't know why the S19vmware call at boot time doesn't take.
More information about the Linux-users
mailing list