- There appear to be two changes in the linux kernel between Ubuntu 11.10 (linux 3.0.0) and Ubuntiu 12.04 beta (linux 3.2.0) that affect VMWare. I run workstation 8.0.2, but the changes will affect player and server as well.
- 1: A structure that is referenced in VMware network code converts a pointer to a member of an embedded structure
- 2: Network device operations structure drops a field that is initialised by VMware
- I succeeded in getting VMware workstation 8.0.2 running with linux 3.2.0-16 on Ubuntu 12.04 after:
- 1: Un-tar /usr/lib/vmware/modules/source/vmnet.tar to a directory you can write to (eg /tmp, /var/tmp or your desktop or home directory) - this creates a directory vmnet-only
- 2: Apply the attached patch to the un-tarred source (run patch in the directory from step 1 - the patch file was created from the parent directory of vmnet-only)
- 3: Save the original source tar file as /usr/lib/vmware/modules/source/vmnet.tar.orig
- 4: create a new /usr/lib/vmware/modules/source/vmnet.tar from the patched source (with 'sudo tar cf /usr/lib/vmware/modules/source/vmnet.tar vmnet-only' in the directory from step 1)
- 5: Start the vmware player/workstation/....
- Because these are changes to the linux kernel ABI, both VMWare Player and VMWare Server will be affected in addition to VMWare Workstation. As player seems to be a component of workstation, but the issue is with the vmnet kernel module, my patch should be valid for the version of player that matches Workstation 8.0.2.
- My patch makes assumptions about when the Linux ABI changes occurred. In one case, it assumed 3.0.0 as the boundary, and in the other, it assumes 3.2.0. As I am not a kernel developer, but see the differences between 3.0.0 (Ubunu 11.10) and 3.2.0 (Ubuntu 12.04LTS beta), I am not sure whether the version checks for 3.0.0 or 3.2.0 are corrrect for the changes. All that I can claim is that VMware workstation 8.0.2 successfully compiled and installed the vmnet kernel module on my system running 12.04LTS beta 64-bit, after applying the attached patch.
- Attachments:
- vmnet.diffs (2.6 K)
SHARE
TWEET
Untitled
a guest
Aug 2nd, 2012
16
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data

