Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224393 - [vmware overlay] app-emulation/vmware-modules-1.0.0.19
Summary: [vmware overlay] app-emulation/vmware-modules-1.0.0.19
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-31 20:00 UTC by Tobias Margitan
Modified: 2008-06-08 13:59 UTC (History)
2 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 Tobias Margitan 2008-05-31 20:00:06 UTC
Hi there, i tried several different kernel versions between 2.6.24 and 2.6.26 nothing worked...

thx for help :)

>>> Emerging (1 of 2) app-emulation/vmware-modules-1.0.0.19 to /
 * VMware-workstation-e.x.p-91182.x86_64.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                   [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking VMware-workstation-e.x.p-91182.x86_64.tar.gz ;-) ...          [ ok ]
 * This profile has not been tested thoroughly and is not considered to be
 * a supported server profile at this time.  For a supported server
 * profile, please check the Hardened project (http://hardened.gentoo.org).

 * This profile is merely a convenience for people who require a more
 * minimal profile, yet are unable to use hardened due to restrictions in
 * the software being used on the server. This profile should also be used
 * if you require GCC 4.1 or Glibc 2.4 support. If you don't know if this
 * applies to you, then it doesn't and you should probably be using
 * Hardened, instead.

 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.26-rc4
>>> Unpacking source...
>>> Unpacking VMware-workstation-e.x.p-91182.x86_64.tar.gz to /var/tmp/portage/a                                                                                            pp-emulation/vmware-modules-1.0.0.19/work
>>> Unpacking ./vmware-distrib/lib/modules/source//vmmon.tar to /var/tmp/portage                                                                                            /app-emulation/vmware-modules-1.0.0.19/work
 * Converting vmmon-only/Makefile to use M= instead of SUBDIRS= ...       [ ok ]
>>> Unpacking ./vmware-distrib/lib/modules/source//vmnet.tar to /var/tmp/portage                                                                                            /app-emulation/vmware-modules-1.0.0.19/work
 * Converting vmnet-only/Makefile to use M= instead of SUBDIRS= ...       [ ok ]
>>> Unpacking ./vmware-distrib/lib/modules/source//vmblock.tar to /var/tmp/porta                                                                                            ge/app-emulation/vmware-modules-1.0.0.19/work
 * Converting vmblock-only/Makefile to use M= instead of SUBDIRS= ...     [ ok ]
>>> Unpacking ./vmware-distrib/lib/modules/source//vmci.tar to /var/tmp/portage/                                                                                            app-emulation/vmware-modules-1.0.0.19/work
 * Converting vmci-only/Makefile to use M= instead of SUBDIRS= ...        [ ok ]
>>> Unpacking ./vmware-distrib/lib/modules/source//vsock.tar to /var/tmp/portage                                                                                            /app-emulation/vmware-modules-1.0.0.19/work
 * Converting vsock-only/Makefile to use M= instead of SUBDIRS= ...       [ ok ]
 * Applying 1.0.0.19-vsock-kernel-makefile.patch ...

 * Failed Patch: 1.0.0.19-vsock-kernel-makefile.patch !
 *  ( /usr/portage/local/layman/vmware/app-emulation/vmware-modules/files/1.0.0.                                                                                            19-vsock-kernel-makefile.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/app-emulation/vmware-modules-1.0.0.19/temp/1.0.0.19-vsock-                                                                                            kernel-makefile.patch-4475.out

 *
 * ERROR: app-emulation/vmware-modules-1.0.0.19 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 3277:  Called epatch '/usr/portage/local/layman                                                                                            /vmware/app-emulation/vmware-modules/files/1.0.0.19-vsock-kernel-makefile.patch'
 *             environment, line 1507:  Called die
 * The specific snippet of code:
 *                   die "Failed Patch: ${patchname}!";
 *  The die message:
 *   Failed Patch: 1.0.0.19-vsock-kernel-makefile.patch!
 *
 * If you need support, post the topmost build error, and the call stack if rele                                                                                            vant.
 * A complete build log is located at '/var/tmp/portage/app-emulation/vmware-mod                                                                                            ules-1.0.0.19/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmw                                                                                            are-modules-1.0.0.19/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
 *

Reproducible: Always




Portage 2.1.5.2 (default/linux/amd64/2008.0/server, gcc-4.2.4, glibc-2.7-r2, 2.6.26-rc4 x86_64)
=================================================================
System uname: 2.6.26-rc4 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Sat, 31 May 2008 11:33:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r4
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.62
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.10.1-r1
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.25-r3
ACCEPT_KEYWORDS="amd64 ~x86"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /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/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
LINGUAS="en"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/vmware"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="accessibility acl amd64 apache2 async authdaemond caps chroot crypt ctype curl dba dev-lang/php fortran gd gdbm geoip gpm imap ithreads javascript jpeg kerberos latin1 ldap libwww logrotate maildir mpm-threadpool mpm-worker multilib mysql ncurses netboot nls nptl nptlonly odbc pam pcre perl png samba sasl session simplexml slang snmp sockets ssl targrey tcltk tcpd threads tiff unicode webdav-serf winbind xml xml2 xtended zip 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so 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" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Noah Pritikin 2008-06-01 00:15:28 UTC
***** 1.0.0.19-vsock-kernel-makefile.patch *****

================================================

PATCH COMMAND:   patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/local/layman/vmware/app-emulation/vmware-modules/files/1.0.0.19-vsock-kernel-makefile.patch

================================================
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/vsock-only/Makefile.kernel b/vsock-only/Makefile.kernel
|index 69326f6..0904ef2 100644
|--- a/vsock-only/Makefile.kernel
|+++ b/vsock-only/Makefile.kernel
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
================================================

PATCH COMMAND:   patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/local/layman/vmware/app-emulation/vmware-modules/files/1.0.0.19-vsock-kernel-makefile.patch

================================================
patching file vsock-only/Makefile.kernel
Hunk #1 FAILED at 7.
1 out of 1 hunk FAILED -- saving rejects to file vsock-only/Makefile.kernel.rej
================================================

PATCH COMMAND:   patch -p2 -g0 -E --no-backup-if-mismatch < /usr/portage/local/layman/vmware/app-emulation/vmware-modules/files/1.0.0.19-vsock-kernel-makefile.patch

================================================
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/vsock-only/Makefile.kernel b/vsock-only/Makefile.kernel
|index 69326f6..0904ef2 100644
|--- a/vsock-only/Makefile.kernel
|+++ b/vsock-only/Makefile.kernel
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
================================================

PATCH COMMAND:   patch -p3 -g0 -E --no-backup-if-mismatch < /usr/portage/local/layman/vmware/app-emulation/vmware-modules/files/1.0.0.19-vsock-kernel-makefile.patch

================================================
missing header for unified diff at line 5 of patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/vsock-only/Makefile.kernel b/vsock-only/Makefile.kernel
|index 69326f6..0904ef2 100644
|--- a/vsock-only/Makefile.kernel
|+++ b/vsock-only/Makefile.kernel
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
================================================

PATCH COMMAND:   patch -p4 -g0 -E --no-backup-if-mismatch < /usr/portage/local/layman/vmware/app-emulation/vmware-modules/files/1.0.0.19-vsock-kernel-makefile.patch

================================================
missing header for unified diff at line 5 of patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/vsock-only/Makefile.kernel b/vsock-only/Makefile.kernel
|index 69326f6..0904ef2 100644
|--- a/vsock-only/Makefile.kernel
|+++ b/vsock-only/Makefile.kernel
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Comment 2 Noah Pritikin 2008-06-01 00:28:08 UTC
Looks like the Makefile.kernel file that the patch is targeted for doesn't have the code in it that the patch would have taken out if it succeeded.... why have the patch at all?  Now, that code _is_ in the Makefile file, but a different patch would need to be generated.  Am I way off?  Thanks! :)
Comment 3 Noah Pritikin 2008-06-01 00:33:31 UTC
Once I uncommented the patch in the ebuild and regenerated the manifest, the emerge of this package succeeded.
Comment 4 Noah Pritikin 2008-06-01 00:34:08 UTC
(In reply to comment #3)
> Once I uncommented the patch in the ebuild and regenerated the manifest, the
> emerge of this package succeeded.
> 

Ugh, I meant to say, "Once I COMMENTED out the patch..."  sorry. ;)
Comment 5 Mike Auty (RETIRED) gentoo-dev 2008-06-01 10:04:40 UTC
Sorry, the bug-wranglers having been having a hard time of it recently, so I've only just spotted this.  I'm reassigning it and I'll take a look into it when I have a bit more time...
Comment 6 Jose daLuz 2008-06-03 00:19:42 UTC
Same issue here, also on amd64.

Portage 2.1.5.3 (default-linux/amd64/2007.0/desktop, gcc-4.3.0, glibc-2.7-r2, 2.6.25-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
Timestamp of tree: Mon, 02 Jun 2008 22:36:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -ggdb -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe -ggdb -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS=""
LINGUAS="en"
MAKEOPTS="-j4"
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/local/overlays/paludis-extras /usr/local/overlays/sunrise /usr/local/overlays/gnome /usr/local/overlays/mainline /usr/local/overlays/desktop-effects /usr/local/overlays/vmware /usr/local/overlays/berkano /usr/local/overlays/myoverlay"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr bash-completion berkdb bluetooth bzip2 cairo cdda cdr cli cracklib crypt css cups dbus dri dts dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg flac fortran gdbm gif glitz gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde kdehiddenvisibility kerberos ldap libnotify mad midi mikmod mmx mono mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl pic png pppd python qt3support qt4 quicktime readline reflection ruby samba sdl session spell spl sqlite sse sse2 ssl svg tcpd theora tiff truetype unicode usb userlocales vcd vorbis x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="cmipci hdaintel" 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" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Jose daLuz 2008-06-07 17:34:58 UTC
Building with the patch commented out, it does build but the resulting modules fail to work. I can't get bridged networking to work at all, and NAT won't get an IP address. I get errors starting up VMs with bridged networking saying:

The network bridge on device /dev/vmnet0 is not running.  The virtual machine will not be able to communicate with the host or with other machines on your network.
Failed to connect virtual device Ethernet0.

This after uninstalling vwmare-modules and vmware-workstation, wiping the /etc/vmware directory, reinstalling the above two packages and re-running vmware-config.pl. This is with 2.6.25-gentoo-r4 and workstation 6.5.0.91182 from the overlay. This was working flawlessly prior to rebuilding recently, so I don't know if this is the missing patch or the fact that I just rebuilt everything with gcc 4.3.0.

I know, beta workstation from an overlay and not-ready-for-prime-time gcc. ;-) I am providing this for informational purposes in case it helps with fixing this.
Comment 8 Jose daLuz 2008-06-07 17:46:56 UTC
Forgot to mention, I also ended up with two notification area icons for the same single VM I had running.
Comment 9 Jose daLuz 2008-06-07 21:42:43 UTC
Dropping to vmware-modules 1.0.0.17-r1 and vmware-workstation 6.0.3.80004 from Portage, there are no problems. So perhaps gcc 4.3.0 has nothing to do with this, just the patch that won't apply?
Comment 10 Mike Auty (RETIRED) gentoo-dev 2008-06-07 21:49:00 UTC
Jose,

Sorry I haven't had chance to reply yet.  The patch that won't apply only relates to the vmblock module as far as I can tell, so if you're seeing weirdness elsewhere, that's probably not related to the patch.  Also the networking error suggests that you don't have the bridged interface set-up correctly, please try re-running the config.pl and choosing to re-entered your network settings to see if that will help.

Finally, I have been changing the source package that provides vmware-modules-1.0.0.19 recently because of vmware server 2 beta 2's release (not to mention the point release that requires new modules for just about *every* other vmware product).

I will try to get this looked at as soon as possible, but as you point out, it's beta software from an overlay so I'm afraid it'll get fixed when it gets fixed.  Sorry and thanks for your patience...
Comment 11 Jose daLuz 2008-06-07 22:06:06 UTC
(In reply to comment #10)
> The patch that won't apply only
> relates to the vmblock module as far as I can tell, so if you're seeing
> weirdness elsewhere, that's probably not related to the patch.  Also the
> networking error suggests that you don't have the bridged interface set-up
> correctly, please try re-running the config.pl and choosing to re-entered your
> network settings to see if that will help.

I deleted the interface in the VM, wiped the /etc/vmware directory, uninstalled and reinstalled vmware-modules and vmware-workstation, and re-ran vmware-config.pl and re-created the eth0 interface in the VM, so I don't think it was setup. After downgrading to the release version in Portage, the same config is working as I kept my networking settings when running vmware-config.pl. I remember seeing this same behavior in the first 6.5 beta release but it went away after the second beta with new vmware-modules.

> 
> I will try to get this looked at as soon as possible, but as you point out,
> it's beta software from an overlay so I'm afraid it'll get fixed when it gets
> fixed.  Sorry and thanks for your patience...

Not a problem, I can still run VMs with the release version. I was just providing as much info as possible in case others have similar problems.
Comment 12 Tobias Margitan 2008-06-08 10:18:36 UTC
Hi, removing the patch from the ebuid did it for me, vmware-server beta 2 runs smooth, altough the init script complains that the management doesnt start, but it does. I am quite happy since the idle load with 3 running vm's dropped from 1.2 to 0.1 :)
Comment 13 Mike Auty (RETIRED) gentoo-dev 2008-06-08 13:59:58 UTC
Hi guys,

Sorry, I think this may actually have already been fixed.  Could one of you please try updating your overlay (make sure you're at revision 284) and then see if rebuild vmware-modules works for you?  I seem to have commented out the vsock patch (which was causing the issues) and like I say, it shouldn't have affected anything else (I'd begin considering gcc-4.3.0 issues there if you're seeing weirdness).  Anyway, I'm going to mark this as closed, but if you think it isn't, feel free to prod me with some form of long stick type implement and I'll look at it again...  5;)