Is kernel 3.7.6 compatible with nvidia driver 313.18. I tried installing it through the upubuntu guide but I was getting an error. I tried using their fix but it said the directories were not found. Any suggestions

Ok. #1: Going from 3.7.6 to 3.7.5 would be a downgrade. Do you mean the other way around? Give us the link to your fix. As stated often here, tell us what you did.
–
KupiakosFeb 4 '13 at 22:45

I'm running Nvidia 313.09 with 3.7.5-030705-generic. Works splendidly for me. YMMV. You'll have to provide all steps you took and the exact error. Without specific information we're not able to answer your question.
–
gertvdijkFeb 4 '13 at 22:53

HI, im trying to update to 3.7.6 from 3.7.5 that i have installed right now. I updated with the error i get. This only relates to my other question because its telling met to look at the nvidia-313.18 make.log...but the question about nvidia-currents is seperate from this
–
user98713Feb 5 '13 at 2:50

Yeah, well... what does the error log say? It's here, according to the error you posted: /var/lib/dkms/nvidia-313/313.18/build/make.log
–
gertvdijkFeb 5 '13 at 19:45

Would suggest checking conftest.sh in /usr/src/nvidia-'version' directory. There is a small issue determining kernel version when PATCHLEVEL is 6 or greater (3.7.6 in this case). Comment out (#) if and fi lines and leave SELECTED_MAKEFILE and RET lines alone. Reinstall kernel headers and image debs, and nvidia.ko should build properly.

Update: If you are also running into compatibility issue between kernel 3.7.* and virtualbox, solution is to either 1) upgrade virtualbox to 4.2.6 -or- 2) patch memobj-r0drv-linux.c to replace VM_RESERVED macro with (VM_DONTEXPAND | VM_DONTDUMP). Good luck.