seduction
 Language:
Welcome, Guest. Please login or register.
Did you miss your activation email?
2020/11/27, 03:01:14


Help

Author [EN] [PL] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: VMware Player 4.0.4 upgrade -- How To  (Read 2352 times)

0 Members and 1 Guest are viewing this topic.

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.058
    • Land of the Buckeye
VMware Player 4.0.4 upgrade -- How To
« on: 2012/07/28, 02:56:17 »
The bad news -- the 4.0.4 upgrade installs replacement source files, and the kernel module build will fail for 2 modules.

The good news -- there's an easy workaround.

First, remove VMware Player 4.0.3 using the "vmware-installer -u vmware-player" utility, and manually go in to /usr/lib/vmware/modules/source and delete the remaining source files and directories. Then download and install VMware Player 4.0.4, but don't run it.  Copy the vmware802fixlinux320.tar.gz patch file (from here) to /usr/lib/vmware/modules/source, and untar it.  You can delete the "patch-modules ...sh script -- you won't use it.

As root, at the /usr/lib/vmware/modules/source directory prompt, issue
Code: [Select]

for i in ./*.tar; do tar -xvf $i; done

to untar the five .tar files. Each one will extract into a new directory with "-only" as the directory name suffix. When you are finished you should have, in addition to the original five .tar files, the following new directories:
Code: [Select]

vmblock-only  vmci-only  vmmon-only  vmnet-only  vsock-only


Next, back up the original source .tar files with
Code: [Select]

for i in ./*.tar; do mv $i $i.original; done


Next, patch vmware with

Code: [Select]
patch -p1 < vmware3.2.0.patch

It should patch 3 files, with no error output.

Next, we need to fix a minor bug in one of the vmblock source files -- as described here, the fix is easy:

With your favorite text editor, open the file /usr/lib/vmware/module/source/vmblock-only/linux/filesystem.c for editing.  Go to line 528, and change d_alloc_root(rootInode) to read d_make_root(rootInode).

Finally, "tar cvf" all of the files in the vxxx-only subdirectories. So, for example,
Code: [Select]

tar cvf vmblock.tar vmblock-only/*

and do this for each of the 5 vxxx-only directories.

You are done -- the modules will now build when you start VMware Player 4.0.4.
Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO, 2@WD1003FZEX in BTRFS

hinto

  • Guest
RE: VMware Player 4.0.4 upgrade -- How To
« Reply #1 on: 2012/07/30, 16:59:13 »
Thanks for being on top of things!!!
-Hinto