VMware Communities > VMTN > Desktop Products > VMware Workstation > Discussions

This Question is Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 2 Previous Next
24 Replies Last post: Oct 21, 2009 7:32 AM by tstuser1
Reply

6.5 segfault in F10-beta

Oct 2, 2008 2:03 PM

Click to view DidierM's profile Lurker DidierM 2 posts since
Dec 1, 2004
Running Fedora 10 Beta (kernel 2.6.27-0.370.rc8 , glibc-2.8.90-12) :

  1. vmware-modconfig --console --install-all

results in :


/usr/lib/vmware/bin/launcher.sh: line 231: 11405 Segmentation fault "$binary" "$@"

dmesg reveals :

vmware-modconfi11405: segfault at 0 ip 000000321bc83b94 sp 00007fff532a2eb0 error 4 in libc-2.8.90.so321bc00000+16c000

Has anyone successfully patched 6.0.5 to run with 2.6.27 ?

Best regards,


Didier

Reply Re: 6.5 segfault in F10-beta Oct 3, 2008 12:41 PM
Click to view mulicheng's profile Lurker mulicheng 3 posts since
Oct 3, 2008
Having the same issue. Can't build the kernel modules in fc10-beta.
Reply Re: 6.5 segfault in F10-beta Oct 3, 2008 3:22 PM
Click to view jaycamp's profile Hot Shot jaycamp 84 posts since
Aug 5, 2007
VMware
We've had a developer hit this internally as well so hopefully we'll be able to track it down. In the meantime you can write a fairly simple shell script to install the kernel modules. Just untar all the modules in /usr/lib/vmware/modules/source, run make and then copy the module to /lib/modules/`uname -r`/misc, run depmod -a, and run /etc/init.d/vmware restart.

-jay
Reply Re: 6.5 segfault in F10-beta Oct 4, 2008 10:58 AM
in response to: jaycamp
Click to view DidierM's profile Lurker DidierM 2 posts since
Dec 1, 2004
Thanks Jay, manually compiling the modules - as an interim solution - seems to work fine.

Some minor nuisances :

1.

$ make
cc1: error: unrecognized command line option "-m486"
make: *** http://ppuser-stub.o Error 1

2.

  1. service vmware start

Starting VMware services:
Virtual machine monitor OK
Virtual machine communication interface OK
Blocking file system OK
Virtual ethernet FAILED

dmesg :

/dev/vmmon27599: Module vmmon: registered with major=10 minor=165
/dev/vmmon27599: Initial HV check: anyNotCapable=0 anyUnlocked=0 anyEnabled=0 anyDisabled=1
/dev/vmmon27599: HV check: anyNotCapable=0 anyUnlocked=0 anyEnabled=0 anyDisabled=1
/dev/vmmon27599: Module vmmon: initialized
/dev/vmci27612: VMCI: Driver initialized.
/dev/vmci27612: Module vmci: registered with major=10 minor=59
/dev/vmci27612: Module vmci: initialized
SELinux: initialized (dev vmblock, type vmblock), uses genfs_contexts
/dev/vmnet: open called by PID 27673 (vmnet-bridge)
/dev/vmnet: hub 0 does not exist, allocating memory.
/dev/vmnet: port on hub 0 successfully opened
bridge-wlan0: is a Wireless Adapter
bridge-wlan0: up
bridge-wlan0: attached
/dev/vmnet: open called by PID 28222 (vmnet-dhcpd)
/dev/vmnet: hub 8 does not exist, allocating memory.
/dev/vmnet: port on hub 8 successfully opened
/dev/vmnet: open called by PID 28226 (vmnet-natd)
/dev/vmnet: port on hub 8 successfully opened
/dev/vmnet: open called by PID 28230 (vmnet-netifup)
/dev/vmnet: port on hub 8 successfully opened
vmnet8: no IPv6 routers present

(but networking works fine)

Regards and thanks again,
Didier

Reply Re: 6.5 segfault in F10-beta Oct 20, 2008 2:23 PM
in response to: jaycamp
Click to view zenocolo's profile Lurker zenocolo 2 posts since
Oct 20, 2008

Guys, you are to fast for me, I have same problem f10 beta/ vm 6.5:

Here what I did:

  • untared archives

  • run make in each dir

then:

root@svdude source# ls
vmblock.o vmci.o vmmon.o vmnet.o vmppuser-only vsock-only
vmblock-only vmci-only vmmon-only vmnet-only vmppuser.tar vsock.tar
vmblock.tar vmci.tar vmmon.tar vmnet.tar vsock.o
root@svdude source# cp *.o /lib/modules/`uname -r`/misc
root@svdude source# depmod -a
root@svdude source# /etc/init.d/vmware restart.
Usage: vmware {start|stop|status|restart|stoppable}
root@svdude source# /etc/init.d/vmware restart
Stopping VMware services:
Virtual machine communication interface OK
Virtual machine monitor OK
Blocking file system OK
Starting VMware services:
Virtual machine monitor FAILED
Virtual machine communication interface FAILED
Blocking file system FAILED
Virtual ethernet FAILED
root@svdude source# vmware
Logging to /tmp/vmware-root/setup-21851.log
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/lib/vmware/bin/launcher.sh: line 231: 21851 Segmentation fault "$binary" "$@"

