I wrote the following script to automatically modify the latest kernel 3.3 version to allow the nVIDIA driver 295.20 to properly compile.
#: Title : userfix
#: Date Created: Sun Feb 19 12:24:18 CST 2012
#: Last Edit : Sun Feb 19 12:24:18 CST 2012
#: Author : James D. McDaniel
#: Version : 1.00
#: Description :
#: Options :
version=$(uname -r | cut -c -3)
if [ "$version" == "3.3" ] ; then
if [ -d "$folder" ] ; then
cp generated/asm/*.h ./asm
echo "Kernel Fix for nVIDIA driver was executed!"
# End Of Script
For openSUSE users, I have a bash script I call SANDI, that can use DKMS to automatically install the nVIDIA driver when you update the kernel AND the above script can be set to run before the nVIDIA driver gets installed. Check it out here. If you use a different Linux distribution, consider modifying the script to work with what you are using. Just leave me comments and questions to the following blog, if you have them.
AND anyone just wanting a nice bash script to install the nVIDIA driver, take a look here:
I look forward to any fix in the nVIDIA driver that no longer needs a fix to use the kernel version 3.3, now in final release: http://www.kernel.org/
I have a good kernel compiler, useful for the latest script you can find here:
For anyone wanting to get ANY kernel version, back to 2006, might want to look at this bash script:
Please, I want to hear any and all comments you might have and thanks nVIDIA for your very fine hardware.