Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218250 - app-emulation/vmware-modules-1.0.0.{15,17}-r1 fail to compile with kernel 2.6.25
Summary: app-emulation/vmware-modules-1.0.0.{15,17}-r1 fail to compile with kernel 2....
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords:
: 218276 218561 219379 (view as bug list)
Depends on:
Blocks: kernel-2.6.25
  Show dependency tree
 
Reported: 2008-04-18 11:01 UTC by Vlastimil Babka (Caster) (RETIRED)
Modified: 2009-01-07 14:10 UTC (History)
44 users (show)

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


Attachments
Build log from vmware-modules compilation failure using 2.6.26-gentoo (build.log,4.71 KB, text/plain)
2008-07-23 12:14 UTC, Willard Dawson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-04-18 11:01:23 UTC
* Preparing vmmon module
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.25-gentoo'
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-r1/work/vmmon-only/linux/driver.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driverLog.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/hostif.o
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/hostif.c: In function ‘HostIF_BrokenCPUHelper’:
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/hostif.c:3042: warning: passing argument 1 of ‘HostIFBrokenCPUHelper’ discards qualifiers from pointer target type
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/comport.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/cpuid.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/hash.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/memtrack.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/phystrack.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/task.o
cc1plus: warning: command line option "-Werror-implicit-function-declaration" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wno-pointer-sign" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-ffreestanding" is valid for C/ObjC but not for C++
In file included from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/hostKernel.h:56,
                 from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/task.c:30:
