All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/nvidia-driver: bump version to 390.144
@ 2021-11-04 14:19 Vincent Fazio
  2021-12-30 16:35 ` Thomas Petazzoni
  2022-06-20 17:09 ` [Buildroot] [PATCH 1/1] package/nvidia-driver: bump version to 390.151 Vincent Fazio
  0 siblings, 2 replies; 15+ messages in thread
From: Vincent Fazio @ 2021-11-04 14:19 UTC (permalink / raw)
  To: buildroot; +Cc: Yann E . MORIN, Vincent Fazio

Adds support for Linux kernel 5.11.

Define IGNORE_CC_MISMATCH for kernel module builds to avoid an issue
where NVIDIA's `cc_version_check` in kernel/conftest.sh may falsely
detect a mismatch and fail due to matching on the pkgversion substring
of the GCC version string in the kernel's include/generated/compile.h.

Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
---
 package/nvidia-driver/nvidia-driver.hash | 4 ++--
 package/nvidia-driver/nvidia-driver.mk   | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/package/nvidia-driver/nvidia-driver.hash b/package/nvidia-driver/nvidia-driver.hash
index 7f2248d0f9..9e6deb0061 100644
--- a/package/nvidia-driver/nvidia-driver.hash
+++ b/package/nvidia-driver/nvidia-driver.hash
@@ -1,4 +1,4 @@
 # Locally computed
-sha256 51adb28f0ed4548f35a88a93ad6767ebd807fa14f418bf5e51a6d63a3ff7f275  NVIDIA-Linux-x86-390.132.run
-sha256 b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d  NVIDIA-Linux-x86_64-390.132-no-compat32.run
+sha256 8bb6e8de89e8f8325466af29cf0fa235c988d19137f7fe3eb6bfae1d5e305e74  NVIDIA-Linux-x86-390.144.run
+sha256 d9b36e51253592d7aeecb9758ebccf30348ab364c88f95aa5ba33c767470949c  NVIDIA-Linux-x86_64-390.144-no-compat32.run
 sha256 bd28b0c5aeeb00eb11d3ec6f6f3449d4b3a40100914258332734a53527997526  LICENSE
diff --git a/package/nvidia-driver/nvidia-driver.mk b/package/nvidia-driver/nvidia-driver.mk
index 54c2aa46d8..5b229725d0 100644
--- a/package/nvidia-driver/nvidia-driver.mk
+++ b/package/nvidia-driver/nvidia-driver.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-NVIDIA_DRIVER_VERSION = 390.132
+NVIDIA_DRIVER_VERSION = 390.144
 NVIDIA_DRIVER_SUFFIX = $(if $(BR2_x86_64),_64)
 NVIDIA_DRIVER_SITE = http://download.nvidia.com/XFree86/Linux-x86$(NVIDIA_DRIVER_SUFFIX)/$(NVIDIA_DRIVER_VERSION)
 NVIDIA_DRIVER_SOURCE = NVIDIA-Linux-x86$(NVIDIA_DRIVER_SUFFIX)-$(NVIDIA_DRIVER_VERSION)$(if $(BR2_x86_64),-no-compat32).run
@@ -137,6 +137,7 @@ endif
 # because they don't recognise the usual variables set by the kernel
 # build system. We also need to tell them what modules to build.
 NVIDIA_DRIVER_MODULE_MAKE_OPTS = \
+	IGNORE_CC_MISMATCH=1 \
 	NV_KERNEL_SOURCES="$(LINUX_DIR)" \
 	NV_KERNEL_OUTPUT="$(LINUX_DIR)" \
 	NV_KERNEL_MODULES="$(NVIDIA_DRIVER_MODULES)"
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/nvidia-driver: bump version to 390.144
  2021-11-04 14:19 [Buildroot] [PATCH 1/1] package/nvidia-driver: bump version to 390.144 Vincent Fazio
@ 2021-12-30 16:35 ` Thomas Petazzoni
  2021-12-30 17:20   ` [Buildroot] [External] - " Vincent Fazio
  2022-06-20 17:09 ` [Buildroot] [PATCH 1/1] package/nvidia-driver: bump version to 390.151 Vincent Fazio
  1 sibling, 1 reply; 15+ messages in thread
From: Thomas Petazzoni @ 2021-12-30 16:35 UTC (permalink / raw)
  To: Vincent Fazio; +Cc: Yann E . MORIN, buildroot

Hello Vincent,

On Thu,  4 Nov 2021 09:19:10 -0500
Vincent Fazio <vfazio@xes-inc.com> wrote:

> Adds support for Linux kernel 5.11.
> 
> Define IGNORE_CC_MISMATCH for kernel module builds to avoid an issue
> where NVIDIA's `cc_version_check` in kernel/conftest.sh may falsely
> detect a mismatch and fail due to matching on the pkgversion substring
> of the GCC version string in the kernel's include/generated/compile.h.
> 
> Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
> ---
>  package/nvidia-driver/nvidia-driver.hash | 4 ++--
>  package/nvidia-driver/nvidia-driver.mk   | 3 ++-
>  2 files changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/package/nvidia-driver/nvidia-driver.hash b/package/nvidia-driver/nvidia-driver.hash
> index 7f2248d0f9..9e6deb0061 100644
> --- a/package/nvidia-driver/nvidia-driver.hash
> +++ b/package/nvidia-driver/nvidia-driver.hash
> @@ -1,4 +1,4 @@
>  # Locally computed
> -sha256 51adb28f0ed4548f35a88a93ad6767ebd807fa14f418bf5e51a6d63a3ff7f275  NVIDIA-Linux-x86-390.132.run
> -sha256 b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d  NVIDIA-Linux-x86_64-390.132-no-compat32.run
> +sha256 8bb6e8de89e8f8325466af29cf0fa235c988d19137f7fe3eb6bfae1d5e305e74  NVIDIA-Linux-x86-390.144.run
> +sha256 d9b36e51253592d7aeecb9758ebccf30348ab364c88f95aa5ba33c767470949c  NVIDIA-Linux-x86_64-390.144-no-compat32.run
>  sha256 bd28b0c5aeeb00eb11d3ec6f6f3449d4b3a40100914258332734a53527997526  LICENSE

Sorry for the slow feedback, but could you check those hashes? Indeed,
I don't get the same here:

ERROR: NVIDIA-Linux-x86-390.144.run has wrong sha256 hash:
ERROR: expected: 8bb6e8de89e8f8325466af29cf0fa235c988d19137f7fe3eb6bfae1d5e305e74
ERROR: got     : fa586d11fcf103f81eda7d859a2a8ccdeb7371f4742fe942cb4a9b0aeb6bbb30
ERROR: Incomplete download, or man-in-the-middle (MITM) attack

However, *before* doing a test, please keep aside your existing
NVIDIA-Linux-x86-390.144.run and
NVIDIA-Linux-x86_64-390.144-no-compat32.run from your download folder,
and verify their hashes. We indeed want to see if you got the hashes
wrong in the .hash file, or if really NVidia changed the files they are
serving.

Thanks a lot!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [Buildroot] [External] - Re: [PATCH 1/1] package/nvidia-driver: bump version to 390.144
  2021-12-30 16:35 ` Thomas Petazzoni
