You are not logged in.

#1 2010-09-10 16:36:12

Sly
Member
Registered: 2010-02-28
Posts: 40

VMWare Issue

Hey. So I've downloaded the latest VMWare Workstation. I installed it as listed on the Wiki, which was all fine, but when I run it I get:

"Before you can run VMWare, several modules must be compiled and loaded into the running kernel."

So I continue and the installation fails on Virtual Machine Monitor. The below log file is created.

Sep 10 17:23:13.501: app-139838321833728| Extracting the sources of the vmmon module.
Sep 10 17:23:13.719: app-139838321833728| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build S$
Sep 10 17:23:15.002: app-139838321833728| Failed to compile module vmmon!

Can anyone point out why this happens and how it can be fixed? Cheers.

Offline

#2 2010-09-20 18:40:21

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,545

Re: VMWare Issue

The wiki should always be your first stop smile
http://wiki.archlinux.org/index.php/VMware

Arch Wiki VMware page wrote:

For 2.6.35 kernel and VMware 7.x.x, there's a script to patch the VMware sources:

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

Offline

#3 2010-09-24 15:35:47

jholbrook
Member
Registered: 2010-07-08
Posts: 18

Re: VMWare Issue

I'm having exactly the same problem since upgrading to VMWare Workstation 7.1.2 from 7.1.1 this morning.

# 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: Entering directory `/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/2.6.35-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
      MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-2.6.35-ARCH'
  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:37: 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:7: 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:7: error: implicit declaration
of function 'iommu_unmap_range'
make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/iommu.o] Error 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.35-ARCH'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmmon-only'

I tried re-applying the patch but it says its already installed. Anybody??

Offline

#4 2010-09-24 16:02:37

jholbrook
Member
Registered: 2010-07-08
Posts: 18

Re: VMWare Issue

Fixed the problem. Wrote it up on my site - http://www.linuxgeek.ca/wordpress/?p=297

Offline

#5 2010-09-24 17:03:20

ripp3r
Member
Registered: 2010-05-16
Posts: 22

Re: VMWare Issue

jholbrook wrote:

Fixed the problem. Wrote it up on my site - http://www.linuxgeek.ca/wordpress/?p=297

You just saved me smile

I had problems with upgrade 7.1.1 but resolved with a link... this one was more tricky... nice work... what do you think? Every vmware's release will cause problems? i hope not -.-

thanks again

Offline

#6 2010-09-30 03:30:40

zhentar
Member
Registered: 2010-03-05
Posts: 5

Re: VMWare Issue

Im getting:
patch:  **** malformed patch at line 6: map_to = PPN_2_PA(mpn);

Should it be: PPN_2_PA(ppn);   ?

This isnt working for me for some reason.

I still get iommu_map_range errors which means the patch isnt getting applied properly


Your blog is calling me a spambot when I tried to post this there.  What with that?

Offline

#7 2010-10-10 01:20:09

zeno0771
Member
Registered: 2008-09-19
Posts: 15

Re: VMWare Issue

zhentar wrote:

Im getting:
patch:  **** malformed patch at line 6: map_to = PPN_2_PA(mpn);

Should it be: PPN_2_PA(ppn);   ?

This isnt working for me for some reason.

I still get iommu_map_range errors which means the patch isnt getting applied properly

Don't copy/paste from ripp3r's site directly; there are formatting/whitespace issues causing
it to fail.  It's not his fault; blog templates do that a lot.

Copy/paste it from http://pastebin.com/KzGs3Kqs in the "submit a correction..." window (so the line
numbers don't goof up your nano editing).  Make sure the spacing/whitespace is
exact.  I know it doesn't seem like it should make a difference but in line 6 there's
an extra space which isn't in ripp3r's version; I know, I ran into the exact same problem.

When you get that taken care of, it will ask "File to patch:".  Tell it

/usr/lib/vmware/modules/source/vmmon-only/linux/iommu.c

Then do the vsock thing if you need to (I didn't).  You'll probably have to restart afterward (I did).


Intel Q6600 2.4GHz @ 3438MHz
Gigabyte 965-DS3
6GB Geil DDR2-800
XFX GeForce 9600GT

Offline

Board footer

Powered by FluxBB