NVIDIA / NVIDIA/open-gpu-kernel-modules

Nvidia driver installation fails on debian 13 kernel 6.12

Open
#1,006 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

build-problem
Dominant language
C
Stars
17.4k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

NVIDIA Open GPU Kernel Modules Version

590.48.01 and 2ccbad25e1af6a6ee6f38cf569f89f8b65d658ab

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the kernel-open build entry point and Makefile:59, then reproduce make modules using the Debian 13 kernel headers shown in the log. Inspect the modpost duplicate-export errors, including the failure reported while building nvidia-uvm; done means the NVIDIA kernel modules build completes without those errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, debian, linux
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.