@ 2021-12-30 17:20   ` Vincent Fazio
  0 siblings, 0 replies; 15+ messages in thread
From: Vincent Fazio @ 2021-12-30 17:20 UTC (permalink / raw)
  To: Thomas Petazzoni; +Cc: Yann E . MORIN, buildroot

Thomas,


> -----Original Message-----
> From: buildroot <buildroot-bounces@buildroot.org> On Behalf Of Thomas
> Petazzoni
> Sent: Thursday, December 30, 2021 10:35 AM
> To: Vincent Fazio <vfazio@xes-inc.com>
> Cc: Yann E . MORIN <yann.morin.1998@free.fr>; buildroot@buildroot.org
> Subject: [External] - Re: [Buildroot] [PATCH 1/1] package/nvidia-driver: bump
> version to 390.144
> 
> Hello Vincent,
> 
> On Thu,  4 Nov 2021 09:19:10 -0500
> Vincent Fazio <vfazio@xes-inc.com> wrote:
> 
> > Adds support for Linux kernel 5.11.
> >
> > Define IGNORE_CC_MISMATCH for kernel module builds to avoid an issue
> > where NVIDIA's `cc_version_check` in kernel/conftest.sh may falsely
> > detect a mismatch and fail due to matching on the pkgversion substring
> > of the GCC version string in the kernel's include/generated/compile.h.
> >
> > Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
> > ---
> >  package/nvidia-driver/nvidia-driver.hash | 4 ++--
> >  package/nvidia-driver/nvidia-driver.mk   | 3 ++-
> >  2 files changed, 4 insertions(+), 3 deletions(-)
> >
> > diff --git a/package/nvidia-driver/nvidia-driver.hash b/package/nvidia-
> driver/nvidia-driver.hash
> > index 7f2248d0f9..9e6deb0061 100644
> > --- a/package/nvidia-driver/nvidia-driver.hash
> > +++ b/package/nvidia-driver/nvidia-driver.hash
> > @@ -1,4 +1,4 @@
> >  # Locally computed
> > -sha256
> 51adb28f0ed4548f35a88a93ad6767ebd807fa14f418bf5e51a6d63a3ff7f275
> NVIDIA-Linux-x86-390.132.run
> > -sha256
> b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d
> NVIDIA-Linux-x86_64-390.132-no-compat32.run
> > +sha256
> 8bb6e8de89e8f8325466af29cf0fa235c988d19137f7fe3eb6bfae1d5e305e74
> NVIDIA-Linux-x86-390.144.run
> > +sha256
> d9b36e51253592d7aeecb9758ebccf30348ab364c88f95aa5ba33c767470949c
> NVIDIA-Linux-x86_64-390.144-no-compat32.run
> >  sha256
> bd28b0c5aeeb00eb11d3ec6f6f3449d4b3a40100914258332734a53527997526
> LICENSE
> 
> Sorry for the slow feedback, but could you check those hashes? Indeed,
> I don't get the same here:
> 
> ERROR: NVIDIA-Linux-x86-390.144.run has wrong sha256 hash:
> ERROR: expected:
> 8bb6e8de89e8f8325466af29cf0fa235c988d19137f7fe3eb6bfae1d5e305e74
> ERROR: got     :
> fa586d11fcf103f81eda7d859a2a8ccdeb7371f4742fe942cb4a9b0aeb6bbb30
> ERROR: Incomplete download, or man-in-the-middle (MITM) attack
> 
> However, *before* doing a test, please keep aside your existing
> NVIDIA-Linux-x86-390.144.run and
> NVIDIA-Linux-x86_64-390.144-no-compat32.run from your download folder,
> and verify their hashes. We indeed want to see if you got the hashes
> wrong in the .hash file, or if really NVidia changed the files they are
> serving.
> 

My archived downloads show the hashes I had included in the hash file

vfazio@vfazio2 /mnt/development $ find . -name "NVIDIA*144*.run" -exec sha256sum '{}' +;
d9b36e51253592d7aeecb9758ebccf30348ab364c88f95aa5ba33c767470949c  ./buildroot/dl/nvidia-driver/NVIDIA-Linux-x86_64-390.144-no-compat32.run

vfazio@vfazio2 /mnt/development $ find ~/Downloads/ -name "NVIDIA*144*.run" -exec sha256sum '{}' +;
8bb6e8de89e8f8325466af29cf0fa235c988d19137f7fe3eb6bfae1d5e305e74  /home/vfazio/Downloads/NVIDIA-Linux-x86_64-390.144.run

I just manually fetched the packages from https://download.nvidia.com/XFree86/Linux-x86_64/390.144/ on my windows box to rule anything out on my linux box:

PS C:\Users\vfazio> Get-FileHash -InputStream ($wc.OpenRead("https://download.nvidia.com/XFree86/Linux-x86_64/390.144/NVIDIA-Linux-x86_64-390.144-no-compat32.run"))

Algorithm       Hash                                                                   Path
---------       ----                                                                   ----
SHA256          D9B36E51253592D7AEECB9758EBCCF30348AB364C88F95AA5BA33C767470949C


PS C:\Users\vfazio> Get-FileHash -InputStream ($wc.OpenRead("https://download.nvidia.com/XFree86/Linux-x86_64/390.144/NVIDIA-Linux-x86_64-390.144.run"))

Algorithm       Hash                                                                   Path
---------       ----                                                                   ----
SHA256          8BB6E8DE89E8F8325466AF29CF0FA235C988D19137F7FE3EB6BFAE1D5E305E74

Not sure why there's a mismatch. 

The patch probably needs to be bumped to 390.147 anyway as that was recently released.

> Thanks a lot!
> 
> Thomas
> --
> Thomas Petazzoni, co-owner and CEO, Bootlin
> Embedded Linux and Kernel engineering and training
> https://usg02.safelinks.protection.office365.us/?url=https%3A%2F%2Fbootli
> n.com%2F&amp;data=04%7C01%7C%7C8be2745115fc42b413c108d9cbb2667f
> %7C2925f1cdbdc34a76bb386159e20a17f1%7C0%7C0%7C637764789367091265
> %7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiL
> CJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=s4W%2FW5QJMgD
> ULUdTjEsMaFKJICBjitfTGEXHOL5ZeKs%3D&amp;reserved=0
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
> CAUTION: This email originated from outside of the organization. Do not click
> links or open attachments unless you recognize the sender and know the
> content is safe.

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH 1/1] package/nvidia-driver: bump version to 390.151
  2021-11-04 14:19 [Buildroot] [PATCH 1/1] package/nvidia-driver: bump version to 390.144 Vincent Fazio
  2021-12-30 16:35 ` Thomas Petazzoni
