Am Mittwoch, 26. Dezember 2012, 09:40:21 schrieb Larry Finger:
On 12/26/2012 04:53 AM, Sascha Manns wrote:
Hello listmates,
Larry Finger wrote at Dienstag, 25. Dezember 2012, 22:49:14:
A patch for nVIDIA version 310.19 to build on kernel 3.8-rc1 can be found at
http://www.lwfinger.com/nvidia_patches/patch_nvidia_310.19.run_for_3.8
The instructions for use of this patch is at
Do we have an patch for 310.19 under kernel 3.7.1? Looked there http://www.lwfinger.com/nvidia_patches/ but nothing found ...
I suspect the 3.8 patch would also fix 3.7.1. Of course, I have not tested. My basis for saying that is that nVIDIA fixed most of the API changes from 3.6 to 3.7, except for the uapi header changes.
Nvidia 310.19 seems to lack only one additonal change to get it right for the uapi changes. Have a look at the following snippet from kernel/conftest.sh -------- select_makefile) # # Select which Makefile to use based on the version of the # kernel we are building against: use the kbuild Makefile for # 2.6 and newer kernels, and the old Makefile for kernels older # than 2.6. # rm -f Makefile RET=1 VERBOSE=$7 FILE="linux/version.h" SELECTED_MAKEFILE="" if [ -f $HEADERS/$FILE -o -f $OUTPUT/include/$FILE ]; then # # We are either looking at a configured kernel source # tree or at headers shipped for a specific kernel. # Determine the kernel version using a compile check. # ------- When building with the 3.7.1-2-desktop $HEADERS/$FILE doesn't match, $OUTPUT points to /lib/modules/3.7.1-2-desktop/build and expects version.h in its old location and it ends up with an error messsage about not configured kernel sources. However changing if statement to if [ -f $HEADERS/$FILE -o -f $OUTPUT/include/$FILE -o -f $OUTPUT/include/generated/uapi/$FILE ]; then doesn't seem to work,too . As workaround for that problem you can make a link include/linux pointing to include/generated/uapi/linux. With that hack 310.19 builds without any additional changes on 3.7.1-2-desktop -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org