Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260979 - app-emulation/vmware-modules-1.0.0.15-r2 fails to compile on kernel 2.6.19
Summary: app-emulation/vmware-modules-1.0.0.15-r2 fails to compile on kernel 2.6.19
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High critical with 1 vote (vote)
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-02 18:06 UTC by Ryan
Modified: 2011-03-17 13:19 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan 2009-03-02 18:06:59 UTC
I am unable to compile vmware-modules-1.0.0.15-r1 or 1.0.0.15-r2 on a 2.6.19-r5 kernel.

vmware-modules-1.0.0.23 complies successfully but is blocked by vmware-server-1.0.8.126538.

Build Error: 
 * Converting vmnet-only/Makefile to use M= instead of SUBDIRS= ...                                                                                                                                                                    [ ok ]
>>> Source unpacked in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work
>>> Compiling source in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work ...
 * Preparing vmmon module
make -j2 HOSTCC=i486-pc-linux-gnu-gcc CROSS_COMPILE=i486-pc-linux-gnu- LDFLAGS= auto-build VMWARE_VER=VME_S1B1 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/2.6.19-gentoo-r5/build
Using 2.6.x kernel build system.
make -C /usr/src/linux/include/.. M=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.19-gentoo-r5'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.o
In file included from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:84:
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/vmhost.h:71: error: expected specifier-qualifier-list before 'Mutex'
In file included from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:337:
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver_compat.h: In function 'LinuxDriverLockedNoPage':
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver_compat.h:335: error: 'struct VMHost' has no member named 'AWEPages'
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c: In function 'LinuxDriverPoll':
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:995: error: 'struct VMHost' has no member named 'callQueue'
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:997: error: 'struct VMHost' has no member named 'pendingUserCalls'
make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.o] Error 1
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.19-gentoo-r5'
make: *** [vmmon.ko] Error 2
 *
 * ERROR: app-emulation/vmware-modules-1.0.0.15-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3568:  Called linux-mod_src_compile
 *             environment, line 2686:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC="$(tc-getBUILD_CC)"                                                 CROSS_COMPILE=${CHOST}-                                                 LDFLAGS="$(get_abi_LDFLAGS)"                                ${BUILD_FIXES}                                           ${BUILD_PARAMS}                                                 ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=i486-pc-linux-gnu-gcc CROSS_COMPILE=i486-pc-linux-gnu- LDFLAGS=   auto-build VMWARE_VER=VME_S1B1 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/2.6.19-gentoo-r5/build
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/temp/environment'.
 *
Comment 1 Ryan 2009-03-02 18:07:23 UTC
Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.19-gentoo-r5-i686-Intel-R-_Xeon-TM-_CPU_2.60GHz-with-glibc2.0
Timestamp of tree: Mon, 02 Mar 2009 14:45:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cdr cli cracklib crypt cups dri dvd fortran gdbm gpm iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python qt3 qt4 readline reflection session spl ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Ryan 2009-03-02 18:07:40 UTC
vm4 linux-2.6.27-gentoo-r8 # uname -a
Linux vm4 2.6.19-gentoo-r5 #3 SMP Wed Feb 25 19:31:54 UTC 2009 i686 Intel(R) Xeon(TM) CPU 2.60GHz GenuineIntel GNU/Linux
Comment 3 Mike Auty (RETIRED) gentoo-dev 2009-03-23 21:07:18 UTC
Hi Ryan,  Sorry about the delay in replying.  There's only a limited number of kernels that we're able to support, mostly because we're dependent upon vmware for their kernel code, which for vmware-server-1.0.8 isn't open source.  They've recently open sourced the latest version of their modules (and 1.0.0.23 seems to build ok, but as you found out, won't work with vmware-server-1.0.8).

As such the best recommendation I have is to upgrade to a more recent kernel.  I believe it's definitely been tested down to 2.6.25, but my guess is will will work down to 2.6.22ish.  That's just a guess however.  I'm afraid since there's only me in the vmware group, and I've only got the one test box, I'm not able to ensure everything works out with every kernel.