@ 2022-06-20 17:09 ` Vincent Fazio
  2022-06-20 18:20   ` Arnout Vandecappelle
  2022-06-20 19:01   ` [Buildroot] [PATCH 1/2] package/nvidia-driver: define IGNORE_CC_MISMATCH Vincent Fazio
  1 sibling, 2 replies; 15+ messages in thread
From: Vincent Fazio @ 2022-06-20 17:09 UTC (permalink / raw)
  To: buildroot; +Cc: Yann E . MORIN, Vincent Fazio

Adds support for Linux kernel 5.17.

Define IGNORE_CC_MISMATCH for kernel module builds to avoid an issue
where NVIDIA's `cc_version_check` in kernel/conftest.sh may falsely
detect a mismatch and fail due to matching on the pkgversion substring
of the GCC version string in the kernel's include/generated/compile.h.

Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
---
 package/nvidia-driver/nvidia-driver.hash | 4 ++--
 package/nvidia-driver/nvidia-driver.mk   | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/package/nvidia-driver/nvidia-driver.hash b/package/nvidia-driver/nvidia-driver.hash
index 7f2248d0f9..6564b8e821 100644
--- a/package/nvidia-driver/nvidia-driver.hash
+++ b/package/nvidia-driver/nvidia-driver.hash
@@ -1,4 +1,4 @@
 # Locally computed
-sha256 51adb28f0ed4548f35a88a93ad6767ebd807fa14f418bf5e51a6d63a3ff7f275  NVIDIA-Linux-x86-390.132.run
-sha256 b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d  NVIDIA-Linux-x86_64-390.132-no-compat32.run
+sha256 5226e4842044cffd9096deadaf68934c133da74e05b80ccd21236584b3afb1fc  NVIDIA-Linux-x86-390.151.run
+sha256 6e4fd2258465f5d5527fe80abd46de925a30348b4a84658498a6d75caf42c47c  NVIDIA-Linux-x86_64-390.151-no-compat32.run
 sha256 bd28b0c5aeeb00eb11d3ec6f6f3449d4b3a40100914258332734a53527997526  LICENSE
diff --git a/package/nvidia-driver/nvidia-driver.mk b/package/nvidia-driver/nvidia-driver.mk
index 54c2aa46d8..f1217b00aa 100644
--- a/package/nvidia-driver/nvidia-driver.mk
+++ b/package/nvidia-driver/nvidia-driver.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-NVIDIA_DRIVER_VERSION = 390.132
+NVIDIA_DRIVER_VERSION = 390.151
 NVIDIA_DRIVER_SUFFIX = $(if $(BR2_x86_64),_64)
 NVIDIA_DRIVER_SITE = http://download.nvidia.com/XFree86/Linux-x86$(NVIDIA_DRIVER_SUFFIX)/$(NVIDIA_DRIVER_VERSION)
 NVIDIA_DRIVER_SOURCE = NVIDIA-Linux-x86$(NVIDIA_DRIVER_SUFFIX)-$(NVIDIA_DRIVER_VERSION)$(if $(BR2_x86_64),-no-compat32).run
@@ -137,6 +137,7 @@ endif
 # because they don't recognise the usual variables set by the kernel
 # build system. We also need to tell them what modules to build.
 NVIDIA_DRIVER_MODULE_MAKE_OPTS = \
+	IGNORE_CC_MISMATCH=1 \
 	NV_KERNEL_SOURCES="$(LINUX_DIR)" \
 	NV_KERNEL_OUTPUT="$(LINUX_DIR)" \
 	NV_KERNEL_MODULES="$(NVIDIA_DRIVER_MODULES)"
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/nvidia-driver: bump version to 390.151
  2022-06-20 17:09 ` [Buildroot] [PATCH 1/1] package/nvidia-driver: bump version to 390.151 Vincent Fazio
@ 2022-06-20 18:20   ` Arnout Vandecappelle
  2022-06-20 18:42     ` [Buildroot] [External] - " Vincent Fazio
  2022-06-20 19:01   ` [Buildroot] [PATCH 1/2] package/nvidia-driver: define IGNORE_CC_MISMATCH Vincent Fazio
  1 sibling, 1 reply; 15+ messages in thread
From: Arnout Vandecappelle @ 2022-06-20 18:20 UTC (permalink / raw)
  To: Vincent Fazio, buildroot; +Cc: Yann E . MORIN



On 20/06/2022 19:09, Vincent Fazio wrote:
> Adds support for Linux kernel 5.17.
> 
> Define IGNORE_CC_MISMATCH for kernel module builds to avoid an issue
> where NVIDIA's `cc_version_check` in kernel/conftest.sh may falsely
> detect a mismatch and fail due to matching on the pkgversion substring
> of the GCC version string in the kernel's include/generated/compile.h.

  Shouldn't that part be done in a separate patch that can be applied to 
2022.05.x and 2022.02.x? AFAIU, this error will happen even with the 5.4 kernel 
that is supported by that version of nvidia-driver. Or doesn't it?

  Regards,
  Arnout

> 
> Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
> ---
>   package/nvidia-driver/nvidia-driver.hash | 4 ++--
>   package/nvidia-driver/nvidia-driver.mk   | 3 ++-
>   2 files changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/package/nvidia-driver/nvidia-driver.hash b/package/nvidia-driver/nvidia-driver.hash
> index 7f2248d0f9..6564b8e821 100644
> --- a/package/nvidia-driver/nvidia-driver.hash
> +++ b/package/nvidia-driver/nvidia-driver.hash
> @@ -1,4 +1,4 @@
>   # Locally computed
> -sha256 51adb28f0ed4548f35a88a93ad6767ebd807fa14f418bf5e51a6d63a3ff7f275  NVIDIA-Linux-x86-390.132.run
> -sha256 b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d  NVIDIA-Linux-x86_64-390.132-no-compat32.run
> +sha256 5226e4842044cffd9096deadaf68934c133da74e05b80ccd21236584b3afb1fc  NVIDIA-Linux-x86-390.151.run
> +sha256 6e4fd2258465f5d5527fe80abd46de925a30348b4a84658498a6d75caf42c47c  NVIDIA-Linux-x86_64-390.151-no-compat32.run
>   sha256 bd28b0c5aeeb00eb11d3ec6f6f3449d4b3a40100914258332734a53527997526  LICENSE
> diff --git a/package/nvidia-driver/nvidia-driver.mk b/package/nvidia-driver/nvidia-driver.mk
> index 54c2aa46d8..f1217b00aa 100644
> --- a/package/nvidia-driver/nvidia-driver.mk
> +++ b/package/nvidia-driver/nvidia-driver.mk
> @@ -4,7 +4,7 @@
>   #
>   ################################################################################
>   
> -NVIDIA_DRIVER_VERSION = 390.132
> +NVIDIA_DRIVER_VERSION = 390.151
>   NVIDIA_DRIVER_SUFFIX = $(if $(BR2_x86_64),_64)
>   NVIDIA_DRIVER_SITE = http://download.nvidia.com/XFree86/Linux-x86$(NVIDIA_DRIVER_SUFFIX)/$(NVIDIA_DRIVER_VERSION)
>   NVIDIA_DRIVER_SOURCE = NVIDIA-Linux-x86$(NVIDIA_DRIVER_SUFFIX)-$(NVIDIA_DRIVER_VERSION)$(if $(BR2_x86_64),-no-compat32).run
> @@ -137,6 +137,7 @@ endif
>   # because they don't recognise the usual variables set by the kernel
>   # build system. We also need to tell them what modules to build.
>   NVIDIA_DRIVER_MODULE_MAKE_OPTS = \
> +	IGNORE_CC_MISMATCH=1 \
>   	NV_KERNEL_SOURCES="$(LINUX_DIR)" \
>   	NV_KERNEL_OUTPUT="$(LINUX_DIR)" \
>   	NV_KERNEL_MODULES="$(NVIDIA_DRIVER_MODULES)"
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [Buildroot] [External] - Re: [PATCH 1/1] package/nvidia-driver: bump version to 390.151
  2022-06-20 18:20   ` Arnout Vandecappelle
