[opensuse-factory] tumbleweed: cannot build nvidia 331.49 for kernel 3.14.0
kernel-desktop 3.14.0-23.1.g79de0a7 kernel-desktop-devel 3.14.0-23.1.g79de0a7 kernel-devel 3.14.0-23.1.gfa168d7 cannot build nvidia driver 331.49 for this kernel ??? 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 ; full err logs @ http://wahoo.no-ip.org/~pat/nvidia-installer.log Anyone able? How? tks -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 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 Wed, Apr 02, 2014 at 04:37:48PM -0400, Patrick Shanahan wrote:
kernel-desktop 3.14.0-23.1.g79de0a7 kernel-desktop-devel 3.14.0-23.1.g79de0a7 kernel-devel 3.14.0-23.1.gfa168d7
cannot build nvidia driver 331.49 for this kernel ???
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 ;
full err logs @ http://wahoo.no-ip.org/~pat/nvidia-installer.log
Anyone able? How?
As always, running nvidia on Tumbleweed isn't recommended, and you get to keep both pieces that your kernel ends up with... good luck, greg k-h -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am Mittwoch, 2. April 2014, 16:37:48 schrieb Patrick Shanahan:
kernel-desktop 3.14.0-23.1.g79de0a7 kernel-desktop-devel 3.14.0-23.1.g79de0a7 kernel-devel 3.14.0-23.1.gfa168d7
cannot build nvidia driver 331.49 for this kernel ???
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 ;
full err logs @ http://wahoo.no-ip.org/~pat/nvidia-installer.log
Current nvida drivers are't ready for kernel 3.14. You have to apply patches. http://rglinuxtech.com/?p=1090 will point you to some patches. -- 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> [04-02-14 22:52]:
Am Mittwoch, 2. April 2014, 16:37:48 schrieb Patrick Shanahan:
kernel-desktop 3.14.0-23.1.g79de0a7 kernel-desktop-devel 3.14.0-23.1.g79de0a7 kernel-devel 3.14.0-23.1.gfa168d7
cannot build nvidia driver 331.49 for this kernel ???
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 ;
full err logs @ http://wahoo.no-ip.org/~pat/nvidia-installer.log
Current nvida drivers are't ready for kernel 3.14. You have to apply patches. http://rglinuxtech.com/?p=1090 will point you to some patches.
Unfortunately the url for the patch he sites provides a blank page and is for 331.38 rather than 331.49. But I could change if I could patch :^( Until then, guess I'll just run kernel-desktop-3.13.7-21.2.ga68bc7c.x86_64 tks, -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 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 03.04.2014 05:59, schrieb Patrick Shanahan:
Current nvida drivers are't ready for kernel 3.14. You have to apply
* Markus Koßmann <mkossmann_ml1@gmx.de> [04-02-14 22:52]: patches.
http://rglinuxtech.com/?p=1090 will point you to some patches.
Unfortunately the url for the patch he sites provides a blank page and is
i have a patched nvidia driver 334.21 which runs with kernel 3.14. i currently use it myself. i am writing this post on it. ;-) how should i give it to you? -- Rainer Klier Research & Development xyzmo Software GmbH, SIGNificant E-Signature Solutions A-4052 Ansfelden, Haiderstraße 23 Tel.: +43 7229 88060-0, E-Mail: rainer.klier@xyzmo.com -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 2014-04-03 05:59, Patrick Shanahan wrote:
* Markus Koßmann <> [04-02-14 22:52]:
Current nvida drivers are't ready for kernel 3.14. You have to apply patches. http://rglinuxtech.com/?p=1090 will point you to some patches.
Unfortunately the url for the patch he sites provides a blank page and is for 331.38 rather than 331.49. But I could change if I could patch :^(
I think that you have to go back some posts, to <http://rglinuxtech.com/?p=1077>, which in turn points to <http://rglinuxtech.com/?p=1035>, where he says there is a patch for 331.38 at <https://devtalk.nvidia.com/default/topic/683534/linux/331-38-on-3-14-rc1-kernel/>. But instead of directly applying that patch, he edit the files, because it is intended for dkms. That's more or less what I understand. I would simply not use Tumbleweed. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
Am 03.04.2014 11:41, schrieb Carlos E. R.:
On 2014-04-03 05:59, Patrick Shanahan wrote:
* Markus Koßmann <> [04-02-14 22:52]:
I think that you have to go back some posts, to <http://rglinuxtech.com/?p=1077>, which in turn points to <http://rglinuxtech.com/?p=1035>, where he says there is a patch for 331.38 at <https://devtalk.nvidia.com/default/topic/683534/linux/331-38-on-3-14-rc1-kernel/>. But instead of directly applying that patch, he edit the files, because
this is what i did, and it worked. -- Rainer Klier Research & Development xyzmo Software GmbH, SIGNificant E-Signature Solutions A-4052 Ansfelden, Haiderstraße 23 Tel.: +43 7229 88060-0, E-Mail: rainer.klier@xyzmo.com -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thursday 03 April 2014 11.59:07 Klier Rainer wrote:
Am 03.04.2014 11:41, schrieb Carlos E. R.:
On 2014-04-03 05:59, Patrick Shanahan wrote:
* Markus Koßmann <> [04-02-14 22:52]:
I think that you have to go back some posts, to <http://rglinuxtech.com/?p=1077>, which in turn points to <http://rglinuxtech.com/?p=1035>, where he says there is a patch for 331.38 at <https://devtalk.nvidia.com/default/topic/683534/linux/331-38-on-3-14-rc1-kernel/>. But instead of directly applying that patch, he edit the files, because
this is what i did, and it worked.
See attached the patch you need to have the actual 331.49 ( present in nvidia repo ) build with at least a kernel-stable I use it for myself, but I'm with stock 13.1 + kernel-stable . build work and for the moment xorg seems happy. -- B
* Bruno Friedmann <bruno@ioda-net.ch> [04-03-14 09:18]:
On Thursday 03 April 2014 11.59:07 Klier Rainer wrote:
Am 03.04.2014 11:41, schrieb Carlos E. R.:
On 2014-04-03 05:59, Patrick Shanahan wrote:
* Markus Koßmann <> [04-02-14 22:52]:
I think that you have to go back some posts, to <http://rglinuxtech.com/?p=1077>, which in turn points to <http://rglinuxtech.com/?p=1035>, where he says there is a patch for 331.38 at <https://devtalk.nvidia.com/default/topic/683534/linux/331-38-on-3-14-rc1-kernel/>. But instead of directly applying that patch, he edit the files, because
this is what i did, and it worked.
See attached the patch you need to have the actual 331.49 ( present in nvidia repo ) build with at least a kernel-stable I use it for myself, but I'm with stock 13.1 + kernel-stable . build work and for the moment xorg seems happy.
--- a/kernel/nv-linux.h 2014-02-13 04:57:14.000000000 +0100 +++ b/kernel/nv-linux.h 2014-04-03 11:27:14.888851657 +0200 @@ -266,8 +266,7 @@ #endif
#if !defined(NV_VMWARE) && defined(CONFIG_ACPI) -#include <acpi/acpi.h> -#include <acpi/acpi_drivers.h> +#include <linux/acpi.h> #if defined(NV_ACPI_DEVICE_OPS_HAS_MATCH) || defined(ACPI_VIDEO_HID) #define NV_LINUX_ACPI_EVENTS_SUPPORTED 1 #endif
unfortunately neither patch works for me with 331.49 or 331.38 both fail to find /kernel/nv-linux.h ps: I am not using/running dkms tks, -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 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 03.04.2014 18:55, schrieb Patrick Shanahan:
See attached the patch you need to have the actual 331.49 ( present in nvidia repo ) build with at least a kernel-stable I use it for myself, but I'm with stock 13.1 + kernel-stable . build work and for the moment xorg seems happy.
--- a/kernel/nv-linux.h 2014-02-13 04:57:14.000000000 +0100 +++ b/kernel/nv-linux.h 2014-04-03 11:27:14.888851657 +0200 @@ -266,8 +266,7 @@ #endif
#if !defined(NV_VMWARE) && defined(CONFIG_ACPI) -#include <acpi/acpi.h> -#include <acpi/acpi_drivers.h> +#include <linux/acpi.h> #if defined(NV_ACPI_DEVICE_OPS_HAS_MATCH) || defined(ACPI_VIDEO_HID) #define NV_LINUX_ACPI_EVENTS_SUPPORTED 1 #endif
unfortunately neither patch works for me with 331.49 or 331.38
both fail to find /kernel/nv-linux.h
then you maybe patching wrong. to apply the above patch you have to change to directory NVIDIA-Linux-x86_64-334.21 and then use: patch -p1 </patch/to/patch-file -- Rainer Klier Research & Development xyzmo Software GmbH, SIGNificant E-Signature Solutions A-4052 Ansfelden, Haiderstraße 23 Tel.: +43 7229 88060-0, E-Mail: rainer.klier@xyzmo.com -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 04/04/14 17:42, Klier Rainer wrote:
Am 03.04.2014 18:55, schrieb Patrick Shanahan:
See attached the patch you need to have the actual 331.49 ( present in nvidia repo ) build with at least a kernel-stable I use it for myself, but I'm with stock 13.1 + kernel-stable . build work and for the moment xorg seems happy.
--- a/kernel/nv-linux.h 2014-02-13 04:57:14.000000000 +0100 +++ b/kernel/nv-linux.h 2014-04-03 11:27:14.888851657 +0200 @@ -266,8 +266,7 @@ #endif
#if !defined(NV_VMWARE) && defined(CONFIG_ACPI) -#include <acpi/acpi.h> -#include <acpi/acpi_drivers.h> +#include <linux/acpi.h> #if defined(NV_ACPI_DEVICE_OPS_HAS_MATCH) || defined(ACPI_VIDEO_HID) #define NV_LINUX_ACPI_EVENTS_SUPPORTED 1 #endif unfortunately neither patch works for me with 331.49 or 331.38
both fail to find /kernel/nv-linux.h then you maybe patching wrong.
to apply the above patch you have to change to directory NVIDIA-Linux-x86_64-334.21 and then use:
patch -p1 </patch/to/patch-file
The patch which I used and which worked perfectly is: diff -Naurp nvidia-331-331.38.orig/nv-linux.h nvidia-331-331.38/nv-linux.h --- a/kernel/nv-linux.h 2014-02-04 00:20:25.756253881 +0100 +++ b/kernel/nv-linux.h 2014-02-04 00:22:32.076257264 +0100 @@ -268,6 +268,11 @@ extern int nv_pat_mode; #if !defined(NV_VMWARE) && defined(CONFIG_ACPI) #include <acpi/acpi.h> #include <acpi/acpi_drivers.h> + +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0) +#include <acpi/acpi_bus.h> +#endif + #if defined(NV_ACPI_DEVICE_OPS_HAS_MATCH) || defined(ACPI_VIDEO_HID) #define NV_LINUX_ACPI_EVENTS_SUPPORTED 1 #endif The patch was provided by Masaru Nomiya who posted it in a reply to my message in openSUSE 'HELP' list. The patch is for 331.49 and kernel 3.14.x (actually my kernel was 3.14.0-2). BC -- A civilisation is judged by how it treats the most vulnerable. Lauren Smith - 30 January 2014 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
OK, patch *does* work for me, when applied against the expanded "run" file. I was trying to apply the patch against the compressed "run" file and it fails but a small change is required to successfully apply the patch. proposed patch: --- a/kernel/nv-linux.h 2014-02-13 04:57:14.000000000 +0100 +++ b/kernel/nv-linux.h 2014-04-03 11:27:14.888851657 +0200 @@ -266,8 +266,7 @@ #endif #if !defined(NV_VMWARE) && defined(CONFIG_ACPI) -#include <acpi/acpi.h> -#include <acpi/acpi_drivers.h> +#include <linux/acpi.h> #if defined(NV_ACPI_DEVICE_OPS_HAS_MATCH) || defined(ACPI_VIDEO_HID) #define NV_LINUX_ACPI_EVENTS_SUPPORTED 1 #endif works on expanded driver. following creates NVIDIA-Linux-x86_64-331.49-custom.run (corrected file-path) --- a./kernel/nv-linux.h 2014-02-13 04:57:14.000000000 +0100 +++ b./kernel/nv-linux.h 2014-04-03 11:27:14.888851657 +0200 @@ -266,8 +266,7 @@ #endif #if !defined(NV_VMWARE) && defined(CONFIG_ACPI) -#include <acpi/acpi.h> -#include <acpi/acpi_drivers.h> +#include <linux/acpi.h> #if defined(NV_ACPI_DEVICE_OPS_HAS_MATCH) || defined(ACPI_VIDEO_HID) #define NV_LINUX_ACPI_EVENTS_SUPPORTED 1 #endif sh NVIDIA-Linux-x86_64-331.49-custom.run --apply-patch <patch-name> -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 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
participants (7)
-
Basil Chupin
-
Bruno Friedmann
-
Carlos E. R.
-
Greg KH
-
Klier Rainer
-
Markus Koßmann
-
Patrick Shanahan