include2/asm/page.h: In function ‘pte_t native_make_pte(pteval_t)’:
include2/asm/page.h:128: error: expected primary-expression before ‘)’ token
include2/asm/page.h:128: error: expected ‘;’ before ‘{’ token
include2/asm/page.h:128: error: expected primary-expression before ‘.’ token
include2/asm/page.h:128: error: expected `;' before ‘}’ token
make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/task.o] Error 1
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25-gentoo'
make: *** [vmmon.ko] Error 2
 *
 * ERROR: app-emulation/vmware-modules-1.0.0.15-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3211:  Called linux-mod_src_compile
 *             environment, line 2430:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"                                               CC=\"$(get-KERNEL_CC)\"                       LDFLAGS=\"$(get_abi_LDFLAGS)\"                                           ${BUILD_FIXES}                                          ${BUILD_PARAMS}       ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc LDFLAGS=   auto-build VMWARE_VER=VME_S1B1 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/usr/src/linux/output
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/app-emulation:vmware-modules-1.0.0.15-r1:20080418-105637.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/temp/environment'.
 *
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-04-18 11:01:51 UTC
Portage 2.1.5_rc4 (default-linux/x86/2007.0/desktop, gcc-4.2.3, glibc-2.7-r2, 2.6.24-gentoo-r5 i686)
=================================================================
System uname: 2.6.24-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1.60GHz
Timestamp of tree: Fri, 18 Apr 2008 07:15:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.5.1-r5
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests ccache collision-protect distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="        ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo        http://gentoo.osuosl.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en cs"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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"
PORTDIR_OVERLAY="/usr/portage/local/crossdev /usr/portage/local/caster /usr/portage/local/layman/mozilla /usr/portage/local/layman/java-overlay /usr/portage/local/layman/java-experimental"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acl acpi alsa amr ao audiofile bash-completion berkdb blas bluetooth branding bsf bzip2 cairo caps cdr cjk cli cracklib crypt cups curl dbus djvu dri dts dvd dvdr dvdread dvi emboss encode evo fam ffmpeg fftw firefox flac fontconfig fortran gdbm ggi gif gmp gpm gstreamer gtk hal iconv icq idn ipv6 irda isdnlog java java5 javascript jpeg kde kdeenablefinal kdehiddenvisibility kerberos kipi lapack lcms ldap libnotify lm_sensors lua lzo mad maildir matroska mbox midi mikmod mmx mozdevelop moznoirc mp3 mpeg mplayer mudflap musicbrainz ncurses nls nptl nptlonly nsplugin ntfs nvidia obex ogg openal opengl openmp oscar pam pcre pdf perl pmu png ppds pppd python qt3 qt3support qt4 quicktime readline reflection reiserfs rtc ruby sdl seamonkey session slang sockets sound speex spell spl sqlite sse sse2 ssl svg t1lib tcl tcpd tetex threads tiff tk truetype unicode usb v4l vorbis webdav win32codecs x86 xcb xcomposite xine xinerama xml xorg xosd xulrunner xv xvid zlib" ALSA_CARDS="intel8x0 intel8x0m" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en cs" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev v4l"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Luka Blaskovic 2008-04-18 14:41:10 UTC
Same here:

Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.2.3, glibc-2.6.1-r0, 2.6.25-gentoo x86_64)
=================================================================
System uname: 2.6.25-gentoo x86_64 Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz
Timestamp of tree: Fri, 18 Apr 2008 12:15:03 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://193.198.184.20/gentoo/distfiles/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="hr_HR.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS=""
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"
PORTDIR_OVERLAY="/usr/local/portage/enlightenment /usr/local/portage/desktop-effects /usr/local/portage/plasmoids-kde-4 /usr/local/portage/vmware /usr/local/portage/cyber"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amd64 ao bash-completion berkdb bzip2 cairo caps cdb cddb cdinstall cdparanoia cdr cli cracklib crypt cscope curl dbus doc dri dts dvb dvd dvdr dvdread eds emboss encode esd evo exif fam fbcon ffmpeg firefox flac foomaticdb fortran freetype ftp gcj gd gdbm geoip gif glut gphoto2 gpm gstreamer hal hvm iconv icq ieee1394 imagemagick imlib ipv6 isdnlog jabber java javascript jbig jikes jpeg jpeg2k kde kdehiddenvisibility kdexdeltas kerberos ldap libcaca libwww lm_sensors mad memlimit midi mikmod mime mmap mmx mmxext mp3 mpeg mplayer msn mudflap mysql ncurses nls nptl nptlonly nsplugin ocaml ogg openal opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime rdesktop readline reflection ruby samba sasl screen sdl session sharedmem snmp speex spell spl sse sse2 ssl svg tcpd theora tidy tiff truetype unicode usb vcd videos vim-syntax vorbis wifi wxwindows xcomposite xine xinerama xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 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 nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Jan Kundrát (RETIRED) gentoo-dev 2008-04-18 17:56:54 UTC
*** Bug 218276 has been marked as a duplicate of this bug. ***
Comment 4 M. Edward Borasky 2008-04-19 03:53:03 UTC
dang ... figured I'd be the first to file this. ;)

Is it worth pulling down vmware-modules-1.0.0.18 from the vmware overlay and trying it? I am in the middle of a project that needs VMware Workstation, so I'm stuck on 2.6.24 until this gets resolved.
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2008-04-19 09:23:14 UTC
Looking at other places, seems like a different issue was found and fixed.
I could not make this work.
http://bbs.archlinux.org/viewtopic.php?id=47332
Comment 6 Mike Auty (RETIRED) gentoo-dev 2008-04-19 10:29:09 UTC
Edward, no it isn't, vmware-modules-1.0.0.18 is for vmware-server 2 *only* which is badly broken, please don't use it.  The dependencies in the ebuilds blocking off the vmware-module versions are there for a reason, each version of the modules is for a particular version of the vmware products and forcin upgrades yourself won't help.

At the moment, the only product whose modules compile against 2.6.25 is the beta version of vmware workstation (6.5.0.84113) which is not recommended for production use (it's not *that* unstable, but it's a debugging build and therefore quite slow).

We're currently investigating patches for vmware-any-any that will successfully cure the problem without breaking compilation against older kernels.  Ideally a new version of vmware-any-any would be released, but the guys don't seem to have made a release in over 6 months, including a release to fix compatability with 2.6.24 (we're using another patch that people dubbed vmware-any-any-update116, but wasn't released by the normal release channels).

It will take a bit of time to get this working, so for anyone who relies on this, please continue using the 2.6.24 kernel whilst we get this sorted out.  (Alon, thanks for the link, we'll take a look and see if that patch works too).  5:)
Comment 7 Mike Auty (RETIRED) gentoo-dev 2008-04-20 17:01:17 UTC
*** Bug 218561 has been marked as a duplicate of this bug. ***
Comment 8 Miroslaw Mieszczak 2008-04-21 22:37:02 UTC
There is new any-any-patch at following URL:
http://vmkernelnewbies.googlegroups.com/web/vmware-any-any-update-116.tgz
Comment 9 Miroslaw Mieszczak 2008-04-21 22:46:38 UTC
But it doesn't solve the problem. 
Sorry
Comment 10 Mike Auty (RETIRED) gentoo-dev 2008-04-21 23:47:17 UTC
vmware-any-any-update116, as found on sites like the one you just posted, are just vmware-any-any-update115 with a couple of nasty patches applied (there's a header change, and possibly a version number change to get it to work with later workstation versions).  These have already been applied to our modules, so probably won't help.  Thanks for pointing it out, but we're really after update117 from most places, or we'll take 116 if it shows up on the normal czech distribution site used for official vmware-any-any releases.  5:)

We'll also accept any other patches people may have, if we test them out and they work...  5:)
Comment 11 devsk 2008-04-22 02:06:16 UTC
Has anyone looked at the patches provided at:

http://forums.gentoo.org/viewtopic-p-5066120.html#5066120

It seems like the user claims it compiles and works after the patch.
Comment 12 devsk 2008-04-22 02:49:44 UTC
the patches from that post above seem to work. Can we please package them as r2?
Comment 13 Mike Auty (RETIRED) gentoo-dev 2008-04-22 08:17:14 UTC
Thanks for the pointer to the patches, I'll take a look at them this evening and try and get them integrated into the overlay.

The ebuilds will stay as -r1, since everyone that already has them installed doesn't need to upgrade for any reason, and this only affects people who can't install it.  If there were some added functionality or a bug present in an existing build, then we'd bump it to -r2.

So hopefully sometime tonight the patches should be present and ready to go.  Thanks again for spotting them...  5:)
Comment 14 Steffen Bergner 2008-04-22 10:00:39 UTC
Same problem with open-vmware-tools, see
http://bugs.gentoo.org/show_bug.cgi?id=215630

".../vmware-modules-1.0.0.17-r1/work/vmblock-only] Error 2"
".../open-vm-tools-2008.01.23-74039/modules/linux/vmblock] Error 2"
Comment 15 Mike Auty (RETIRED) gentoo-dev 2008-04-23 16:14:19 UTC
Ok, the latest patches have been checked in to the overlay for testing, but I haven't yet gone to my home machine to check that vmware runs ok under them, so BEWARE.

I'm particularly interested in testers who have *not* upgraded to 2.6.25, to check that the patches haven't broken anything for them.  Also any users of the vmblock module under workstation 6, I'll be testing this myself, but be aware that drag and drop may fail/break badly/run away with your dog.  I hacked up a patch based on one for AUFS, but it may be completely wrong and/or fail to do something it should.

Please let me know if there's *any* problems with any of the -r1 ebuilds on any version of gentoo-sources...
Comment 16 Ian Pickworth 2008-04-25 19:09:45 UTC
(In reply to comment #15)
> Ok, the latest patches have been checked in to the overlay for testing, but I
> haven't yet gone to my home machine to check that vmware runs ok under them, so
> BEWARE.
> 
> I'm particularly interested in testers who have *not* upgraded to 2.6.25, to
> check that the patches haven't broken anything for them.

I have tested the overlay -r1 ebuild as follows - in summary everything works OK for me:

---------------------------
32 bit ~x86 architecture.

layman -a vmware
emerge --regen

ian2 ~ # emerge -pv app-emulation/vmware-modules
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild   R   ] app-emulation/vmware-modules-1.0.0.15-r1  0 kB [0=>1]
Total: 1 package (1 reinstall), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/portage/local/layman/vmware

--- test on 2.6.24 -----

ian2 ~ # eselect kernel list
Available kernel symlink targets:
  [1]   linux-2.6.24-gentoo-r5 *
  [2]   linux-2.6.25-gentoo-r1

Emerge worked OK:
* Found sources for kernel version:
 *     2.6.24-gentoo-r5

Reboot into 2.6.24-gentoo-r5
ipic@ian2 ~ $ uname -r
2.6.24-gentoo-r5

vmware models all load OK
Windows and Ubuntu VM's start/work/stop correctly - no problems detected.

--- test on 2.6.24 -----

ian2 ~ # eselect kernel list
Available kernel symlink targets:
  [1]   linux-2.6.24-gentoo-r5
  [2]   linux-2.6.25-gentoo-r1 *

Emerge worked OK:
 * Found sources for kernel version:
 *     2.6.25-gentoo-r1

Reboot into 2.6.25-gentoo-r1
ipic@ian2 ~ $ uname -r
2.6.25-gentoo-r1

vmware models all load OK
Windows and Ubuntu VM's start/work/stop correctly - no problems detected.

----------------------
All looks fine as far as my machine is concerned.
Regards
Ian
Comment 17 M. Edward Borasky 2008-04-26 05:46:31 UTC
Works for me (sort of). Specifically:(dual core Athlon64 X2/4 GB of RAM)

1. I added the vmware overlay, etc., and "emerge -v =vmware-modules-1.0.0.17-r1" works with both 2.6.24-r6 and 2.6.25-r1
2. Both of them boot fine and VMware Workstation 6 starts up fine on both of them. I did not attempt to boot up a virtual machine, but will be doing that tomorrow.

The "sort of" refers to the fact that even though I have

=app-emulation/vmware-workstation-6.5.0.84113
=app-emulation/vmware-modules-1.0.0.18
=app-emulation/vmware-modules-1.0.0.19

in /etc/portage/package,mask, portage insists I have blockers when I try to update:

[ebuild    fU ] app-emulation/vmware-workstation-6.5.0.84113 [6.0.3.80004] 0 kB [0=>1]
[ebuild     U ] app-emulation/vmware-modules-1.0.0.19 [1.0.0.17-r1] 0 kB [1]
[blocks B     ] <app-emulation/vmware-modules-1.0.0.19 (is blocking app-emulation/vmware-workstation-6.5.0.84113)
[blocks B     ] >=app-emulation/vmware-modules-1.0.0.18 (is blocking app-emulation/vmware-workstation-6.0.3.80004)

So I am going to back this all out until things are sane. But it does appear to "work".
Comment 18 Nils Kneuper 2008-04-26 10:08:49 UTC
The overlays version of vmware-modules-1.0.0.17-r1 works nicely here on a vanilla-sources 2.6.23.11. Works nicely together with vmware-player-2.0.3.80004 , virtual machines behave as expected.
Comment 19 Mike Auty (RETIRED) gentoo-dev 2008-04-26 16:45:26 UTC
Ok guys, thanks very much for all your help testing this out.  The new patches have now been pushed into the tree, so I'm going to mark this as FIXED.  If there are any issues here, please file a new bug and we'll work on them there...  5:)
Comment 20 Mike Auty (RETIRED) gentoo-dev 2008-04-26 17:17:21 UTC
I forgot to mention, Edward, your problem is bug 186062 and sadly it's normal behaviour...
Comment 21 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-04-26 20:24:26 UTC
*** Bug 219379 has been marked as a duplicate of this bug. ***
Comment 22 Alon Bar-Lev (RETIRED) gentoo-dev 2008-04-27 05:56:48 UTC
I am getting:
pr 27 08:51:13 alon1 /etc/init.d/vmware[9744]: ERROR: vmware failed to start
Apr 27 08:51:27 alon1 /etc/init.d/vmware[9772]: WARNING: vmware is already stopped
Apr 27 08:51:39 alon1 vmmon: Unknown symbol init_mm
Apr 27 08:51:39 alon1 modprobe: FATAL: Error inserting vmmon (/lib/modules/2.6.25-gentoo/misc/vmmon.ko): Unknown symbol in module, or unknown parameter (see dmesg)

Using:
app-emulation/vmware-modules-1.0.0.15-r1

http://fixunix.com/kernel/352840-reexport-init_mm.html

Any clue?
Comment 23 Mike Auty (RETIRED) gentoo-dev 2008-04-27 07:31:58 UTC
Yep, unfortunately in 2.6.26 the init_mm function is going away.  In 2.6.25 it's present but marked as don't use.  There's a kernel option, CONFIG_UNUSED_SYMBOLS, require when using the 2.6.25 kernel.  When 2.6.26 comes out, if the any-any sources still haven't been updated, this is gonna give us a real headache...  5:(
Comment 24 Stefan Behte (RETIRED) gentoo-dev Security 2008-04-27 14:02:32 UTC
Worksforme.
If you don't have CONFIG_UNUSED_SYMBOLS the vmware init.d script will try to start, but always fails and says you need to re-emerge vmware-modules and run vmware-config.pl:

 * Starting xinetd ...                                                                                                                                                [ ok ]
 * VMware Server is installed, but it has not been (correctly) configured
 * for the running kernel.
 * Please ensure that the modules have been compiled for this kernel:
 * emerge --oneshot vmware-modules
 * Also ensure VMware Server has been configured:
 * /opt/vmware/server/bin/vmware-config.pl
 * VMware is not properly configured! See above.     

I guess it can drive the average user mad, as there is not a warning of any kind about the kernel option; what do you think about adding something like this to the init.d ?

if [ -n "$(uname -r | grep ^2\.6\.25)" ] && [ ! -n "$(grep init_mm /proc/kallsyms)" ]; then

...Warning stuff...

fi
Comment 25 Thomas Demeter 2008-05-04 10:03:55 UTC
# emerge vmware-modules
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) app-emulation/vmware-modules-1.0.0.17-r1 to /
 * vmware-any-any-update115.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                 [ ok ]
 * checking ebuild checksums ;-) ...                                                                                               [ ok ]
 * checking auxfile checksums ;-) ...                                                                                              [ ok ]
 * checking miscfile checksums ;-) ...                                                                                             [ ok ]
 * checking vmware-any-any-update115.tar.gz ;-) ...                                                                                [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.25-tuxonice-r1
>>> Unpacking source...
>>> Unpacking vmware-any-any-update115.tar.gz to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work
>>> Unpacking ./vmware-any-any-update115/vmblock.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work
 * Applying various patches (bugfixes/updates) ...
 *   000_all_makefile-include-directory.patch ...                                                                                  [ ok ]
 *   020_all_epoll-def-warnings.patch ...                                                                                          [ ok ]
 * Done with patching
 * Applying various patches (bugfixes/updates) ...
 *   010_all_kernel-2.6.25.patch ...                                                                                               [ ok ]
 * Done with patching
 * Converting vmblock-only/Makefile to use M= instead of SUBDIRS= ...                                                              [ ok ]
>>> Unpacking ./vmware-any-any-update115/vmmon.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work
 * Applying various patches (bugfixes/updates) ...
 *   000_all_makefile-include-directory.patch ...                                                                                  [ ok ]
 *   020_all_epoll-def-warnings.patch ...                                                                                          [ ok ]
 * Done with patching
 * Applying various patches (bugfixes/updates) ...
 *   030_all_fix-linux-headers.patch ...                                                                                           [ ok ]
 *   035_all_kernel-2.6.25.patch ...                                                                                               [ ok ]
 * Done with patching
 * Converting vmmon-only/Makefile to use M= instead of SUBDIRS= ...                                                                [ ok ]
>>> Unpacking ./vmware-any-any-update115/vmnet.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work
 * Applying various patches (bugfixes/updates) ...
 *   000_all_makefile-include-directory.patch ...                                                                                  [ ok ]
 *   020_all_epoll-def-warnings.patch ...                                                                                          [ ok ]
 * Done with patching
 * Applying various patches (bugfixes/updates) ...
 *   021_all_wireless_fix.patch ...                                                                                                [ ok ]
 *   025_all_kernel-2.6.25.patch ...                                                                                               [ ok ]
 * Done with patching
 * Converting vmnet-only/Makefile to use M= instead of SUBDIRS= ...                                                                [ ok ]
 * Applying 1.0.0.17-update115-nasty-hack.patch ...                                                                                [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work ...
 * Preparing vmblock module
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.25-tuxonice-r1'
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmblock-only/linux/block.o
In file included from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmblock-only/linux/os.h:36,
                 from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmblock-only/linux/block.c:27:
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmblock-only/./include/compat_wait.h:78: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’ was here
make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmblock-only/linux/block.o] Error 1
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmblock-only] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25-tuxonice-r1'
make: *** [vmblock.ko] Error 2
 *
 * ERROR: app-emulation/vmware-modules-1.0.0.17-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3214:  Called linux-mod_src_compile
 *             environment, line 2433:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"                                               CC=\"$(get-KERNEL_CC)\"         LDFLAGS=\"$(get_abi_LDFLAGS)\"                                           ${BUILD_FIXES}                                          ${BUILD_PARAMS}                                          ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc LDFLAGS=   auto-build VMWARE_VER=VME_V6 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/usr/src/linux
 *
 * 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.17-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/temp/environment'.
 *
Comment 26 Mike Auty (RETIRED) gentoo-dev 2008-05-05 09:34:09 UTC
Hi Thomas,

Your poll_initwait problem is not related to the 2.6.25 kernel.  It suggests an error during the test for the presence of poll_initwait which then causes vmware to define it's own (which then conflicts).  This was previously down to gcc turning warnings into errors, however because of the patches we've applied that hasn't been the case for a long time.

In a few other circumstances, it was related to the kernel being built against (and the poll_initwait function being moved between files in the kernel).  This shouldn't have affected the 2.6.25 kernel to my knowledge (and we've had no other reports), but I noticed that you're using the tux-on-ice kernel, rather than vanilla-sources or gentoo-sources.

Unfortunately, we can't support every kernel available (support just the vanilla and gentoo sources takes quite a lot in itself), so I haven't much to suggest, other than reverting to an older kernel source that did compile correctly.

Either way, your bug isn't the same as the one seen here, and if you'd like us to try following up on it, please open it as a separate bug.  Thanks...
Comment 27 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-24 17:00:29 UTC
*** Bug 223449 has been marked as a duplicate of this bug. ***
Comment 28 .:deadhead:. 2008-05-24 23:17:11 UTC
(In reply to comment #26)
> Either way, your bug isn't the same as the one seen here, and if you'd like us
> to try following up on it, please open it as a separate bug.  Thanks...

I had the same error as Thomas, and I opened a dedicated bug as you suggested, but has been marked as dup :)

Well if you need any help, decide where keep things going on, and ask whatever you need: I hope we'll find a solution to the problem...

cheers

Comment 29 Thomas Demeter 2008-05-25 09:15:37 UTC
Ok, I tried to play around a bit. The compiler said that the problem is the duplicate declaration of the poll_initwait function, so I commented out the poll_initwait in /usr/src/linux/include/linux/poll.h. The previous error disappeared, but there is a new:

# emerge -av vmware-modules

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] app-emulation/vmware-modules-1.0.0.17-r1  0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) app-emulation/vmware-modules-1.0.0.17-r1 to /
 * vmware-any-any-update115.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                            [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                          [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                         [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                        [ ok ]
 * checking vmware-any-any-update115.tar.gz ;-) ...                                                                                                                           [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.25-tuxonice-r4-yorirou
>>> Unpacking source...
>>> Unpacking vmware-any-any-update115.tar.gz to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work
>>> Unpacking ./vmware-any-any-update115/vmblock.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work
 * Applying various patches (bugfixes/updates) ...
 *   000_all_makefile-include-directory.patch ...                                                                                                                             [ ok ]
 *   020_all_epoll-def-warnings.patch ...                                                                                                                                     [ ok ]
 * Done with patching
 * Applying various patches (bugfixes/updates) ...
 *   010_all_kernel-2.6.25.patch ...                                                                                                                                          [ ok ]
 * Done with patching
 * Converting vmblock-only/Makefile to use M= instead of SUBDIRS= ...                                                                                                         [ ok ]
>>> Unpacking ./vmware-any-any-update115/vmmon.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work
 * Applying various patches (bugfixes/updates) ...
 *   000_all_makefile-include-directory.patch ...                                                                                                                             [ ok ]
 *   020_all_epoll-def-warnings.patch ...                                                                                                                                     [ ok ]
 * Done with patching
 * Applying various patches (bugfixes/updates) ...
 *   030_all_fix-linux-headers.patch ...                                                                                                                                      [ ok ]
 *   035_all_kernel-2.6.25.patch ...                                                                                                                                          [ ok ]
 * Done with patching
 * Converting vmmon-only/Makefile to use M= instead of SUBDIRS= ...                                                                                                           [ ok ]
>>> Unpacking ./vmware-any-any-update115/vmnet.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work
 * Applying various patches (bugfixes/updates) ...
 *   000_all_makefile-include-directory.patch ...                                                                                                                             [ ok ]
 *   020_all_epoll-def-warnings.patch ...                                                                                                                                     [ ok ]
 * Done with patching
 * Applying various patches (bugfixes/updates) ...
 *   021_all_wireless_fix.patch ...                                                                                                                                           [ ok ]
 *   025_all_kernel-2.6.25.patch ...                                                                                                                                          [ ok ]
 * Done with patching
 * Converting vmnet-only/Makefile to use M= instead of SUBDIRS= ...                                                                                                           [ ok ]
 * Applying 1.0.0.17-update115-nasty-hack.patch ...                                                                                                                           [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work ...
 * Preparing vmblock module
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.25-tuxonice-r4'
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmblock-only/linux/block.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmblock-only/linux/control.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmblock-only/linux/dbllnklst.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmblock-only/linux/dentry.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmblock-only/linux/file.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmblock-only/linux/filesystem.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmblock-only/linux/inode.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmblock-only/linux/module.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmblock-only/linux/stubs.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmblock-only/linux/super.o
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmblock-only/linux/super.c:143: warning: ‘SuperOpReadInode’ defined but not used
  LD [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmblock-only/vmblock.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmblock-only/vmblock.mod.o
  LD [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmblock-only/vmblock.ko
make[1]: Leaving directory `/usr/src/linux-2.6.25-tuxonice-r4'
cp -f vmblock.ko ./../vmblock.o
 * Preparing vmmon module
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.25-tuxonice-r4'
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmmon-only/linux/driver.o
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmmon-only/linux/driver.c:172: warning: initialization from incompatible pointer type
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmmon-only/linux/driver.c:176: warning: initialization from incompatible pointer type
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmmon-only/linux/driverLog.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmmon-only/linux/hostif.o
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmmon-only/linux/hostif.c: In function ‘HostIF_SemaphoreWait’:
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmmon-only/linux/hostif.c:2654: warning: passing argument 1 of ‘poll_freewait’ from incompatible pointer type
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmmon-only/linux/hostif.c: In function ‘HostIFFastClockThread’:
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmmon-only/linux/hostif.c:3273: error: ‘struct task_struct’ has no member named ‘nice’
In file included from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmmon-only/linux/hostif.c:3549:
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmmon-only/linux/hostif_compat.h: In function ‘HostIF_IOAPICBaseV45’:
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmmon-only/linux/hostif_compat.h:778: error: ‘FIX_IO_APIC_BASE’ undeclared (first use in this function)
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmmon-only/linux/hostif_compat.h:778: error: (Each undeclared identifier is reported only once
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmmon-only/linux/hostif_compat.h:778: error: for each function it appears in.)
make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmmon-only/linux/hostif.o] Error 1
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/work/vmmon-only] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25-tuxonice-r4'
make: *** [vmmon.ko] Error 2
 *
 * ERROR: app-emulation/vmware-modules-1.0.0.17-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3215:  Called linux-mod_src_compile
 *             environment, line 2434:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"                                               CC=\"$(get-KERNEL_CC)\"                                                 LDFLAGS=\"$(get_abi_LDFLAGS)\"                                              ${BUILD_FIXES}                                          ${BUILD_PARAMS}                                    ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc LDFLAGS=   auto-build VMWARE_VER=VME_V6 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/usr/src/linux
 *
 * 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.17-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/temp/environment'.
 *

 * Messages for package app-emulation/vmware-modules-1.0.0.17-r1:

 *
 * ERROR: app-emulation/vmware-modules-1.0.0.17-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3215:  Called linux-mod_src_compile
 *             environment, line 2434:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"                                               CC=\"$(get-KERNEL_CC)\"                                                 LDFLAGS=\"$(get_abi_LDFLAGS)\"                                              ${BUILD_FIXES}                                          ${BUILD_PARAMS}                                    ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc LDFLAGS=   auto-build VMWARE_VER=VME_V6 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/usr/src/linux
 *
 * 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.17-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.17-r1/temp/environment'.
 *
