Linux User Group of Mauritius Promoting open source software in our beautiful island


VMware Player 5.0 or VMware Workstation 9.0 after upgrade to Ubuntu 12.10

Posted by Jochen Kirstaetter

The upgrade process

Upgrading Ubuntu 12.04 to latest version 12.10 - aka Quantal Quetzal - is straight forward and you only need to follow the offical upgrade instructions. Short version on the console looks like this:

sudo do-release-upgrade

This will update the repository entries, and start the upgrade process. After some minutes or hours of download and installation, you have to reboot your system once to get the new kernel loaded. As time of writing, I'm on '3.5.0-17-generic'. And as with any modification of the kernel version, you have to compile the necessary kernel modules to get VMware Player or Workstation up and running. Usually, this happens the first time you try start your VMware software and that's it. Well, again not so this time.

Getting the kernel patch

Luckily, the community over VMware is very active and you can get a new kernel patch in the online forums here. Get the download and put in a folder have write permissions. Then you extract the archive on the console like so:

tar -xjvf vmware9_kernel35_patch.tar.bz2

Then you change into the newly created folder:

cd vmware9_kernel3.5_patch/

And you execute the available shell script as root (superuser) like so:

sudo ./

This will stop any running instances of VMware software, patches the source files and runs the compile process for your active environment. This might take some time depending on your machine, and once completed you can start VMware Player or Workstation as previously.

In case that you are going to apply the patch again, the script will simply quit with the following output:

/usr/lib/vmware/modules/source/.patched found. You have already patched your sources. Exiting

You might remove the .patched file in case that you upgraded/changed your kernel and you need to apply the patch again.

Disclaimer: The patch is "as-is" and the patcher is originally created by Artem S. Tashkinov, and later modified by An_tony. Please refer to the VMware forum in case of questions or problems. There are also patches available for older versions of VMware Player or Workstation.

Tagged as: No Comments

Reset Usb sur linux

Posted by Dominique Derrier

Problème avec un périphérique récalcitrant qui chatouille trop le contrôleur.
Effectuer un reset du port est parfois nécessaire pour éviter un reboot.

Rien de plus facile sous linux :

echo -n "0000:00:1a.0" | tee /sys/bus/pci/drivers/ehci_hcd/unbind
echo -n "0000:00:1d.0" | tee /sys/bus/pci/drivers/ehci_hcd/unbind
echo -n "0000:00:1a.0" | tee /sys/bus/pci/drivers/ehci_hcd/bind
echo -n "0000:00:1d.0" | tee /sys/bus/pci/drivers/ehci_hcd/bind
lspci, permet de confirmer le numéro de bus de votre contrôleur USB.

Filed under: Tip No Comments