Summary: | vmware-modules-1.0.0.25* (needed by stable vmware-workstation-6*) cannot be compiled with new 2.6.39 kernel | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Melendro <melendro> |
Component: | Current packages | Assignee: | Vadim Kuznetsov (RETIRED) <vadimk> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | bugzilla-gentoo, edrozim, mephinet, openhs, pk1, quantumsummers, vmware+disabled |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch for vmware-modules-1.0.0.25 |
Description
Melendro
2011-07-17 17:20:45 UTC
Created attachment 280301 [details, diff] Patch for vmware-modules-1.0.0.25 Here is a patch I created (using http://communities.vmware.com/message/1784494 as a base and adapting it to work with already applied Gentoo patches). This makes -r3 compile and work, I haven't tested with -r4 (which is just about the same with a now erroneous kernel configuration check for the BKL). how to use it? if any full information. thanks a lot. never used patch before. (In reply to comment #2) > how to use it? if any full information. thanks a lot. never used patch before. Successfully got it work (In reply to comment #1) oops, looks like this patch works for vmware-modules-208.2 too, just needs to get rid of vmblock-only part, I am gonna do some test to see if it works for vmware-server 2. ok, I just confirm this patch works for vmware-modules-208.2 too, my vmware-server-2.0.2.203138-r4 have ran for 6 hrs without any problem seems 3D doesnt work and halted the vmware... if someone could confirm. I just installed Google Earth Pro trail, it used to work well, but now once I executed the program, vmware halted and have to reboot the system. Sorry forgot mention, the log file mks| GLUtil_InstallExtensionLists: Missing extension GL_ARB_vertex_blend mks| GLUtil_InstallExtensionLists: Missing extension GL_ARB_vertex_shader_texture_lod mks| GLUtil_InstallExtensionLists: Missing extension GL_ATI_vertex_shader_texture_lod mks| GLUtil_InstallExtensionLists: Missing extension GL_APPLE_fence mks| GLUtil_InstallExtensionLists: Missing extension GL_APPLE_flush_buffer_range The patch works fine for vmware-modules-1.0.0.25-r4. I created a local overlay, copied the patch to an overlay file I named: /usr/local/portage/app-emulation/vmware-modules/files/big_K_lock.patch then updated the following from the ebuild: BEFORE: pkg_setup() { if kernel_is ge 2 6 37; then CONFIG_CHECK="BKL" linux-info_pkg_setup fi .. src_prepare() { epatch "${FILESDIR}/${PV}-makefile-kernel-dir.patch" epatch "${FILESDIR}/${PV}-makefile-include.patch" epatch "${FILESDIR}/sched_h-2.6.32.patch" epatch "${FILESDIR}/${PV}-autoconf-generated.patch" epatch "${FILESDIR}/apic.patch" kernel_is ge 2 6 35 && epatch "${FILESDIR}/${PV}-sk_sleep.patch" kernel_is ge 2 6 36 && epatch "${FILESDIR}/${PV}-unlocked_ioctl.patch" kernel_is ge 2 6 37 && epatch "${FILESDIR}/${PV}-sema.patch" AFTER: pkg_setup() { if kernel_is le 2 6 38; then if kernel_is ge 2 6 37; then CONFIG_CHECK="BKL" linux-info_pkg_setup fi fi .. src_prepare() { epatch "${FILESDIR}/${PV}-makefile-kernel-dir.patch" epatch "${FILESDIR}/${PV}-makefile-include.patch" epatch "${FILESDIR}/sched_h-2.6.32.patch" epatch "${FILESDIR}/${PV}-autoconf-generated.patch" epatch "${FILESDIR}/apic.patch" kernel_is ge 2 6 35 && epatch "${FILESDIR}/${PV}-sk_sleep.patch" kernel_is ge 2 6 36 && epatch "${FILESDIR}/${PV}-unlocked_ioctl.patch" kernel_is ge 2 6 37 && epatch "${FILESDIR}/${PV}-sema.patch" kernel_is ge 2 6 39 && epatch "${FILESDIR}/${PV}-big_K_lock.patch" Limited testing and works for the program I normally use in virtual clients. Hello! Who can say where i want to apply this patch (10.0.0.25-kernel-2.6.39.patch) and how? I reemerge vmware-modules with that patch. Thanks this small manual: " That's almost it-- 1) copy the ebuild and /files folder to your overlay (/usr/local/portage/media-sound/aumix/, assuming that your PORTDIR_OVERLAY is /usr/local/portage); 2) copy the patch to the /files folder in the overlay folder with the other aumix patches; 3) edit the following section of the overlay ebuild copy: src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${P}-nohome.patch epatch ${FILESDIR}/${P}-close-dialogs.patch epatch ${FILESDIR}/${P}-save_load.patch epatch ${FILESDIR}/${P}-nls.patch to src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${P}-nohome.patch epatch ${FILESDIR}/${P}-close-dialogs.patch epatch ${FILESDIR}/${P}-save_load.patch epatch ${FILESDIR}/${P}-nls.patch ==> epatch ${FILESDIR}/${P}-autoconf.patch Save (of course), redigest (ebuild /usr/local/portage/media-sound/aumix/aumix-2.8-r2.ebuild digest), emerge. " Any plans on inserting the patch into main portage tree? The patch is almost 2 months old now, I think it is more than enough time to approve it, specially when it solves a problem that breaks a stable system. Why is this bug in the UNCONFIRMED status? It's really easy to confirm it: just try to emerge vmware-workstation in an stable system (stable vmware-workstation-6.5.5.328052 with stable gentoo-sources-2.6.39-r3). Confirm reproducing problem for x86 for kernel 3.0.3 . Also confirm that applying patch solve issue . P.S. Special thanks to seller@mail.ru for clear steps how to apply the patch . What is blocking this? I see this issue on the current stable kernel (3.0.6). Tested the patch in the following combination, works fine: Linux 3.0.6-gentoo x86_64 vmware-modules-1.0.0.25-r3 (with attached patch) vmware-player-2.5.5.328052 please stabilize. Workstation 6 and its modules age no longer in the tree. Modules for workstation 7 are patched. Thanks. |