Comment 30 Mike Auty (RETIRED) gentoo-dev 2008-05-25 10:35:50 UTC
Thomas,

Yours isn't a duplicate, sorry, the bug wranglers have a huge number of bugs to go through and it's not always possible for them to directly match up issues, or read the bugs to see that you'd already posted here.  I'm going to reopen your bug, and we'll continue the discussion there...
Comment 31 Mike Auty (RETIRED) gentoo-dev 2008-05-25 10:53:50 UTC
Doh,

Sorry, seems I got a bit confused between Thomas and Deadhead, sorry.  Deadhead, I've re-opened your bug and have some things for you to try.  Thomas, I'm happy for you to join us on that bug as well if you'd like?

Also, commenting out the poll_wait implementation in the linux kernel isn't a good idea.  What you really want is the vmware-modules to figure out that your kernel already has it.  This could be causing the second problem (it assumes it's using its version of the second function, because it's using its version of the first function, but in fact, it's using the kernel version).

The reason it isn't correctly detecting whether EPOLL wait exists is because the Makefile.kernel is trying to compile a small C file with the functions and any failures (or warnings with later gcc versions) cause it to assume the function doesn't exist.  It calls a small function called vm_check_build.  As I recall from over a year ago when I was originally trying to fix this bug, this gets called twice and the second time it outputs a warning and everything starts going wrong.  However, the vmware-any-any patch set correctly ignores the new warnings, and this should all be working fine (which is why I can't figure out why you're seeing this now).  If you want to investigate further, finding out what the function is calling, and what the actual error is, is your best bet...
Comment 32 Patrizio Bassi 2008-06-25 18:02:59 UTC
i think we can close as we had a version bump
Comment 33 Mike Auty (RETIRED) gentoo-dev 2008-06-25 18:08:24 UTC
I'll probably leave this open due to the init_mm issue still present, particularly as 2.6.26 is around the corner...
Comment 34 ta2002 2008-07-23 00:37:11 UTC
I hope I found the right bug this time. :)

