Hi,
I know this is Relase Candidate 1 Kernel, but i can't compile vmmon.ko using vmware-config.pl.
The same config i've used for previus stabile kernel
OS: Slackware 12.2 @ S5000VSASATA
VmWare ver: VMware-server-2.0.0-122956.i386.tar.gz
GCC version 4.2.4
root@server:~# vmware-config.pl
Making sure services for VMware Server are stopped.
Stopping VMware autostart virtual machines:
Virtual machines FAILED
Stopping VMware management services:
VMware Virtual Infrastructure Web Access
VMware Server Host Agent FAILED
Stopping VMware services:
+VMware Authentication Daemon OK +
+VM communication interface socket family: OK +
+Virtual machine communication interface OK +
+Virtual machine monitor OK +
+Bridged networking on /dev/vmnet0 OK +
+Host network detection OK +
+Bridged networking on /dev/vmnet2 OK +
+Virtual ethernet OK +
None of the pre-built vmmon modules for VMware Server is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? yes
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel?
[/lib/modules/2.6.29-rc1-uniserver-XeonS5000VSA-SATAfix-test/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmmon-only'
make -C /lib/modules/2.6.29-rc1-uniserver-XeonS5000VSA-SATAfix-test/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.29-rc1'
CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config1/vmmon-only/linux/driver.c:31:
/tmp/vmware-config1/vmmon-only/./include/compat_wait.h:78: error: conflicting types for 'poll_initwait'
include/linux/poll.h:67: error: previous declaration of 'poll_initwait' was here
In file included from /tmp/vmware-config1/vmmon-only/./common/vmx86.h:31,
from /tmp/vmware-config1/vmmon-only/linux/driver.h:29,
from /tmp/vmware-config1/vmmon-only/linux/driver.c:101:
/tmp/vmware-config1/vmmon-only/./include/x86apic.h:97:1: warning: "APIC_BASE_MSR" redefined
In file included from /usr/src/linux-2.6.29-rc1/arch/x86/include/asm/fixmap_32.h:29,
from /usr/src/linux-2.6.29-rc1/arch/x86/include/asm/fixmap.h:5,
from /usr/src/linux-2.6.29-rc1/arch/x86/include/asm/apic.h:8,
from /usr/src/linux-2.6.29-rc1/arch/x86/include/asm/smp.h:13,
from include/linux/smp.h:33,
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 /tmp/vmware-config1/vmmon-only/./include/compat_module.h:27,
from /tmp/vmware-config1/vmmon-only/linux/driver.c:26:
/usr/src/linux-2.6.29-rc1/arch/x86/include/asm/apicdef.h:132:1: warning: this is the location of the previous definition
/tmp/vmware-config1/vmmon-only/linux/driver.c: In function 'LinuxDriverSyncCallOnEachCPU':
/tmp/vmware-config1/vmmon-only/linux/driver.c:1423: error: too many arguments to function 'smp_call_function'
/tmp/vmware-config1/vmmon-only/linux/driver.c: In function 'LinuxDriver_Ioctl':
/tmp/vmware-config1/vmmon-only/linux/driver.c:1987: error: 'struct task_struct' has no member named 'euid'
/tmp/vmware-config1/vmmon-only/linux/driver.c:1987: error: 'struct task_struct' has no member named 'uid'
/tmp/vmware-config1/vmmon-only/linux/driver.c:1988: error: 'struct task_struct' has no member named 'fsuid'
/tmp/vmware-config1/vmmon-only/linux/driver.c:1988: error: 'struct task_struct' has no member named 'uid'
/tmp/vmware-config1/vmmon-only/linux/driver.c:1989: error: 'struct task_struct' has no member named 'egid'
/tmp/vmware-config1/vmmon-only/linux/driver.c:1989: error: 'struct task_struct' has no member named 'gid'
/tmp/vmware-config1/vmmon-only/linux/driver.c:1990: error: 'struct task_struct' has no member named 'fsgid'
/tmp/vmware-config1/vmmon-only/linux/driver.c:1990: error: 'struct task_struct' has no member named 'gid'
/tmp/vmware-config1/vmmon-only/linux/driver.c:2007: error: too many arguments to function 'smp_call_function'
make[2]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] Error 1
make[1]: ***_module_/tmp/vmware-config1/vmmon-only Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.29-rc1'
make: *** http://vmmon.ko Error 2
make: Leaving directory `/tmp/vmware-config1/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/go/unsup-linux-products" and
"http://www.vmware.com/go/unsup-linux-tools".
Execution aborted.
So, thats all
Any ideas, patches
I know this is Relase Candidate 1 Kernel, but i can't compile vmmon.ko using vmware-config.pl.
The same config i've used for previus stabile kernel
OS: Slackware 12.2 @ S5000VSASATA
VmWare ver: VMware-server-2.0.0-122956.i386.tar.gz
GCC version 4.2.4
root@server:~# vmware-config.pl
Making sure services for VMware Server are stopped.
Stopping VMware autostart virtual machines:
Virtual machines FAILED
Stopping VMware management services:
VMware Virtual Infrastructure Web Access
VMware Server Host Agent FAILED
Stopping VMware services:
+VMware Authentication Daemon OK +
+VM communication interface socket family: OK +
+Virtual machine communication interface OK +
+Virtual machine monitor OK +
+Bridged networking on /dev/vmnet0 OK +
+Host network detection OK +
+Bridged networking on /dev/vmnet2 OK +
+Virtual ethernet OK +
None of the pre-built vmmon modules for VMware Server is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? yes
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel?
[/lib/modules/2.6.29-rc1-uniserver-XeonS5000VSA-SATAfix-test/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmmon-only'
make -C /lib/modules/2.6.29-rc1-uniserver-XeonS5000VSA-SATAfix-test/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.29-rc1'
CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config1/vmmon-only/linux/driver.c:31:
/tmp/vmware-config1/vmmon-only/./include/compat_wait.h:78: error: conflicting types for 'poll_initwait'
include/linux/poll.h:67: error: previous declaration of 'poll_initwait' was here
In file included from /tmp/vmware-config1/vmmon-only/./common/vmx86.h:31,
from /tmp/vmware-config1/vmmon-only/linux/driver.h:29,
from /tmp/vmware-config1/vmmon-only/linux/driver.c:101:
/tmp/vmware-config1/vmmon-only/./include/x86apic.h:97:1: warning: "APIC_BASE_MSR" redefined
In file included from /usr/src/linux-2.6.29-rc1/arch/x86/include/asm/fixmap_32.h:29,
from /usr/src/linux-2.6.29-rc1/arch/x86/include/asm/fixmap.h:5,
from /usr/src/linux-2.6.29-rc1/arch/x86/include/asm/apic.h:8,
from /usr/src/linux-2.6.29-rc1/arch/x86/include/asm/smp.h:13,
from include/linux/smp.h:33,
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 /tmp/vmware-config1/vmmon-only/./include/compat_module.h:27,
from /tmp/vmware-config1/vmmon-only/linux/driver.c:26:
/usr/src/linux-2.6.29-rc1/arch/x86/include/asm/apicdef.h:132:1: warning: this is the location of the previous definition
/tmp/vmware-config1/vmmon-only/linux/driver.c: In function 'LinuxDriverSyncCallOnEachCPU':
/tmp/vmware-config1/vmmon-only/linux/driver.c:1423: error: too many arguments to function 'smp_call_function'
/tmp/vmware-config1/vmmon-only/linux/driver.c: In function 'LinuxDriver_Ioctl':
/tmp/vmware-config1/vmmon-only/linux/driver.c:1987: error: 'struct task_struct' has no member named 'euid'
/tmp/vmware-config1/vmmon-only/linux/driver.c:1987: error: 'struct task_struct' has no member named 'uid'
/tmp/vmware-config1/vmmon-only/linux/driver.c:1988: error: 'struct task_struct' has no member named 'fsuid'
/tmp/vmware-config1/vmmon-only/linux/driver.c:1988: error: 'struct task_struct' has no member named 'uid'
/tmp/vmware-config1/vmmon-only/linux/driver.c:1989: error: 'struct task_struct' has no member named 'egid'
/tmp/vmware-config1/vmmon-only/linux/driver.c:1989: error: 'struct task_struct' has no member named 'gid'
/tmp/vmware-config1/vmmon-only/linux/driver.c:1990: error: 'struct task_struct' has no member named 'fsgid'
/tmp/vmware-config1/vmmon-only/linux/driver.c:1990: error: 'struct task_struct' has no member named 'gid'
/tmp/vmware-config1/vmmon-only/linux/driver.c:2007: error: too many arguments to function 'smp_call_function'
make[2]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] Error 1
make[1]: ***
make[1]: Leaving directory `/usr/src/linux-2.6.29-rc1'
make: *** http://vmmon.ko Error 2
make: Leaving directory `/tmp/vmware-config1/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/go/unsup-linux-products" and
"http://www.vmware.com/go/unsup-linux-tools".
Execution aborted.
So, thats all