2 Replies Latest reply on Nov 12, 2011 7:14 PM by mfelker

    Not build on 3.2.0-pre-rc1

    Pavlinux Enthusiast


      Using 2.6.x kernel build system.
      make -C /lib/modules/3.1.0+/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
        MODULEBUILDDIR= modules
      make[1]: Entering directory `/media/kernel/linux-2.6'
        CC [M]  /tmp/VMWARE/vmnet-only/userif.o
      /tmp/VMWARE/vmnet-only/userif.c: In function VNetCsumCopyDatagram:
      /tmp/VMWARE/vmnet-only/userif.c:522:3: error: incompatible type for argument 1 of kmap
      include/linux/highmem.h:48:21: note: expected 'struct page *' but argument is of type const struct <anonymous>
      /tmp/VMWARE/vmnet-only/userif.c:525:3: error: incompatible type for argument 1 of 'kunmap'
      include/linux/highmem.h:54:20: note: expected 'struct page *' but argument is of type 'const struct <anonymous>'
      make[2]: *** [/tmp/VMWARE/vmnet-only/userif.o] Error 1
      make[1]: *** [_module_/tmp/VMWARE/vmnet-only] Error 2
      make[1]: Leaving directory `/media/kernel/linux-2.6'
      make: *** [vmnet.ko] Error 2

        • 2. Re: Not build on 3.2.0-pre-rc1
          mfelker Expert

          Patch works perfectly on  Ubuntu 11.10 x64.  with the 3.2.0 kernel.  Uninstall WS.  You may wish to completely  unistall l by using the KB 38 (I've modified it to delete newer  files and directories for WS 8)

           

          Run all these commands a su

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

          /etc/init.d/vmware stop
          lsmod | grep vm*
          rmmod vmmon.o
          rmmod vmci.o
          rmmod vmblock.o
          rmmod vmppuser.o

           

          rm /etc/rc2.d/*vmware
          rm /etc/rc3.d/*vmware
          rm /etc/rc5.d/*vmware
          rm /etc/rc6.d/*vmware

           

          rm -rf /etc/vmware*
          rm  /usr/bin/vmware*
          rm /usr/bin/vmnet*
          rm -fr /etc/vmware
          rm -fr /etc/vmware-vix
          rm -fr /etc/vmbuidler/vmware
          rm -fr /usr/lib/vmware-vix
          rm  -fr /var/run/vmware
          rm  -fr /var/log/vmware-installer
          rm  -rf /usr/lib/vmware
          rm -fr /usr/lib/vmware-ovftool

           

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

           

          Many files and directories may not  be found but that's OK

           

          Install the WS 8 bundle

           

          Then  apply the patch for 3.2.0.  You might want to rename the shell script to patch-modules_3.2.0.sh