Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 342193

Summary: [vmware overlay] app-emulation/vmware-modules-238.2 doesn't compile with kernel 2.6.36
Product: Gentoo Linux Reporter: Ján Bednár <jan.bednar>
Component: Current packagesAssignee: Gentoo VMWare Bug Squashers [disabled] <vmware+disabled>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: m.debruijne, mmw, peter
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
vmware-modules-238.2.ebuild
ioctl.patch
sk_sleep_new.patch
vmware supplied patch for 2.6.36

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.