Hide Forgot
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5) Gecko/20011012 Description of problem: running vmware-config.pl (with vmware 2.0.4) finds no pre-built drivers; attempting to build them from source gets compile errors on vmmon (this is on a machine upgraded from RH 7.1 to 7.2, vmware used to work fine on 7.1, especally after the prior patch from redhat) Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.upgrade RH 7.1 machine to 7.2 2.run vmware-config.pl 3. see error below Actual Results: dash# vmware-config.pl Making sure VMware's services are stopped. Stopping VMware services: Virtual machine monitor [ OK ] Bridged networking on /dev/vmnet0 [ OK ] DHCP server on /dev/vmnet1 [ OK ] SMB share server on /dev/vmnet1 [ OK ] SMB name server on /dev/vmnet1 [ OK ] Host-only networking on /dev/vmnet1 [ OK ] Virtual ethernet [ OK ] Trying to find a suitable vmmon module for your running kernel. None of VMware's pre-built vmmon modules is suitable for your running kernel. Do you want this script to try to build the vmmon module for your system (you need to have a C compiler installed on your system)? [yes] What is the location of the directory of C header files that match your running kernel? [/lib/modules/2.4.7-10/build/include] Extracting the sources of the vmmon module. Building the vmmon module. make: Entering directory `/tmp/vmware-config1/vmmon-only' make[1]: Entering directory `/tmp/vmware-config1/vmmon-only' make[2]: Entering directory `/tmp/vmware-config1/vmmon-only/driver-2.4.7-10' In file included from .././linux/driver.c:22: /lib/modules/2.4.7-10/build/include/linux/malloc.h:3:2: warning: #warning The Use of linux/malloc.h is deprecated, use linux/slab.h In file included from .././linux/hostif.c:25: /lib/modules/2.4.7-10/build/include/linux/malloc.h:3:2: warning: #warning The Use of linux/malloc.h is deprecated, use linux/slab.h make[2]: Leaving directory `/tmp/vmware-config1/vmmon-only/driver-2.4.7-10' make[2]: Entering directory `/tmp/vmware-config1/vmmon-only/driver-2.4.7-10' In file included from .././linux/driver.c:22: /lib/modules/2.4.7-10/build/include/linux/malloc.h:3:2: warning: #warning The Use of linux/malloc.h is deprecated, use linux/slab.h In file included from /lib/modules/2.4.7-10/build/include/linux/highmem.h:5, from /lib/modules/2.4.7-10/build/include/linux/pagemap.h:16, from /lib/modules/2.4.7-10/build/include/linux/locks.h:8, from /lib/modules/2.4.7-10/build/include/linux/devfs_fs_kernel.h:6, from /lib/modules/2.4.7-10/build/include/linux/miscdevice.h:4, from ../linux/driver.h:10, from .././linux/driver.c:58: /lib/modules/2.4.7-10/build/include/asm/pgalloc.h: In function `get_pgd_slow': /lib/modules/2.4.7-10/build/include/asm/pgalloc.h:62: `PAGE_OFFSET' undeclared (first use in this function) /lib/modules/2.4.7-10/build/include/asm/pgalloc.h:62: (Each undeclared identifier is reported only once /lib/modules/2.4.7-10/build/include/asm/pgalloc.h:62: for each function it appears in.) /lib/modules/2.4.7-10/build/include/asm/pgalloc.h: In function `pte_alloc_one': /lib/modules/2.4.7-10/build/include/asm/pgalloc.h:111: `PAGE_SIZE' undeclared (first use in this function) In file included from /lib/modules/2.4.7-10/build/include/linux/pagemap.h:16, from /lib/modules/2.4.7-10/build/include/linux/locks.h:8, from /lib/modules/2.4.7-10/build/include/linux/devfs_fs_kernel.h:6, from /lib/modules/2.4.7-10/build/include/linux/miscdevice.h:4, from ../linux/driver.h:10, from .././linux/driver.c:58: /lib/modules/2.4.7-10/build/include/linux/highmem.h: In function `bh_kmap': /lib/modules/2.4.7-10/build/include/linux/highmem.h:21: `PAGE_MASK' undeclared (first use in this function) /lib/modules/2.4.7-10/build/include/linux/highmem.h:22: warning: control reaches end of non-void function /lib/modules/2.4.7-10/build/include/linux/highmem.h: In function `clear_user_highpage': /lib/modules/2.4.7-10/build/include/linux/highmem.h:49: `PAGE_SIZE' undeclared (first use in this function) /lib/modules/2.4.7-10/build/include/linux/highmem.h: In function `clear_highpage': /lib/modules/2.4.7-10/build/include/linux/highmem.h:55: `PAGE_SIZE' undeclared (first use in this function) /lib/modules/2.4.7-10/build/include/linux/highmem.h: In function `memclear_highpage': /lib/modules/2.4.7-10/build/include/linux/highmem.h:63: `PAGE_SIZE' undeclared (first use in this function) /lib/modules/2.4.7-10/build/include/linux/highmem.h: In function `memclear_highpage_flush': /lib/modules/2.4.7-10/build/include/linux/highmem.h:77: `PAGE_SIZE' undeclared (first use in this function) /lib/modules/2.4.7-10/build/include/linux/highmem.h: In function `copy_user_highpage': /lib/modules/2.4.7-10/build/include/linux/highmem.h:91: `PAGE_SIZE' undeclared (first use in this function) /lib/modules/2.4.7-10/build/include/linux/highmem.h: In function `copy_highpage': /lib/modules/2.4.7-10/build/include/linux/highmem.h:102: `PAGE_SIZE' undeclared (first use in this function) .././linux/driver.c: In function `LinuxDriver_Ioctl': .././linux/driver.c:928: structure has no member named `dumpable' make[2]: *** [driver.o] Error 1 make[2]: Leaving directory `/tmp/vmware-config1/vmmon-only/driver-2.4.7-10' make[1]: *** [driver] Error 2 make[1]: Leaving directory `/tmp/vmware-config1/vmmon-only' make: *** [auto-build] 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 have a look at "http://www.vmware.com/download/modules/modules.html". Execution aborted. Expected Results: vmmon should build and vmware should install cleanly :-) Additional info: (My apologies about the pseudo-open source vmware bug. I'll post to vmware's site as well. But the RH folks seem more clued about getting fixes out quick about this kind of thing, and with much-hacked kernels it's hard to know where to point the finger.)
More info... this is fixed in vmware-3.0 release candidate details at news://news.vmware.com group vmware.for-linux.general for "redhat-7.2" for example: news://news.vmware.com:119/9gkptt8su17ia8s08fs7gev8b9rh1r43ej@4ax.com
more more info... according to news://news.vmware.com:119/3B74C6E6.5F656F4C@pacbell.net there are patches that fix vmware 2.0.4 for linux-2.4.7 at ftp://platan.vc.cvut.cz/pub/vmware/vmware-ws-1142-for-2.4.7.tar.gz They (seem) to Work For Me. Please mark this bug closed.