Any thoughts on this (yes, I did just change CONFIG_UNUSED_SYMBOLS=y in my .config)?

 * vmware-any-any-update115.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                     [ ok ]
 * checking ebuild checksums ;-) ...                                                                                   [ ok ]
 * checking auxfile checksums ;-) ...                                                                                  [ ok ]
 * checking miscfile checksums ;-) ...                                                                                 [ ok ]
 * checking vmware-any-any-update115.tar.gz ;-) ...                                                                    [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.25-gentoo-r7
>>> Unpacking source...
>>> Unpacking vmware-any-any-update115.tar.gz to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work
>>> Unpacking ./vmware-any-any-update115/vmmon.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work
 * Applying various patches (bugfixes/updates) ...
 *   000_all_makefile-include-directory.patch ...                                                                      [ ok ]
 *   020_all_epoll-def-warnings.patch ...                                                                              [ ok ]
 * Done with patching
 * Applying various patches (bugfixes/updates) ...
 *   030_all_fix-linux-headers.patch ...                                                                               [ ok ]
 *   035_all_kernel-2.6.25.patch ...                                                                                   [ ok ]
 * Done with patching
 * Converting vmmon-only/Makefile to use M= instead of SUBDIRS= ...                                                    [ ok ]
>>> Unpacking ./vmware-any-any-update115/vmnet.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work
 * Applying various patches (bugfixes/updates) ...
 *   000_all_makefile-include-directory.patch ...                                                                      [ ok ]
 *   020_all_epoll-def-warnings.patch ...                                                                              [ ok ]
 * Done with patching
 * Applying various patches (bugfixes/updates) ...
 *   021_all_wireless_fix.patch ...                                                                                    [ ok ]
 *   025_all_kernel-2.6.25.patch ...                                                                                   [ ok ]
 * Done with patching
 * Converting vmnet-only/Makefile to use M= instead of SUBDIRS= ...                                                    [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work ...
 * Preparing vmmon module
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.25-gentoo-r7'
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-r1/work/vmmon-only/linux/driver.o
In file included from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/./include/vmci_kernel_defs.h:26,
                 from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/./common/vmciContext.h:19,
                 from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.h:21,
                 from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.c:53:
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/./include/compat_wait.h:60: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’ was here
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.c:172: warning: initialization from incompatible pointer type
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.c:176: warning: initialization from incompatible pointer type
make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.o] Error 1
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25-gentoo-r7'
make: *** [vmmon.ko] Error 2
 *
 * ERROR: app-emulation/vmware-modules-1.0.0.15-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3210:  Called linux-mod_src_compile
 *             environment, line 2429:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"                                               CC=\"$(get-KERNEL_CC)\"                                              LDFLAGS=\"$(get_abi_LDFLAGS)\"                                          ${BUILD_FIXES}                                               ${BUILD_PARAMS}                                                 ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc LDFLAGS=   auto-build VMWARE_VER=VME_S1B1 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/usr/src/linux
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/app-emulation:vmware-modules-1.0.0.15-r1:20080723-002051.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/temp/environment'.
 *
Comment 35 Mike Auty (RETIRED) gentoo-dev 2008-07-23 00:41:21 UTC
Throw_away,

Please post the results to "emerge --info", it may be you're using an old gcc, or that you've some weird CFLAGS/LDFLAGS causing issues.  Third paragraph of comment 31 should give you a bit of an idea of what's going on...
Comment 36 ta2002 2008-07-23 07:29:44 UTC
I don't think I have anything too strange:

Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686)
=================================================================
System uname: 2.6.24-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Timestamp of tree: Tue, 22 Jul 2008 13:30:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r5
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.13, 2.61-r2
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
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.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa arts audiofile berkdb bitmap-fonts bzip2 cairo caps cdparanoia cdr cjk cpudetection cracklib crypt css cups dbus dga directfb dri dvd dvdr dvdread encode exif expat fam fbcon ffmpeg flac fortran gcj ggi gif glibc-omitfp gmp gphoto2 gpm gstreamer hal iconv idea imagemagick imap imlib ipv6 javascript jbig joystick jpeg kde lcms libcaca libwww live lm_sensors mad matroska mbox memlimit midi mmx mmxext mng mp3 mpeg mudflap mysql nas ncurses network nls no-old-linux nodrm nptl nptlonly ogg opengl openmp oscar pcre pdf perl png qt3 quicktime readline real rtc samba scanner sdl sensord silc smtp sndfile speex spell sse sse2 ssl stream svg sysfs tcpd theora threads threadsafe tiff timidity truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vcd vorbis wideband win32codecs x86 xinerama xml xorg xv xvid yahoo zlib zrtp" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 37 Mike Auty (RETIRED) gentoo-dev 2008-07-23 07:54:12 UTC
No, you're quite right.  I was wondering if you could test something for me though?  It seems you're on 2.6.24 building for 2.6.25.  Could you please build 2.6.25 and start running it and then try rebuilding the modules?  It shouldn't have any effect, but I'd like to rule it out...
Comment 38 ta2002 2008-07-23 09:00:30 UTC
I have built (and even installed) 2.6.25 (-r7), but I can't really use it with VMware not working. I can carve out some time to reboot the machine and test trying to build the modules with 2.6.25 itself, but that will take me a couple of days at least, and quite possibly until the weekend. I will report back with the results.
Comment 39 Willard Dawson 2008-07-23 12:14:53 UTC
Created attachment 161183 [details]
Build log from vmware-modules compilation failure using 2.6.26-gentoo

Hopefully this is the right bug ...

Compile error using 2.6.26-gentoo

 * ERROR: app-emulation/vmware-modules-1.0.0.15-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3215:  Called linux-mod_src_compile
 *             environment, line 2434:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"                      CC=\"$(get-KERNEL_CC)\"                                          LDFLAGS=\"$(get_abi_LDFLAGS)\"                                          ${BUILD_FIXES}         ${BUILD_PARAMS}                                          ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc LDFLAGS=   auto-build VMWARE_VER=VME_S1B1 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/2.6.26-gentoo/build
Comment 40 Mike Auty (RETIRED) gentoo-dev 2008-07-23 12:50:52 UTC
Hiya Willard, sorry, you're after bug 227303 for the 2.6.26 kernel...
Comment 41 Patrizio Bassi 2008-09-30 20:51:15 UTC
fixed with new releases.
Comment 42 Mike Auty (RETIRED) gentoo-dev 2008-09-30 20:55:43 UTC
Ok guys, this should all be working now.  Could anyone still using this combination of kernel and vmware-modules test this out and let me know please?  Thanks...  5:)
Comment 43 Jonathan Heaney 2008-10-01 00:22:13 UTC
2.6.26 here, modules compile but vmware is still broken.
Comment 44 Patrizio Bassi 2008-10-01 06:37:14 UTC
works for me, amd64, i can start virtual machines.
Comment 45 Mike Auty (RETIRED) gentoo-dev 2008-10-01 08:37:42 UTC
Jonathan, you're using 2.6.26, which is mostly being dealt with in bug 227303.  Also, please could you provide a few more words than "vmware is still broken"?  Is it failing when starting the service, or is when you try to start the vmware program, or when you try to start a virtual machine?  Do you get any warning or error messages?  Does it just die, or does it hang the machine, or does it completely crash it?  Any further details might help us figure out where the problem is, but just being broken doesn't tell me anything...

I'll leave this as TEST-REQUEST until I've had a response for 2.6.25 with .15-r1/.17-r1 on x86...
Comment 46 Jonathan Heaney 2008-10-01 16:05:46 UTC
Service fails to start.  I'm *guessing* this may have been fixed upstream with the new build of 6.0.5, but portage wants a version of vmware-workstation that isn't available any more, the particular build has been superceded.

Realised I've posted in the wrong kernel thread as it were, yes I'm on 2.6.26.  Portage just needs bumped to reflect the build that is available on the VMWare website.
Comment 47 Mike Auty (RETIRED) gentoo-dev 2008-10-01 17:00:06 UTC
Hiya Jonathan, just quickly, can you try modprobing all the vmware modules before starting the service and let me know if that helps?  That's a known problem which affects 2.6.26 if you haven't allowed forced module loading (which is disabled by default).  I thought I'd fixed the issue, at least in the overlay, but I'll double check it...
Comment 48 Jonathan Heaney 2008-10-01 17:27:26 UTC
(In reply to comment #47)
> Hiya Jonathan, just quickly, can you try modprobing all the vmware modules
> before starting the service and let me know if that helps?  That's a known
> problem which affects 2.6.26 if you haven't allowed forced module loading
> (which is disabled by default).  I thought I'd fixed the issue, at least in the
> overlay, but I'll double check it...
> 

Hey, it works!  The init script was only loading vmblock, manually modprobing vmmon and vmnet, then running the vmware-config.pl script starts the vmware service fine.

Now workstation starts, but I cannot run any virtual machines due to a vmmon version mismatch (expecting 168.0, got 169.0).  I assume this is down to vmware-modules getting updated last night, but not vmware-workstation due to v6.0.5 build 109488 being unavailable any more.  So hopefully if vmware-modules and vmware-workstation ebuilds get updated to use 6.5.0 build 118166 vmware will be working again.
Comment 49 Koh Wei Jie 2008-10-12 10:32:14 UTC
It still doesn't work:


$ sudo emerge -av app-emulation/vmware-modules
 * Overlay eclasses override eclasses from PORTDIR:
 *
 *   '/usr/portage/local/layman/vmware/eclass/vmware.eclass'
 *   '/usr/portage/local/layman/vmware/eclass/vmware-mod.eclass'
 *
 * It is best to avoid overridding eclasses from PORTDIR because it will
 * trigger invalidation of cached ebuild metadata that is distributed with
 * the portage tree. If you must override eclasses from PORTDIR then you
 * are advised to run `emerge --regen` after each time that you run `emerge
 * --sync`. Set PORTAGE_ECLASS_WARNING_ENABLE="0" in /etc/make.conf if you
 * would like to disable this warning.

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] app-emulation/vmware-modules-1.0.0.15-r1  483 kB [1]

