Bug#976901: nvidia-tesla-450-kernel-dkms: Fails to build DKMS kernel module on ppc64le 450.80.02
Andreas Beckmann
anbe at debian.org
Wed Dec 9 23:19:50 GMT 2020
On 12/9/20 9:30 AM, Konstantinos Margaritis wrote:
> Hi, I am trying to use a Titan X on a Talos II Power9 system on bullseye
> and the nvidia module fails to compile. Build log attached:
The error:
/var/lib/dkms/nvidia-tesla-450/450.80.02/build/nvidia/nv-pci.c:891:10: warning: 'enum pci_channel_state' declared inside parameter list will not be visible outside of this definition or declaration
/var/lib/dkms/nvidia-tesla-450/450.80.02/build/nvidia/nv-pci.c:891:28: error: parameter 2 ('error') has incomplete type
/var/lib/dkms/nvidia-tesla-450/450.80.02/build/nvidia/nv-pci.c:889:1: error: function declaration isn't a prototype [-Werror=strict-prototypes]
Similar errors happen building the 418 and 440 tesla driver modules
for Linux 5.9 on ppc64el.
There are changes in 455.45.01-1 to mitigate this kernel change:
# pci_channel_state was removed by commit 16d79cd4e23b ("PCI: Use
# 'pci_channel_state_t' instead of 'enum pci_channel_state'") in
# v5.9-rc1 (2020-07-02).
but I'm not sure whether it is worth backporting them,
since you most likely will be affected by
#973729 - nvidia-uvm does not work with Linux 5.9
which is fixed in 455.45.01
Unfortunately there is no separate 455.xx driver release available
for ppc64el.
Andreas
PS: you could try s/enum pci_channel_state/pci_channel_state_t/g
on the dkms tree
PPS: the first time I hear that someone is actually trying to use
the ppc64el packages ;-)
More information about the pkg-nvidia-devel
mailing list