daily pastebin goal
76%
SHARE
TWEET

Untitled

a guest Aug 2nd, 2012 16 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.  
  3. 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.
  4.  
  5. 1: A structure that is referenced in VMware network code converts a pointer to a member of an embedded structure
  6.  
  7. 2: Network device operations structure drops a field that is initialised by VMware
  8.  
  9.  
  10.  
  11.  
  12.  
  13. I succeeded in getting VMware workstation 8.0.2 running with linux 3.2.0-16 on Ubuntu 12.04 after:
  14.  
  15. 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
  16.  
  17. 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)
  18.  
  19. 3: Save the original source tar file as /usr/lib/vmware/modules/source/vmnet.tar.orig
  20.  
  21. 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)
  22.  
  23. 5: Start the vmware player/workstation/....
  24.  
  25.  
  26.  
  27.  
  28.  
  29. 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.
  30.  
  31.  
  32.  
  33. 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.
  34. Attachments:
  35.  
  36.     vmnet.diffs (2.6 K)
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top