Any advice?

tnx in advance

Reply Re: 6.5 segfault in F10-beta Oct 20, 2008 2:29 PM
in response to: zenocolo
Click to view jaycamp's profile Hot Shot jaycamp 84 posts since
Aug 5, 2007
VMware
They probably need to be named *.ko instead of *.o.
Reply Re: 6.5 segfault in F10-beta Oct 20, 2008 3:35 PM
in response to: jaycamp
Click to view zenocolo's profile Lurker zenocolo 2 posts since
Oct 20, 2008
chef, many thanks, this solved it... i copyed the wrong files over ;)
Reply Re: 6.5 segfault in F10-beta Oct 25, 2008 4:22 AM
in response to: zenocolo
Click to view gjmoed's profile Novice gjmoed 4 posts since
Jul 14, 2006

Guys, same problem here with rawhide, put a strace on it, it bombs out on enumerating binary modules dir, so I did:

mv /usr/lib/vmware/modules/binary /usr/lib/vmware/modules/binary.old

And voila, no more segfaults...


Reply Re: 6.5 segfault in F10-beta Oct 29, 2008 9:33 AM
in response to: gjmoed
Click to view mulicheng's profile Lurker mulicheng 3 posts since
Oct 3, 2008
I can build the modules manually (except vmppuser as noted before w/ -m486) and install them. The vmware service reports success on loading them all:

Starting VMware services:
Virtual machine monitor [ OK ]
Virtual machine communication interface [ OK ]
Blocking file system [ OK ]
Virtual ethernet [ OK ]
Shared Memory Available [ OK ]


When I try to run vmware or vmplayer, I get:

<output snipped>
vermagic: 2.6.27.4-58.fc10.x86_64 SMP mod_unload
filename: /lib/modules/2.6.27.4-58.fc10.x86_64/misc/vmmon.ko
license: GPL v2
description: VMware Virtual Machine Monitor.
author: VMware, Inc.
srcversion: 96CBF0250D0FB3F01BFBFFC
depends:
vermagic: 2.6.27.4-58.fc10.x86_64 SMP mod_unload
process 6566: Attempt to remove filter function 0x7f7245a36c40 user data 0x183e6a0, but no such filter has been added

I previously moved the binary modules directory but that didn't help.

I've tried this with 2.6.27.4-47.rc3 as well as 2.6.27.4-58
Reply Re: 6.5 segfault in F10-beta Oct 29, 2008 9:49 AM
in response to: mulicheng
Click to view mulicheng's profile Lurker mulicheng 3 posts since
Oct 3, 2008

After searching around a bit, I found that starting haldaemon fixes the filter problem.

/etc/init.d/haldaemon start


Reply Re: 6.5 segfault in F10-beta Oct 30, 2008 3:50 PM
in response to: jaycamp
Click to view Noel's profile Expert Noel 887 posts since
Dec 15, 2004
jaycamp wrote:
We've had a developer hit this internally as well so hopefully we'll be able to track it down. In the meantime you can write a fairly simple shell script to install the kernel modules. Just untar all the modules in /usr/lib/vmware/modules/source, run make and then copy the module to /lib/modules/`uname -r`/misc, run depmod -a, and run /etc/init.d/vmware restart.

While VMware works on putting out a fixed version of Workstation, attached is the script I use for Fedora 10 whenever a new kernel is released. WARNING: you're on your own. No warranty or support, even if you erase your entire hard drive.
Attachments:
Reply Re: 6.5 segfault in F10-beta Nov 26, 2008 6:31 AM
in response to: Noel
Click to view jimlucas's profile Lurker jimlucas 1 posts since
Nov 7, 2008

Noel,

Thank you for the script. That appears to have done the trick.

Reply Re: 6.5 segfault in F10-beta Nov 28, 2008 1:55 AM
in response to: Noel
Click to view NLSurfMan's profile Lurker NLSurfMan 2 posts since
Nov 28, 2008

I have tried to run the script vmware-build-modules, but this is the output. Not surprisingly, VMWare Workstation still doesn't start, but bombs out withthe following message:

+Nov 28 10:40:29 localhost kernel: vmware-modconfi10637: segfault at 0 ip 0000003fa7681d64 sp 00007fff7d81af00 error 4 in libc-2.9.so3fa7600000+168000+

Obviously, I am not a Linux guru (yet ;), but still I would like to get VMWare to work on my Fedora 10 box. Attached is the output of that script.

Versin info: Linux PCWJ 2.6.27.5-117.fc10.x86_64 #1 SMP Tue Nov 18 11:58:53 EST 2008 x86_64 x86_64 x86_64 GNU/Linux

Attachments:
Reply Re: 6.5 segfault in F10-beta Nov 29, 2008 8:46 AM
in response to: Noel
Click to view smpouh's profile Lurker smpouh 1 posts since
Nov 29, 2008
Noel,

Many thanks for the script. It works wonderfully.

Cheers,
smpouh
Reply Re: 6.5 segfault in F10-beta Dec 1, 2008 1:08 AM
in response to: NLSurfMan
Click to view NLSurfMan's profile Lurker NLSurfMan 2 posts since
Nov 28, 2008

I solved my issue... Turns out I didn't have kernel-devel installed.

And the script works beautiful!

1 2 Previous Next
Actions