1 2 Previous Next 22 Replies Latest reply on Jun 28, 2012 6:41 AM by FigVam

    Vmware Workstation 7.1.4 with Kernel 2.6.39

    PunchinPreacher Lurker

      Having trouble compiling vmware 7.1.4 /w k 2.6.39

       


      Apr 20 18:50:50.461: app-139722951354144| Trying to find a suitable PBM set for kernel 2.6.39-rc3.
      Apr 20 18:50:50.462: app-139722951354144| Building module vmmon.
      Apr 20 18:50:50.462: app-139722951354144| Extracting the sources of the vmmon module.
      Apr 20 18:50:50.472: app-139722951354144| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.39-rc3/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.5.2
      Apr 20 18:50:51.315: app-139722951354144| Failed to compile module vmmon!

        • 2. Re: Vmware Workstation 7.1.4 with Kernel 2.6.39
          zarbula Lurker

          I think the bigger issue with 2.6.39 is the removal of smp_lock.  When I compiled it I have to fix my Nvidia driver.  Now I'm seeing the same sort of issue with VMware

           

          here is my error while compiling:

           

          Stopping VMware services:
             VMware USB Arbitrator                                               done
             VM communication interface socket family                            done
             Virtual machine communication interface                             done
             Virtual machine monitor                                             done
             Blocking file system                                                done
          Using 2.6.x kernel build system.
          make: Entering directory `/tmp/vmware-root/modules/vmmon-only'
          make -C /lib/modules/2.6.39-rc3/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
          MODULEBUILDDIR= modules
          make[1]: Entering directory `/usr/src/linux-2.6.39-rc3'
            CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/driver.o
          /tmp/vmware-root/modules/vmmon-only/linux/driver.c:40: fatal error: linux/smp_lock.h: No such file or directory
          compilation terminated.
          make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/driver.o] Error 1
          make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Error 2
          make[1]: Leaving directory `/usr/src/linux-2.6.39-rc3'
          make: *** [vmmon.ko] Error 2
          make: Leaving directory `/tmp/vmware-root/modules/vmmon-only'
          Unable to install vmm

           

           

          I remember that for the Nvidia issue it was something like "perl -pi -e 's/.*smp_lock.h.*\n//'" to fix.  Think it will take something like this to make this work for 2.6.39?

           

          • 4. Re: Vmware Workstation 7.1.4 with Kernel 2.6.39
            martyfelker Hot Shot

            Could you please correct the link?  If getting 404 or nothing at all.  I am somewhat interested in kernel 2.6.39 which is the default kernel for Fedora Rawhide.

             

            Thanks

             

            Marty

            • 5. Re: Vmware Workstation 7.1.4 with Kernel 2.6.39
              leigh123linux Novice

              Here's the patch it has two bad hunks on vmblock when applying, I edited vmblock by hand.

               

               

              http://www.fedoraforum.org/leigh123linux/vm/vmware2.6.39.patch

               

               

              Here's the patched source

               

              http://www.fedoraforum.org/leigh123linux/vm/source.tar.lzma

               

               

               

               

              $ uname -a

              Linux main_pc.leigh123linux 2.6.39-0.rc6.git0.0.el6.x86_64 #1 SMP Wed May 4 19:44:16 BST 2011 x86_64 x86_64 x86_64 GNU/Linux

              $

              • 6. Re: Vmware Workstation 7.1.4 with Kernel 2.6.39
                rgadsdon Novice

                The patch appeared to work, but produced an OOPS when starting VMware:

                -------------

                Starting VMware services:
                VMware USB Arbitrator                                          [  OK  ]
                Virtual machine monitor                                          [  OK  ]
                Virtual machine communication interface                 [  OK  ]
                VM communication interface socket family              [  OK  ]
                Blocking file system
                Message from syslogd@rglinux at May  5 12:34:06 …
                kernel:Oops: 0010 [#1] SMP

                Message from syslogd@rglinux at May  5 12:34:06 …
                kernel:last sysfs file: /sys/devices/virtual/misc/vsock/uevent

                Message from syslogd@rglinux at May  5 12:34:06 …
                kernel:Stack:

                Message from syslogd@rglinux at May  5 12:34:06 …
                kernel:Call Trace:

                Message from syslogd@rglinux at May  5 12:34:06 …
                kernel:Code:  Bad RIP value.

                Message from syslogd@rglinux at May  5 12:34:06 …
                kernel:CR2: 0000000000000000
                [FAILED]
                Virtual ethernet                                        [  OK  ]

                -------------------

                Despite this, VMware workstation started OK, but when I attempted to atttach a USB device (SatMap) to the VM (Win7SP1) caused my system (Fedora 14 - Kernel 2.6.39-rc6-git2 X86_64) to hang completely, and a cold boot was needed to fix it..

                 

                Robert Gadsdon.

                • 7. Re: Vmware Workstation 7.1.4 with Kernel 2.6.39
                  xgonzalo Lurker

                  Same here:

                   

                   

                  Built vsock module
                  Starting VMware services:
                     VMware USB Arbitrator                                               done
                     Virtual machine monitor                                             done
                     Virtual machine communication interface                             done
                     VM communication interface socket family                            done
                     Blocking file system
                  Message from syslogd@glaptop at May 20 18:47:37 ...
                  kernel:[ 5697.577474] Oops: 0010 [#1] SMP
                  Message from syslogd@glaptop at May 20 18:47:37 ...
                  kernel:[ 5697.577479] last sysfs file: /sys/devices/virtual/misc/vsock/uevent
                  Message from syslogd@glaptop at May 20 18:47:37 ...
                  kernel:[ 5697.577662] Stack:
                  Message from syslogd@glaptop at May 20 18:47:37 ...
                  kernel:[ 5697.577682] Call Trace:
                  Message from syslogd@glaptop at May 20 18:47:37 ...
                  kernel:[ 5697.577744] Code:  Bad RIP value.
                  Message from syslogd@glaptop at May 20 18:47:37 ...
                  kernel:[ 5697.577757] CR2: 0000000000000000
                                                                                        failed
                     Virtual ethernet                                                    done
                  Unable to start services
                  • 8. Re: Vmware Workstation 7.1.4 with Kernel 2.6.39
                    PDMC Enthusiast

                    I've been unable to get 7.1.4 to work with the openSuse 11.4 Tumbleweed version since upgrading to kernel 2.6.39-30, the current kernel release for Tumbleweed, using these or any other patch scripts I've found by search.

                     

                    ???

                    • 9. Re: Vmware Workstation 7.1.4 with Kernel 2.6.39
                      rgadsdon Novice

                      There is a new, improved patch now available:

                       

                      http://weltall.heliohost.org/wordpress/2011/05/14/running-vmware-workstation-player-on-linux-2-6-39-updated/

                       

                      - and it compiles and installes OK, and works (kernel 2.6.39 - from kernel.org)..

                       

                      (FYI, the site is sometimes 404, for some reason..  just try a bit later..)

                       

                      Robert Gadsdon.

                      • 10. Re: Vmware Workstation 7.1.4 with Kernel 2.6.39
                        PDMC Enthusiast

                        Thanks Bob but I'm a bit to dense to see exactly how to apply the patch.

                         

                        Lookiing at the script it looks like you have to untar each of the tarbals in the vmware modules install directory to a directory named source-original run the script from the directory up one level from source-original and source then tar them back up and move them back to the modules/source directory?

                        • 11. Re: Vmware Workstation 7.1.4 with Kernel 2.6.39
                          martyfelker Hot Shot

                          Got this while trying to  run vmware after applying your patch.

                           

                          Host  = openSUSE Factory  kernel 2.6.39-2-vanilla

                           

                          Any ideas??

                           

                          Thanks

                           

                          Marty Felker

                          ---------------------------------------------------------------------------------------

                          /usr/bin> ./vmware
                          Logging to /tmp/vmware-marty/setup-5852.log
                          filename:       /lib/modules/2.6.39-2-vanilla/misc/vmmon.ko
                          supported:      external
                          license:        GPL v2
                          description:    VMware Virtual Machine Monitor.
                          author:         VMware, Inc.
                          srcversion:     DFE9035F8F3EC713B7EC543
                          depends:       
                          vermagic:       2.6.39-2-vanilla SMP mod_unload modversions
                          filename:       /lib/modules/2.6.39-2-vanilla/misc/vmnet.ko
                          supported:      external
                          license:        GPL v2
                          description:    VMware Virtual Networking Driver.
                          author:         VMware, Inc.
                          srcversion:     F08F0A4F6CD990A288AD26D
                          depends:       
                          vermagic:       2.6.39-2-vanilla SMP mod_unload modversions
                          ERROR: modinfo: could not find module vmblock
                          ERROR: modinfo: could not find module vmci
                          ERROR: modinfo: could not find module vsock
                          filename:       /lib/modules/2.6.39-2-vanilla/misc/vmmon.ko
                          supported:      external
                          license:        GPL v2
                          description:    VMware Virtual Machine Monitor.
                          author:         VMware, Inc.
                          srcversion:     DFE9035F8F3EC713B7EC543
                          depends:       
                          vermagic:       2.6.39-2-vanilla SMP mod_unload modversions
                          filename:       /lib/modules/2.6.39-2-vanilla/misc/vmnet.ko
                          supported:      external
                          license:        GPL v2
                          description:    VMware Virtual Networking Driver.
                          author:         VMware, Inc.
                          srcversion:     F08F0A4F6CD990A288AD26D
                          depends:       
                          vermagic:       2.6.39-2-vanilla SMP mod_unload modversions
                          ERROR: modinfo: could not find module vmblock
                          ERROR: modinfo: could not find module vmci
                          ERROR: modinfo: could not find module vsock
                          filename:       /lib/modules/2.6.39-2-vanilla/misc/vmmon.ko
                          supported:      external
                          license:        GPL v2
                          description:    VMware Virtual Machine Monitor.
                          author:         VMware, Inc.
                          srcversion:     DFE9035F8F3EC713B7EC543
                          depends:       
                          vermagic:       2.6.39-2-vanilla SMP mod_unload modversions
                          filename:       /lib/modules/2.6.39-2-vanilla/misc/vmnet.ko
                          supported:      external
                          license:        GPL v2
                          description:    VMware Virtual Networking Driver.
                          author:         VMware, Inc.
                          srcversion:     F08F0A4F6CD990A288AD26D
                          depends:       
                          vermagic:       2.6.39-2-vanilla SMP mod_unload modversions
                          ERROR: modinfo: could not find module vmblock
                          ERROR: modinfo: could not find module vmci
                          ERROR: modinfo: could not find module vsock
                          filename:       /lib/modules/2.6.39-2-vanilla/misc/vmmon.ko
                          supported:      external
                          license:        GPL v2
                          description:    VMware Virtual Machine Monitor.
                          author:         VMware, Inc.
                          srcversion:     DFE9035F8F3EC713B7EC543
                          depends:       
                          vermagic:       2.6.39-2-vanilla SMP mod_unload modversions
                          filename:       /lib/modules/2.6.39-2-vanilla/misc/vmnet.ko
                          supported:      external
                          license:        GPL v2
                          description:    VMware Virtual Networking Driver.
                          author:         VMware, Inc.
                          srcversion:     F08F0A4F6CD990A288AD26D
                          depends:       
                          vermagic:       2.6.39-2-vanilla SMP mod_unload modversions
                          ERROR: modinfo: could not find module vmblock
                          ERROR: modinfo: could not find module vmci
                          ERROR: modinfo: could not find module vsock
                          filename:       /lib/modules/2.6.39-2-vanilla/misc/vmmon.ko
                          supported:      external
                          license:        GPL v2
                          description:    VMware Virtual Machine Monitor.
                          author:         VMware, Inc.
                          srcversion:     DFE9035F8F3EC713B7EC543
                          depends:       
                          vermagic:       2.6.39-2-vanilla SMP mod_unload modversions
                          filename:       /lib/modules/2.6.39-2-vanilla/misc/vmnet.ko
                          supported:      external
                          license:        GPL v2
                          description:    VMware Virtual Networking Driver.
                          author:         VMware, Inc.
                          srcversion:     F08F0A4F6CD990A288AD26D
                          depends:       
                          vermagic:       2.6.39-2-vanilla SMP mod_unload modversions
                          ERROR: modinfo: could not find module vmblock
                          ERROR: modinfo: could not find module vmci
                          ERROR: modinfo: could not find module vsock

                          • 12. Re: Vmware Workstation 7.1.4 with Kernel 2.6.39
                            rgadsdon Novice

                            It is not _my_ patch, I was just providing a link to the authors' site.   If you go there, you will see there is a Q and A thread on application etc....

                             

                            Apologies for any confusion...

                             

                            Robert Gadsdon.

                            • 13. Re: Vmware Workstation 7.1.4 with Kernel 2.6.39
                              martyfelker Hot Shot

                              No problem.  I was on that site and the author did have 2 patrches for 2.6.39 (one of them 'fixed').  I will contact him directly with any more questions.  It would be interesting though if anybody else has had success with this.  The author says it works on a kernel compiled directly from kernel.org.  openSUSE VAnialla kerenels use the same sources and are not modified for SUSE.  Eventually VMwar ewill get  around to a fix because they must.  I still have a working versiobn of VMware on Fedora Rawhide with the 2.6.38 kernel.

                               

                              Marty

                              1 2 Previous Next