Problem with VMWare module

Mike Reinehr cmr
Tue Jan 10 17:01:30 PST 2006


On Tuesday 10 January 2006 01:24 pm, HarryG wrote:
> On Tuesday 10 January 2006 01:39 pm, Mike Reinehr wrote:
> > On Tuesday 10 January 2006 10:59 am, 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.
> > >
> > > And thanks for your help amigo!
> > >
> > >
> > > Harry G
> >
> > Harry,
> >
> > Do you have a shell program /etc/init.d/vmware? This was installed on my
> > system by the VMware installation program and starts all the modules when
> > I boot into runlevel 2.
>
> Yes I do, a rather long one.  I suspect there is an issue with this and my
> distro.  I will have to examine it and see what it can be.
>
> Any suggestions would be most appreciated!
>
> And thanks to all who tried to help.
>
> Harry G

Harry,

I'm using Debian, here, which uses a SysV init system. All the startup files 
are kept in /etc/init.d and then linked to various startup directories (rc.d, 
rc1.d, rc2.d, ....). Here's the links I have for vmware:

cmr at odin:~$ cd /etc
cmr at odin:/etc$ find rc?.d -name '*vmware'
rc0.d/K08vmware
rc2.d/S90vmware
rc2.d/K08vmware
rc3.d/S90vmware
rc3.d/K08vmware
rc5.d/S90vmware
rc5.d/K08vmware
rc6.d/K08vmware
cmr at odin:/etc$

The S90 & K08 prefixes determine where in the order of things, vmware gets 
started & stopped.

All this was set up automagically by the VMware installation script.

Cheers!

cmr
_____________________________________________
> Linux-users mailing list ( Linux-users at linux-sxs.org )
> Unsub/Password/Etc:
> http://mail.linux-sxs.org/cgi-bin/mailman/listinfo/linux-users
>
> Need to chat further on this subject? Check out #linux-users on
> irc.linux-sxs.org !

-- 
Debian 'Sarge': Registered Linux User #241964

"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC


More information about the Linux-users mailing list