4 Replies Latest reply on Jun 20, 2013 3:09 AM by HaoZhuyi

    Fedora 18 (3.9.5-201) and 8.0.5/6

    tscheez Novice

      I can't seem to get the modules re-compiled after a kernel update today.  I had 8.0.5 running before the update, but haven't been able to get it working.

       

      I've been looking for an updated patch, but have only found patch-vmware803.tar.gz and nothing for 8.0.4+.

       

      Is there a patch available?  I've tried copying the version.h file (cp /usr/include/linux/version.h /lib/modules/3.9.5-201.fc18.x86_64/build/include) which worked for 8.0.5 and 3.9.4-200 but not for this new kernel.

       

      Any pointers?  Can't really update to 9 at the moment....

        • 1. Re: Fedora 18 (3.9.5-201) and 8.0.5/6
          tscheez Novice

          I guess I was doing it wrong.  This thread is correct to resolve the missing headers error.

           

          http://communities.vmware.com/message/2180358#2180358

           

          Although, this does reveal another problem.  The modules for VMCI and VMCI Sockets don't compile.

           

          /tmp/vmware-root/modules/vmci-only/linux/driver.c:127:4: error: implicit declaration of function ‘__devexit_p’ [-Werror=implicit-function-declaration]

          /tmp/vmware-root/modules/vmci-only/linux/driver.c:127:4: error: initializer element is not constant

          /tmp/vmware-root/modules/vmci-only/linux/driver.c:127:4: error: (near initialization for ‘vmci_driver.remove’)

          /tmp/vmware-root/modules/vmci-only/linux/driver.c:1745:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vmci_probe_device’

          /tmp/vmware-root/modules/vmci-only/linux/driver.c:1973:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vmci_remove_device’

          /tmp/vmware-root/modules/vmci-only/linux/driver.c: In function ‘__check_disable_host’:

          /tmp/vmware-root/modules/vmci-only/linux/driver.c:2498:1: warning: return from incompatible pointer type [enabled by default]

          /tmp/vmware-root/modules/vmci-only/linux/driver.c: In function ‘__check_disable_guest’:

          /tmp/vmware-root/modules/vmci-only/linux/driver.c:2501:1: warning: return from incompatible pointer type [enabled by default]

          /tmp/vmware-root/modules/vmci-only/linux/driver.c: In function ‘__check_disable_msi’:

          /tmp/vmware-root/modules/vmci-only/linux/driver.c:2504:1: warning: return from incompatible pointer type [enabled by default]

          /tmp/vmware-root/modules/vmci-only/linux/driver.c: In function ‘__check_disable_msix’:

          /tmp/vmware-root/modules/vmci-only/linux/driver.c:2507:1: warning: return from incompatible pointer type [enabled by default]

          /tmp/vmware-root/modules/vmci-only/linux/driver.c: At top level:

          /tmp/vmware-root/modules/vmci-only/linux/driver.c:119:12: warning: ‘vmci_probe_device’ used but never defined [enabled by default]

          /tmp/vmware-root/modules/vmci-only/linux/driver.c:121:13: warning: ‘vmci_remove_device’ used but never defined [enabled by default]

          /tmp/vmware-root/modules/vmci-only/linux/driver.c:2054:1: warning: ‘vmci_interrupt’ defined but not used [-Wunused-function]

          /tmp/vmware-root/modules/vmci-only/linux/driver.c:2128:1: warning: ‘vmci_interrupt_bm’ defined but not used [-Wunused-function]

          /tmp/vmware-root/modules/vmci-only/linux/driver.c:1708:1: warning: ‘vmci_enable_msix’ defined but not used [-Wunused-function]

          cc1: some warnings being treated as errors

          make[2]: *** [/tmp/vmware-root/modules/vmci-only/linux/driver.o] Error 1

          make[2]: *** Waiting for unfinished jobs....

          make[1]: *** [_module_/tmp/vmware-root/modules/vmci-only] Error 2

          make[1]: Leaving directory `/usr/src/kernels/3.9.5-201.fc18.x86_64'

          make: *** [vmci.ko] Error 2

          make: Leaving directory `/tmp/vmware-root/modules/vmci-only'

          Unable to install vmci

          • 2. Re: Fedora 18 (3.9.5-201) and 8.0.5/6
            HaoZhuyi Novice

            I just got 8.0.4 WKS working on Fedora 18 x86_64 by manually patching the driver.c file in vmci-only/. I will try the same patch for 8.0.6 WKS and let you know.

            1 person found this helpful
            • 3. Re: Fedora 18 (3.9.5-201) and 8.0.5/6
              tscheez Novice

              After downgrading to 8.0.3 and running the patch in patch-vmware803.tar.gz as well as having to patch the vmci module manually, I have WS 8.0.3 (and a VM) running on Fedora 18 3.9.5-201.fc18.x86_64

              • 4. Re: Fedora 18 (3.9.5-201) and 8.0.5/6
                HaoZhuyi Novice

                I can confirm that the modules/source/vmci-only/linux/driver.c patch for VMware WKS 8.0.4 also works for 8.0.6.

                 

                Fedora 18 x86_64 kernel 3.9.5-201.

                 

                Attached: original file and patched file.

                1 person found this helpful