1 2 Previous Next 24 Replies Latest reply on Oct 21, 2009 7:32 AM by tstuser1

    6.5 segfault in F10-beta

    DidierM Lurker

      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-modconfi[11405]: segfault at 0 ip 000000321bc83b94 sp 00007fff532a2eb0 error 4 in libc-2.8.90.so[321bc00000+16c000]

       

       

       

       

       

       

       

      Has anyone successfully patched 6.0.5 to run with 2.6.27 ?

       

       

       

       

       

       

       

      Best regards,

       

       

       

      Didier

        • 1. Re: 6.5 segfault in F10-beta
          mulicheng Lurker

          Having the same issue.  Can't build the kernel modules in fc10-beta.

          • 2. Re: 6.5 segfault in F10-beta
            Hot Shot

            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

            • 3. Re: 6.5 segfault in F10-beta
              DidierM Lurker

              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                                

                 Virtual machine communication interface                

                 Blocking file system                                   

                 Virtual ethernet                                       

               

              dmesg :

               

              /dev/vmmon[27599]: Module vmmon: registered with major=10 minor=165

              /dev/vmmon[27599]: Initial HV check: anyNotCapable=0 anyUnlocked=0 anyEnabled=0 anyDisabled=1

              /dev/vmmon[27599]: HV check: anyNotCapable=0 anyUnlocked=0 anyEnabled=0 anyDisabled=1

              /dev/vmmon[27599]: Module vmmon: initialized

              /dev/vmci[27612]: VMCI: Driver initialized.

              /dev/vmci[27612]: Module vmci: registered with major=10 minor=59

              /dev/vmci[27612]: 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

              • 4. Re: 6.5 segfault in F10-beta
                zenocolo Lurker

                 

                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:

                 

                 

                # 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

                # cp *.o /lib/modules/`uname -r`/misc

                # depmod -a

                # /etc/init.d/vmware restart.

                Usage: vmware {start|stop|status|restart|stoppable}

                # /etc/init.d/vmware restart

                Stopping VMware services:

                   Virtual machine communication interface                

                   Virtual machine monitor                                

                   Blocking file system                                   

                Starting VMware services:

                   Virtual machine monitor                                

                   Virtual machine communication interface                

                   Blocking file system                                   

                   Virtual ethernet                                       

                # 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

                 

                 

                • 5. Re: 6.5 segfault in F10-beta
                  Hot Shot

                  They probably need to be named *.ko instead of *.o.

                  • 6. Re: 6.5 segfault in F10-beta
                    zenocolo Lurker

                    chef, many thanks, this solved it... i copyed the wrong files over

                    • 7. Re: 6.5 segfault in F10-beta
                      gjmoed Novice

                       

                      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...

                       

                       

                       

                       

                       

                      • 8. Re: 6.5 segfault in F10-beta
                        mulicheng Lurker

                        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:

                         

                         

                        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

                        • 9. Re: 6.5 segfault in F10-beta
                          mulicheng Lurker

                           

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

                           

                           

                          /etc/init.d/haldaemon start

                           

                           

                             

                           

                           

                          • 10. Re: 6.5 segfault in F10-beta
                            Noel Expert
                            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.

                            • 11. Re: 6.5 segfault in F10-beta
                              jimlucas Lurker

                               

                              Noel,

                               

                               

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

                               

                               

                              • 12. Re: 6.5 segfault in F10-beta
                                NLSurfMan Lurker

                                 

                                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-modconfi[10637]: segfault at 0 ip 0000003fa7681d64 sp 00007fff7d81af00 error 4 in libc-2.9.so[3fa7600000168000]+

                                 

                                 

                                 

                                 

                                 

                                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

                                 

                                 

                                 

                                • 13. Re: 6.5 segfault in F10-beta
                                  smpouh Lurker

                                  Noel,

                                   

                                  Many thanks for the script. It works wonderfully.

                                   

                                  Cheers,

                                  smpouh

                                  • 14. Re: 6.5 segfault in F10-beta
                                    NLSurfMan Lurker

                                     

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

                                     

                                     

                                    And the script works beautiful!

                                     

                                     

                                    1 2 Previous Next