Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release-2.8] fix: bumps nvidia version to a newer one that no longer uses GPL symbols #1200

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

faiq
Copy link
Collaborator

@faiq faiq commented Oct 9, 2024

What problem does this PR solve?:

With the previous version of the nvidia driver we were seeing an issue with some symbols that we're GPL only. This updates the driver to the latest 470 driver version which avoids that issue

error log below for posterity

-> Error.
ERROR: An error occurred while performing the step: "Checking to see whether the nvidia kernel module was successfully built". See /var/log/nvidia-installer.log for details.
-> The command `cd ./kernel; /usr/bin/make -k -j8 NV_KERNEL_MODULES="nvidia" NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.15.0-1070-aws/build" SYSOUT="/lib/modules/5.15.0-1070-aws/build"` failed with the following output:

make[1]: Entering directory '/usr/src/linux-headers-5.15.0-1070-aws'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
You are using: cc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
MODPOST /opt/dkp/nvidia/NVIDIA-Linux-x86_64-470.199.02/kernel/Module.symvers
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'rcu_read_unlock_strict'
make[2]: *** [scripts/Makefile.modpost:133: /opt/dkp/nvidia/NVIDIA-Linux-x86_64-470.199.02/kernel/Module.symvers] Error 1
make[2]: *** Deleting file '/opt/dkp/nvidia/NVIDIA-Linux-x86_64-470.199.02/kernel/Module.symvers'
make[2]: Target '__modpost' not remade because of errors.
make[1]: *** [Makefile:1829: modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-1070-aws'
make: *** [Makefile:80: modules] Error 2
ERROR: The nvidia kernel module was not created.
ERROR: Installation has failed. Please see the file '/opt/dkp/nvidia/NVIDIA-Linux-x86_64-470.199.02/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

Which issue(s) does this PR fix?:

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

updates nvidia driver to 470.256.02

@github-actions github-actions bot added fix and removed fix labels Oct 9, 2024
@dlipovetsky dlipovetsky changed the title fix: bumps nvidia version to a newer one that no longer uses GPL symbols [release-2.8] fix: bumps nvidia version to a newer one that no longer uses GPL symbols Oct 9, 2024
@dlipovetsky
Copy link
Collaborator

ubuntu2004-nvidia passed, we can merge.

@dlipovetsky dlipovetsky closed this Oct 9, 2024
@dlipovetsky dlipovetsky reopened this Oct 9, 2024
@dlipovetsky dlipovetsky merged commit dbfd88d into release-2.8 Oct 9, 2024
44 of 58 checks passed
@dlipovetsky dlipovetsky deleted the faiq/update-nvidia-version branch October 9, 2024 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants