3.7.9 – and a Surprise..
Just updated to 3.7.9, but forgot to do the usual ‘softlink’ for correct compilation of VMware..
# ln -s /usr/src/linux-3.7.9/include/generated/uapi/linux/version.h /usr/src/linux-3.7.9/include/linux/version.h
I ran the compilation for the the latest ‘stable’ NVIDIA driver (310.32), but discovered that – with 3.7.9 – this failed, as well! To save time, I had been creating the softlink after compiling the latest kernel, but before rebooting, so the the VMware driver would ‘automatically’ recompile as part of the boot process. This had – of course – been masking the problem with the NVIDIA compile, as the softlink was usually already in place by the time this was done – after the reboot….
There hadn’t been a problem with the earlier 3.7.x kernels, and so I tried a test with 3.7.7, and the same problem occurred – and was fixed by the softlink.. I had already deleted earlier versions, so was not able to test with these..
I then tried the same tests with 310.32 on 3.8-rc7, and there was no problem… As with earlier 3.7.x kernels, the ‘softlink’ for version.h was only needed for VMware..
After some more research, it appears that this has already been reported on the NVIDIA DevZone forum, and mentions that the problem started with 3.7.6..
https://devtalk.nvidia.com/default/topic/529620/latest-stable-driver-310-32-wont-compile-on-stable-kernel-3-7-6-3-7-7-3-7-8/
There is a link to a patch, there, but I haven’t tried this, as the softlink for VMware does the job, for me..
So – the fix for VMware and NVIDIA on later 3.7.x kernels is the same:
# ln -s /usr/src/linux-3.7.x/include/generated/uapi/linux/version.h /usr/src/linux-3.7.x/include/linux/version.h
Robert Gadsdon. February 18th 2013.
Comments
3.7.9 – and a Surprise.. — No Comments