@ 2022-06-20 18:42     ` Vincent Fazio
  0 siblings, 0 replies; 15+ messages in thread
From: Vincent Fazio @ 2022-06-20 18:42 UTC (permalink / raw)
  To: Arnout Vandecappelle, buildroot; +Cc: Yann E . MORIN

Arnout,

> -----Original Message-----
> From: Arnout Vandecappelle <arnout@mind.be>
> Sent: Monday, June 20, 2022 1:21 PM
> To: Vincent Fazio <vfazio@xes-inc.com>; buildroot@buildroot.org
> Cc: Yann E . MORIN <yann.morin.1998@free.fr>
> Subject: [External] - Re: [Buildroot] [PATCH 1/1] package/nvidia-driver: bump
> version to 390.151
> 
> 
> 
> On 20/06/2022 19:09, Vincent Fazio wrote:
> > Adds support for Linux kernel 5.17.
> >
> > Define IGNORE_CC_MISMATCH for kernel module builds to avoid an issue
> > where NVIDIA's `cc_version_check` in kernel/conftest.sh may falsely
> > detect a mismatch and fail due to matching on the pkgversion substring
> > of the GCC version string in the kernel's include/generated/compile.h.
> 
>   Shouldn't that part be done in a separate patch that can be applied to
> 2022.05.x and 2022.02.x? AFAIU, this error will happen even with the 5.4
> kernel
> that is supported by that version of nvidia-driver. Or doesn't it?

You're absolutely correct, I can split this into two patches and resubmit.

> 
>   Regards,
>   Arnout
> 
> >
> > Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
> > ---
> >   package/nvidia-driver/nvidia-driver.hash | 4 ++--
> >   package/nvidia-driver/nvidia-driver.mk   | 3 ++-
> >   2 files changed, 4 insertions(+), 3 deletions(-)
> >
> > diff --git a/package/nvidia-driver/nvidia-driver.hash b/package/nvidia-
> driver/nvidia-driver.hash
> > index 7f2248d0f9..6564b8e821 100644
> > --- a/package/nvidia-driver/nvidia-driver.hash
> > +++ b/package/nvidia-driver/nvidia-driver.hash
> > @@ -1,4 +1,4 @@
> >   # Locally computed
> > -sha256
> 51adb28f0ed4548f35a88a93ad6767ebd807fa14f418bf5e51a6d63a3ff7f275
> NVIDIA-Linux-x86-390.132.run
> > -sha256
> b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d
> NVIDIA-Linux-x86_64-390.132-no-compat32.run
> > +sha256
> 5226e4842044cffd9096deadaf68934c133da74e05b80ccd21236584b3afb1fc
> NVIDIA-Linux-x86-390.151.run
> > +sha256
> 6e4fd2258465f5d5527fe80abd46de925a30348b4a84658498a6d75caf42c47c
> NVIDIA-Linux-x86_64-390.151-no-compat32.run
> >   sha256
> bd28b0c5aeeb00eb11d3ec6f6f3449d4b3a40100914258332734a53527997526
> LICENSE
> > diff --git a/package/nvidia-driver/nvidia-driver.mk b/package/nvidia-
> driver/nvidia-driver.mk
> > index 54c2aa46d8..f1217b00aa 100644
> > --- a/package/nvidia-driver/nvidia-driver.mk
> > +++ b/package/nvidia-driver/nvidia-driver.mk
> > @@ -4,7 +4,7 @@
> >   #
> >
> ##########################################################
> ######################
> >
> > -NVIDIA_DRIVER_VERSION = 390.132
> > +NVIDIA_DRIVER_VERSION = 390.151
> >   NVIDIA_DRIVER_SUFFIX = $(if $(BR2_x86_64),_64)
> >   NVIDIA_DRIVER_SITE = http://download.nvidia.com/XFree86/Linux-
> x86$(NVIDIA_DRIVER_SUFFIX)/$(NVIDIA_DRIVER_VERSION)
> >   NVIDIA_DRIVER_SOURCE = NVIDIA-Linux-x86$(NVIDIA_DRIVER_SUFFIX)-
> $(NVIDIA_DRIVER_VERSION)$(if $(BR2_x86_64),-no-compat32).run
> > @@ -137,6 +137,7 @@ endif
> >   # because they don't recognise the usual variables set by the kernel
> >   # build system. We also need to tell them what modules to build.
> >   NVIDIA_DRIVER_MODULE_MAKE_OPTS = \
> > +     IGNORE_CC_MISMATCH=1 \
> >       NV_KERNEL_SOURCES="$(LINUX_DIR)" \
> >       NV_KERNEL_OUTPUT="$(LINUX_DIR)" \
> >       NV_KERNEL_MODULES="$(NVIDIA_DRIVER_MODULES)"
> CAUTION: This email originated from outside of the organization. Do not click
> links or open attachments unless you recognize the sender and know the
> content is safe.

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH 1/2] package/nvidia-driver: define IGNORE_CC_MISMATCH
  2022-06-20 17:09 ` [Buildroot] [PATCH 1/1] package/nvidia-driver: bump version to 390.151 Vincent Fazio
  2022-06-20 18:20   ` Arnout Vandecappelle
@ 2022-06-20 19:01   ` Vincent Fazio
  2022-06-20 19:01     ` [Buildroot] [PATCH 2/2] package/nvidia-driver: bump version to 390.151 Vincent Fazio
  2022-07-23 19:38     ` [Buildroot] [PATCH 1/2] package/nvidia-driver: define IGNORE_CC_MISMATCH Arnout Vandecappelle
  1 sibling, 2 replies; 15+ messages in thread
