Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 342193 - [vmware overlay] app-emulation/vmware-modules-238.2 doesn't compile with kernel 2.6.36
Summary: [vmware overlay] app-emulation/vmware-modules-238.2 doesn't compile with kern...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-22 14:00 UTC by Ján Bednár
Modified: 2010-11-04 02:25 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,7.96 KB, text/plain)
2010-10-22 14:02 UTC, Ján Bednár
Details
vmware-modules-238.2.ebuild (vmware-modules-238.2.ebuild,1.96 KB, text/plain)
2010-10-22 14:03 UTC, Ján Bednár
Details
ioctl.patch (ioctl.patch,526 bytes, patch)
2010-10-22 14:04 UTC, Ján Bednár
Details | Diff
sk_sleep_new.patch (sk_sleep_new.patch,3.65 KB, patch)
2010-10-22 14:05 UTC, Ján Bednár
Details | Diff
vmware supplied patch for 2.6.36 (vmware-7.1-2.6.36-generic.patch,9.42 KB, patch)
2010-10-23 00:59 UTC, Mark R. Pariente
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ján Bednár 2010-10-22 14:00:42 UTC
Here is the error:

make -j2 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= auto-build VMWARE_VER=VME_V65 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/2.6.36/build 
Using 2.6.x kernel build system.
make -C /lib/modules/2.6.36/build SUBDIRS=$PWD SRCROOT=$PWD/. \
          MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-2.6.36'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-238.2/work/vmmon-only/linux/driver.o
/var/tmp/portage/app-emulation/vmware-modules-238.2/work/vmmon-only/linux/driver.c: In function ‘init_module’:
/var/tmp/portage/app-emulation/vmware-modules-238.2/work/vmmon-only/linux/driver.c:425: error: ‘struct file_operations’ has no member named ‘ioctl’
make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-238.2/work/vmmon-only/linux/driver.o] Error 1
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-238.2/work/vmmon-only] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.36'
make: *** [vmmon.ko] Error 2


Reproducible: Always
Comment 1 Ján Bednár 2010-10-22 14:02:18 UTC
Created attachment 251577 [details]
build.log

build.log
Comment 2 Ján Bednár 2010-10-22 14:03:54 UTC
Created attachment 251579 [details]
vmware-modules-238.2.ebuild

Changed vmware-modules-238.2.ebuild ebuild
Comment 3 Ján Bednár 2010-10-22 14:04:52 UTC
Created attachment 251581 [details, diff]
ioctl.patch

ioctl.patch
Comment 4 Ján Bednár 2010-10-22 14:05:14 UTC
Created attachment 251583 [details, diff]
sk_sleep_new.patch

sk_sleep_new.patch
Comment 5 Ján Bednár 2010-10-22 14:07:30 UTC
Just attached slightly changed ebuild with two patches. Please review it and bump into overlay.
Comment 6 Mark R. Pariente 2010-10-23 00:59:23 UTC
Created attachment 251655 [details, diff]
vmware supplied patch for 2.6.36
Comment 7 Mark R. Pariente 2010-10-23 00:59:54 UTC
I found the attached patch (vmware-7.1-2.6.36-generic.patch) on vmware communities forum:

http://communities.vmware.com/thread/286119

Applied cleanly against vmware-modules-238.2.ebuild and everything works fine. This patch fixes one more issue (the iommu compile errors) that the two uploaded patches (ioctl.patch, sk_sleep_new.patch) do not address.
Comment 8 Martin Samek 2010-10-27 08:22:21 UTC
Please bump patches to the overlay.
Comment 9 Vadim Kuznetsov (RETIRED) gentoo-dev 2010-10-31 12:27:31 UTC
overlay is patched. changeset 429. Thanks.
Comment 10 Mark R. Pariente 2010-11-04 02:25:22 UTC
Thanks, 238.2-r1 compiles fine against 2.6.36.