VMware

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  

6.5 segfault in F10-beta posted: Oct 2, 2008 2:03 PM

Click to view DidierM's profile Lurker 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

Re: 6.5 segfault in F10-beta

1. Oct 3, 2008 12:41 PM in response to: DidierM
Click to view mulicheng's profile Lurker 3 posts since
Oct 3, 2008
Having the same issue. Can't build the kernel modules in fc10-beta.

Re: 6.5 segfault in F10-beta

2. Oct 3, 2008 3:22 PM in response to: DidierM
Click to view jaycamp's profile Hot Shot 84 posts since
Aug 5, 2007
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

Re: 6.5 segfault in F10-beta

4. Oct 20, 2008 2:23 PM in response to: jaycamp
Click to view zenocolo's profile Lurker 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

Re: 6.5 segfault in F10-beta

5. Oct 20, 2008 2:29 PM in response to: zenocolo
Click to view jaycamp's profile Hot Shot 84 posts since
Aug 5, 2007
They probably need to be named *.ko instead of *.o.

Re: 6.5 segfault in F10-beta

6. Oct 20, 2008 3:35 PM in response to: jaycamp
Click to view zenocolo's profile Lurker 2 posts since
Oct 20, 2008
chef, many thanks, this solved it... i copyed the wrong files over ;)

Re: 6.5 segfault in F10-beta

7. Oct 25, 2008 4:22 AM in response to: zenocolo
Click to view gjmoed's profile Novice 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...


Re: 6.5 segfault in F10-beta

8. Oct 29, 2008 9:33 AM in response to: gjmoed
Click to view mulicheng's profile Lurker 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

Re: 6.5 segfault in F10-beta

9. Oct 29, 2008 9:49 AM in response to: mulicheng
Click to view mulicheng's profile Lurker 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


Re: 6.5 segfault in F10-beta

10. Oct 30, 2008 3:50 PM in response to: jaycamp
Click to view Noel's profile Expert 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:

Re: 6.5 segfault in F10-beta

11. Nov 26, 2008 6:31 AM in response to: Noel
Click to view jimlucas's profile Lurker 1 posts since
Nov 7, 2008

Noel,

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

Re: 6.5 segfault in F10-beta

12. Nov 28, 2008 1:55 AM in response to: Noel
Click to view NLSurfMan's profile Lurker 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:

Re: 6.5 segfault in F10-beta

13. Nov 29, 2008 8:46 AM in response to: Noel
Click to view smpouh's profile Lurker 1 posts since
Nov 29, 2008
Noel,

Many thanks for the script. It works wonderfully.

Cheers,
smpouh

Re: 6.5 segfault in F10-beta

14. Dec 1, 2008 1:08 AM in response to: NLSurfMan
Click to view NLSurfMan's profile Lurker 2 posts since
Nov 28, 2008

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

And the script works beautiful!

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities