# /opt/vmware/workstation/bin/vmware-config.pl Making sure services for VMware Workstation are stopped. * ERROR: "vmware" has not yet been started. Configuring fallback GTK+ 2.4 libraries. 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 kernel? [/usr/src/linux/include] Extracting the sources of the vmmon module. Building the vmmon module. Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config1/vmmon-only' make -C /usr/src/linux/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-2.6.16-gentoo' CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o In file included from /tmp/vmware-config1/vmmon-only/linux/driver.h:20, from /tmp/vmware-config1/vmmon-only/linux/driver.c:49: /tmp/vmware-config1/vmmon-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined /tmp/vmware-config1/vmmon-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined In file included from /tmp/vmware-config1/vmmon-only/linux/driver.h:20, from /tmp/vmware-config1/vmmon-only/linux/driver.c:49: /tmp/vmware-config1/vmmon-only/./include/compat_wait.h:60: error: conflicting types for 'poll_initwait' include/linux/poll.h:45: error: previous declaration of 'poll_initwait' was here/tmp/vmware-config1/vmmon-only/./include/compat_wait.h:60: error: conflicting types for 'poll_initwait' include/linux/poll.h:45: error: previous declaration of 'poll_initwait' was here/tmp/vmware-config1/vmmon-only/linux/driver.c:145: warning: initialization from incompatible pointer type /tmp/vmware-config1/vmmon-only/linux/driver.c:149: warning: initialization from incompatible pointer type make[2]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] Error 1 make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.16-gentoo' make: *** [vmmon.ko] Error 2 make: Leaving directory `/tmp/vmware-config1/vmmon-only' Unable to build the vmmon module. For more information on how to troubleshoot module-related problems, please visit our Web site at "http://www.vmware.com/download/modules/modules.html" and "http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html". Execution aborted. # emerge info Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.16-gentoo x86_64) ================================================================= System uname: 2.6.16-gentoo x86_64 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System version 1.6.14 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -mtune=nocona -march=nocona -fomit-frame-pointer -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mtune=nocona -march=nocona -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distcc_ distlocks maketest_ sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="it_IT.UTF-8" LC_ALL="it_IT.UTF-8" LINGUAS="ar en_GB it it_IT" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac aalib acpi alsa apache2 audiofile avi bash-completion berkdb bidi bitmap-fonts bluetooth bonobo browserplugin bzip2 cairo caps cddb cdr cgi chroot cjk cli crypt ctype cups curl dba dbus directfb dri dts dv dvd dvdr dvdread eds emboss encode esd ethereal evo exif expat fam fame fastbuild fbcon ffmpeg firefox flac flash foomaticdb force-cgi-redirect fortran freetype ftp gcj gd gdbm gif gimp gimpprint glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl idea idn ieee1394 imagemagick imap imlib ipv6 ithreads jack java jpeg junit lcms libcaca libclamav libedit libwww live lm_sensors lzo lzw lzw-tiff mad matroska memlimit mhash mikmod ming mjpeg mng motif mozilla mozsvg mp3 mpeg mule musicbrainz mysql nautilus ncurses nfs nls nptl nsplugin ogg oggvorbis opengl oss pam pcre pda pdflib perl php pic png posix ppds python qmail qt quicktime quotas readline real recode rtc samba scanner sdl server session simplexml slang smp sndfile soap sockets speex spell spl ssl svg symlink tcltk tetex theora threads tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb v4l vcd vhosts vorbis wxgtk1 wxwindows xine xml xml2 xmms xpm xsl xv xvid zlib video_cards_fglrx input_devices_keyboard input_devices_mouse linguas_ar linguas_en_GB linguas_it linguas_it_IT userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Using 2.16 I haven't gotten as far as the bug reporter. When I execute vmware-config.pl, All I get is the following: (..snip..) What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] The kernel defined by this directory of header files does not have the same address space size as your running kernel. (..) An apparent solution is visible in the forums, at the following url: http://forums.gentoo.org/viewtopic-p-3199903.html#3199903 This in term refers to a discussion URI, and a patch at resp.: http://www.vmware.com/community/thread.jspa?messageID=371849񚲉 http://ftp.cvut.cz/vmware/vmware-any-any-update98.tar.gz
I was experiencing the issue in comment #1 (headers/memsplit not matching), so I applied applied the patch from the forums (which just skips the check). I got farther, but now I'm running into this bug. Count this as a confirmation. I'm running a freshly-built 2006.0 system optimized for desktop/media use as outlined below. ### emerge info Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.16.1 i686) ================================================================= System uname: 2.6.16.1 i686 AMD Athlon(TM) XP 3200+ Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-pipe -Os -march=athlon-xp -fomit-frame-pointer -ffast-math -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-pipe -Os -march=athlon-xp -fomit-frame-pointer -ffast-math -mfpmath=sse" DISTDIR="/usr/local/portage-distdir" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/" MAKEOPTS="-j3" PKGDIR="/usr/local/portage-packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/mnt/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 3dnow X a52 aac acpi alsa apache2 apm audiofile avi berkdb bitmap-fonts browserplugin bzip2 cairo cdda cdr cli crypt ctype cups curl daap dba dri dv dvd dvdread emboss encode erandom exif expat fam fastbuild ffmpeg flac foomaticdb force-cgi-redirect ftp gd gdbm gif glibc-omitfp glitz gpm gstreamer gtk gtk2 hal idn ieee1394 imagemagick imlib ithreads java jpeg jpeg2k kde kdeenablefinal kerberos lcms ldap libg++ libwww lm_sensors mad memlimit mikmod mmx mng motif mp3 mp4 mpeg ncurses nls nptl nptlonly nsplugin ogg opengl oss pam pcre pdflib perl png posix python qt quicktime readline samba sdl session simplexml soap sockets spell spl sse ssl stream symlink tcpd theora threads tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l vcd video_cards_ati video_cards_i810 vorbis wxwindows x264 xml xml2 xsl xv xvid zeroconf zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Why does nobody *ever* list the ebuild version *or* the actual package name? You guys do know that there is no "vmware" package in the tree, right? There's actually a *few* vmware-* packages, though. Please be specific in the future. Anyway, I've tested vmware-player 1.0.1 and vmware-workstation 4.5 and 5.5 against my 2.6.16 build on my amd64 and everything appears to be working fine with the new revisions. Thanks for the bug report, it really is appreciated, even if I don't always make it sound like it is... :P
Sorry to say, but this bug is still there for me. I did emerge --sync, set the ~x86 keyword on vmware-workstation to emerge 5.5.1.19175-r2 and of course did the actual emerge vmware-workstation. I still get the error: The kernel defined by this directory of header files does not have the same address space size as your running kernel. when running vmware-config.pl I use kernel 2.6.16-gentoo-r1. In the Changelog I see that you fixed it for the 2G/2G memory split but I used the offered default of 3G/1G split. So please reopen this bug.
I tested it with both and have been unable to reproduce this after the patches. Please list the actual error output.
Sorry but that really is the output, and since /usr/src/linux/include is really the include directory I never get further than that point and stop it with ^C. Output of vmware-config.pl: Making sure services for VMware Workstation are stopped. * ERROR: "vmware" has not yet been started. Configuring fallback GTK+ 2.4 libraries. 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 kernel? [/usr/src/linux/include] The kernel defined by this directory of header files does not have the same address space size as your running kernel. What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]
If you need it, here is the output of emerge info of my system: pa3ebv ~ # emerge info Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r3, 2.6.16-gentoo-r1 i686) ================================================================= System uname: 2.6.16-gentoo-r1 i686 AMD Sempron(tm) 2800+ Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.8.1-r1, 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -g -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -g -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://194.117.143.71/mirrors/gentoo http://194.117.143.70" LC_ALL="nl_NL@euro" LINGUAS="us nl" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex Gtk X Xaw3d a52 aac acl alsa apm arts artswrappersuid audiofile avi berkdb bitmap-fonts bonobo bzip2 cdparanoia cdr crypt cups curl debug divx4linux dri dts dvd dvdr dvdread eds emboss encode esd exif expat fam ffmpeg flac font-server foomaticdb fortran gd gdbm ggi gif glut gnome gpm gstreamer gtk gtk2 gtkhtml guile howl idn imagemagick imlib isdnlog jack java javascript jikes jpeg jpeg2k junit kde kig-scripting lcms ldap libg++ libwww logitech-mouse lzo mad matroska mikmod mjpeg mmx mmx2 mng motif mozilla mp3 mpeg ncurses nls odbc ogg oggvorbis openal opengl oss pam pcre pda pdflib perl plotutils png ppds pppd python qt quicktime readline samba scanner sdk sdl slang spell sse ssl svga tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis wmf xine xml xml2 xmms xprint xv xvid zlib linguas_us linguas_nl userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, PORTDIR_OVERLAY
HAHAHAHAHHAA... I forgot to add the stupid patch to the ebuild in CVS. Anyway, this should be fixed. I didn't revision bump the ebuild, so emerge --sync and make sure it is pulling in config3.patch before trying again.
gentoo-sourec 2.6.16-gentoo vmware-workstation 5.5.1.19175
Ok that helped. Vmware-config.pl now made the modules without problems. Thanks.
*** Bug 129334 has been marked as a duplicate of this bug. ***
Fixed it for me too, cheers :) Steph