Summary: | app-emulation/vmware-modules-1.0.0.15-r2 fails to build with sys-kernel/gentoo-sources-{2.6.29-{r2,r5},2.6.30-r5} | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | velladecin <velladecin> |
Component: | Current packages | Assignee: | Gentoo VMWare Bug Squashers [disabled] <vmware+disabled> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | alixelinux, andreabenini, anmaster, bug, gert, lists, ralfeus, rossi.f, saffi, sbasurtoj, sebastian, smparkes, vugluskr, weigt.mathias, willard.dawson |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 264722 | ||
Attachments: |
vmmon module patch for kernels 2.6.29 and 2.6.30
vmnet module patch for kernels 2.6.29 and 2.6.30 patch to export init_mm symbol in kernels 2.6.29 and 2.6.30 corrected version of vmnet patch above Output of patch step |
Description
velladecin
2009-06-08 10:22:16 UTC
*** Bug 273193 has been marked as a duplicate of this bug. *** Unfortunately this bug probably will stay unsolved for a while as our vmware herd currently has no maintainer. (In reply to comment #2) > Unfortunately this bug probably will stay unsolved for a while as our vmware > herd currently has no maintainer. > I found a patch or new version of the modules at http://www.it-psycho.de/2009/03/29/vmware-server-108-und-kernel-2629 The site is in German but there are two downloads at the beginning. Althou the url talks about server-108 I am not sure if the dowloadable file do not belong to VMWare Server 2.X Konstantin OK for those that really need it: I can confirm, that if one patches the kernel to export the init_mm symbol and then builds vmmon and vmnet from the site mentioned above this will result in a working vmware-server with gentoo-sources-2.6.29-r5 Cheers, Konstantin This seems to be the same problem as in http://bugs.gentoo.org/show_bug.cgi?id=264098 Created attachment 197271 [details, diff] vmmon module patch for kernels 2.6.29 and 2.6.30 This patch fixes vmmon module for kernels 2.6.29 and 2.6.30. Although, in both cases the kernel must also be patched to export the init_mm symbol. To use this patch, make a copy of the vmware-modules package in your local overlay and copy this file to app-emulation/vmware-modules/files/patches/vmmon and regenerate the digest for the ebuild as usual. I didn't make this patch, just converted it to work with the vmware-modules-1.0.0.15-r2 ebuild, so don't ask me if it fails. Original source is: http://www.insecure.ws/2009/04/21/vmware-specific-specific-55x-and-kernel-2629 Created attachment 197273 [details] vmnet module patch for kernels 2.6.29 and 2.6.30 This patch fixes vmnet module for kernels 2.6.29 and 2.6.30. Although, in both cases the kernel must also be patched to export the init_mm symbol. To use this patch, make a copy of the vmware-modules package in your local overlay and copy this file to app-emulation/vmware-modules/files/patches/vmnet and regenerate the digest for the ebuild as usual. I didn't make this patch, just converted it to work with the vmware-modules-1.0.0.15-r2 ebuild, so don't ask me if it fails. Original source is: http://www.insecure.ws/2009/04/21/vmware-specific-specific-55x-and-kernel-2629 Created attachment 197274 [details, diff] patch to export init_mm symbol in kernels 2.6.29 and 2.6.30 This kernel patch is required to make vmware-modules-1.0.0.15-r2 work on kernels > 2.6.28. Apply with patch -p1 inside the kernel source root and rebuild the kernel with make clean && make && make modules_install. Original source: http://www.insecure.ws/2009/04/21/vmware-specific-specific-55x-and-kernel-2629 Created attachment 199335 [details, diff]
corrected version of vmnet patch above
In the original patch bridge.c.orig was patched too (which is an artifact on the original authors file structure) therefore the patch failed and I corrected it (by throwing away the unnecessary patch)
I can confirm the patches are working fine here. Thanks Two patches are in the tree: +files/patches/vmmon/050_all_kernel-2.6.29.patch, +files/patches/vmnet/040_all_kernel-2.6.29.patch *** Bug 264098 has been marked as a duplicate of this bug. *** *** Bug 282743 has been marked as a duplicate of this bug. *** The 2.6.29 patches (at least the vmmon one) break module installation on 2.6.28. 2.6.28 compilation failure: CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.o /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c: In function 'LinuxDriver_Open': /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:575: error: 'struct task_struct' has no member named 'cred' /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c: In function '__LinuxDriver_Ioctl': /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1496: error: implicit declaration of function 'prepare_creds' /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1496: warning: assignment makes pointer from integer without a cast /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1501: error: dereferencing pointer to incomplete type /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1502: error: dereferencing pointer to incomplete type /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1503: error: implicit declaration of function 'commit_creds' /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1768: error: dereferencing pointer to incomplete type /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1769: error: dereferencing pointer to incomplete type /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1770: error: dereferencing pointer to incomplete type /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1770: error: dereferencing pointer to incomplete type /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1771: error: dereferencing pointer to incomplete type /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:1771: error: dereferencing pointer to incomplete type (In reply to comment #15) > 2.6.28 compilation failure: > Thanks you for the report. I reverted to the previous state. 02 Sep 2009; Vadim Kuznetsov vadimk@gentoo.org -files/patches/vmmon/050_all_kernel-2.6.29.patch, -files/patches/vmnet/040_all_kernel-2.6.29.patch: revert previous commit. Bug 273173 *** Bug 288300 has been marked as a duplicate of this bug. *** *** Bug 288735 has been marked as a duplicate of this bug. *** (In reply to comment #16) > (In reply to comment #15) > > 2.6.28 compilation failure: > > > Thanks you for the report. I reverted to the previous state. > > 02 Sep 2009; Vadim Kuznetsov vadimk@gentoo.org > -files/patches/vmmon/050_all_kernel-2.6.29.patch, > -files/patches/vmnet/040_all_kernel-2.6.29.patch: > revert previous commit. Bug 273173 > Hi. I am trying to install vmware-server 1.0.9 with a 2.6.30-tuxonice-r6 kernel, and emerge =vmware-modules-1.0.0.15-r2 fails with the "poll_initwait" error. Following the directions in this bugzilla bug, I tried to apply the vmmon/vmnet patches for kernel 2.6.29 with no success: the emerge process fails when trying to apply any of the two patches. I'm attaching the output of the patch step as suggested by emerge: 050_all_kernel-2.6.29.patch-9061.out I am quite a new to patching, bugzilla and ebuilds in general, so I do not understand much about this log. I only understand that some files seem to be missing from the work directory where portage it trying to build vmware-modules. Any suggestion? Created attachment 216747 [details]
Output of patch step
Output of patch step of overlay ebuild for vmware-modules-1.0.0.15-r2 with 2.6.30-tuxonice-r6 kernel
vmware-server 1.0.x and vmware-modules-1.0.0.1x are not in the portage anymore. Bug 354383. |