Monday, February 27, 2017

Linux Kernel 3 7 VMWare Workstation and NVidia Driver

Linux Kernel 3 7 VMWare Workstation and NVidia Driver


I have just built Linux Kernel 3.7 and its 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 doesnt break with two things: NVidia Driver and VMWare Workstation. Well, it seems that both are simply broken in the Linux Kernel 3.7. BUT, theres 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 dont need to apply any patches at all. Its already compatible with the latest Linux Kernel 3.7.

Heres 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

Available link for download