Hello,
This is on OpenSUSE 10.2 with kernel 2.6.18.8-0.3-default on a Core 2 Duo running x86_64 version of the OS.
It's a base installation with the updates loaded.
I've tried the following:
1. Back revved to 2.6.18.2-34, and after no success, re-applied 2.6.18.8-0.3
2. Removed and reinstalled the source for 2.6.18.8-03
3. Copied the /usr/src/linux/.config from /boot/config-2.6.18.8-0.3-default
4. Alternatively, tried make cloneconfig
5. Did a make modules_prepare after both 3 & 4 (selected defaults if it asked for options)
6. Tried the vmware-any-any-update109
7. Removed all XEN kernels and RPMs.
8. All of the above after make mrproper and make clean.
9. Tried with both the latest VMware 5.5.4 and VMware 6.0 RPMs
10. Beat my head against the wall a few times and tried it all again.
I've not seen anything like this in the forums, although I may have missed something. It appears that others are being successful running VMware Workstation on this kernel.
I keep getting compile errors. Here is what I'm seeing:
\----
matrix:/usr/src/linux # vmware-config.pl
Making sure services for VMware Workstation are stopped.
Stopping VMware services:
Virtual machine monitor done
Configuring fallback GTK+ 2.4 libraries.
In which directory do you want to install the mime type icons?
What directory contains your desktop menu entry files? These files have a
In which directory do you want to install the application's icon?
Trying to find a suitable vmmon module for your running kernel.
None of the pre-built vmmon modules for VMware Workstation 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
Extracting the sources of the vmmon module.
Building the vmmon module.
Building for VMware Workstation 5.5.2 or 5.5.3.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config14/vmmon-only'
make -C /lib/modules/2.6.18.8-0.3-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.18.8-0.3-obj/x86_64/default'
make -C ../../../linux-2.6.18.8-0.3 O=../linux-2.6.18.8-0.3-obj/x86_64/default modules
CC /tmp/vmware-config14/vmmon-only/linux/driver.o
In file included from /usr/src/linux-2.6.18.8-0.3/include/linux/timex.h:193,
from /usr/src/linux-2.6.18.8-0.3/include/linux/sched.h:48,
from /usr/src/linux-2.6.18.8-0.3/include/linux/module.h:9,
from /tmp/vmware-config14/vmmon-only/linux/driver.c:16:
include2/asm/timex.h: In function 'get_cycles':
include2/asm/timex.h:25: warning: left shift count >= width of type
include2/asm/timex.h: In function 'get_cycles_sync':
include2/asm/timex.h:38: warning: left shift count >= width of type
In file included from /usr/src/linux-2.6.18.8-0.3/include/linux/hrtimer.h:19,
from /usr/src/linux-2.6.18.8-0.3/include/linux/sched.h:82,
from /usr/src/linux-2.6.18.8-0.3/include/linux/module.h:9,
from /tmp/vmware-config14/vmmon-only/linux/driver.c:16:
/usr/src/linux-2.6.18.8-0.3/include/linux/ktime.h: In function 'ktime_set':
/usr/src/linux-2.6.18.8-0.3/include/linux/ktime.h:78: warning: comparison is always false due to limited range of data type
In file included from /usr/src/linux-2.6.18.8-0.3/include/linux/mm.h:38,
from /usr/src/linux-2.6.18.8-0.3/include/linux/poll.h:11,
from /tmp/vmware-config14/vmmon-only/linux/driver.c:29:
include2/asm/pgtable.h: In function 'pgd_bad':
include2/asm/pgtable.h:233: warning: left shift count >= width of type
include2/asm/pgtable.h: In function 'pud_bad':
include2/asm/pgtable.h:241: warning: left shift count >= width of type
include2/asm/pgtable.h: In function 'pte_modify':
include2/asm/pgtable.h:377: warning: left shift count >= width of type
In file included from include2/asm/pgtable.h:451,
from /usr/src/linux-2.6.18.8-0.3/include/linux/mm.h:38,
from /usr/src/linux-2.6.18.8-0.3/include/linux/poll.h:11,
from /tmp/vmware-config14/vmmon-only/linux/driver.c:29:
/usr/src/linux-2.6.18.8-0.3/include/asm-generic/pgtable.h: In function 'pmd_none_or_clear_bad':
/usr/src/linux-2.6.18.8-0.3/include/asm-generic/pgtable.h:227: warning: left shift count >= width of type
In file included from /usr/src/linux-2.6.18.8-0.3/include/linux/poll.h:11,
from /tmp/vmware-config14/vmmon-only/linux/driver.c:29:
/usr/src/linux-2.6.18.8-0.3/include/linux/mm.h: In function 'lowmem_page_address':
/usr/src/linux-2.6.18.8-0.3/include/linux/mm.h:534: warning: integer constant is too large for 'unsigned long' type
/usr/src/linux-2.6.18.8-0.3/include/linux/mm.h: In function 'pud_alloc':
/usr/src/linux-2.6.18.8-0.3/include/linux/mm.h:823: warning: left shift count >= width of type
/usr/src/linux-2.6.18.8-0.3/include/linux/mm.h:823: warning: integer constant is too large for 'unsigned long' type
/usr/src/linux-2.6.18.8-0.3/include/linux/mm.h: In function 'pmd_alloc':
/usr/src/linux-2.6.18.8-0.3/include/linux/mm.h:829: warning: left shift count >= width of type
/usr/src/linux-2.6.18.8-0.3/include/linux/mm.h:829: warning: integer constant is too large for 'unsigned long' type
In file included from /tmp/vmware-config14/vmmon-only/linux/driver.c:35:
include2/asm/io.h:103:28: warning: "__x86_64__" is not defined
In file included from /tmp/vmware-config14/vmmon-only/linux/driver.h:20,
from /tmp/vmware-config14/vmmon-only/linux/driver.c:53:
/tmp/vmware-config14/vmmon-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config14/vmmon-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config14/vmmon-only/linux/driver.h:20,
from /tmp/vmware-config14/vmmon-only/linux/driver.c:53:
/tmp/vmware-config14/vmmon-only/./include/compat_wait.h: At top level:
/tmp/vmware-config14/vmmon-only/./include/compat_wait.h:60: error: conflicting types for 'poll_initwait'
/usr/src/linux-2.6.18.8-0.3/include/linux/poll.h:62: error: previous declaration of 'poll_initwait' was here
/tmp/vmware-config14/vmmon-only/linux/driver.c:160: warning: initialization from incompatible pointer type
/tmp/vmware-config14/vmmon-only/linux/driver.c:164: warning: initialization from incompatible pointer type
In file included from /tmp/vmware-config14/vmmon-only/linux/driver.c:304:
/tmp/vmware-config14/vmmon-only/linux/driver_compat.h: In function 'LinuxDriverDestructorOld4Gb':
/tmp/vmware-config14/vmmon-only/linux/driver_compat.h:30: warning: integer constant is too large for 'unsigned long' type
/tmp/vmware-config14/vmmon-only/linux/driver_compat.h:30: warning: comparison is always false due to limited range of data type
/tmp/vmware-config14/vmmon-only/linux/driver_compat.h:30: warning: integer constant is too large for 'unsigned long' type
/tmp/vmware-config14/vmmon-only/linux/driver_compat.h:30: warning: integer constant is too large for 'unsigned long' type
/tmp/vmware-config14/vmmon-only/linux/driver_compat.h: In function 'LinuxDriverIoctlAlloc4Gb':
/tmp/vmware-config14/vmmon-only/linux/driver_compat.h:133: warning: integer constant is too large for 'unsigned long' type
/tmp/vmware-config14/vmmon-only/linux/driver_compat.h:133: warning: comparison is always false due to limited range of data type
/tmp/vmware-config14/vmmon-only/linux/driver_compat.h:133: warning: integer constant is too large for 'unsigned long' type
/tmp/vmware-config14/vmmon-only/linux/driver_compat.h:133: warning: integer constant is too large for 'unsigned long' type
/tmp/vmware-config14/vmmon-only/linux/driver_compat.h:140: error: implicit declaration of function 'virt_to_phys'
In file included from /tmp/vmware-config14/vmmon-only/linux/driver.c:2252:
/tmp/vmware-config14/vmmon-only/linux/driver_compat2.h: In function 'LinuxDriver_IoctlV3':
/tmp/vmware-config14/vmmon-only/linux/driver_compat2.h:1272: warning: integer constant is too large for 'unsigned long' type
/tmp/vmware-config14/vmmon-only/linux/driver_compat2.h:1272: warning: large integer implicitly truncated to unsigned type
make[3]: *** \[_module_/tmp/vmware-config14/vmmon-only] Error 2
make[2]: *** \[modules] Error 2
make[1]: *** \[modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.18.8-0.3-obj/x86_64/default'
make: *** \[vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config14/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.
matrix:/usr/src/linux # uname -r
2.6.18.8-0.3-default
\----
Thanks for your help.
\- David
Here is some additional information-
matrix:/usr/lib/vmware/modules/source # uname -a
Linux matrix 2.6.18.8-0.3-default #1 SMP Tue Apr 17 08:42:35 UTC 2007 i686 i686 i386 GNU/Linux
matrix:/usr/lib/vmware/modules/source # rpm -qa | grep -i kernel
kernel-default-2.6.18.2-34
linux-kernel-headers-2.6.18.2-3
kernel-syms-2.6.18.8-0.3
kernel-source-2.6.18.8-0.3
kernel-source-2.6.18.2-34
kernel-default-2.6.18.8-0.3
matrix:/usr/lib/vmware/modules/source # l /usr/src/
total 1
drwxr-xr-x 7 root root 288 May 21 07:58 ./
drwxr-xr-x 13 root root 352 Sep 19 2006 ../
lrwxrwxrwx 1 root root 18 May 21 07:26 linux -> linux-2.6.18.8-0.3/
drwxr-xr-x 20 root root 832 May 20 21:28 linux-2.6.18.2-34/
drwxr-xr-x 3 root root 72 Nov 27 13:18 linux-2.6.18.2-34-obj/
drwxr-xr-x 20 root root 832 May 21 08:07 linux-2.6.18.8-0.3/
drwxr-xr-x 3 root root 72 Apr 17 09:59 linux-2.6.18.8-0.3-obj/
lrwxrwxrwx 1 root root 22 May 21 07:45 linux-obj -> linux-2.6.18.8-0.3-obj/
drwxr-xr-x 7 root root 168 May 16 10:23 packages/
matrix:/usr/lib/vmware/modules/source # cd /tmp/vmware-config14/
matrix:/tmp/vmware-config14 # l
total 1
drwxr-xr-x 3 root root 80 May 21 08:15 ./
drwxrwxrwt 31 root root 1304 May 21 08:16 ../
drwxr-xr-x 8 root root 344 May 21 08:15 vmmon-only/
matrix:/tmp/vmware-config14 # cd vmmon-only/
matrix:/tmp/vmware-config14/vmmon-only # l
total 30
drwxr-xr-x 8 root root 344 May 21 08:15 ./
drwxr-xr-x 3 root root 80 May 21 08:15 ../
drwxr-xr-x 2 root root 48 May 21 08:15 .tmp_versions/
-rw-rr 1 root root 3929 Nov 13 2005 Makefile
-rw-rr 1 root root 2275 Apr 8 21:36 Makefile.kernel
-rw-rr 1 root root 4643 Nov 13 2005 Makefile.normal
-rw-rr 1 root root 491 Apr 3 2003 README
drwxr-xr-x 2 root root 216 Aug 14 2006 autoconf/
drwxr-xr-x 2 root root 464 Apr 8 21:36 common/
-rwxr-xr-x 1 root root 5059 Nov 12 2006 getversion.pl*
drwxr-xr-x 2 root root 1840 Jan 14 21:18 include/
drwxr-xr-x 2 root root 304 May 21 08:15 linux/
drwxr-xr-x 2 root root 136 Apr 8 21:36 vmcore/
matrix:/tmp/vmware-config14/vmmon-only # vim Makefile.kernel
matrix:/tmp/vmware-config14/vmmon-only # make
Building for VMware Workstation 5.5.2 or 5.5.3.
Using 2.6.x kernel build system.
/bin/sh: -c: line 0: syntax error near unexpected token `>&'
/bin/sh: -c: line 0: `if cc -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-sign-compare -DVME_DEFAULT=VME_S1B1 -DVMW_USING_KBUILD -DVMMON -DVMCORE -I./include -I./common -I./linux -I./vmcore -Iinclude2/asm/mach-default -DKBUILD_BASENAME= -Werror -S -o /dev/null -xc ./autoconf/nopage1.c > >&2; then echo " -DVMW_NOPAGE_261"; else echo " "; fi'
/bin/sh: -c: line 0: syntax error near unexpected token `>&'
/bin/sh: -c: line 0: `if cc -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-sign-compare -DVME_DEFAULT=VME_S1B1 -DVMW_USING_KBUILD -DVMMON -DVMCORE -I./include -I./common -I./linux -I./vmcore -Iinclude2/asm/mach-default -DKBUILD_BASENAME= -Werror -S -o /dev/null -xc ./autoconf/skas1.c > >&2; then echo " -DVMW_SKAS_MMAP"; else echo " "; fi'
/bin/sh: -c: line 0: syntax error near unexpected token `>&'
/bin/sh: -c: line 0: `if cc -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-sign-compare -DVME_DEFAULT=VME_S1B1 -DVMW_USING_KBUILD -DVMMON -DVMCORE -I./include -I./common -I./linux -I./vmcore -Iinclude2/asm/mach-default -DKBUILD_BASENAME= -Werror -S -o /dev/null -xc ./autoconf/ioapic.c > >&2; then echo " -DVMWARE__FIX_IO_APIC_BASE=FIX_IO_APIC_BASE_0"; else echo " -DVMWARE__FIX_IO_APIC_BASE=FIX_IO_APIC_BASE "; fi'
/bin/sh: -c: line 0: syntax error near unexpected token `>&'
/bin/sh: -c: line 0: `if cc -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-sign-compare -DVME_DEFAULT=VME_S1B1 -DVMW_USING_KBUILD -DVMMON -DVMCORE -I./include -I./common -I./linux -I./vmcore -Iinclude2/asm/mach-default -DKBUILD_BASENAME= -Werror -S -o /dev/null -xc ./autoconf/epoll.c > >&2; then echo " -DVMW_HAVE_EPOLL"; else echo " "; fi'
/bin/sh: -c: line 0: syntax error near unexpected token `>&'
/bin/sh: -c: line 0: `if cc -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-sign-compare -DVME_DEFAULT=VME_S1B1 -DVMW_USING_KBUILD -DVMMON -DVMCORE -I./include -I./common -I./linux -I./vmcore -Iinclude2/asm/mach-default -DKBUILD_BASENAME= -Werror -S -o /dev/null -xc ./autoconf/setnice.c > >&2; then echo " -DVMW_HAVE_SET_USER_NICE"; else echo " "; fi'
make -C /lib/modules/2.6.18.8-0.3-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.18.8-0.3-obj/x86_64/default'
make -C ../../../linux-2.6.18.8-0.3 O=../linux-2.6.18.8-0.3-obj/x86_64/default modules
/bin/sh: -c: line 0: syntax error near unexpected token `>&'
/bin/sh: -c: line 0: `if gcc -m32 -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-sign-compare -DVME_DEFAULT=VME_S1B1 -DVMW_USING_KBUILD -DVMMON -DVMCORE -I/tmp/vmware-config14/vmmon-only/./include -I/tmp/vmware-config14/vmmon-only/./common -I/tmp/vmware-config14/vmmon-only/./linux -I/tmp/vmware-config14/vmmon-only/./vmcore -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.18.8-0.3/include -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -Werror-implicit-function-declaration -fno-strict-aliasing -fno-common -Os -pipe -msoft-float -mpreferred-stack-boundary=2 -ffreestanding -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fasynchronous-unwind-tables -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -Iinclude2/asm/mach-default -DKBUILD_BASENAME= -Werror -S -o /dev/null -xc /tmp/vmware-config14/vmmon-only/./autoconf/nopage1.c > >&2; then echo " -DVMW_NOPAGE_261"; else echo " "; fi'
/bin/sh: -c: line 0: syntax error near unexpected token `>&'
/bin/sh: -c: line 0: `if gcc -m32 -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-sign-compare -DVME_DEFAULT=VME_S1B1 -DVMW_USING_KBUILD -DVMMON -DVMCORE -I/tmp/vmware-config14/vmmon-only/./include -I/tmp/vmware-config14/vmmon-only/./common -I/tmp/vmware-config14/vmmon-only/./linux -I/tmp/vmware-config14/vmmon-only/./vmcore -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.18.8-0.3/include -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -Werror-implicit-function-declaration -fno-strict-aliasing -fno-common -Os -pipe -msoft-float -mpreferred-stack-boundary=2 -ffreestanding -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fasynchronous-unwind-tables -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -Iinclude2/asm/mach-default -DKBUILD_BASENAME= -Werror -S -o /dev/null -xc /tmp/vmware-config14/vmmon-only/./autoconf/skas1.c > >&2; then echo " -DVMW_SKAS_MMAP"; else echo " "; fi'
/bin/sh: -c: line 0: syntax error near unexpected token `>&'
/bin/sh: -c: line 0: `if gcc -m32 -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-sign-compare -DVME_DEFAULT=VME_S1B1 -DVMW_USING_KBUILD -DVMMON -DVMCORE -I/tmp/vmware-config14/vmmon-only/./include -I/tmp/vmware-config14/vmmon-only/./common -I/tmp/vmware-config14/vmmon-only/./linux -I/tmp/vmware-config14/vmmon-only/./vmcore -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.18.8-0.3/include -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -Werror-implicit-function-declaration -fno-strict-aliasing -fno-common -Os -pipe -msoft-float -mpreferred-stack-boundary=2 -ffreestanding -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fasynchronous-unwind-tables -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -Iinclude2/asm/mach-default -DKBUILD_BASENAME= -Werror -S -o /dev/null -xc /tmp/vmware-config14/vmmon-only/./autoconf/ioapic.c > >&2; then echo " -DVMWARE__FIX_IO_APIC_BASE=FIX_IO_APIC_BASE_0"; else echo " -DVMWARE__FIX_IO_APIC_BASE=FIX_IO_APIC_BASE "; fi'
/bin/sh: -c: line 0: syntax error near unexpected token `>&'
/bin/sh: -c: line 0: `if gcc -m32 -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-sign-compare -DVME_DEFAULT=VME_S1B1 -DVMW_USING_KBUILD -DVMMON -DVMCORE -I/tmp/vmware-config14/vmmon-only/./include -I/tmp/vmware-config14/vmmon-only/./common -I/tmp/vmware-config14/vmmon-only/./linux -I/tmp/vmware-config14/vmmon-only/./vmcore -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.18.8-0.3/include -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -Werror-implicit-function-declaration -fno-strict-aliasing -fno-common -Os -pipe -msoft-float -mpreferred-stack-boundary=2 -ffreestanding -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fasynchronous-unwind-tables -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -Iinclude2/asm/mach-default -DKBUILD_BASENAME= -Werror -S -o /dev/null -xc /tmp/vmware-config14/vmmon-only/./autoconf/epoll.c > >&2; then echo " -DVMW_HAVE_EPOLL"; else echo " "; fi'
/bin/sh: -c: line 0: syntax error near unexpected token `>&'
/bin/sh: -c: line 0: `if gcc -m32 -Wall -Wstrict-prototypes -Wno-unused-parameter -Wno-sign-compare -DVME_DEFAULT=VME_S1B1 -DVMW_USING_KBUILD -DVMMON -DVMCORE -I/tmp/vmware-config14/vmmon-only/./include -I/tmp/vmware-config14/vmmon-only/./common -I/tmp/vmware-config14/vmmon-only/./linux -I/tmp/vmware-config14/vmmon-only/./vmcore -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.18.8-0.3/include -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -Werror-implicit-function-declaration -fno-strict-aliasing -fno-common -Os -pipe -msoft-float -mpreferred-stack-boundary=2 -ffreestanding -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fasynchronous-unwind-tables -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -Iinclude2/asm/mach-default -DKBUILD_BASENAME= -Werror -S -o /dev/null -xc /tmp/vmware-config14/vmmon-only/./autoconf/setnice.c > >&2; then echo " -DVMW_HAVE_SET_USER_NICE"; else echo " "; fi'
CC /tmp/vmware-config14/vmmon-only/linux/driver.o
In file included from /usr/src/linux-2.6.18.8-0.3/include/linux/timex.h:193,
from /usr/src/linux-2.6.18.8-0.3/include/linux/sched.h:48,
from /usr/src/linux-2.6.18.8-0.3/include/linux/module.h:9,
from /tmp/vmware-config14/vmmon-only/linux/driver.c:16:
include2/asm/timex.h: In function 'get_cycles':
include2/asm/timex.h:25: warning: left shift count >= width of type
include2/asm/timex.h: In function 'get_cycles_sync':
include2/asm/timex.h:38: warning: left shift count >= width of type
In file included from /usr/src/linux-2.6.18.8-0.3/include/linux/hrtimer.h:19,
from /usr/src/linux-2.6.18.8-0.3/include/linux/sched.h:82,
from /usr/src/linux-2.6.18.8-0.3/include/linux/module.h:9,
from /tmp/vmware-config14/vmmon-only/linux/driver.c:16:
/usr/src/linux-2.6.18.8-0.3/include/linux/ktime.h: In function 'ktime_set':
/usr/src/linux-2.6.18.8-0.3/include/linux/ktime.h:78: warning: comparison is always false due to limited range of data type
In file included from /usr/src/linux-2.6.18.8-0.3/include/linux/mm.h:38,
from /usr/src/linux-2.6.18.8-0.3/include/linux/poll.h:11,
from /tmp/vmware-config14/vmmon-only/linux/driver.c:29:
include2/asm/pgtable.h: In function 'pgd_bad':
include2/asm/pgtable.h:233: warning: left shift count >= width of type
include2/asm/pgtable.h: In function 'pud_bad':
include2/asm/pgtable.h:241: warning: left shift count >= width of type
include2/asm/pgtable.h: In function 'pte_modify':
include2/asm/pgtable.h:377: warning: left shift count >= width of type
In file included from include2/asm/pgtable.h:451,
from /usr/src/linux-2.6.18.8-0.3/include/linux/mm.h:38,
from /usr/src/linux-2.6.18.8-0.3/include/linux/poll.h:11,
from /tmp/vmware-config14/vmmon-only/linux/driver.c:29:
/usr/src/linux-2.6.18.8-0.3/include/asm-generic/pgtable.h: In function 'pmd_none_or_clear_bad':
/usr/src/linux-2.6.18.8-0.3/include/asm-generic/pgtable.h:227: warning: left shift count >= width of type
In file included from /usr/src/linux-2.6.18.8-0.3/include/linux/poll.h:11,
from /tmp/vmware-config14/vmmon-only/linux/driver.c:29:
/usr/src/linux-2.6.18.8-0.3/include/linux/mm.h: In function 'lowmem_page_address':
/usr/src/linux-2.6.18.8-0.3/include/linux/mm.h:534: warning: integer constant is too large for 'unsigned long' type
/usr/src/linux-2.6.18.8-0.3/include/linux/mm.h: In function 'pud_alloc':
/usr/src/linux-2.6.18.8-0.3/include/linux/mm.h:823: warning: left shift count >= width of type
/usr/src/linux-2.6.18.8-0.3/include/linux/mm.h:823: warning: integer constant is too large for 'unsigned long' type
/usr/src/linux-2.6.18.8-0.3/include/linux/mm.h: In function 'pmd_alloc':
/usr/src/linux-2.6.18.8-0.3/include/linux/mm.h:829: warning: left shift count >= width of type
/usr/src/linux-2.6.18.8-0.3/include/linux/mm.h:829: warning: integer constant is too large for 'unsigned long' type
In file included from /tmp/vmware-config14/vmmon-only/linux/driver.c:35:
include2/asm/io.h:103:28: warning: "__x86_64__" is not defined
In file included from /tmp/vmware-config14/vmmon-only/linux/driver.h:20,
from /tmp/vmware-config14/vmmon-only/linux/driver.c:53:
/tmp/vmware-config14/vmmon-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config14/vmmon-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config14/vmmon-only/linux/driver.h:20,
from /tmp/vmware-config14/vmmon-only/linux/driver.c:53:
/tmp/vmware-config14/vmmon-only/./include/compat_wait.h: At top level:
/tmp/vmware-config14/vmmon-only/./include/compat_wait.h:60: error: conflicting types for 'poll_initwait'
/usr/src/linux-2.6.18.8-0.3/include/linux/poll.h:62: error: previous declaration of 'poll_initwait' was here
/tmp/vmware-config14/vmmon-only/linux/driver.c:160: warning: initialization from incompatible pointer type
/tmp/vmware-config14/vmmon-only/linux/driver.c:164: warning: initialization from incompatible pointer type
In file included from /tmp/vmware-config14/vmmon-only/linux/driver.c:304:
/tmp/vmware-config14/vmmon-only/linux/driver_compat.h: In function 'LinuxDriverDestructorOld4Gb':
/tmp/vmware-config14/vmmon-only/linux/driver_compat.h:30: warning: integer constant is too large for 'unsigned long' type
/tmp/vmware-config14/vmmon-only/linux/driver_compat.h:30: warning: comparison is always false due to limited range of data type
/tmp/vmware-config14/vmmon-only/linux/driver_compat.h:30: warning: integer constant is too large for 'unsigned long' type
/tmp/vmware-config14/vmmon-only/linux/driver_compat.h:30: warning: integer constant is too large for 'unsigned long' type
/tmp/vmware-config14/vmmon-only/linux/driver_compat.h: In function 'LinuxDriverIoctlAlloc4Gb':
/tmp/vmware-config14/vmmon-only/linux/driver_compat.h:133: warning: integer constant is too large for 'unsigned long' type
/tmp/vmware-config14/vmmon-only/linux/driver_compat.h:133: warning: comparison is always false due to limited range of data type
/tmp/vmware-config14/vmmon-only/linux/driver_compat.h:133: warning: integer constant is too large for 'unsigned long' type
/tmp/vmware-config14/vmmon-only/linux/driver_compat.h:133: warning: integer constant is too large for 'unsigned long' type
/tmp/vmware-config14/vmmon-only/linux/driver_compat.h:140: error: implicit declaration of function 'virt_to_phys'
In file included from /tmp/vmware-config14/vmmon-only/linux/driver.c:2252:
/tmp/vmware-config14/vmmon-only/linux/driver_compat2.h: In function 'LinuxDriver_IoctlV3':
/tmp/vmware-config14/vmmon-only/linux/driver_compat2.h:1272: warning: integer constant is too large for 'unsigned long' type
/tmp/vmware-config14/vmmon-only/linux/driver_compat2.h:1272: warning: large integer implicitly truncated to unsigned type
make[3]: *** \[_module_/tmp/vmware-config14/vmmon-only] Error 2
make[2]: *** \[modules] Error 2
make[1]: *** \[modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.18.8-0.3-obj/x86_64/default'
make: *** \[vmmon.ko] Error 2
Oh, one other thing. It WAS working, although I can't seem to get it work now, with the 2.6.18.2-34 kernel.
After relinking the 2.6.18.2-34 kernel in /usr/src and restarting using that kernel, I was able to successfully install VMware. There is apparently something in the 2.6.18.8-0.3 kernel that VMware doesn't like.
I'd still appreciate assistance as to why this happens and what can be done to resolve it.
Thanks-
David
I couldn't get vmware-config.pl to work reliably on either kernel. I completely reinstalled the host OS, and both 5.5.4 and 6.0.0 appeared to successfully configure after that.
The only difference I noticed was that the kernel uname -a showed x86_64 instead of i686 as before. Perhaps somehow I nerfed the architecture.
Here's the current "uname -a" results:
Linux matrix 2.6.18.2-34-default #1 SMP Mon Nov 27 11:46:27 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux