Vmware 7.1.2 was fine under Ubuntu 10.04 but fails to compile/upgrade under 10.10 - How to fix ?

Asked by Sator Arepo

Under Ubuntu 10.04, vmware 7.1.1 updated to 7.1.2 worked fine

As I moved/upgraded today to Ubuntu 10.10, it fails at start, it requires several modules to be compiled and asks you to click "Install"

When I do & enter the pw., it displays a windows "Unable to build kernel module - See log file /temp/vmware-root/setup-6506.log for details"

The content:

oct 10 17:04:23.745: app-140429003044608| Log for VMware Workstation pid=6506 version=7.1.1 build=build-282343 option=Release
oct 10 17:04:23.745: app-140429003044608| The process is 64-bit.
oct 10 17:04:23.745: app-140429003044608| Host codepage=UTF-8 encoding=UTF-8
oct 10 17:04:23.745: app-140429003044608| Logging to /tmp/vmware-root/setup-6506.log
oct 10 17:04:23.874: app-140429003044608| modconf query interface initialized
oct 10 17:04:23.875: app-140429003044608| modconf library initialized
oct 10 17:04:23.906: app-140429003044608| Your GCC version: 4.4
oct 10 17:04:23.913: app-140429003044608| Your GCC version: 4.4
oct 10 17:04:23.923: app-140429003044608| Your GCC version: 4.4
oct 10 17:04:23.942: app-140429003044608| Your GCC version: 4.4
oct 10 17:04:23.957: app-140429003044608| Your GCC version: 4.4
oct 10 17:04:23.994: app-140429003044608| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
oct 10 17:04:23.997: app-140429003044608| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
oct 10 17:04:23.999: app-140429003044608| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
oct 10 17:04:24.002: app-140429003044608| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
oct 10 17:04:24.004: app-140429003044608| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
oct 10 17:04:24.022: app-140429003044608| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
oct 10 17:04:24.025: app-140429003044608| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
oct 10 17:04:24.027: app-140429003044608| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
oct 10 17:04:24.030: app-140429003044608| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
oct 10 17:04:24.032: app-140429003044608| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
oct 10 17:04:24.038: app-140429003044608| Your GCC version: 4.4
oct 10 17:04:24.048: app-140429003044608| Your GCC version: 4.4
oct 10 17:04:24.082: app-140429003044608| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
oct 10 17:04:24.085: app-140429003044608| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
oct 10 17:04:24.087: app-140429003044608| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
oct 10 17:04:24.089: app-140429003044608| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
oct 10 17:04:24.092: app-140429003044608| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
oct 10 17:04:24.097: app-140429003044608| Your GCC version: 4.4
oct 10 17:04:24.109: app-140429003044608| Your GCC version: 4.4
oct 10 17:04:24.163: app-140429003044608| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
oct 10 17:04:24.165: app-140429003044608| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
oct 10 17:04:24.168: app-140429003044608| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.

There seems to miss a "suitable PBM set"

Thanks for help and regards

Sator Arepo

Question information

Language:
English Edit question
Status:
Answered
For:
vmware-ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
busterphenajo (busterphenajo) said :
#1

having the exact same problem

Revision history for this message
abu abdabei (abu-adabei001) said :
#2

Hello Folks,

Ran into the very same issue. Found a blog post which solves it:

http://pario.no/2010/10/02/installing-vmware-workstation-7-1-1-64-bit-on-ubuntu-10-10/

Technically you do this:

cd /tmp
wget http://www.sputnick-area.net/scripts/vmware7.1.1-patch-kernel-2.6.35.bash
sudo chmod +x vmware7.1.1-patch-kernel-2.6.35.bash
sudo ./vmware7.1.1-patch-kernel-2.6.35.bash

Then the scipt tells you to do a:

sudo vmware-modconfig --console --install-all

Which produces a impressive amount of output but at the end it reads like this:

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 done
   Virtual ethernet done
   Shared Memory Available done

Then you can simply start VMware Workstation. No further questions will be asked, nor pop-up's showing up.

Hope this helps !

Cheers,

      a b u

Revision history for this message
Sator Arepo (plan9fromos) said :
#3

Thanks for your help.

Next problem is here, after following your advice:

...

kathy@kathy-laptop:/tmp$ sudo vmware-modconfig --console --install-all
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: entrant dans le répertoire « /tmp/vmware-root/modules/vmmon-only »
make -C /lib/modules/2.6.35-22-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
      MODULEBUILDDIR= modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.35-22-generic »
  CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driver.o
  CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driverLog.o
  CC [M] /tmp/vmware-root/modules/vmmon-only/linux/hostif.o
/tmp/vmware-root/modules/vmmon-only/linux/hostif.c: In function ‘HostIFReadUptimeWork’:
/tmp/vmware-root/modules/vmmon-only/linux/hostif.c:2004: warning: ‘newUpBase’ may be used uninitialized in this function
  CC [M] /tmp/vmware-root/modules/vmmon-only/linux/iommu.o
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c: In function ‘IOMMU_SetupMMU’:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:156: error: implicit declaration of function ‘iommu_map_range’
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c: In function ‘IOMMU_VMCleanup’:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:403: error: implicit declaration of function ‘iommu_unmap_range’
make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/iommu.o] Erreur 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.35-22-generic »
make: *** [vmmon.ko] Erreur 2
make: quittant le répertoire « /tmp/vmware-root/modules/vmmon-only »
Unable to install vmmon

Any help is pleased and thanked

Revision history for this message
moojix (moojix) said :
#4

Abu Abadei's hint regarding a patch works for me
same here: http://communities.vmware.com/message/1627018#1627018

(Maverick, vmware workstation 7.1.2 build-301548 kernel 2.6.35-22 64-bit)

Revision history for this message
winter (winter-kf) said :
#5

nice fix : - )

Can you help with this problem?

Provide an answer of your own, or ask Sator Arepo for more information if necessary.

To post a message you must log in.