Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VMWare configuration troubles [COMPLETED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Toris
n00b
n00b


Joined: 22 Mar 2004
Posts: 58

PostPosted: Tue Mar 23, 2004 8:35 pm    Post subject: VMWare configuration troubles [COMPLETED] Reply with quote

Hi,

A few days ago I finished my first ever Linux/Gentoo install, but there's still a few programs I need from Windows (Codewarrior for Palm OS 9, Palm Desktop for Tapwave Zodiac, and a few others), so I'm trying out VMWare. However, I'm having trouble running the trial.

What's wrong:
The vmware service will not start with '/etc/vmware/init.d/vmware start'
When I run vmware, it says that it's not properly configured.

What I've done so far:
emerged vmware-workstation
updated to gcc 3.3.3
rebooted several times
remade the vmware-config.pl several times

I'm using:
Gentoo 1.4
Kernel 2.6.4-rc1
VMWare Workstation 4.5.1.7568

I've tried searching the forums for previous problems, and I'm unable to find one like mine.

Any suggestions/fixes/tutorials... anything(!) are truly welcome!

Thanks,
Toris


This is the output from building the configuration file for VMWare.
Code:

toris@JAMIE toris $ su
Password:
root@JAMIE toris # /opt/vmware/bin/vmware-config.pl
Making sure VMware Workstation's services are stopped.

Stopping VMware services:
   Virtual machine monitor                                             done

Trying to find a suitable vmmon module for your running kernel.

None of VMware Workstation's pre-built vmmon modules is suitable for your
running kernel.  Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.4-rc1/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.4-rc1/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.4-rc1'
  HOSTCC  scripts/fixdep
  HOSTCC  scripts/split-include
  HOSTCC  scripts/conmakehash
  HOSTCC  scripts/docproc
  HOSTCC  scripts/kallsyms
  CC      scripts/empty.o
  HOSTCC  scripts/mk_elfconfig
  MKELF   scripts/elfconfig.h
  HOSTCC  scripts/file2alias.o
  HOSTCC  scripts/modpost.o
  HOSTCC  scripts/sumversion.o
  HOSTLD  scripts/modpost
  HOSTCC  scripts/pnmtologo
  HOSTCC  scripts/bin2c
  SPLIT   include/linux/autoconf.h -> include/config/*
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
  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/vmx86.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/memtrack.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/phystrack.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/cpuid.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/task.o
  LD [M]  /tmp/vmware-config0/vmmon-only/vmmon.o
  Building modules, stage 2.
/usr/src/linux-2.6.4-rc1/scripts/Makefile.modpost:17: Trouble: drivers/input/evdev.ko drivers/usb/input/hid.ko drivers/net/sis900.ko /tmp/vmware-config0/vmmon-only/vmmon.ko /tmp/vmware-config0/vmnet-only/vmnet.ko drivers/usb/input/wacom.ko
/usr/src/linux-2.6.4-rc1/scripts/Makefile.modpost:18: *** Uh-oh, you have stale module entries. You messed with SUBDIRS,
/usr/src/linux-2.6.4-rc1/scripts/Makefile.modpost:19: do not complain if something goes wrong.
  MODPOST
  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-2.6.4-rc1'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
The module loads perfectly in the running kernel.

Extracting the sources of the vmnet module.

Building the vmnet module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmnet-only'
make -C /lib/modules/2.6.4-rc1/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.4-rc1'
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CC [M]  /tmp/vmware-config0/vmnet-only/driver.o
  CC [M]  /tmp/vmware-config0/vmnet-only/hub.o
  CC [M]  /tmp/vmware-config0/vmnet-only/userif.o
  CC [M]  /tmp/vmware-config0/vmnet-only/netif.o
  CC [M]  /tmp/vmware-config0/vmnet-only/bridge.o
  CC [M]  /tmp/vmware-config0/vmnet-only/procfs.o
  LD [M]  /tmp/vmware-config0/vmnet-only/vmnet.o
  Building modules, stage 2.
/usr/src/linux-2.6.4-rc1/scripts/Makefile.modpost:17: Trouble: drivers/input/evdev.ko drivers/usb/input/hid.ko drivers/net/sis900.ko /tmp/vmware-config0/vmmon-only/vmmon.ko /tmp/vmware-config0/vmnet-only/vmnet.ko drivers/usb/input/wacom.ko
/usr/src/linux-2.6.4-rc1/scripts/Makefile.modpost:18: *** Uh-oh, you have stale module entries. You messed with SUBDIRS,
/usr/src/linux-2.6.4-rc1/scripts/Makefile.modpost:19: do not complain if something goes wrong.
  MODPOST
  CC      /tmp/vmware-config0/vmnet-only/vmnet.mod.o
  LD [M]  /tmp/vmware-config0/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/linux-2.6.4-rc1'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config0/vmnet-only'
The module loads perfectly in the running kernel.

Do you want networking for your virtual machines? (yes/no/help) [no]

Do you want this program to automatically configure your system to allow your
virtual machines to access the host's filesystem? (yes/no/help) [no]

Starting VMware services:
   Virtual machine monitor                                            failed

The configuration of VMware Workstation 4.5.1 build-7568 for Linux for this
running kernel completed successfully.

You can now run VMware Workstation by invoking the following command:
"/opt/vmware/bin/vmware".

Enjoy,

--the VMware team

root@JAMIE toris # /opt/vmware/bin/vmware-config.pl
Making sure VMware Workstation's services are stopped.

/etc/vmware/init.d/vmware: line 881: [: -: integer expression expected
Stopping VMware services:
   Virtual machine monitor                                            failed
Unable to stop VMware Workstation's services.

Execution aborted.

root@JAMIE toris #


Just as a note, not sure whether it is of any relevance, but I will need to reboot before I can run the configuration utility again, running '/etc/vmware/init.d/vmware stop' makes no difference. Here's some output from trying those commands:
Code:

root@JAMIE toris # /etc/vmware/init.d/vmware stop
/etc/vmware/init.d/vmware: line 881: [: -: integer expression expected
Stopping VMware services:
   Virtual machine monitor                                            failed
root@JAMIE toris # /etc/vmware/init.d/vmware start
VMware Workstation is installed, but it has not been (correctly) configured
for the running kernel. To (re-)configure it, invoke the
following command: /opt/vmware/bin/vmware-config.pl.


Last edited by Toris on Wed Mar 24, 2004 1:52 am; edited 1 time in total
Back to top
View user's profile Send private message
narensankar
Tux's lil' helper
Tux's lil' helper


Joined: 04 Nov 2002
Posts: 109

PostPosted: Tue Mar 23, 2004 9:07 pm    Post subject: Reply with quote

It seems that the main vmmon module does not load correctly. Can you post the output of lsmod, and also try to run the module insert by hand -

modprobe vmmon and post the output.

Naren
Back to top
View user's profile Send private message
Toris
n00b
n00b


Joined: 22 Mar 2004
Posts: 58

PostPosted: Tue Mar 23, 2004 10:26 pm    Post subject: Reply with quote

Here's the output:
Code:

root@JAMIE toris # modprobe vmmon
root@JAMIE toris # modinfo vmmon
modinfo: could not find module vmmon
root@JAMIE toris # lsmod
Module                  Size  Used by
vmmon                  46432  -
wacom                   9856  -
evdev                   7968  -
sis900                 16964  -
root@JAMIE toris # modprobe vmmon
FATAL: Module vmmon already in kernel.


This happens whenever the vmmon module is loaded:
Code:

root@JAMIE toris # /opt/vmware/bin/vmware-config.pl
Making sure VMware Workstation's services are stopped.

/etc/vmware/init.d/vmware: line 881: [: -: integer expression expected
Stopping VMware services:
   Virtual machine monitor                                            failed
Unable to stop VMware Workstation's services.

Execution aborted.


However, I think that may be because of this (apparently I compiled my kernel without module removing support - should I recompile with support for this? - is it usually needed?):
Code:

root@JAMIE toris # modprobe -r vmmon
FATAL: Error removing vmmon (/lib/modules/2.6.4-rc1/misc/vmmon.o): Kernel does not have module unloading support


Thanks.
Back to top
View user's profile Send private message
Toris
n00b
n00b


Joined: 22 Mar 2004
Posts: 58

PostPosted: Wed Mar 24, 2004 1:51 am    Post subject: Reply with quote

Just an update, I unemerged vmware-workstation, and re-emerged it. I then ran etc-update (as I noticed it said over 20 files needed re-configuring :p)...

This caused a few problems, as it overwrote my X configuration, and I forgot to alter it before I rebooted.

Anyway, to cut the story short, it's now working perfectly - or, rather, it boots to the VMWare Workstation title screen, I've yet to install any clients yet.

Thanks for your help anyhow.

-Jamie
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum