When I run vmware-config.pl on my ~x86 system running the kernel Linux 2.4.26, it fails to build the vmnet module. I think this is related to enabled SCTP support in my kernel (new option in 2.4.26, search for SCTP here: http://ftp.cvut.cz/vmware/readme.txt) Could this be related to bug #49163? Here's the log of running vmware-config.pl: aconite root # vmware-config.pl Making sure VMware Workstation's services are stopped. Stopping VMware services: Virtual machine monitor done Bridged networking on /dev/vmnet0 done DHCP server on /dev/vmnet8 done NAT service on /dev/vmnet8 done Host-only networking on /dev/vmnet8 done Virtual ethernet done Trying to find a suitable vmmon module for your running kernel. None of VMware Workstation's pre-built vmmon modules 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? [/lib/modules/2.4.26/build/include] Extracting the sources of the vmmon module. Building the vmmon module. Using standalone build system. make: Entering directory `/tmp/vmware-config2/vmmon-only' make[1]: Entering directory `/tmp/vmware-config2/vmmon-only' make[2]: Entering directory `/tmp/vmware-config2/vmmon-only/driver-2.4.26' make[2]: Leaving directory `/tmp/vmware-config2/vmmon-only/driver-2.4.26' make[2]: Entering directory `/tmp/vmware-config2/vmmon-only/driver-2.4.26' make[2]: Leaving directory `/tmp/vmware-config2/vmmon-only/driver-2.4.26' make[1]: Leaving directory `/tmp/vmware-config2/vmmon-only' make: Leaving directory `/tmp/vmware-config2/vmmon-only' The module loads perfectly in the running kernel. Extracting the sources of the vmnet module. Building the vmnet module. Using standalone build system. make: Entering directory `/tmp/vmware-config2/vmnet-only' bridge.c: In function `VNetBridgeReceiveFromVNet': bridge.c:346: error: structure has no member named `sk_wmem_alloc' make: *** [bridge.o] Error 1 make: Leaving directory `/tmp/vmware-config2/vmnet-only' Unable to build the vmnet 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.
Please attach your kernel config and list your "emerge info"
Created attachment 30284 [details] .config from Linux 2.4.26
Output of emerge info: Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.4.26) ================================================================= System uname: 2.4.26 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.4.9 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d aalib alsa apm arts berkdb cdr cjk crypt cups dga directfb dvd emacs encode esd faad fbcon fftw flac gdbm gif ginac gnome gphoto2 gpm gstreamer gtk gtk2 imlib jack java jpeg ldap leim libg++ libwww lirc mad matroska mikmod mmx mng motif mozilla moznocompose moznoirc moznomail mozsvg mpeg mule mysql ncurses nls oggvorbis opengl oss pam pdflib perl plotutils png ppds python qhull qt quicktime radeon readline scanner sdk sdl slang spell sse ssl tcltk tcpd tetex theora tiff truetype usb v4l video_cards_radeon wxwindows x86 xinerama xml xml2 xmms xosd xv xvid zlib"
It could be related or it might not be related at all. Unfortunately, we can't make that assumption, since bug #49163 is for amd64, which is an unsupported platform for VMware. I'll have to look into this one a bit closer before I can come to any conclusions.
vmnet-only/compat_sock.h has a problem with kernel 2.4.26 Change on line 12 in this file ------------------------------ #if !defined(sk_family) to #if !defined(sk_family) || (LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 0)) ----------------- It is successful on my system with vmware-workstation-4.5.1.7568 vanilla-sources-2.4.26 linux-headers-2.4.22
Does that also work with kernels <2.4.26?
Not tested with kernel < 2.4.26. But I think that is enough.
OK. Without knowing that it works with kernel <2.4.26 (such as gentoo-sources-2.4.25), I cannot add the patch. I don't want to fix it for one kernel and break it for all the others.
Yoo Taik-Yon's solution worked for me. Also using Linux 2.4.26.
Is this problem still occurring with either of the new (-r1 for 4.5.1 or 4.5.2) VMware ebuilds in portage? I really would like to get this resolved.
The problem seems to be resolved using the vmware-workstation-4.5.2.8848 in ~x86. Should I close this bug?
I got it. Thanks for letting me know that it is fixed now. =]