From: Vincent Fazio @ 2022-06-20 19:01 UTC (permalink / raw)
  To: buildroot; +Cc: Yann E . MORIN, Vincent Fazio

Leverage IGNORE_CC_MISMATCH for kernel module builds to avoid an issue
where NVIDIA's `cc_version_check` in kernel/conftest.sh may fail due
to matching on the pkgversion substring of the GCC version string in
the kernel's include/generated/compile.h.

Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
---
 package/nvidia-driver/nvidia-driver.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/nvidia-driver/nvidia-driver.mk b/package/nvidia-driver/nvidia-driver.mk
index 54c2aa46d8..ec070e3ca6 100644
--- a/package/nvidia-driver/nvidia-driver.mk
+++ b/package/nvidia-driver/nvidia-driver.mk
@@ -137,6 +137,7 @@ endif
 # because they don't recognise the usual variables set by the kernel
 # build system. We also need to tell them what modules to build.
 NVIDIA_DRIVER_MODULE_MAKE_OPTS = \
+	IGNORE_CC_MISMATCH=1 \
 	NV_KERNEL_SOURCES="$(LINUX_DIR)" \
 	NV_KERNEL_OUTPUT="$(LINUX_DIR)" \
 	NV_KERNEL_MODULES="$(NVIDIA_DRIVER_MODULES)"
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH 2/2] package/nvidia-driver: bump version to 390.151
  2022-06-20 19:01   ` [Buildroot] [PATCH 1/2] package/nvidia-driver: define IGNORE_CC_MISMATCH Vincent Fazio
@ 2022-06-20 19:01     ` Vincent Fazio
  2022-07-23 19:20       ` Arnout Vandecappelle
  2022-07-25 13:25       ` [Buildroot] [PATCH v2 " Vincent Fazio
  2022-07-23 19:38     ` [Buildroot] [PATCH 1/2] package/nvidia-driver: define IGNORE_CC_MISMATCH Arnout Vandecappelle
  1 sibling, 2 replies; 15+ messages in thread
From: Vincent Fazio @ 2022-06-20 19:01 UTC (permalink / raw)
  To: buildroot; +Cc: Yann E . MORIN, Vincent Fazio

Adds support for Linux kernel 5.17.

Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
---
 package/nvidia-driver/nvidia-driver.hash | 4 ++--
 package/nvidia-driver/nvidia-driver.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/nvidia-driver/nvidia-driver.hash b/package/nvidia-driver/nvidia-driver.hash
index 7f2248d0f9..6564b8e821 100644
--- a/package/nvidia-driver/nvidia-driver.hash
+++ b/package/nvidia-driver/nvidia-driver.hash
@@ -1,4 +1,4 @@
 # Locally computed
-sha256 51adb28f0ed4548f35a88a93ad6767ebd807fa14f418bf5e51a6d63a3ff7f275  NVIDIA-Linux-x86-390.132.run
-sha256 b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d  NVIDIA-Linux-x86_64-390.132-no-compat32.run
+sha256 5226e4842044cffd9096deadaf68934c133da74e05b80ccd21236584b3afb1fc  NVIDIA-Linux-x86-390.151.run
+sha256 6e4fd2258465f5d5527fe80abd46de925a30348b4a84658498a6d75caf42c47c  NVIDIA-Linux-x86_64-390.151-no-compat32.run
 sha256 bd28b0c5aeeb00eb11d3ec6f6f3449d4b3a40100914258332734a53527997526  LICENSE
diff --git a/package/nvidia-driver/nvidia-driver.mk b/package/nvidia-driver/nvidia-driver.mk
index ec070e3ca6..f1217b00aa 100644
--- a/package/nvidia-driver/nvidia-driver.mk
+++ b/package/nvidia-driver/nvidia-driver.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-NVIDIA_DRIVER_VERSION = 390.132
+NVIDIA_DRIVER_VERSION = 390.151
 NVIDIA_DRIVER_SUFFIX = $(if $(BR2_x86_64),_64)
 NVIDIA_DRIVER_SITE = http://download.nvidia.com/XFree86/Linux-x86$(NVIDIA_DRIVER_SUFFIX)/$(NVIDIA_DRIVER_VERSION)
 NVIDIA_DRIVER_SOURCE = NVIDIA-Linux-x86$(NVIDIA_DRIVER_SUFFIX)-$(NVIDIA_DRIVER_VERSION)$(if $(BR2_x86_64),-no-compat32).run
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* Re: [Buildroot] [PATCH 2/2] package/nvidia-driver: bump version to 390.151
  2022-06-20 19:01     ` [Buildroot] [PATCH 2/2] package/nvidia-driver: bump version to 390.151 Vincent Fazio
@ 2022-07-23 19:20       ` Arnout Vandecappelle
  2022-07-25 12:31         ` [Buildroot] [External] - " Vincent Fazio
  2022-07-25 13:25       ` [Buildroot] [PATCH v2 " Vincent Fazio
  1 sibling, 1 reply; 15+ messages in thread
From: Arnout Vandecappelle @ 2022-07-23 19:20 UTC (permalink / raw)
  To: Vincent Fazio, buildroot; +Cc: Yann E . MORIN

  Hi Vincent,

On 20/06/2022 21:01, Vincent Fazio wrote:
> Adds support for Linux kernel 5.17.
> 
> Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
> ---
>   package/nvidia-driver/nvidia-driver.hash | 4 ++--
>   package/nvidia-driver/nvidia-driver.mk   | 2 +-
>   2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/package/nvidia-driver/nvidia-driver.hash b/package/nvidia-driver/nvidia-driver.hash
> index 7f2248d0f9..6564b8e821 100644
> --- a/package/nvidia-driver/nvidia-driver.hash
> +++ b/package/nvidia-driver/nvidia-driver.hash
> @@ -1,4 +1,4 @@
>   # Locally computed
> -sha256 51adb28f0ed4548f35a88a93ad6767ebd807fa14f418bf5e51a6d63a3ff7f275  NVIDIA-Linux-x86-390.132.run
> -sha256 b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d  NVIDIA-Linux-x86_64-390.132-no-compat32.run
> +sha256 5226e4842044cffd9096deadaf68934c133da74e05b80ccd21236584b3afb1fc  NVIDIA-Linux-x86-390.151.run

  I wanted to apply this, but the hash doesn't match... Could you investigate?

  Regards,
  Arnout

> +sha256 6e4fd2258465f5d5527fe80abd46de925a30348b4a84658498a6d75caf42c47c  NVIDIA-Linux-x86_64-390.151-no-compat32.run
>   sha256 bd28b0c5aeeb00eb11d3ec6f6f3449d4b3a40100914258332734a53527997526  LICENSE
> diff --git a/package/nvidia-driver/nvidia-driver.mk b/package/nvidia-driver/nvidia-driver.mk
> index ec070e3ca6..f1217b00aa 100644
> --- a/package/nvidia-driver/nvidia-driver.mk
> +++ b/package/nvidia-driver/nvidia-driver.mk
> @@ -4,7 +4,7 @@
>   #
>   ################################################################################
>   
> -NVIDIA_DRIVER_VERSION = 390.132
> +NVIDIA_DRIVER_VERSION = 390.151
>   NVIDIA_DRIVER_SUFFIX = $(if $(BR2_x86_64),_64)
>   NVIDIA_DRIVER_SITE = http://download.nvidia.com/XFree86/Linux-x86$(NVIDIA_DRIVER_SUFFIX)/$(NVIDIA_DRIVER_VERSION)
>   NVIDIA_DRIVER_SOURCE = NVIDIA-Linux-x86$(NVIDIA_DRIVER_SUFFIX)-$(NVIDIA_DRIVER_VERSION)$(if $(BR2_x86_64),-no-compat32).run
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [Buildroot] [PATCH 1/2] package/nvidia-driver: define IGNORE_CC_MISMATCH
  2022-06-20 19:01   ` [Buildroot] [PATCH 1/2] package/nvidia-driver: define IGNORE_CC_MISMATCH Vincent Fazio
  2022-06-20 19:01     ` [Buildroot] [PATCH 2/2] package/nvidia-driver: bump version to 390.151 Vincent Fazio
@ 2022-07-23 19:38     ` Arnout Vandecappelle
  2022-08-17  6:55       ` Peter Korsgaard
  1 sibling, 1 reply; 15+ messages in thread
From: Arnout Vandecappelle @ 2022-07-23 19:38 UTC (permalink / raw)
  To: Vincent Fazio, buildroot; +Cc: Yann E . MORIN



On 20/06/2022 21:01, Vincent Fazio wrote:
> Leverage IGNORE_CC_MISMATCH for kernel module builds to avoid an issue
> where NVIDIA's `cc_version_check` in kernel/conftest.sh may fail due
> to matching on the pkgversion substring of the GCC version string in
> the kernel's include/generated/compile.h.
> 
> Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   package/nvidia-driver/nvidia-driver.mk | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/package/nvidia-driver/nvidia-driver.mk b/package/nvidia-driver/nvidia-driver.mk
> index 54c2aa46d8..ec070e3ca6 100644
> --- a/package/nvidia-driver/nvidia-driver.mk
> +++ b/package/nvidia-driver/nvidia-driver.mk
> @@ -137,6 +137,7 @@ endif
>   # because they don't recognise the usual variables set by the kernel
>   # build system. We also need to tell them what modules to build.
>   NVIDIA_DRIVER_MODULE_MAKE_OPTS = \
> +	IGNORE_CC_MISMATCH=1 \
>   	NV_KERNEL_SOURCES="$(LINUX_DIR)" \
>   	NV_KERNEL_OUTPUT="$(LINUX_DIR)" \
>   	NV_KERNEL_MODULES="$(NVIDIA_DRIVER_MODULES)"
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [Buildroot] [External] - Re: [PATCH 2/2] package/nvidia-driver: bump version to 390.151
  2022-07-23 19:20       ` Arnout Vandecappelle
@ 2022-07-25 12:31         ` Vincent Fazio
  2022-07-25 12:46           ` Yann E. MORIN
  0 siblings, 1 reply; 15+ messages in thread
From: Vincent Fazio @ 2022-07-25 12:31 UTC (permalink / raw)
  To: Arnout Vandecappelle, buildroot; +Cc: Yann E . MORIN, Thomas Petazzoni

Arnout,

> -----Original Message-----
> From: Arnout Vandecappelle <arnout@mind.be>
> Sent: Saturday, July 23, 2022 2:21 PM
> To: Vincent Fazio <vfazio@xes-inc.com>; buildroot@buildroot.org
> Cc: Yann E . MORIN <yann.morin.1998@free.fr>
> Subject: [External] - Re: [Buildroot] [PATCH 2/2] package/nvidia-driver: bump
> version to 390.151
> 
>   Hi Vincent,
> 
> On 20/06/2022 21:01, Vincent Fazio wrote:
> > Adds support for Linux kernel 5.17.
> >
> > Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
> > ---
> >   package/nvidia-driver/nvidia-driver.hash | 4 ++--
> >   package/nvidia-driver/nvidia-driver.mk   | 2 +-
> >   2 files changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --git a/package/nvidia-driver/nvidia-driver.hash b/package/nvidia-
> driver/nvidia-driver.hash
> > index 7f2248d0f9..6564b8e821 100644
> > --- a/package/nvidia-driver/nvidia-driver.hash
> > +++ b/package/nvidia-driver/nvidia-driver.hash
> > @@ -1,4 +1,4 @@
> >   # Locally computed
> > -sha256
> 51adb28f0ed4548f35a88a93ad6767ebd807fa14f418bf5e51a6d63a3ff7f275
> NVIDIA-Linux-x86-390.132.run
> > -sha256
> b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d
> NVIDIA-Linux-x86_64-390.132-no-compat32.run
> > +sha256
> 5226e4842044cffd9096deadaf68934c133da74e05b80ccd21236584b3afb1fc
> NVIDIA-Linux-x86-390.151.run
> 
>   I wanted to apply this, but the hash doesn't match... Could you investigate?
> 

This is a bit concerning because it's the second time this has happened. Thomas had a similar problem when I tried to bump to 390.144
http://patchwork.ozlabs.org/project/buildroot/patch/20211104141910.1840914-1-vfazio@xes-inc.com/#2813798

I rechecked the file hashes on both my Linux and a Windows machine and get the hashes I provided in the patch. 

Windows:
PS C:\Users\vfazio> $wc = [System.Net.WebClient]::new()
PS C:\Users\vfazio> Get-FileHash -InputStream ($wc.OpenRead("https://download.nvidia.com/XFree86/Linux-x86_64/390.151/NVIDIA-Linux-x86_64-390.151-no-compat32.run"))
Algorithm       Hash                                                                   Path
---------       ----                                                                   ----
SHA256          6E4FD2258465F5D5527FE80ABD46DE925A30348B4A84658498A6D75CAF42C47C

PS C:\Users\vfazio> Get-FileHash -InputStream ($wc.OpenRead("https://download.nvidia.com/XFree86/Linux-x86_64/390.151/NVIDIA-Linux-x86_64-390.151.run"))
Algorithm       Hash                                                                   Path
---------       ----                                                                   ----
SHA256          5226E4842044CFFD9096DEADAF68934C133DA74E05B80CCD21236584B3AFB1FC

Linux:
vfazio@vfazio2 ~ $ sha256sum NVIDIA-Linux-x86_64-390.151.run
5226e4842044cffd9096deadaf68934c133da74e05b80ccd21236584b3afb1fc  NVIDIA-Linux-x86_64-390.151.run

vfazio@vfazio2 ~ $ sha256sum ~/Downloads/NVIDIA-Linux-x86_64-390.151-no-compat32.run
6e4fd2258465f5d5527fe80abd46de925a30348b4a84658498a6d75caf42c47c  /home/vfazio/Downloads/NVIDIA-Linux-x86_64-390.151-no-compat32.run

Can you double check the hashes when directly fetching the files?
https://download.nvidia.com/XFree86/Linux-x86_64/390.151/


>   Regards,
>   Arnout
> 
> > +sha256
> 6e4fd2258465f5d5527fe80abd46de925a30348b4a84658498a6d75caf42c47c
> NVIDIA-Linux-x86_64-390.151-no-compat32.run
> >   sha256
> bd28b0c5aeeb00eb11d3ec6f6f3449d4b3a40100914258332734a53527997526
> LICENSE
> > diff --git a/package/nvidia-driver/nvidia-driver.mk b/package/nvidia-
> driver/nvidia-driver.mk
> > index ec070e3ca6..f1217b00aa 100644
> > --- a/package/nvidia-driver/nvidia-driver.mk
> > +++ b/package/nvidia-driver/nvidia-driver.mk
> > @@ -4,7 +4,7 @@
> >   #
> >
> ##########################################################
> ######################
> >
> > -NVIDIA_DRIVER_VERSION = 390.132
> > +NVIDIA_DRIVER_VERSION = 390.151
> >   NVIDIA_DRIVER_SUFFIX = $(if $(BR2_x86_64),_64)
> >   NVIDIA_DRIVER_SITE = http://download.nvidia.com/XFree86/Linux-
> x86$(NVIDIA_DRIVER_SUFFIX)/$(NVIDIA_DRIVER_VERSION)
> >   NVIDIA_DRIVER_SOURCE = NVIDIA-Linux-x86$(NVIDIA_DRIVER_SUFFIX)-
> $(NVIDIA_DRIVER_VERSION)$(if $(BR2_x86_64),-no-compat32).run
> CAUTION: This email originated from outside of the organization. Do not click
> links or open attachments unless you recognize the sender and know the
> content is safe.

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [Buildroot] [External] - Re: [PATCH 2/2] package/nvidia-driver: bump version to 390.151
  2022-07-25 12:31         ` [Buildroot] [External] - " Vincent Fazio
@ 2022-07-25 12:46           ` Yann E. MORIN
  0 siblings, 0 replies; 15+ messages in thread
From: Yann E. MORIN @ 2022-07-25 12:46 UTC (permalink / raw)
  To: Vincent Fazio; +Cc: Thomas Petazzoni, buildroot

Vincent, All,

On 2022-07-25 12:31 +0000, Vincent Fazio spake thusly:
> > From: Arnout Vandecappelle <arnout@mind.be>
> >   I wanted to apply this, but the hash doesn't match... Could you investigate?
> This is a bit concerning because it's the second time this has happened. Thomas had a similar problem when I tried to bump to 390.144
> http://patchwork.ozlabs.org/project/buildroot/patch/20211104141910.1840914-1-vfazio@xes-inc.com/#2813798
> 
> Linux:
> vfazio@vfazio2 ~ $ sha256sum NVIDIA-Linux-x86_64-390.151.run
> 5226e4842044cffd9096deadaf68934c133da74e05b80ccd21236584b3afb1fc  NVIDIA-Linux-x86_64-390.151.run
> 
> vfazio@vfazio2 ~ $ sha256sum ~/Downloads/NVIDIA-Linux-x86_64-390.151-no-compat32.run
> 6e4fd2258465f5d5527fe80abd46de925a30348b4a84658498a6d75caf42c47c  /home/vfazio/Downloads/NVIDIA-Linux-x86_64-390.151-no-compat32.run
> 
> Can you double check the hashes when directly fetching the files?
> https://download.nvidia.com/XFree86/Linux-x86_64/390.151/

I just did, and got:

5226e4842044cffd9096deadaf68934c133da74e05b80ccd21236584b3afb1fc  NVIDIA-Linux-x86_64-390.151.run
6e4fd2258465f5d5527fe80abd46de925a30348b4a84658498a6d75caf42c47c  NVIDIA-Linux-x86_64-390.151-no-compat32.run

... which is what Vincent provided.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Buildroot] [PATCH v2 2/2] package/nvidia-driver: bump version to 390.151
  2022-06-20 19:01     ` [Buildroot] [PATCH 2/2] package/nvidia-driver: bump version to 390.151 Vincent Fazio
  2022-07-23 19:20       ` Arnout Vandecappelle
