NVIDIA and Kernel 3.12 – Solution, at Last..
It seemed there was no ‘legal’ way to fix the problem with NVIDIA driver compilation on Kernel 3.12-rc, but now – unusually – there is a kernel patch to fix this:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/acpi/scan.c?id=6585925b62fa4dd2f4aecf634b0f8956577aa981
Thanks to conky_vs_julian (on the NVIDIA Devtalk forum) for this info.
More details – including a link to a 3.12 patch for NVIDIA drivers – can be found in this thread:
https://devtalk.nvidia.com/default/topic/612889/linux/nvidia-support-for-latest-linux-kernels-/
I have applied the kernel patch, and the NVIDIA ‘3.12 patch’ referenced in the thread, and can confirm that drivers 319.60 and 331.13 now compile OK on kernel 3.12-rc3.
The kernel patch is scheduled to be included with version 3.12-rc4.
This unusual situation may well explain why there was a delay in the provision of a ‘newer kernel’ version of the official NVIDIA drivers..
Robert Gadsdon October 6, 2013
Very unusual… Has the middle finger been put away then?
Well.. the ‘finger’ reference was on the DevZone forum – and not mine…
I’ll just be happy when there is a driver released, that doesn’t need patching..
RG.
I meant Linus’s, the middle one! (He accepted the commit, at least)
And that patch reverted a previous patch, that had introduced the problem..
RG.
I’m hoping you can be a tad more specific about which Nvidia patch you ended up using… The forum was a tad… all over the place.
So did you end up using the diff for Nvidia 325.15 on 331.13?
I’ll be running a new enough 3.12rc so the export_gpl issue wont be an issue.
The 3.11/3.12 patch I used was at http://www.nvnews.net/vbulletin/showthread.php?t=210771 – on the _old_ NVIDIA forum..
I agree, the DevZone forum patch info is a mess now, probably as there is still no up-to-date driver available. I’ll put this direct link in a new article, for clarity..
Works fine with 3.12-rc4 or later..
RG.