Bug 126256

Summary: VMWare Workstation 4.5.1 modules do not compile under 2.6.6-1.435
Product: [Fedora] Fedora Reporter: Julian C. Dunn <jdunn>
Component: kernelAssignee: Arjan van de Ven <arjanv>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-06-18 03:20:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Julian C. Dunn 2004-06-18 03:02:21 UTC
Description of problem:

VMWare Workstation 4.5.1 requires the building of kernel modules using
the supplied source code from VMWare, Inc. This compilation now fails
under kernel 2.6.6-1.435.

Version-Release number of selected component (if applicable):

kernel 2.6.6-1.435

How reproducible:

Always

Steps to Reproduce:
1. Install VMWare Workstation 4.5.1.
2. Run /usr/bin/vmware-config.pl
3. When asked to build kernel modules, compilation fails with symbol
errors.
  
Actual results:

<snip>

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.6-1.435/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. modules
make[1]: Entering directory `/lib/modules/2.6.6-1.435/build'
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/driver.o
/tmp/vmware-config0/vmmon-only/linux/driver.c:131: warning:
initialization from incompatible pointer type
/tmp/vmware-config0/vmmon-only/linux/driver.c:135: warning:
initialization from incompatible pointer type
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/hostif.o
/tmp/vmware-config0/vmmon-only/linux/hostif.c: In function
`HostIF_FreeLockedPages':
/tmp/vmware-config0/vmmon-only/linux/hostif.c:738: error: structure
has no member named `count'
/tmp/vmware-config0/vmmon-only/linux/hostif.c:740: error: structure
has no member named `count'
make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/hostif.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
make[1]: Leaving directory `/lib/modules/2.6.6-1.435/build'
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
"http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.


Expected results:

Module compilation should succeed.

Additional info:

Comment 1 Julian C. Dunn 2004-06-18 03:20:17 UTC
Never mind, upgrading to VMWare 4.5.2 solves the problem. I suspect
their sources are out of synch with the current kernel sources.