Total: 1 package (1 new), Size of downloads: 483 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/portage/local/layman/vmware

Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) app-emulation/vmware-modules-1.0.0.15-r1 to /
>>> Downloading 'http://ftp.iij.ad.jp/pub/linux/gentoo/distfiles/vmware-any-any-update115.tar.gz'
--2008-10-12 18:24:18--  http://ftp.iij.ad.jp/pub/linux/gentoo/distfiles/vmware-any-any-update115.tar.gz
Resolving ftp.iij.ad.jp... 202.232.140.141, 202.232.140.139, 2001:240:bb8f::f:1, ...
Connecting to ftp.iij.ad.jp|202.232.140.141|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 493641 (482K) [application/x-gzip]
Saving to: `/usr/portage/distfiles/vmware-any-any-update115.tar.gz'

100%[===========================================>] 493,641      639K/s   in 0.8s

2008-10-12 18:24:19 (639 KB/s) - `/usr/portage/distfiles/vmware-any-any-update115.tar.gz' saved [493641/493641]

 * checking ebuild checksums ;-) ...                                           [ ok ]
 * checking auxfile checksums ;-) ...                                          [ ok ]
 * checking miscfile checksums ;-) ...                                         [ ok ]
 * checking vmware-any-any-update115.tar.gz ;-) ...                            [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.26-tuxonice/build
 * Found sources for kernel version:
 *     2.6.26-tuxonice
>>> Unpacking source...
>>> Unpacking vmware-any-any-update115.tar.gz to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work
>>> Unpacking ./vmware-any-any-update115/vmmon.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work
 * Applying various patches (bugfixes/updates) ...
 *   000_all_makefile-include-directory.patch ...                              [ ok ]
 *   020_all_epoll-def-warnings.patch ...                                      [ ok ]
 * Done with patching
 * Applying various patches (bugfixes/updates) ...
 *   030_all_fix-linux-headers.patch ...                                       [ ok ]
 *   035_all_kernel-2.6.25.patch ...                                           [ ok ]
 * Done with patching
 * Converting vmmon-only/Makefile to use M= instead of SUBDIRS= ...            [ ok ]
>>> Unpacking ./vmware-any-any-update115/vmnet.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work
 * Applying various patches (bugfixes/updates) ...
 *   000_all_makefile-include-directory.patch ...                              [ ok ]
 *   020_all_epoll-def-warnings.patch ...                                      [ ok ]
 * Done with patching
 * Applying various patches (bugfixes/updates) ...
 *   021_all_wireless_fix.patch ...                                            [ ok ]
 *   025_all_kernel-2.6.25.patch ...                                           [ ok ]
 * Done with patching
 * Converting vmnet-only/Makefile to use M= instead of SUBDIRS= ...            [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work ...
 * Preparing vmmon module
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.26-tuxonice'
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-r1/work/vmmon-only/linux/driver.o
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.c:171: error: unknown field 'nopage' specified in initializer
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.c:172: warning: initialization from incompatible pointer type
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.c:175: error: unknown field 'nopage' specified in initializer
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.c:176: warning: initialization from incompatible pointer type
make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.o] Error 1
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.26-tuxonice'
make: *** [vmmon.ko] Error 2
 *
 * ERROR: app-emulation/vmware-modules-1.0.0.15-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3222:  Called linux-mod_src_compile
 *             environment, line 2441:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"                           CC=\"$(get-KERNEL_CC)\"                                          LDFLAGS=\"$(get_abi_LDFLAGS)\"                                               ${BUILD_FIXES}              ${BUILD_PARAMS}                                          ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc LDFLAGS=   auto-build VMWARE_VER=VME_S1B1 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/2.6.26-tuxonice/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-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/temp/environment'.
 * This ebuild used the following eclasses from overlays:
 *   /usr/portage/local/layman/vmware/eclass/vmware-mod.eclass
 *   /usr/portage/local/layman/vmware/eclass/vmware.eclass
 *

 * Messages for package app-emulation/vmware-modules-1.0.0.15-r1:

 *
 * ERROR: app-emulation/vmware-modules-1.0.0.15-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3222:  Called linux-mod_src_compile
 *             environment, line 2441:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"                           CC=\"$(get-KERNEL_CC)\"                                          LDFLAGS=\"$(get_abi_LDFLAGS)\"                                               ${BUILD_FIXES}              ${BUILD_PARAMS}                                          ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CC=i686-pc-linux-gnu-gcc LDFLAGS=   auto-build VMWARE_VER=VME_S1B1 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/2.6.26-tuxonice/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-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/temp/environment'.
 * This ebuild used the following eclasses from overlays:
 *   /usr/portage/local/layman/vmware/eclass/vmware-mod.eclass
 *   /usr/portage/local/layman/vmware/eclass/vmware.eclass
 *