Comment 6 for bug 510981

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
>