@ 2022-07-25 13:25       ` Vincent Fazio
  2022-07-25 22:23         ` Arnout Vandecappelle
  1 sibling, 1 reply; 15+ messages in thread
From: Vincent Fazio @ 2022-07-25 13:25 UTC (permalink / raw)
  To: buildroot; +Cc: Yann E . MORIN, Vincent Fazio

Adds support for Linux kernel 5.17.

Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
---
Changes v1 -> v2:
  - use proper hash for x86 driver package

 package/nvidia-driver/nvidia-driver.hash | 4 ++--
 package/nvidia-driver/nvidia-driver.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/nvidia-driver/nvidia-driver.hash b/package/nvidia-driver/nvidia-driver.hash
index 7f2248d0f9..b14e7ae194 100644
--- a/package/nvidia-driver/nvidia-driver.hash
+++ b/package/nvidia-driver/nvidia-driver.hash
@@ -1,4 +1,4 @@
 # Locally computed
-sha256 51adb28f0ed4548f35a88a93ad6767ebd807fa14f418bf5e51a6d63a3ff7f275  NVIDIA-Linux-x86-390.132.run
-sha256 b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d  NVIDIA-Linux-x86_64-390.132-no-compat32.run
+sha256 94e399b459659c12b1344e8c8f4f5eee1ed5915ff459fc8bb831c9e1d44677db  NVIDIA-Linux-x86-390.151.run
+sha256 6e4fd2258465f5d5527fe80abd46de925a30348b4a84658498a6d75caf42c47c  NVIDIA-Linux-x86_64-390.151-no-compat32.run
 sha256 bd28b0c5aeeb00eb11d3ec6f6f3449d4b3a40100914258332734a53527997526  LICENSE
