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

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


  1. mas willy, nanya donk.. saya install driver Nvidia pake driver NVidia Driver 310.19 di slackware 13.37 kok eror seperti ini ya?

    padahal udah blacklist nouveau sama removepkg xf86-video-xxx nya ..

    minta tolong saran donk :D
    tha you :)

  2. I tried upgrade to kernel 3.7 before and got stuck with the VMware Workstation not able to start as it complained not able to locate the C header. Will try again with your suggestion to do the symbolic link.

  3. Just installed the kernel 3.7.4 and ran the symbolic link command you suggested, VMware workstation still complains the C header file not found.

  4. you have to adjust the path and kernel version according to the kernel installed on your machine.
    how did you get your kernel installed? Using source or precompiled binary from your distribution?
    What command do you use to create the symlink?