Saturday, July 6, 2013

NVidia 304.88, VMWare Workstation, and Linux Kernel 3.10

Linux Torvalds has released Linux Kernel 3.10 last week and i waited for several days to test this new kernel as it would break VMWare and also NVidia, thus i'm waiting for the patches to come before i tested them. I had the kernel built on the same day it was released, but i didn't enable it on my lilo.conf, so it wasn't shown up yet.

After a week, some patches has been seen on the Internet and i can confirm that those patches worked perfectly. I'm now running Linux Kernel 3.10 with NVidia 304.88 and VMWare Workstation 9.0.2 running normally on my machine.

As for the VMWare Patches, you can grab it from my SlackHacks repository. There are two patches for vmblock and vmnet. I have tried to make the automated script, but it wasn't tested yet, since i tried to apply it manually first to make sure the patch is working. If you know how to apply the patch manually, i would suggest you to do so. Just in case it didn't work, here's the step to apply the patch manually (tested on Slackware-Current, 32 bit machine):
- cd /usr/lib/vmware/modules/source
- tar xvf vmnet.tar
- cd vmnet-only
- patch -p1 < /path/to/vmnet-3.10.patch
- cd ..
- tar cvf vmnet.tar vmnet-only
- rm -rf vmnet-only
- tar xvf vmblock.tar
- cd vmblock-only
- patch -p1 < /path/to/vmblock-3.10.patch
- cd ..
- tar cvf vmblock.tar vmblock-only- rm -rf vmblock-only
- vmware-modconfig --console --install-all

For NVidia, i got the patch from ArchLinux. All you need to do is extract the binary driver, apply the patch, and run the nvidia-installer to start the installation process:
- sh NVIDIA-Linux-x86-304.88.run --extract-only
- cd NVIDIA-Linux-x86-304.88
- patch -p1 < /path/to/nvidia-linux-3.10.patch
- ./nvidia-installer

That should work and you can enjoy all of them: Linux Kernel 3.10, NVidia Driver (i tested only for 304.xx, but it probably work as well on newer version, such as 310, 319, and 325), and VMWare Workstation.