diff --git a/package/nvidia-driver/nvidia-driver.mk b/package/nvidia-driver/nvidia-driver.mk
index ec070e3ca6..f1217b00aa 100644
--- a/package/nvidia-driver/nvidia-driver.mk
+++ b/package/nvidia-driver/nvidia-driver.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-NVIDIA_DRIVER_VERSION = 390.132
+NVIDIA_DRIVER_VERSION = 390.151
 NVIDIA_DRIVER_SUFFIX = $(if $(BR2_x86_64),_64)
 NVIDIA_DRIVER_SITE = http://download.nvidia.com/XFree86/Linux-x86$(NVIDIA_DRIVER_SUFFIX)/$(NVIDIA_DRIVER_VERSION)
 NVIDIA_DRIVER_SOURCE = NVIDIA-Linux-x86$(NVIDIA_DRIVER_SUFFIX)-$(NVIDIA_DRIVER_VERSION)$(if $(BR2_x86_64),-no-compat32).run
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* Re: [Buildroot] [PATCH v2 2/2] package/nvidia-driver: bump version to 390.151
  2022-07-25 13:25       ` [Buildroot] [PATCH v2 " Vincent Fazio
@ 2022-07-25 22:23         ` Arnout Vandecappelle
  0 siblings, 0 replies; 15+ messages in thread
