Wednesday, December 12, 2012

Linux Kernel 3.7, VMWare Workstation and NVidia Driver

I have just built Linux Kernel 3.7 and it's now running on my desktop and also my workstation at the office. On my desktop, i have to make sure that the new Linux Kernel doesn't break with two things: NVidia Driver and VMWare Workstation. Well, it seems that both are simply broken in the Linux Kernel 3.7. BUT, there's a simple solution for both problem.

VMWare Workstation:
run this command:
ln -s /usr/src/linux-3.7/include/generated/uapi/linux/version.h /usr/src/linux-3.7/include/linux/version.h
vmware-modconfig --console --install-all

NVidia Driver NVIDIA-Linux-x86-304.64:
Download patch
gzip -d patch_nvidia_304_60.run_for_3.7
./NVIDIA-Linux-x86-304.64-custom.run

If you are running the latest NVidia Driver 310.19, you don't need to apply any patches at all. It's already compatible with the latest Linux Kernel 3.7.

Here's the output in my desktop:
Linux desktop 3.7.0-smp #1 SMP Wed Dec 12 07:03:05 WIT 2012 i686 Pentium(R) Dual-Core  CPU E5300 @ 2.60GHz GenuineIntel GNU/Linux