Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-03-2008, 02:23 PM   #1
Registered: Sep 2006
Location: Orange County, NY
Distribution: Ubuntu, Solaris, Android
Posts: 329
Blog Entries: 21

Rep: Reputation: 52
vmware-config under ubuntu 8.10 vmmon module compilation error

I am getting the following while trying to do the vmware-config after initial install. Any words from the wise would be much apprectiated as the websites in the error are no longer functional.


kernel? [/usr/src/linux-headers-2.6.27-2-server/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /usr/src/linux-headers-2.6.27-2-server/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-2-server'
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config0/vmmon-only/./include/x86.h:24,
from /tmp/vmware-config0/vmmon-only/linux/driver.h:15,
from /tmp/vmware-config0/vmmon-only/linux/driver.c:84:
/tmp/vmware-config0/vmmon-only/./include/x86paging.h:61:1: warning: "PTE_PFN_MASK" redefined
In file included from include/asm/paravirt.h:7,
from include/asm/irqflags.h:55,
from include/linux/irqflags.h:57,
from include/asm/system.h:11,
from include/asm/processor.h:17,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /tmp/vmware-config0/vmmon-only/linux/driver.c:12:
include/asm/page.h:22:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-config0/vmmon-only/linux/vmhost.h:13,
from /tmp/vmware-config0/vmmon-only/linux/driver.c:115:
/tmp/vmware-config0/vmmon-only/./include/compat_semaphore.h:5:27: error: asm/semaphore.h: No such file or directory
/tmp/vmware-config0/vmmon-only/linux/driver.c:197: error: unknown field nopage specified in initializer
/tmp/vmware-config0/vmmon-only/linux/driver.c:198: warning: initialization fromincompatible pointer type
/tmp/vmware-config0/vmmon-only/linux/driver.c: In function LinuxDriver_Ioctl:
/tmp/vmware-config0/vmmon-only/linux/driver.c:1801: error: too many arguments to function smp_call_function
make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-2-server'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "" and
Old 09-05-2008, 12:44 AM   #2
Senior Member
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
Search for the vmware-any-any patch.
Apply that and then start the config once again.
Old 09-07-2008, 06:18 PM   #3
LQ Newbie
Registered: Feb 2007
Location: Norway
Distribution: Ubuntu 7.04
Posts: 4

Rep: Reputation: 0
According to bug: in Ubuntu,
it fails to compile on 2.6.27 because of the updated kernel (an old kernel function has been removed)

Old 09-18-2008, 07:21 AM   #4
LQ Newbie
Registered: Apr 2003
Location: France
Posts: 14

Rep: Reputation: 0
same problem

I also encountered the same problem with the latest Ubuntu 8.10 release and VMWare 6.0.4 AND 6.0.5.
The vmmon patches ( )don't seem to make a difference....
Seems to be a bug already reported in the 2.6.27 kernel according to what's available on the net.
Hopefully this will be addressed before the final release and/or by the upcoming beta?
Old 11-03-2008, 01:16 AM   #5
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
This thread has been quiet for a couple of weeks, but since I only just got VMWare Workstation v5.5.8 working on my box with kernel, this maybe useful. At the link to the update is for v5.5.7 and 2.6.27 series kernels, but as I mentioned it also worked with v5.5.8.
Old 11-09-2008, 10:25 AM   #6
LQ Newbie
Registered: Nov 2008
Posts: 1

Rep: Reputation: 0
Thanks Gilead.

This also worked for Ubuntu 8.10 (current kernel: 2.6.27-7-server) and vmware-server 1.07.
Old 11-19-2008, 05:50 AM   #7
LQ Newbie
Registered: Nov 2008
Location: Palermo - Sicily - IT
Distribution: Red Hat Flavours
Posts: 1

Rep: Reputation: 0
the above works with fedora x86_64 as well (build

thank you
Old 05-06-2009, 04:45 PM   #8
LQ Newbie
Registered: Apr 2009
Location: Austin
Distribution: Ubuntu 8.04
Posts: 5

Rep: Reputation: 0
Works in Ubuntu for vmware server 1.6

Thanks Gilead, this worked like a charm for me in Ubuntu 8.10 as well


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
VMWare installation problem - vmmon module lonecrow Linux - Software 5 03-26-2009 11:57 AM
VMMON module error with vmware JET-33 Linux - Newbie 3 11-20-2006 04:47 PM
Trouble building vmmon module for VMware Server with Slackware 10.2 Lothoir Linux - Software 14 07-15-2006 09:01 PM
VMware vmmon building error Akuji Slackware 2 02-01-2004 07:58 AM
slackware 9 and vmware vmmon probs duister Slackware 4 07-31-2003 02:15 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration