How compile Vmware Workstation 7 on Lucid Lynx 2.6.32

Bug #510981 reported by brentmlady
44
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Undecided
Unassigned
Nominated for Lucid by brentmlady

Bug Description

Compiling the Vmware Workstation 7 under 2.6.32 kernel crashes. To fix this problem you will need to add a line of code to the following files pgtbl.h and vnetUserListener.c

To do this follow these steps.

#cd tmp
#tar xf /usr/lib/vmware/modules/source/vmnet.tar
#tar xf /usr/lib/vmware/modules/source/vmci.tar
#cd vmnet-only
#nano vnetUserListener.c (you can use whatever editor you would like)
Under the #include "vnetInt.h" add the following #include "compat_sched.h"
exit the editor
#cd /tmp/vmci-only/include
#nano pgtbl.h (you can use whatever editor you would like)
Under the #include "compat_page.h" add the following #include "compat_sched.h"
exit the editor
#cd /tmp
#tar cf /usr/lib/vmware/modules/source/vmnet.tar vmnet-only
#tar cf /usr/lib/vmware/modules/source/vmci.tar vmci-only

Now Start VMware and it should now compile correctly

#sudo vmware

Tags: 2.6.32 fix vmware
Revision history for this message
trisa (dietisheim) wrote :

thanks for the detailed instructions.
Unfortunately this does not work for the installer. The VMWare Workstation installer crashes, too.

Revision history for this message
brentmlady (brentmlady-gmail) wrote : Re: [Bug 510981] Re: Fix for Vmware Workstation 7 compile on Lucid Lynx 2.6.32

Can you send me a dump of your compiler? If you type $sudo vmware it should
start the compiler. Can you also check the screen dump I did and compare it
to the vnetUserListener.c file on your system.

Thanks

Brent Mlady

Email: <email address hidden>

This e-mail is intended only for the use of the addressee and may contain
legally privileged and confidential information. If you are not the
addressee, you are notified that any transmission, distribution or
photocopying of this e-mail is strictly prohibited. The legal privilege and
confidentiality attached to the e-mail is not waived, lost or destroyed by
reason of a mistaken delivery to you. If you have received this e-mail in
error, please immediately notify me by e-mail and then delete from your
system.

On Thu, Apr 15, 2010 at 12:05 AM, trisa <email address hidden> wrote:

> thanks for the detailed instructions.
> Unfortunately this does not work for the installer. The VMWare Workstation
> installer crashes, too.
>
> --
> Fix for Vmware Workstation 7 compile on Lucid Lynx 2.6.32
> https://bugs.launchpad.net/bugs/510981
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Ubuntu: New
>
> Bug description:
> Compiling the Vmware Workstation 7 under 2.6.32 kernel crashes. To fix
> this problem you will need to add a line of code to the following files
> pgtbl.h and vnetUserListener.c
>
> To do this follow these steps.
>
> #cd tmp
> #tar xf /usr/lib/vmware/modules/source/vmnet.tar
> #tar xf /usr/lib/vmware/modules/source/vmci.tar
> #cd vmnet-only
> #nano vnetUserListener.c (you can use whatever editor you would like)
> Under the #include "vnetInt.h" add the following #include "compat_sched.h"
> exit the editor
> #cd /tmp/vmci-only/include
> #nano pgtbl.h (you can use whatever editor you would like)
> Under the #include "compat_page.h" add the following #include
> "compat_sched.h"
> exit the editor
> #cd /tmp
> #tar cf /usr/lib/vmware/modules/source/vmnet.tar vmnet-only
> #tar cf /usr/lib/vmware/modules/source/vmci.tar vmci-only
>
> Now Start VMware and it should now compile correctly
>
> #sudo vmware
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+bug/510981/+subscribe
>

Revision history for this message
trisa (dietisheim) wrote : Re: Fix for Vmware Workstation 7 compile on Lucid Lynx 2.6.32
Download full text (7.2 KiB)

I cannot run vmware, it is not installed yet and the installer crashes.
I looked through the files the installer creates in /tmp but I didn't find any of those files, so I'm unfortunately stuck. I'd appreciate a lot any help to fix this.

I run lucid with kernel 2.6.32-20-generic

Here's the console output I get:

*** glibc detected *** /tmp/vmis.r8ioRI/install/vmware-installer/vmis-launcher: double free or corruption (out): 0xb6157008 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(+0x6b581)[0x486581]
/lib/tls/i686/cmov/libc.so.6(+0x6cdd8)[0x487dd8]
/lib/tls/i686/cmov/libc.so.6(cfree+0x6d)[0x48aebd]
/tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so(PyObject_Free+0x5c)[0x23341c]
/tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so(+0x6353c)[0x23a53c]
/tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so(+0x55049)[0x22c049]
/tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so(PyDict_SetItem+0x7e)[0x22e05e]
/tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so(+0x2b290)[0x202290]
/tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so(PyObject_SetAttr+0xaf)[0x23149f]
/tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so(PyEval_EvalFrameEx+0x1edb)[0x2794ab]
/tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so(PyEval_EvalCodeEx+0x793)[0x27e6e3]
/tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so(PyEval_EvalFrameEx+0x50e7)[0x27c6b7]
/tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so(PyEval_EvalCodeEx+0x793)[0x27e6e3]
/tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so(PyEval_EvalFrameEx+0x50e7)[0x27c6b7]
/tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so(PyEval_EvalCodeEx+0x793)[0x27e6e3]
/tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so(+0x44eb0)[0x21beb0]
/tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so(PyObject_Call+0x37)[0x1fa4b7]
/tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so(+0x2ac32)[0x201c32]
/tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so(PyObject_Call+0x37)[0x1fa4b7]
/tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so(PyEval_CallObjectWithKeywords+0x7b)[0x2768cb]
/tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so(+0x2c8b3)[0x2038b3]
/tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so(PyEval_EvalFrameEx+0xa1e)[0x277fee]
/tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so(PyEval_EvalCodeEx+0x793)[0x27e6e3]
/tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so(PyEval_EvalFrameEx+0x50e7)[0x27c6b7]
/tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so(PyEval_EvalCodeEx+0x793)[0x27e6e3]
/tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so(PyEval_EvalFrameEx+0x50e7)[0x27c6b7]
/tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so(+0x3b9ff)[0x2129ff]
/tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so(PyEval_EvalFrameEx+0xa1e)[0x277fee]
/tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so(PyEval_EvalCodeEx+0x793)[0x27e6e3]
/tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so(PyEval_EvalFrameEx+0x50e7)[0x27c6b7]
/tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.s...

Read more...

Revision history for this message
brentmlady (brentmlady-gmail) wrote : Re: [Bug 510981] Re: Fix for Vmware Workstation 7 compile on Lucid Lynx 2.6.32
Download full text (9.7 KiB)

Is this a fresh install or a upgraded machine. Also is it 32 or 64
bit. Also what version of vmware are you trying to install? I will try
and recreate this problem once you get back to me.

Thanks

Brent Mlady

Email: <email address hidden>

This e-mail is intended only for the use of the addressee and may
contain legally privileged and confidential information. If you are
not the addressee, you are notified that any transmission,
distribution or photocopying of this e-mail is strictly prohibited.
The legal privilege and confidentiality attached to the e-mail is not
waived, lost or destroyed by reason of a mistaken delivery to you. If
you have received this e-mail in error, please immediately notify me
by e-mail and then delete from your system.

On 15/04/2010, at 10:39 PM, trisa <email address hidden> wrote:

> I cannot run vmware, it is not installed yet and the installer
> crashes.
> I looked through the files the installer creates in /tmp but I
> didn't find any of those files, so I'm unfortunately stuck. I'd
> appreciate a lot any help to fix this.
>
> I run lucid with kernel 2.6.32-20-generic
>
> Here's the console output I get:
>
> *** glibc detected *** /tmp/vmis.r8ioRI/install/vmware-installer/
> vmis-launcher: double free or corruption (out): 0xb6157008 ***
> ======= Backtrace: =========
> /lib/tls/i686/cmov/libc.so.6(+0x6b581)[0x486581]
> /lib/tls/i686/cmov/libc.so.6(+0x6cdd8)[0x487dd8]
> /lib/tls/i686/cmov/libc.so.6(cfree+0x6d)[0x48aebd]
> /tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so
> (PyObject_Free+0x5c)[0x23341c]
> /tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so
> (+0x6353c)[0x23a53c]
> /tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so
> (+0x55049)[0x22c049]
> /tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so
> (PyDict_SetItem+0x7e)[0x22e05e]
> /tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so
> (+0x2b290)[0x202290]
> /tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so
> (PyObject_SetAttr+0xaf)[0x23149f]
> /tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so
> (PyEval_EvalFrameEx+0x1edb)[0x2794ab]
> /tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so
> (PyEval_EvalCodeEx+0x793)[0x27e6e3]
> /tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so
> (PyEval_EvalFrameEx+0x50e7)[0x27c6b7]
> /tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so
> (PyEval_EvalCodeEx+0x793)[0x27e6e3]
> /tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so
> (PyEval_EvalFrameEx+0x50e7)[0x27c6b7]
> /tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so
> (PyEval_EvalCodeEx+0x793)[0x27e6e3]
> /tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so
> (+0x44eb0)[0x21beb0]
> /tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so
> (PyObject_Call+0x37)[0x1fa4b7]
> /tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so
> (+0x2ac32)[0x201c32]
> /tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so
> (PyObject_Call+0x37)[0x1fa4b7]
> /tmp/vmis.r8ioRI/install/vmware-installer/python/libpython.so
> (PyEval_CallObjectWithKeywords+0x7b)[0x2768cb]
> /tmp/vmis.r8ioRI/install/vm...

