Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Nvidia kernel module fails to build on linux 6.7.3
@ 2024-02-03  6:33 HO5DTOAT
  2024-02-05 16:43 ` akarelas
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: HO5DTOAT @ 2024-02-03  6:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1898 bytes --]

New issue by HO5DTOAT on void-packages repository

https://github.com/void-linux/void-packages/issues/48504

Description:
### Is this a new report?

Yes

### System Info

Void 6.7.2_1 x86_64 GenuineIntel uptodate rrrrmmnFFFFFFFF

### Package(s) Affected

nvidia-535.154.05_1

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

It appears Nvidia is aware of the issue and will be releasing a fix.
https://forums.developer.nvidia.com/t/linux-6-7-3-545-29-06-550-40-07-error-modpost-gpl-incompatible-module-nvidia-ko-uses-gpl-only-symbol-rcu-read-lock/280908/24

### Expected behaviour

In post-install steps after kernel 6.7.3 is installed, the dkms modules are built. The nvidia kernel module should build without errors.

### Actual behaviour

The dkms module fails to build and the message "Building DKMS module: nvidia-535.154.05... FAILED!" is output.
![image](https://github.com/void-linux/void-packages/assets/101270121/f8080c9c-e561-4886-8d2b-32fead223154)

Checking the build log mentions about GPL symbols being used in the module.
![image](https://github.com/void-linux/void-packages/assets/101270121/34cd1e85-6cb7-4507-8eba-d43e7360add2)



### Steps to reproduce

1. Install dkms, the current nvidia drivers (535 series), and nvidia-dkms.
2. Upgrade kernel to 6.7.3 (need to be on the [linux-mainline](https://docs.voidlinux.org/config/kernel.html#switching-to-another-kernel-series) kernel series).
3. The post-install for dkms build for nvidia fails with an error message. 
`Building DKMS module: nvidia-535.154.05... FAILED!`
The build logs (/var/lib/dkms/nvidia/535.154.05/build/make.log) contain error messages about incompatible symbols.
 `ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_unlock'`
`ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_lock'`

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

end of thread, other threads:[~2024-02-06 14:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-03  6:33 [ISSUE] Nvidia kernel module fails to build on linux 6.7.3 HO5DTOAT
2024-02-05 16:43 ` akarelas
2024-02-05 16:45 ` akarelas
2024-02-05 16:46 ` akarelas
2024-02-05 17:17 ` classabbyamp
2024-02-06  1:54 ` abenson
2024-02-06 14:51 ` [ISSUE] [CLOSED] " HO5DTOAT
2024-02-06 14:51 ` HO5DTOAT

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).