Hi.
Have anybody know of the patch to vmware server 1.0.9 to have it successfuly compiled on kernel 2.6.29. I have just recently upgraded from kernel 2.6.27 and vmware server modules stop compiling.
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/root/tmp/vmware-config2/vmmon-only'
make -C /lib/modules/2.6.29.1-desktop-3mnb/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.29.1-desktop-3mnb'
CC /root/tmp/vmware-config2/vmmon-only/linux/driver.o
In file included from /root/tmp/vmware-config2/vmmon-only/./include/x86.h:20,
from /root/tmp/vmware-config2/vmmon-only/./include/machine.h:24,
from /root/tmp/vmware-config2/vmmon-only/linux/driver.h:15,
from /root/tmp/vmware-config2/vmmon-only/linux/driver.c:49:
/root/tmp/vmware-config2/vmmon-only/./include/x86apic.h:79:1: warning: "APIC_BASE_MSR" redefined
In file included from /usr/src/linux-2.6.29.1-desktop-3mnb/arch/x86/include/asm/fixmap_32.h:29,
from /usr/src/linux-2.6.29.1-desktop-3mnb/arch/x86/include/asm/fixmap.h:5,
from /usr/src/linux-2.6.29.1-desktop-3mnb/arch/x86/include/asm/apic.h:8,
from /usr/src/linux-2.6.29.1-desktop-3mnb/arch/x86/include/asm/smp.h:13,
from include/linux/smp.h:36,
from include/linux/topology.h:33,
from include/linux/mmzone.h:767,
from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from /root/tmp/vmware-config2/vmmon-only/linux/driver.c:12:
/usr/src/linux-2.6.29.1-desktop-3mnb/arch/x86/include/asm/apicdef.h:132:1: warning: this is the location of the previous definition
In file included from /root/tmp/vmware-config2/vmmon-only/./include/machine.h:24,
from /root/tmp/vmware-config2/vmmon-only/linux/driver.h:15,
from /root/tmp/vmware-config2/vmmon-only/linux/driver.c:49:
/root/tmp/vmware-config2/vmmon-only/./include/x86.h:830:1: warning: "PTE_PFN_MASK" redefined
In file included from /usr/src/linux-2.6.29.1-desktop-3mnb/arch/x86/include/asm/paravirt.h:7,
from /usr/src/linux-2.6.29.1-desktop-3mnb/arch/x86/include/asm/irqflags.h:55,
from include/linux/irqflags.h:57,
from /usr/src/linux-2.6.29.1-desktop-3mnb/arch/x86/include/asm/system.h:11,
from /usr/src/linux-2.6.29.1-desktop-3mnb/arch/x86/include/asm/processor.h:17,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /root/tmp/vmware-config2/vmmon-only/linux/driver.c:12:
/usr/src/linux-2.6.29.1-desktop-3mnb/arch/x86/include/asm/page.h:22:1: warning: this is the location of the previous definition
In file included from /root/tmp/vmware-config2/vmmon-only/linux/driver.h:20,
from /root/tmp/vmware-config2/vmmon-only/linux/driver.c:49:
/root/tmp/vmware-config2/vmmon-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/root/tmp/vmware-config2/vmmon-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /root/tmp/vmware-config2/vmmon-only/linux/driver.h:20,
from /root/tmp/vmware-config2/vmmon-only/linux/driver.c:49:
/root/tmp/vmware-config2/vmmon-only/./include/compat_wait.h:60: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:67: error: previous declaration of ‘poll_initwait’ was here
In file included from /root/tmp/vmware-config2/vmmon-only/linux/vmhost.h:13,
from /root/tmp/vmware-config2/vmmon-only/linux/driver.c:71:
/root/tmp/vmware-config2/vmmon-only/./include/compat_semaphore.h:5:27: error: asm/semaphore.h: No such file or directory
/root/tmp/vmware-config2/vmmon-only/linux/driver.c:146: error: unknown field ‘nopage’ specified in initializer
/root/tmp/vmware-config2/vmmon-only/linux/driver.c:147: warning: initialization from incompatible pointer type
/root/tmp/vmware-config2/vmmon-only/linux/driver.c:150: error: unknown field ‘nopage’ specified in initializer
/root/tmp/vmware-config2/vmmon-only/linux/driver.c:151: warning: initialization from incompatible pointer type
/root/tmp/vmware-config2/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/root/tmp/vmware-config2/vmmon-only/linux/driver.c:1650: error: ‘struct task_struct’ has no member named ‘euid’
/root/tmp/vmware-config2/vmmon-only/linux/driver.c:1650: error: ‘struct task_struct’ has no member named ‘uid’
/root/tmp/vmware-config2/vmmon-only/linux/driver.c:1651: error: ‘struct task_struct’ has no member named ‘fsuid’
/root/tmp/vmware-config2/vmmon-only/linux/driver.c:1651: error: ‘struct task_struct’ has no member named ‘uid’
/root/tmp/vmware-config2/vmmon-only/linux/driver.c:1652: error: ‘struct task_struct’ has no member named ‘egid’
/root/tmp/vmware-config2/vmmon-only/linux/driver.c:1652: error: ‘struct task_struct’ has no member named ‘gid’
/root/tmp/vmware-config2/vmmon-only/linux/driver.c:1653: error: ‘struct task_struct’ has no member named ‘fsgid’
/root/tmp/vmware-config2/vmmon-only/linux/driver.c:1653: error: ‘struct task_struct’ has no member named ‘gid’
/root/tmp/vmware-config2/vmmon-only/linux/driver.c:1670: error: too many arguments to function ‘smp_call_function’
make[2]: *** /root/tmp/vmware-config2/vmmon-only/linux/driver.o Error 1
make[1]: Leaving directory `/usr/src/linux-2.6.29.1-desktop-3mnb'
make: *** http://vmmon.ko Error 2
make: Leaving directory `/root/tmp/vmware-config2/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.