Bug#1034313: Does not build anymore with kernel 6.1.12

Andreas Beckmann anbe at debian.org
Wed Apr 12 22:58:44 BST 2023


On 12/04/2023 22.46, Klaus Ethgen wrote:
> Package: nvidia-tesla-470-kernel-source
> Version: 470.182.03-1
> Severity: important
> 
> Version 470.161.03-2 was built without problems but 470.182.03-1 does
> not build with the following error:
>     /usr/src/modass/usr_src/modules/nvidia-kernel/nvidia/nv-acpi.c: In function 'nv_acpi_ddc_method':
>     /usr/src/modass/usr_src/modules/nvidia-kernel/nvidia/nv-acpi.c:751:43: error: 'struct acpi_device' has no member named 'children'
>       751 |     list_for_each_safe(node, next, &device->children)
> 	 |                                           ^~

# grep -r list_for_each_safe modules/nvidia-tesla-470-kernel/

I don't know what you are compiling, but that is not 470.182.03-1

So comments below are moot.

> So, instead of "Improved compatibility with recent Linux kernels.", it
> breaks compatibility with recent Linux kernels.
> 
> -- Package-specific info:
> uname -a:
> Linux ikki 6.1.12 #2.ikki SMP Sat Feb 18 17:01:30 CET 2023 x86_64 GNU/Linux

That's a custom kernel. Vanilla? Any patches? Can you share the .config?

It works with the Debian kernels. At least it did at the time I uploaded 
it ;-)

https://ci.debian.net/data/autopkgtest/testing/amd64/n/nvidia-graphics-drivers-tesla-470/32823600/log.gz

Can you provide the full dkms make.log from the compilation failure?
(Or the full output from building with m-a as you seem to use the 
-source package)

Andreas



More information about the pkg-nvidia-devel mailing list