Read more...

Revision history for this message
trisa (dietisheim) wrote : Re: Fix for Vmware Workstation 7 compile on Lucid Lynx 2.6.32

it's a fresh install (did not upgrade from previously installed 9.10), there's no vmware workstation installed on it - that's pretty much what I try to achieve but fail, the installer crashes.
It's a 32bit installation running on a i7. The vmware version I tried is 7.0.

Revision history for this message
brentmlady (brentmlady-gmail) wrote : Re: [Bug 510981] Re: Fix for Vmware Workstation 7 compile on Lucid Lynx 2.6.32

Hey

I just tested a fresh install of lucid 32bit running 2.6.32.19 and 2.6.32.21
with vmware workstation 7.0.1 and everything worked without modifying
the original vnetUserListener.c or the pgtbl.h files that was needed in the
7.0.0 build ( I have not tested the 64 bit 7.0.1 to see if this is still
needed ). I downloaded VMware-Workstation-7.0.1-227600.i386.bundle without
vmware tools to save on the download ( I use 64 bit ubuntu and is a
different build all together ). Installed the following for the build ( $sudo
aptitude install linux-headers-`uname -r` build-essential xinetd ) and ran a
update as well ( $sudo aptitude upgrade | also tested prior to the update
but you should always keep your system updated).

I also uninstall 7.0.1 and tested the 7.0.0 and appears that the install
worked but you still need to modify the vnetUserListener.c and the pgtbl.h
files.

Try the 7.0.1 version of the workstation edition and let me know how you go.

Thanks

On Fri, Apr 16, 2010 at 8:48 AM, trisa <email address hidden> wrote:

> it's a fresh install (did not upgrade from previously installed 9.10),
> there's no vmware workstation installed on it - that's pretty much what I
> try to achieve but fail, the installer crashes.
> It's a 32bit installation running on a i7. The vmware version I tried is
> 7.0.
>
> --
> Fix for Vmware Workstation 7 compile on Lucid Lynx 2.6.32
> https://bugs.launchpad.net/bugs/510981
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Ubuntu: New
>
> Bug description:
> Compiling the Vmware Workstation 7 under 2.6.32 kernel crashes. To fix
> this problem you will need to add a line of code to the following files
> pgtbl.h and vnetUserListener.c
>
> To do this follow these steps.
>
> #cd tmp
> #tar xf /usr/lib/vmware/modules/source/vmnet.tar
> #tar xf /usr/lib/vmware/modules/source/vmci.tar
> #cd vmnet-only
> #nano vnetUserListener.c (you can use whatever editor you would like)
> Under the #include "vnetInt.h" add the following #include "compat_sched.h"
> exit the editor
> #cd /tmp/vmci-only/include
> #nano pgtbl.h (you can use whatever editor you would like)
> Under the #include "compat_page.h" add the following #include
> "compat_sched.h"
> exit the editor
> #cd /tmp
> #tar cf /usr/lib/vmware/modules/source/vmnet.tar vmnet-only
> #tar cf /usr/lib/vmware/modules/source/vmci.tar vmci-only
>
> Now Start VMware and it should now compile correctly
>
> #sudo vmware
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+bug/510981/+subscribe
>

Revision history for this message
Andre_H (nerv-dawncrow) wrote : Re: Fix for Vmware Workstation 7 compile on Lucid Lynx 2.6.32

For me the solution perfectly works, thank you!
(64-bit lucid, upgrade from karmic(with vmware workstation 7.0.0 build-203739), 2.6.32-22-generic, gcc 4.4.3)

summary: - Fix for Vmware Workstation 7 compile on Lucid Lynx 2.6.32
+ How compile Vmware Workstation 7 on Lucid Lynx 2.6.32
Revision history for this message
David Tombs (dgtombs) wrote :

I'm sorry, but I don't believe vmware workstation is a package provided by Ubuntu so this is not a valid Ubuntu bug report. Please report the issue to vmware.

Changed in ubuntu:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.