Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Vmware Workstation problem after reboot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
brent_weaver
Guru
Guru


Joined: 01 Jul 2004
Posts: 510
Location: Burlington, VT

PostPosted: Wed Apr 06, 2005 12:53 am    Post subject: Vmware Workstation problem after reboot Reply with quote

Hello. When I reboot my G2 machine VMware Wkst 4.5 needs to be reconfigured via vmware-config.pl script.

Linux rockhopper 2.6.9-gentoo-r1 #18 SMP Sat Apr 2 06:39:15 EST 2005 i686 AMD Athlon(tm) XP 1900+ AuthenticAMD GNU/Linux

any help would be appreciated.
_________________
Brent Weaver


Last edited by brent_weaver on Wed Apr 06, 2005 1:14 am; edited 1 time in total
Back to top
View user's profile Send private message
misho
Apprentice
Apprentice


Joined: 15 Apr 2004
Posts: 189

PostPosted: Wed Apr 06, 2005 1:10 am    Post subject: Reply with quote

Did you add the vmware init script to the default runlevel?

rc-update add vmware default
to run without rebooting:
/etc/init.d/vmware start
_________________
"Pssht. Extreme sports. If you want a real adrenaline rush, go write a physics exam without a calculator." - D.Z.
Back to top
View user's profile Send private message
brent_weaver
Guru
Guru


Joined: 01 Jul 2004
Posts: 510
Location: Burlington, VT

PostPosted: Wed Apr 06, 2005 1:16 am    Post subject: the error message Reply with quote

rockhopper root # /etc/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.
* VMware is not properly configured! See above. [ !! ]
_________________
Brent Weaver
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Wed Apr 06, 2005 3:05 am    Post subject: Reply with quote

Does it happen every time you restart, regardless of whether or not you config'ed vmware?
Back to top
View user's profile Send private message
brent_weaver
Guru
Guru


Joined: 01 Jul 2004
Posts: 510
Location: Burlington, VT

PostPosted: Wed Apr 06, 2005 10:51 am    Post subject: yes it happens everytime I reboot Reply with quote

If I run vmware-config.pl it will work like a charm until I reboot. Basically after every reboot I need to run the config script.

HELP!
_________________
Brent Weaver
Back to top
View user's profile Send private message
fvant
Guru
Guru


Joined: 08 Jun 2003
Posts: 328
Location: Leiden, The Netherlands

PostPosted: Wed Apr 06, 2005 1:42 pm    Post subject: Reply with quote

try this:

- make sure no vmware module is loaded (lsmod)
- run the configure script
- make modules_install
- start the vmware tools (/etc/init.d/vmware start)
Back to top
View user's profile Send private message
brent_weaver
Guru
Guru


Joined: 01 Jul 2004
Posts: 510
Location: Burlington, VT

PostPosted: Wed Apr 06, 2005 2:09 pm    Post subject: the results Reply with quote

rockhopper root # lsmod
Module Size Used by
nvidia 2071016 12
rockhopper root # vmware-config.pl
Making sure services for VMware Workstation are stopped.

Stopping VMware services:
Virtual machine monitor done
Bridged networking on /dev/vmnet0 done
DHCP server on /dev/vmnet8 done
NAT service on /dev/vmnet8 done
Host-only networking on /dev/vmnet8 done
Virtual ethernet done

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

None of the pre-built vmmon modules for VMware Workstation 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.9-gentoo-r1/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Building for VMware Workstation 4.5.2 or VMware GSX Server 3.1.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.9-gentoo-r1/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.9-gentoo-r1'
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/cpuid.o
CC [M] /tmp/vmware-config0/vmmon-only/common/hash.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/task.o
cc1plus: warning: "-Wdeclaration-after-statement" is valid for C/ObjC but not
for C++
CC [M] /tmp/vmware-config0/vmmon-only/common/vmx86.o
CC [M] /tmp/vmware-config0/vmmon-only/vmcore/compat.o
CC [M] /tmp/vmware-config0/vmmon-only/vmcore/moduleloop.o
LD [M] /tmp/vmware-config0/vmmon-only/vmmon.o
Building modules, stage 2.
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.9-gentoo-r1'
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.

Building for VMware Workstation 4.5.2 or VMware GSX Server 3.1.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmnet-only'
make -C /lib/modules/2.6.9-gentoo-r1/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.9-gentoo-r1'
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.
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.9-gentoo-r1'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config0/vmnet-only'
The module loads perfectly in the running kernel.

You have already setup networking.

Would you like to skip networking setup and keep your old settings as they are?
(yes/no) [yes]

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 done
Virtual ethernet done
Bridged networking on /dev/vmnet0 done
Host-only networking on /dev/vmnet8 (background) done
NAT service on /dev/vmnet8 done

The configuration of VMware Workstation 4.5.2 build-8848 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

rockhopper root # lsmod
Module Size Used by
vmnet 27356 4
vmmon 165612 0
nvidia 2071016 12
rockhopper root # cd /usr/src/linux
rockhopper linux # make modules_install
INSTALL drivers/net/s2io.ko
INSTALL net/ipv4/netfilter/ipt_NOTRACK.ko
INSTALL net/ipv4/netfilter/iptable_raw.ko
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.6.9-gentoo-r1; fi
rockhopper linux # /etc/init.d/vmware start
* Starting VMware services: [ ok ]
* Virtual machine monitor [ !! ]

* Virtual ethernet [ !! ]

* Bridged networking on /dev/vmnet0 [ !! ]

* Host-only networking on /dev/vmnet8 (background) [ ok ]
* NAT service on /dev/vmnet8

_________________
Brent Weaver
Back to top
View user's profile Send private message
fvant
Guru
Guru


Joined: 08 Jun 2003
Posts: 328
Location: Leiden, The Netherlands

PostPosted: Wed Apr 06, 2005 2:47 pm    Post subject: Reply with quote

OK, the modules are allreayd loaded by the configure script, so you should be able to run vmware now ?
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Wed Apr 06, 2005 3:17 pm    Post subject: Reply with quote

Restart your PC (to make sure that nothing's conflicting within vmware), delete /etc/vmware/not_configured, and start the service.
Back to top
View user's profile Send private message
jojobobo
n00b
n00b


Joined: 26 Jun 2003
Posts: 29
Location: USA

PostPosted: Thu Apr 07, 2005 5:12 am    Post subject: Reply with quote

Are you using udev? If so go here. The device nodes aren't saved if you use a pure udev system, so they need to be recreated every time that the system reboots and the vmware service restarts.
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Mon Sep 26, 2005 6:05 pm    Post subject: Reply with quote

Moved from Kernel & Hardware to Duplicate Threads.
Moved in favour of https://forums.gentoo.org/viewtopic-t-139278.html
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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