[opensuse-factory] kernel-devel 3.7.1-16.1 sources are in different locations
source locations have changed and nvidia prop drivers will not install. I have reverted to 3.6.10-15.1 kernel as I do not know how to switch back to the nv driver, switch2nv script is no longer available. -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Patrick Shanahan <paka@opensuse.org> [12-24-12 20:24]:
source locations have changed and nvidia prop drivers will not install. I have reverted to 3.6.10-15.1 kernel as I do not know how to switch back to the nv driver, switch2nv script is no longer available.
will this work: #!/bin/sh cd /usr/src/linux make cloneconfig make prepare cd /lib/modules/`uname -r`/source/arch/x86/include/ cp -v generated/asm/unistd*.h ./asm/ # the last line (below) must contain the correct path and file name sh /root/NVIDIA-Linux-x86_64-313.09.run -a tks, -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tuesday 2012-12-25 02:27, Patrick Shanahan wrote:
* Patrick Shanahan <paka@opensuse.org> [12-24-12 20:24]:
source locations have changed and nvidia prop drivers will not install. I have reverted to 3.6.10-15.1 kernel as I do not know how to switch back to the nv driver, switch2nv script is no longer available.
will this work:
#!/bin/sh cd /usr/src/linux make cloneconfig make prepare
http://inai.de/2007/0412-cloneconfig.php I don't know if the NVIDIA *curses installer* ever got the paths right (you don't see squat about what it does), but the Makefile included in the package seemed to fly. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tuesday 2012-12-25 02:20, Patrick Shanahan wrote:
source locations have changed and nvidia prop drivers will not install.
Where did locations change? It's still /lib/modules/xx/build like before.
I have reverted to 3.6.10-15.1 kernel as I do not know how to switch back to the nv driver, switch2nv script is no longer available.
switch2* is useless ever since xorg.conf went away. Edit /etc/X11/xorg.conf.d/50-device.conf instead, IIRC. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 12/24/2012 08:33 PM, Jan Engelhardt wrote:
On Tuesday 2012-12-25 02:20, Patrick Shanahan wrote:
source locations have changed and nvidia prop drivers will not install.
Where did locations change? It's still /lib/modules/xx/build like before.
A bunch of kernel files moved from include/linux/... to include/uapi/linux/...
I have reverted to 3.6.10-15.1 kernel as I do not know how to switch back to the nv driver, switch2nv script is no longer available.
switch2* is useless ever since xorg.conf went away.
Edit /etc/X11/xorg.conf.d/50-device.conf instead, IIRC.
You guys should read the Beta forum. The patch you need to modify the nvidia drivers can be found at http://www.lwfinger.com/nvidia_patches/. The file readme.txt in that directory will tell you what to do. As you did not say what specific driver you wanted to use, I'm not sure what file to recommend; however, if it is a 3xx.yy version, then the one for 304.60 should work. Note, these patches will not let the nvidia drivers build under kernel 3.8 (yet). Larry -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Larry Finger <Larry.Finger@lwfinger.net> [12-24-12 21:54]:
On 12/24/2012 08:33 PM, Jan Engelhardt wrote:
On Tuesday 2012-12-25 02:20, Patrick Shanahan wrote:
source locations have changed and nvidia prop drivers will not install.
Where did locations change? It's still /lib/modules/xx/build like before.
A bunch of kernel files moved from include/linux/... to include/uapi/linux/...
I have reverted to 3.6.10-15.1 kernel as I do not know how to switch back to the nv driver, switch2nv script is no longer available.
switch2* is useless ever since xorg.conf went away.
Edit /etc/X11/xorg.conf.d/50-device.conf instead, IIRC.
You guys should read the Beta forum. The patch you need to modify the nvidia drivers can be found at http://www.lwfinger.com/nvidia_patches/. The file readme.txt in that directory will tell you what to do. As you did not say what specific driver you wanted to use, I'm not sure what file to recommend; however, if it is a 3xx.yy version, then the one for 304.60 should work.
Note, these patches will not let the nvidia drivers build under kernel 3.8 (yet).
kernel is 3.7.1 -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Larry Finger <Larry.Finger@lwfinger.net> [12-24-12 21:54]:
On 12/24/2012 08:33 PM, Jan Engelhardt wrote:
On Tuesday 2012-12-25 02:20, Patrick Shanahan wrote:
source locations have changed and nvidia prop drivers will not install.
Where did locations change? It's still /lib/modules/xx/build like before.
A bunch of kernel files moved from include/linux/... to include/uapi/linux/...
I have reverted to 3.6.10-15.1 kernel as I do not know how to switch back to the nv driver, switch2nv script is no longer available.
switch2* is useless ever since xorg.conf went away.
Edit /etc/X11/xorg.conf.d/50-device.conf instead, IIRC.
You guys should read the Beta forum. The patch you need to modify the nvidia drivers can be found at http://www.lwfinger.com/nvidia_patches/. The file readme.txt in that directory will tell you what to do. As you did not say what specific driver you wanted to use, I'm not sure what file to recommend; however, if it is a 3xx.yy version, then the one for 304.60 should work.
Note, these patches will not let the nvidia drivers build under kernel 3.8 (yet).
/mnt/usb3.1/Video # sh ./NVIDIA-Linux-x86_64-313.09.run --apply-patch /patch_nvidia_304_60.run_for_3.7 Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 313.09........................................................................................................................................................... patching file kernel/conftest.sh Hunk #1 succeeded at 21 (offset 1 line). Hunk #2 succeeded at 122 (offset 3 lines). Hunk #3 FAILED at 147. 1 out of 3 hunks FAILED -- saving rejects to file kernel/conftest.sh.rej patching file kernel/nv-mmap.c Failed to apply patch file "/mnt/usb3.1/Video/patch_nvidia_304_60.run_for_3.7". aparrently the 304.60 patch does not work :^( tks, -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Patrick Shanahan <paka@opensuse.org> [12-24-12 22:06]:
* Larry Finger <Larry.Finger@lwfinger.net> [12-24-12 21:54]: [...]
You guys should read the Beta forum. The patch you need to modify the nvidia drivers can be found at http://www.lwfinger.com/nvidia_patches/. The file readme.txt in that directory will tell you what to do. As you did not say what specific driver you wanted to use, I'm not sure what file to recommend; however, if it is a 3xx.yy version, then the one for 304.60 should work.
Note, these patches will not let the nvidia drivers build under kernel 3.8 (yet).
/mnt/usb3.1/Video # sh ./NVIDIA-Linux-x86_64-313.09.run --apply-patch /patch_nvidia_304_60.run_for_3.7 Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 313.09........................................................................................................................................................... patching file kernel/conftest.sh Hunk #1 succeeded at 21 (offset 1 line). Hunk #2 succeeded at 122 (offset 3 lines). Hunk #3 FAILED at 147. 1 out of 3 hunks FAILED -- saving rejects to file kernel/conftest.sh.rej patching file kernel/nv-mmap.c Failed to apply patch file "/mnt/usb3.1/Video/patch_nvidia_304_60.run_for_3.7".
aparrently the 304.60 patch does not work :^(
Note, 304.60 patch: works for: 304.64 and 310.14 does not for: 310.19 and 313.09 tks -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 12/24/2012 09:12 PM, Patrick Shanahan wrote:
* Patrick Shanahan <paka@opensuse.org> [12-24-12 22:06]:
* Larry Finger <Larry.Finger@lwfinger.net> [12-24-12 21:54]: [...]
You guys should read the Beta forum. The patch you need to modify the nvidia drivers can be found at http://www.lwfinger.com/nvidia_patches/. The file readme.txt in that directory will tell you what to do. As you did not say what specific driver you wanted to use, I'm not sure what file to recommend; however, if it is a 3xx.yy version, then the one for 304.60 should work.
Note, these patches will not let the nvidia drivers build under kernel 3.8 (yet).
/mnt/usb3.1/Video # sh ./NVIDIA-Linux-x86_64-313.09.run --apply-patch /patch_nvidia_304_60.run_for_3.7 Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 313.09........................................................................................................................................................... patching file kernel/conftest.sh Hunk #1 succeeded at 21 (offset 1 line). Hunk #2 succeeded at 122 (offset 3 lines). Hunk #3 FAILED at 147. 1 out of 3 hunks FAILED -- saving rejects to file kernel/conftest.sh.rej patching file kernel/nv-mmap.c Failed to apply patch file "/mnt/usb3.1/Video/patch_nvidia_304_60.run_for_3.7".
aparrently the 304.60 patch does not work :^(
Note, 304.60 patch: works for: 304.64 and 310.14 does not for: 310.19 and 313.09
I have to look at 310.19 to see why it does not compile under 3.8, and I will find out why it fails on 3.7. The patch will be posted on the site noted earlier, and I will announce its availability here. With the holidays, it will take a couple of days. Larry -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Larry Finger <Larry.Finger@lwfinger.net> [12-24-12 22:26]:
On 12/24/2012 09:12 PM, Patrick Shanahan wrote:
* Patrick Shanahan <paka@opensuse.org> [12-24-12 22:06]:
* Larry Finger <Larry.Finger@lwfinger.net> [12-24-12 21:54]: [...]
You guys should read the Beta forum. The patch you need to modify the nvidia drivers can be found at http://www.lwfinger.com/nvidia_patches/. The file readme.txt in that directory will tell you what to do. As you did not say what specific driver you wanted to use, I'm not sure what file to recommend; however, if it is a 3xx.yy version, then the one for 304.60 should work.
Note, these patches will not let the nvidia drivers build under kernel 3.8 (yet).
/mnt/usb3.1/Video # sh ./NVIDIA-Linux-x86_64-313.09.run --apply-patch /patch_nvidia_304_60.run_for_3.7 Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 313.09........................................................................................................................................................... patching file kernel/conftest.sh Hunk #1 succeeded at 21 (offset 1 line). Hunk #2 succeeded at 122 (offset 3 lines). Hunk #3 FAILED at 147. 1 out of 3 hunks FAILED -- saving rejects to file kernel/conftest.sh.rej patching file kernel/nv-mmap.c Failed to apply patch file "/mnt/usb3.1/Video/patch_nvidia_304_60.run_for_3.7".
aparrently the 304.60 patch does not work :^(
Note, 304.60 patch: works for: 304.64 and 310.14 does not for: 310.19 and 313.09
I have to look at 310.19 to see why it does not compile under 3.8, and I will find out why it fails on 3.7. The patch will be posted on the site noted earlier, and I will announce its availability here.
With the holidays, it will take a couple of days.
Thanks, more info: patches for 304.64 and 310.14 complete but driver fails install missing kernel source files. I can get the exact statement if you wish. I didn't try 304.60 but will in a moment. Will advise tks, -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Patrick Shanahan <paka@opensuse.org> [12-24-12 22:36]:
* Larry Finger <Larry.Finger@lwfinger.net> [12-24-12 22:26]:
On 12/24/2012 09:12 PM, Patrick Shanahan wrote:
* Patrick Shanahan <paka@opensuse.org> [12-24-12 22:06]:
* Larry Finger <Larry.Finger@lwfinger.net> [12-24-12 21:54]: [...]
You guys should read the Beta forum. The patch you need to modify the nvidia drivers can be found at http://www.lwfinger.com/nvidia_patches/. The file readme.txt in that directory will tell you what to do. As you did not say what specific driver you wanted to use, I'm not sure what file to recommend; however, if it is a 3xx.yy version, then the one for 304.60 should work.
Note, these patches will not let the nvidia drivers build under kernel 3.8 (yet).
/mnt/usb3.1/Video # sh ./NVIDIA-Linux-x86_64-313.09.run --apply-patch /patch_nvidia_304_60.run_for_3.7 Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 313.09........................................................................................................................................................... patching file kernel/conftest.sh Hunk #1 succeeded at 21 (offset 1 line). Hunk #2 succeeded at 122 (offset 3 lines). Hunk #3 FAILED at 147. 1 out of 3 hunks FAILED -- saving rejects to file kernel/conftest.sh.rej patching file kernel/nv-mmap.c Failed to apply patch file "/mnt/usb3.1/Video/patch_nvidia_304_60.run_for_3.7".
aparrently the 304.60 patch does not work :^(
Note, 304.60 patch: works for: 304.64 and 310.14 does not for: 310.19 and 313.09
I have to look at 310.19 to see why it does not compile under 3.8, and I will find out why it fails on 3.7. The patch will be posted on the site noted earlier, and I will announce its availability here.
With the holidays, it will take a couple of days.
Thanks, more info:
patches for 304.64 and 310.14 complete but driver fails install missing kernel source files. I can get the exact statement if you wish. I didn't try 304.60 but will in a moment.
Will advise
304.60 patch succeeds but install fails: ERROR: The kernel header file '/lib/modules/3.7.1-16-desktop/build/include/linux/version.h' does not exist. The most likely reason for this is that the kernel source files in '/lib/modules/3.7.1-16-desktop/build' have not been configured. -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am Montag, 24. Dezember 2012, 23:08:04 schrieb Patrick Shanahan:
ERROR: The kernel header file
'/lib/modules/3.7.1-16-desktop/build/include/linux/version.h' does not exist. The most likely reason for this is that the kernel source files in '/lib/modules/3.7.1-16-desktop/build' have not been configured.
Due to a change in the upstream kernel /lib/modules/3.7.1-16- desktop/build/include/linux/version.h' was moved to '/lib/modules/3.7.1-16- desktop/build/include/generated/uapi/linux/version.h' The nvidia installer is not yet aware of that change. You can make a link in /lib/modules/3.7.1-16-desktop/build/include : linux->generated/uapi/linux. as workaround. This link is also needed to compile other out of tree kernel modules like the vmware module. With that link NVIDIA driver versions 3.10.19 and 3.13.09 can be installed without changes in the driver source . Older versions of the NVIDIA driver may need additional changes in the driver source. The problematic part, which needs still to be adapted in the nvidia sources , seems to be kernel/conftest.sh script at select_makefile). The if [ -f $HEADERS/$FILE -o -f $OUTPUT/include/$FILE ]; statement needs to be extended to be aware of the new location of version.h. But changing it to if [ -f $HEADERS/$FILE -o -f $OUTPUT/include/$FILE -o -f $OUTPUT/include/generated/uapi/$FILE ]; doesn't seem to work. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Markus Koßmann <mkossmann_ml1@gmx.de> [12-25-12 02:31]:
Am Montag, 24. Dezember 2012, 23:08:04 schrieb Patrick Shanahan:
ERROR: The kernel header file
'/lib/modules/3.7.1-16-desktop/build/include/linux/version.h' does not exist. The most likely reason for this is that the kernel source files in '/lib/modules/3.7.1-16-desktop/build' have not been configured.
Due to a change in the upstream kernel /lib/modules/3.7.1-16- desktop/build/include/linux/version.h' was moved to '/lib/modules/3.7.1-16- desktop/build/include/generated/uapi/linux/version.h'
The nvidia installer is not yet aware of that change. You can make a link in /lib/modules/3.7.1-16-desktop/build/include : linux->generated/uapi/linux. as workaround. This link is also needed to compile other out of tree kernel modules like the vmware module.
With that link NVIDIA driver versions 3.10.19 and 3.13.09 can be installed without changes in the driver source . Older versions of the NVIDIA driver may need additional changes in the driver source.
Thanks, booted 3.7.1 kernel with 3.13.09 nvidia driver bundle.
The problematic part, which needs still to be adapted in the nvidia sources , seems to be kernel/conftest.sh script at select_makefile). The if [ -f $HEADERS/$FILE -o -f $OUTPUT/include/$FILE ]; statement needs to be extended to be aware of the new location of version.h. But changing it to if [ -f $HEADERS/$FILE -o -f $OUTPUT/include/$FILE -o -f $OUTPUT/include/generated/uapi/$FILE ]; doesn't seem to work.
Just a bit above my pay grade :^) tks, -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tuesday 2012-12-25 08:26, Markus Koßmann wrote:
Am Montag, 24. Dezember 2012, 23:08:04 schrieb Patrick Shanahan:
ERROR: The kernel header file
'/lib/modules/3.7.1-16-desktop/build/include/linux/version.h' does not exist. The most likely reason for this is that the kernel source files in '/lib/modules/3.7.1-16-desktop/build' have not been configured.
Due to a change in the upstream kernel /lib/modules/3.7.1-16- desktop/build/include/linux/version.h' was moved to '/lib/modules/3.7.1-16- desktop/build/include/generated/uapi/linux/version.h'
The nvidia installer is not yet aware of that change.
If NVIDIA had gotten their act correct at least once and use kbuild properly, all the recent path moves would have been transparent. But nooo.. I know exactly why I am keeping a sanitized version (KMPs, SRPMs and all) in http://jftp.inai.de/ . -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
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 http://www.lwfinger.com/nvidia_patches/readme.txt Larry -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
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
http://www.lwfinger.com/nvidia_patches/readme.txt Do we have an patch for 310.19 under kernel 3.7.1? Looked there http://www.lwfinger.com/nvidia_patches/ but nothing found ... -- Sincerly yours Sascha Manns openSUSE Project Member / Packager http://saigkill.homelinux.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
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
http://www.lwfinger.com/nvidia_patches/readme.txt 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. Larry -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 26/12/12 15:40, Larry Finger wrote:
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
http://www.lwfinger.com/nvidia_patches/readme.txt 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.
Larry
There is uapi-patch.txt at http://www.nvnews.net/vbulletin/showthread.php?p=2578811#post2578811 that's needed for later 3.7 and 3.8-rc1 kernels. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 12/26/2012 10:57 AM, Sid Boyce wrote:
There is uapi-patch.txt at http://www.nvnews.net/vbulletin/showthread.php?p=2578811#post2578811 that's needed for later 3.7 and 3.8-rc1 kernels. Regards Sid.
Sid, Thanks for this link. I did not test that patch; however IIRC, 310.19 already has those changes. What is missing is the include path directive for arch/x86/include/generated/uapi. The 3.8 patch does indeed work for 3.7; however, to avoid any confusion I uploaded a new patch for 3.7 to http://www.lwfinger.com/nvidia_patches/patch_nvidia_310.19.run_for_3.7 Larry -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Larry Finger <Larry.Finger@lwfinger.net> [12-26-12 12:40]:
On 12/26/2012 10:57 AM, Sid Boyce wrote:
There is uapi-patch.txt at http://www.nvnews.net/vbulletin/showthread.php?p=2578811#post2578811 that's needed for later 3.7 and 3.8-rc1 kernels. Regards Sid.
Sid,
Thanks for this link. I did not test that patch; however IIRC, 310.19 already has those changes. What is missing is the include path directive for arch/x86/include/generated/uapi.
The 3.8 patch does indeed work for 3.7; however, to avoid any confusion I uploaded a new patch for 3.7 to
http://www.lwfinger.com/nvidia_patches/patch_nvidia_310.19.run_for_3.7
I have a laptop, acer 5520, which cannot run > 304.60, but the patch for 304.60 does not work as is. It does work if I make a link in /lib/modules/3.7.1-16-desktop/build/include : linux->generated/uapi/linux. tks, -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Patrick Shanahan <paka@opensuse.org> [12-26-12 13:20]:
* Larry Finger <Larry.Finger@lwfinger.net> [12-26-12 12:40]:
On 12/26/2012 10:57 AM, Sid Boyce wrote:
There is uapi-patch.txt at http://www.nvnews.net/vbulletin/showthread.php?p=2578811#post2578811 that's needed for later 3.7 and 3.8-rc1 kernels. Regards Sid.
Sid,
Thanks for this link. I did not test that patch; however IIRC, 310.19 already has those changes. What is missing is the include path directive for arch/x86/include/generated/uapi.
The 3.8 patch does indeed work for 3.7; however, to avoid any confusion I uploaded a new patch for 3.7 to
http://www.lwfinger.com/nvidia_patches/patch_nvidia_310.19.run_for_3.7
I have a laptop, acer 5520, which cannot run > 304.60, but the patch for 304.60 does not work as is. It does work if I make a link in /lib/modules/3.7.1-16-desktop/build/include : linux->generated/uapi/linux.
enlightenment: apparently I had patched 304.60 with an earlier patch. Please disreguard above. tks much ps: 313.09 works with 3.7 w/o mod by making above link. -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi Larry, Larry Finger wrote at Mittwoch, 26. Dezember 2012, 11:38:34:
On 12/26/2012 10:57 AM, Sid Boyce wrote:
There is uapi-patch.txt at http://www.nvnews.net/vbulletin/showthread.php?p=2578811#post2578811 that's needed for later 3.7 and 3.8-rc1 kernels. Regards Sid.
Sid,
Thanks for this link. I did not test that patch; however IIRC, 310.19 already has those changes. What is missing is the include path directive for arch/x86/include/generated/uapi.
The 3.8 patch does indeed work for 3.7; however, to avoid any confusion I uploaded a new patch for 3.7 to
http://www.lwfinger.com/nvidia_patches/patch_nvidia_310.19.run_for_3.7 Thank for the upload. The Patch was applied perfectly, but the new custom installer won't run. After running Patricks idea (/lib/modules/3.7.1-16-desktop/build/include : linux- generated/uapi/linux) it runs perfectly :-) -- Sincerly yours Sascha Manns openSUSE Project Member / Packager http://saigkill.homelinux.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Sascha Manns <saigkill@opensuse.org> [12-26-12 14:25]:
Hi Larry,
Larry Finger wrote at Mittwoch, 26. Dezember 2012, 11:38:34:
On 12/26/2012 10:57 AM, Sid Boyce wrote:
There is uapi-patch.txt at http://www.nvnews.net/vbulletin/showthread.php?p=2578811#post2578811 that's needed for later 3.7 and 3.8-rc1 kernels. Regards Sid.
Sid,
Thanks for this link. I did not test that patch; however IIRC, 310.19 already has those changes. What is missing is the include path directive for arch/x86/include/generated/uapi.
The 3.8 patch does indeed work for 3.7; however, to avoid any confusion I uploaded a new patch for 3.7 to
http://www.lwfinger.com/nvidia_patches/patch_nvidia_310.19.run_for_3.7 Thank for the upload. The Patch was applied perfectly, but the new custom installer won't run. After running Patricks idea (/lib/modules/3.7.1-16-desktop/build/include : linux- generated/uapi/linux) it runs perfectly :-)
that needs to be attributed to Markus Koßmann <mkossmann_ml1@gmx.de> Tks Markus -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
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
On Tuesday 2012-12-25 03:50, Larry Finger wrote:
On 12/24/2012 08:33 PM, Jan Engelhardt wrote:
On Tuesday 2012-12-25 02:20, Patrick Shanahan wrote:
source locations have changed and nvidia prop drivers will not install.
Where did locations change? It's still /lib/modules/xx/build like before.
A bunch of kernel files moved from include/linux/... to include/uapi/linux/...
So what? uapi is in the include path already (see below). Things like #include <linux/atmioc.h> (an example file which moved without introducing a new include/linux/atmioc.h) still work across 3.6..3.7. $ make -C /lib/modules/`uname -r`/build M=$PWD V=1 make: Entering directory `/usr/src/linux-3.7.0-1-obj/x86_64/default' make -C ../../../linux-3.7.0-1 O=/usr/src/linux-3.7.0-1-obj/x86_64/default/. make -C /usr/src/linux-3.7.0-1-obj/x86_64/default \ KBUILD_SRC=/usr/src/linux-3.7.0-1 \ KBUILD_EXTMOD="/tmp/test" -f /usr/src/linux-3.7.0-1/Makefile \ test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false) mkdir -p /tmp/test/.tmp_versions ; rm -f /tmp/test/.tmp_versions/* make -f /usr/src/linux-3.7.0-1/scripts/Makefile.build obj=/tmp/test gcc -Wp,-MD,/tmp/test/.test.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/4.7/include -I/usr/src/linux-3.7.0-1/arch/x86/include -Iarch/x86/include/generated -I/usr/src/linux-3.7.0-1/include
-Iinclude -I/usr/src/linux-3.7.0-1/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-3.7.0-1/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-3.7.0-1/include/linux/kconfig.h -I/tmp/test -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_AVX=1 -pipe -Wno-sign-compare -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fasynchronous-unwind-tables -g -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(test)" -D"KBUILD_MODNAME=KBUILD_STR(test)" -c -o /tmp/test/.tmp_test.o /tmp/test/test.c
If NVIDIA falls over its toes because of uapi, then they are doing shit during compilation. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (6)
-
Jan Engelhardt
-
Larry Finger
-
Markus Koßmann
-
Patrick Shanahan
-
Sascha Manns
-
Sid Boyce