Skip to content

Nvidia driver installation fails on debian 13 kernel 6.12 #1006

@weneedthis8-afk

Description

@weneedthis8-afk

NVIDIA Open GPU Kernel Modules Version

590.48.01 and 2ccbad2

Operating System and Version

debian 13

Kernel Release

6.12.38+deb13 6.12.63+deb13 6.18.0 generic

Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.

  • I am running on a stable kernel release.

Build Command

make modules

Terminal output/Build Log

kernel modules build log
  LD [M]  /tmp/open-gpu-kernel-modules/kernel-open/nvidia-uvm.o
  MODPOST /tmp/open-gpu-kernel-modules/kernel-open/Module.symvers
ERROR: modpost: vmlinux: 'system_state' exported twice. Previous export was in vmlinux
ERROR: modpost: vmlinux: 'static_key_initialized' exported twice. Previous export was in vmlinux
ERROR: modpost: vmlinux: 'reset_devices' exported twice. Previous export was in vmlinux
ERROR: modpost: vmlinux: 'loops_per_jiffy' exported twice. Previous export was in vmlinux
ERROR: modpost: vmlinux: 'init_uts_ns' exported twice. Previous export was in vmlinux
ERROR: modpost: vmlinux: 'wait_for_initramfs' exported twice. Previous export was in vmlinux
....
<then many lines similar thousands>
...
ERROR: modpost: net/vmw_vsock/vmw_vsock_virtio_transport_common: 'virtio_transport_dgram_enqueue' exported twice. Previous export was in net/vmw_vsock/vmw_vsock_virtio_transport_common.ko
ERROR: modpost: net/vmw_vsock/vmw_vsock_virtio_transport_common: 'virtio_transport_stream_enqueue' exported twice. Previous export was in net/vmw_vsock/vmw_vsock_virtio_transport_common.ko
ERROR: modpost: net/vmw_vsock/vmw_vsock_virtio_transport_common: 'virtio_transport_destruct' exported twice. Previous export was in net/vmw_vsock/vmw_vsock_virtio_transport_common.ko
ERROR: modpost: net/vmw_vsock/vmw_vsock_virtio_transport_common: 'virtio_transport_unsent_bytes' exported twice. Previous export was in net/vmw_vsock/vmw_vsock_virtio_transport_common.ko
ERROR: modpost: net/vmw_vsock/vmw_vsock_virtio_transport_common: 'virtio_transport_release' exported twice. Previous export was in net/vmw_vsock/vmw_vsock_virtio_transport_common.ko
ERROR: modpost: net/vmw_vsock/vmw_vsock_virtio_transport_common: 'virtio_transport_recv_pkt' exported twice. Previous export was in net/vmw_vsock/vmw_vsock_virtio_transport_common.ko
ERROR: modpost: net/vmw_vsock/vmw_vsock_virtio_transport_common: 'virtio_transport_purge_skbs' exported twice. Previous export was in net/vmw_vsock/vmw_vsock_virtio_transport_common.ko
ERROR: modpost: net/vmw_vsock/vmw_vsock_virtio_transport_common: 'virtio_transport_read_skb' exported twice. Previous export was in net/vmw_vsock/vmw_vsock_virtio_transport_common.ko
ERROR: modpost: net/vmw_vsock/vmw_vsock_virtio_transport_common: 'virtio_transport_notify_set_rcvlowat' exported twice. Previous export was in net/vmw_vsock/vmw_vsock_virtio_transport_common.ko
ERROR: modpost: net/nsh/nsh: 'nsh_push' exported twice. Previous export was in net/nsh/nsh.ko
ERROR: modpost: net/nsh/nsh: 'nsh_pop' exported twice. Previous export was in net/nsh/nsh.ko
ERROR: modpost: net/hsr/hsr: 'hsr_get_version' exported twice. Previous export was in net/hsr/hsr.ko
ERROR: modpost: net/hsr/hsr: 'is_hsr_master' exported twice. Previous export was in net/hsr/hsr.ko
ERROR: modpost: net/qrtr/qrtr: 'qrtr_endpoint_post' exported twice. Previous export was in net/qrtr/qrtr.ko
ERROR: modpost: net/qrtr/qrtr: 'qrtr_endpoint_register' exported twice. Previous export was in net/qrtr/qrtr.ko
ERROR: modpost: net/qrtr/qrtr: 'qrtr_endpoint_unregister' exported twice. Previous export was in net/qrtr/qrtr.ko
ERROR: modpost: net/qrtr/qrtr: 'qrtr_ns_init' exported twice. Previous export was in net/qrtr/qrtr.ko
ERROR: modpost: net/qrtr/qrtr: 'qrtr_ns_remove' exported twice. Previous export was in net/qrtr/qrtr.ko
ERROR: modpost: virt/lib/irqbypass: 'irq_bypass_register_producer' exported twice. Previous export was in virt/lib/irqbypass.ko
ERROR: modpost: virt/lib/irqbypass: 'irq_bypass_unregister_producer' exported twice. Previous export was in virt/lib/irqbypass.ko
ERROR: modpost: virt/lib/irqbypass: 'irq_bypass_register_consumer' exported twice. Previous export was in virt/lib/irqbypass.ko
ERROR: modpost: virt/lib/irqbypass: 'irq_bypass_unregister_consumer' exported twice. Previous export was in virt/lib/irqbypass.ko
make[5]: *** [/usr/src/linux-headers-6.12.43+deb13-common/scripts/Makefile.modpost:145: /tmp/open-gpu-kernel-modules/kernel-open/Module.symvers] Error 1
make[4]: *** [/usr/src/linux-headers-6.12.43+deb13-common/Makefile:1922: modpost] Error 2
make[3]: *** [/usr/src/linux-headers-6.12.43+deb13-common/Makefile:236: __sub-make] Error 2
make[3]: Leaving directory '/usr/src/linux-headers-6.12.43+deb13-amd64'
make[2]: *** [Makefile:236: __sub-make] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-6.12.43+deb13-common'
make[1]: *** [Makefile:138: modules] Error 2
make[1]: Leaving directory '/tmp/open-gpu-kernel-modules/kernel-open'
make: *** [Makefile:59: modules] Error 2

More Info

I tried to install an nvidia driver for my 5060 ti and I can't manage to do this. I need it exclusively for containers inside my Kubernetes cluster.

This is what I tried:

  • Use gpu-operator: fails because it cannot find image for debian13
  • Use driver versions 580.105.08 580.126.09 and 590.48.01
  • Try kernel versions 6.12.38+deb13 6.12.43+deb13 6.12.63+deb13 6.18.0-generic for all of the above.

I keep getting the same errors, and the build fails at nvidia-uvm. Any help welcome if this is an issue from my end.

According to nvidia documentation debian 13 on kernel 6.12 is supported so it should work.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions