Sunday, July 22, 2012

Linux Kernel 3.5 Compatible With VMWare Workstation and NVidia

Linus has announced the official arrival of Linux Kernel 3.5 and the KernelNewbies has been updated to reflect this as well. As always, new kernel brings new features, more hardware, and of course bug fixes in all sections of the kernel source code.

The good news about this release is that it's compatible with other applications/drivers that usually have problems with new kernel releases, namely NVidia driver and VMWare Player/Workstation. I have compiled Linux Kernel 3.5 on my main desktop and i can say that NVidia 302.17 driver works flawlessly on this kernel (and probably 295.59 too, because it's a long lived branch which is maintained longer). If you are using VirtualBox from Oracle, you can use 4.1.18 which already support Linux Kernel 3.5 after they commit this changes.

Here's the result on my system:
willysr@desktop:~$ uname -a
Linux desktop 3.5.0-smp #1 SMP Sun Jul 22 08:54:18 WIT 2012 i686 Pentium(R) Dual-Core  CPU E5300 @ 2.60GHz GenuineIntel GNU/Linux

If you happened to use VMWare Workstation 8.0.4 or Player 4.0.4 and have been using previous patches with Linux Kernel 3.4, then you don't need additional patches or reinstall VMWare again. All you need is to recompile the module after you logged in by using
vmware-modconfig --console --install-all
and voila... VMWare Workstation/Player works again like it used to be.

I must say that Linux Kernel 3.5 is the most painless upgrade so far. No big effort to make other components compatible with this version.

Let's hope that future Linux Kernel will have the same situation as well.