| Summary: | app-emulation/open-vm-tools-kmod-2012.05.21.724730 with kernel 3.6.1 - .../work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/inode.c:1820:36: error: 'struct hlist_head' has no member named 'next' | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Conrad Kostecki <conikost> |
| Component: | New packages | Assignee: | Vadim Kuznetsov (RETIRED) <vadimk> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | dark.knight.ita, vmware+disabled |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Linux 3.6 patch from VMWare Communities forum
make frozen accessor in vmsync module compatible with 3.6.x linux showing the difference between the version bumped open-vm-tools-kmod-9.2.2.893683.ebuild and open-vm-tools-kmod-2012.05.21.724730.ebuild in the vmware overlay. |
||
|
Description
Conrad Kostecki
2012-10-12 13:46:21 UTC
Portage 2.1.11.26 (default/linux/amd64/10.0/server, gcc-4.7.2, glibc-2.15-r3, 3.5.3-gentoo x86_64) ================================================================= System uname: Linux-3.5.3-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.2 Timestamp of tree: Fri, 12 Oct 2012 12:15:01 +0000 ccache version 3.1.8 [enabled] app-shells/bash: 4.2_p37 dev-lang/python: 2.7.3-r2, 3.2.3-r1 dev-util/ccache: 3.1.8 dev-util/cmake: 2.8.9-r1 dev-util/pkgconfig: 0.27.1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.10.5 sys-apps/sandbox: 2.6 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.12.4 sys-devel/binutils: 2.22.90 sys-devel/gcc: 4.7.2 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.6 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo helios ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O3 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mcx16 -msahf -pipe -fomit-frame-pointer -mfpmath=sse" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=core2 -O3 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mcx16 -msahf -pipe -fomit-frame-pointer -mfpmath=sse -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build=n" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://ftp.halifax.rwth-aachen.de/gentoo/" LANG="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,-z,now" LINGUAS="de" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_COMPRESS="gzip" PORTAGE_COMPRESS_FLAGS="-f9" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="amd64 bash-completion bzip2 cracklib cxx ftp gd gnutls gpm iconv icu idn ipv6 javascript jpeg jpeg2k lzma mmx multilib ncurses nls nntp nptl offensive pam png readline slang spell sqlite sse2 ssl svg symlink tcpd threads tiff truetype unicode vim-syntax xml zeroconf zlib" ALSA_PCM_PLUGINS="*" COLLECTD_PLUGINS="conntrack contextswitch cpu df disk dns entropy ethstat exec filecount interface irq load logfile memory network nfs openvpn ping processes protocols rrdtool swap table tcpconns uptime users" CURL_SSL="openssl" ELIBC="glibc" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="vmware" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON Newest Version 9.0.0 and 9.2.0 does also not compile and reports same error! Created attachment 326588 [details, diff] Linux 3.6 patch from VMWare Communities forum I found this forum post: http://communities.vmware.com/message/2129675 I extracted the patch from that script, and it patches cleanly on open-vm-tools-kmod-2012.05.21.724730 in the vmware overlay, and the module builds on gentoo-sources-3.6.2. Haven't tested it with portage in-tree ebuild. Hi Mads, thanks! This Patch works fine here. tested patch on two identical VMs. Tools do behave weird; Things do crash on one vm while things pretend to behave on the other one. (In reply to comment #3) > Linux 3.6 patch from VMWare Communities forum > > I found this forum post: http://communities.vmware.com/message/2129675 > > I extracted the patch from that script, and it patches cleanly on > open-vm-tools-kmod-2012.05.21.724730 in the vmware overlay, and the module > builds on gentoo-sources-3.6.2. Haven't tested it with portage in-tree > ebuild. Thank you. Tried your mentioned patch, works like a charm. I tested it with open-vm-tools-9.2.0, no problems so far. Created attachment 329108 [details, diff]
make frozen accessor in vmsync module compatible with 3.6.x linux
That's my patch :)
Now that the project has released 9.2.2, a better solution is probably to version-bump both open-vm-tools and open-vm-tools-kmod to "9.2.2.893683".
Aside from applying this patch, no changes to the 2012.05.21.724730 ebuild in vmware-overlay git were needed to make this compile (I haven't rebooted and tested yet, however... so caveat emptor!)
Note that you'll need to mask the open-vm-tools versions that start with four-digit years (i.e.: from my /etc/portage/package.mask/open-vm-tools:
=app-emulation/open-vm-tools-kmod-2012.05.21.724730
=app-emulation/open-vm-tools-kmod-2012.03.13.651368-r1
=app-emulation/open-vm-tools-2012.05.21.724730
=app-emulation/open-vm-tools-2012.03.13.651368-r1
), or else portage will consider these versions to be newer... not sure what the best way to deal with that really is... maybe rename the ebuilds to something starting with a date.
I'll put another post in this bug if and when I discover that this causes some kind of disaster when you actually load the modules :)
Created attachment 329112 [details, diff]
showing the difference between the version bumped open-vm-tools-kmod-9.2.2.893683.ebuild and open-vm-tools-kmod-2012.05.21.724730.ebuild in the vmware overlay.
Seems to work OK on my ~x86 vm with kenrel 3.6.6 (still haven't tested X11, however). This patch shows the tiny modification I made to the ebuild after version-bumping it (it just applies the patch -- nothing to it).
Thank you! Can see it has hit the vmware overlay :)
I suggest another /etc/portage/package.mask/open-vm-tools:
>=app-emulation/open-vm-tools-kmod-2012
>=app-emulation/open-vm-tools-2012
Then you get rid of the issue completely...
open-vm-tools-9.2.2.893683::vmware fails the configure stage at my machine with this statement:
> checking for getstat in -lproc... no
> checking for getstat in -lproc-3.2.8... no
> checking for getstat in -lproc-3.2.7... no
> configure: error: libproc not found. Please configure without procps (using --without-procps) or install procps - http://procps.sourceforge.net
Should I make a new bug report for it? Can I do that, since it's in vmware-overlay?
*open-vm-tools-kmod-9.2.2.893683 (09 Dec 2012) *open-vm-tools-kmod-2012.10.14.874563 (09 Dec 2012) 09 Dec 2012; Vadim Kuznetsov vadimk@gentoo.org +files/frozen.patch, +open-vm-tools-kmod-2012.10.14.874563.ebuild, +open-vm-tools-kmod-9.2.2.893683.ebuild, -open-vm-tools-kmod-2012.03.13.651368-r1.ebuild: version bump. bug 438110 Thanks, please test. |