Bug 459749

Summary: VMware-Player-2.5.1 segfaults on starting/configuring
Product: [openSUSE] openSUSE 11.1 Reporter: Holger Sickenberg <holgi>
Component: X11 ApplicationsAssignee: Stephan Kulow <coolo>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: ddavis, dimstar, forgotten_VV1WK2zJAY, kdupke, novell-updates
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: Component Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: strace-vmplayer.txt

Description Holger Sickenberg 2008-12-17 12:52:38 UTC
Created attachment 260573 [details]
strace-vmplayer.txt

I installed VMware-Player-2.5.1-126130.x86_64.rpm on 11.1 and started

~ # vmplayer
Logging to /tmp/vmware-root/setup-12881.log
/usr/share/themes/Clearlooks/gtk-2.0/gtkrc:72: error: unexpected identifier `colorize_scrollbar', expected character `}'
modinfo: could not find module vmmon
modinfo: could not find module vmnet
modinfo: could not find module vmblock
modinfo: could not find module vmci
modinfo: could not find module vsock
modinfo: could not find module vmmon
modinfo: could not find module vmnet
modinfo: could not find module vmblock
modinfo: could not find module vmci
modinfo: could not find module vsock
/usr/bin/vmplayer: line 31: 12881 Segmentation fault      "$BINDIR"/vmware-modconfig --appname="VMware Player" --icon="vmware-player"
Comment 1 Dominique Leuenberger 2008-12-18 12:55:49 UTC
VMware Workstation does the same.

In order to 'fix' this you will need to compile the modules manually and have them installed. After that, vmware player / workstation starts correctly. This has been reported to VMware (at lest by me).

I have a script for you that can help you 'fix' this:
--- START SCRIPT ---
#/bin/sh
cd /usr/lib/vmware/modules/source
for a in *.tar ; do tar xf $a; done
pushd vmblock-only; make; popd
pushd vmci-only; make; popd
pushd vmmon-only; make; popd
pushd vmnet-only; make; popd
cp vmci-only/Module.symvers vsock-only/
pushd vsock-only; make; popd
find -name *.ko -exec cp \
  {} /lib/modules/$(uname -r)/kernel/drivers/misc/ \;
depmod -aq
--- END SCRIPT ---

in order for this to work, you will need to corresponding kernel-source packages, make, and gcc installed on your system (you would need this also without the script)

Comment 2 Holger Sickenberg 2008-12-18 14:04:45 UTC
Thanks a lot. vmplayer now starts. But if I start a machine I get the error that /dev/vmmon is missing.
Comment 3 Dominique Leuenberger 2008-12-18 14:13:57 UTC
argh.. right... 

the newer vmware vorkstations and server have a path hardcoded in their init script.

in /etc/init.d/vmware you would find a function vmwareLoadModule()

I suggest to change it to:

vmwareLoadModule() {
   /sbin/modprobe "$1.ko" || exit 1
   return 0
}

and then of course /etc/init.d/vmware start

Dominique
Comment 4 Holger Sickenberg 2008-12-19 08:10:11 UTC
Thanks a lot:

I removed the '.ko'-part and it's now working fine:

vmwareLoadModule() {
   /sbin/modprobe "$1" || exit 1
   return 0
}
Comment 5 Stephan Kulow 2009-01-19 16:03:14 UTC
how can I help this bug?
Comment 6 Holger Sickenberg 2009-01-19 17:13:02 UTC
I thought you know best how to deal with that issue.
Comment 8 Stephan Kulow 2009-01-23 10:41:40 UTC
not a suse bug, please report to the vendor