From: Arnout Vandecappelle @ 2022-07-25 22:23 UTC (permalink / raw)
  To: Vincent Fazio, buildroot; +Cc: Yann E . MORIN



On 25/07/2022 15:25, Vincent Fazio wrote:
> Adds support for Linux kernel 5.17.
> 
> Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
> Changes v1 -> v2:
>    - use proper hash for x86 driver package
> 
>   package/nvidia-driver/nvidia-driver.hash | 4 ++--
>   package/nvidia-driver/nvidia-driver.mk   | 2 +-
>   2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/package/nvidia-driver/nvidia-driver.hash b/package/nvidia-driver/nvidia-driver.hash
> index 7f2248d0f9..b14e7ae194 100644
> --- a/package/nvidia-driver/nvidia-driver.hash
> +++ b/package/nvidia-driver/nvidia-driver.hash
> @@ -1,4 +1,4 @@
>   # Locally computed
> -sha256 51adb28f0ed4548f35a88a93ad6767ebd807fa14f418bf5e51a6d63a3ff7f275  NVIDIA-Linux-x86-390.132.run
> -sha256 b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d  NVIDIA-Linux-x86_64-390.132-no-compat32.run
> +sha256 94e399b459659c12b1344e8c8f4f5eee1ed5915ff459fc8bb831c9e1d44677db  NVIDIA-Linux-x86-390.151.run
> +sha256 6e4fd2258465f5d5527fe80abd46de925a30348b4a84658498a6d75caf42c47c  NVIDIA-Linux-x86_64-390.151-no-compat32.run
>   sha256 bd28b0c5aeeb00eb11d3ec6f6f3449d4b3a40100914258332734a53527997526  LICENSE
> diff --git a/package/nvidia-driver/nvidia-driver.mk b/package/nvidia-driver/nvidia-driver.mk
> index ec070e3ca6..f1217b00aa 100644
> --- a/package/nvidia-driver/nvidia-driver.mk
> +++ b/package/nvidia-driver/nvidia-driver.mk
> @@ -4,7 +4,7 @@
>   #
>   ################################################################################
>   
> -NVIDIA_DRIVER_VERSION = 390.132
> +NVIDIA_DRIVER_VERSION = 390.151
>   NVIDIA_DRIVER_SUFFIX = $(if $(BR2_x86_64),_64)
>   NVIDIA_DRIVER_SITE = http://download.nvidia.com/XFree86/Linux-x86$(NVIDIA_DRIVER_SUFFIX)/$(NVIDIA_DRIVER_VERSION)
>   NVIDIA_DRIVER_SOURCE = NVIDIA-Linux-x86$(NVIDIA_DRIVER_SUFFIX)-$(NVIDIA_DRIVER_VERSION)$(if $(BR2_x86_64),-no-compat32).run
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [Buildroot] [PATCH 1/2] package/nvidia-driver: define IGNORE_CC_MISMATCH
  2022-07-23 19:38     ` [Buildroot] [PATCH 1/2] package/nvidia-driver: define IGNORE_CC_MISMATCH Arnout Vandecappelle
@ 2022-08-17  6:55       ` Peter Korsgaard
  0 siblings, 0 replies; 15+ messages in thread
From: Peter Korsgaard @ 2022-08-17  6:55 UTC (permalink / raw)
  To: Arnout Vandecappelle; +Cc: Vincent Fazio, Yann E . MORIN, buildroot

>>>>> "Arnout" == Arnout Vandecappelle <arnout@mind.be> writes:

 > On 20/06/2022 21:01, Vincent Fazio wrote:
 >> Leverage IGNORE_CC_MISMATCH for kernel module builds to avoid an issue
 >> where NVIDIA's `cc_version_check` in kernel/conftest.sh may fail due
 >> to matching on the pkgversion substring of the GCC version string in
 >> the kernel's include/generated/compile.h.
 >> Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>

Committed to 2022.05.x and 2022.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2022-08-17  6:55 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-04 14:19 [Buildroot] [PATCH 1/1] package/nvidia-driver: bump version to 390.144 Vincent Fazio
2021-12-30 16:35 ` Thomas Petazzoni
2021-12-30 17:20   ` [Buildroot] [External] - " Vincent Fazio
2022-06-20 17:09 ` [Buildroot] [PATCH 1/1] package/nvidia-driver: bump version to 390.151 Vincent Fazio
2022-06-20 18:20   ` Arnout Vandecappelle
2022-06-20 18:42     ` [Buildroot] [External] - " Vincent Fazio
2022-06-20 19:01   ` [Buildroot] [PATCH 1/2] package/nvidia-driver: define IGNORE_CC_MISMATCH Vincent Fazio
2022-06-20 19:01     ` [Buildroot] [PATCH 2/2] package/nvidia-driver: bump version to 390.151 Vincent Fazio
2022-07-23 19:20       ` Arnout Vandecappelle
2022-07-25 12:31         ` [Buildroot] [External] - " Vincent Fazio
2022-07-25 12:46           ` Yann E. MORIN
2022-07-25 13:25       ` [Buildroot] [PATCH v2 " Vincent Fazio
2022-07-25 22:23         ` Arnout Vandecappelle
2022-07-23 19:38     ` [Buildroot] [PATCH 1/2] package/nvidia-driver: define IGNORE_CC_MISMATCH Arnout Vandecappelle
2022-08-17  6:55       ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.