If you can find patches for the modules that work, I'll be happy to add them to the modules but there's not much more I can do.  I'm sorry I can't be of more help...  5:(
Comment 4 Alessandro Degano 2009-05-10 20:58:00 UTC
Exactly the same error here with ~amd64 and kernel 2.6.29.
Comment 5 Simon 2009-07-03 19:08:09 UTC
I'm also experiencing the same bug with 2.6.29-gentoo-r5

Is there any chance this will be fixed. Is there anything further I can do to help?  I don't want to try vmware 2.0 as it's quite simply horrible, I really want to try and get vmware 1 working.

Thanks

Simon
Comment 6 Jim Paton 2009-07-25 23:46:06 UTC
I'm also having the problem.

uname -a:
Linux jpaton-desktop 2.6.29-gentoo-r5LJ1 #2 SMP Tue Jul 21 22:52:38 CDT 2009 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ AuthenticAMD GNU/Linux
Comment 7 Lamarque V. Souza 2009-07-26 00:12:09 UTC
(In reply to comment #6)
> I'm also having the problem.
> 
> uname -a:
> Linux jpaton-desktop 2.6.29-gentoo-r5LJ1 #2 SMP Tue Jul 21 22:52:38 CDT 2009
> x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ AuthenticAMD GNU/Linux
> 

I am successfully using the modules available at http://www.insecure.ws/warehouse/vmware-update-2.6.29-5.5.9-3.tar.bz2 with vanilla kernels 2.6.29 and 2.6.30. For the modules to load you must re-export symbol init_mm in the kernel, that will cause the kernel to print a warning in /var/log/messages saying that symbol is gonna be removed in the future, at least for now it is there so the modules work. To compile the modules with 2.6.30 you must apply the patch available at http://communities.vmware.com/thread/208963.
Comment 8 Andrew Kruse 2009-11-04 18:32:12 UTC
Also experiencing this issue with 2.6.31-gentoo-r4 kernel. I would also prefer to be able to get vmware-modules-1.0.0.15 to work to support vmware 5.5.
Comment 9 Ioannis Aslanidis (RETIRED) gentoo-dev 2009-11-17 18:03:48 UTC
app-emulation/vmware-modules-1.0.0.24-r1 works correctly with kernel 2.6.31-gentoo-r6

Try with autounmask app-emulation/vmware-server-2.0.2.203138
Comment 10 Willard Dawson 2009-12-22 15:42:15 UTC
I tried to install app-emulation/vmware-modules-1.0.0.15-r2 today only to run into this bug.  It seems I cannot install vmware-server-1 as a result.

(In reply to comment #9)
> app-emulation/vmware-modules-1.0.0.24-r1 works correctly with kernel
> 2.6.31-gentoo-r6
> 
> Try with autounmask app-emulation/vmware-server-2.0.2.203138
> 

That only helps if one is trying to go to vmware-server-2.  I for one would like to downgrade.  Server 2 is the most annoying thing in my life for the past 12 months, and I simply cannot endure it.  Add to that, it won't start up properly since upgrading glib.
Comment 11 Willard Dawson 2009-12-22 16:08:02 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > I'm also having the problem.
> > 
> > uname -a:
> > Linux jpaton-desktop 2.6.29-gentoo-r5LJ1 #2 SMP Tue Jul 21 22:52:38 CDT 2009
> > x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ AuthenticAMD GNU/Linux
> > 
> 
> I am successfully using the modules available at
> http://www.insecure.ws/warehouse/vmware-update-2.6.29-5.5.9-3.tar.bz2 with
> vanilla kernels 2.6.29 and 2.6.30. For the modules to load you must re-export
> symbol init_mm in the kernel, that will cause the kernel to print a warning in
> /var/log/messages saying that symbol is gonna be removed in the future, at
> least for now it is there so the modules work. To compile the modules with
> 2.6.30 you must apply the patch available at
> http://communities.vmware.com/thread/208963.
> 

Could someone post an ebuild for this?  I'm using 2.6.30-gentoo-r6 and have no joy trying to emerge vmware-modules-1.0.0.15-r2...
Comment 12 Mario Fetka (geos_one) 2009-12-26 15:37:27 UTC
(In reply to comment #11)
> Could someone post an ebuild for this?  I'm using 2.6.30-gentoo-r6 and have no
> joy trying to emerge vmware-modules-1.0.0.15-r2...
> 

in my overlay there are ebuilds for this old version
the layman file: http://ftp.mars.arge.at/pub/overlay/geos_one-overlay.xml
and add go-vmware
the modules have a differnet nameing schema so the 1.0.0.15 -> 138.x wher x is the subversion of the product using it (they normally match)
it also holds the ebuilds to depend on this versions.
if you want to get the vmware-server 1 running on 2.6.3x add the useflag init_mm-patch for app-emulation/vmware-modules
and don't forget to add the patch to your kernel (from here https://www.it-psycho.de/) and activate UNUSED_SYMBOLS in your kernel .config
for bugs mail me
Comment 13 Vadim Kuznetsov (RETIRED) gentoo-dev 2011-03-17 13:19:09 UTC
vmware-server 1.0.x and vmware-modules-1.0.0.1x are not in the portage anymore.
Bug 354383.