Bug#865058: nvidia-kernel-dkms: builds empty nvidia-current-drm.ko module with 4.9.0-3 kernel
Andreas Beckmann
anbe at debian.org
Mon Jun 19 02:31:32 UTC 2017
Control: tag -1 moreinfo unreproducible
On 2017-06-19 00:56, Patrick O'Doherty wrote:
> Apologies if this is the wrong package against the file the bug. It
> might well be the case that this issue lies with linux-image-4.9.0-3.
>
> nvidia-kernel-dkms produces an empty "nvidia-current-drm.ko" file when
> built against this kernel version. This causes issues at boot and the
> following log lines:
>
> systemd-modules-load[395]: modprobe: ERROR: could not insert 'nvidia_current_drm': Invalid argument
> systemd-modules-load[395]: Error running install command for nvidia_drm
> Kernel modules: nvidia.ko
> /lib/modules/4.9.0-3-amd64/updates/dkms/nvidia-current-modeset.ko
> /lib/modules/4.9.0-3-amd64/updates/dkms/nvidia-current-drm.ko
> /lib/modules/4.9.0-3-amd64/updates/dkms/nvidia-current.ko
> /lib/modules/4.9.0-3-amd64/updates/dkms/nvidia-current-uvm.ko
>
> filename: /lib/modules/4.9.0-3-amd64/updates/dkms/nvidia-current-modeset.ko
> version: 375.66
> supported: external
> license: NVIDIA
> srcversion: 252CFD821549601A1591E20
> depends: nvidia
> vermagic: 4.9.0-3-amd64 SMP mod_unload modversions
> filename: /lib/modules/4.9.0-3-amd64/updates/dkms/nvidia-current-drm.ko
> filename: /lib/modules/4.9.0-3-amd64/updates/dkms/nvidia-current.ko
> alias: char-major-195-*
> version: 375.66
> supported: external
> license: NVIDIA
> srcversion: 68751AFD79A210CEFFB8758
> alias: pci:v000010DEd00000E00sv*sd*bc04sc80i00*
> alias: pci:v000010DEd*sv*sd*bc03sc02i00*
> alias: pci:v000010DEd*sv*sd*bc03sc00i00*
> depends:
> vermagic: 4.9.0-3-amd64 SMP mod_unload modversions
> filename: /lib/modules/4.9.0-3-amd64/updates/dkms/nvidia-current-uvm.ko
> supported: external
> license: MIT
> depends: nvidia
> vermagic: 4.9.0-3-amd64 SMP mod_unload modversions
I just tried it in a sid chroot (linux-headers-4.9.0-3-amd64 (4.9.30-2)
and nvidia-kernel-dkms (375.66-2)) and it built these files:
# ls -la /lib/modules/4.9.0-3-amd64/updates/dkms/
total 18584
drwxr-xr-x 2 root root 120 Jun 19 02:23 .
drwxr-xr-x 3 root root 60 Jun 19 02:23 ..
-rw-r--r-- 1 root root 85552 Jun 19 02:23 nvidia-current-drm.ko
-rw-r--r-- 1 root root 1085784 Jun 19 02:23 nvidia-current-modeset.ko
-rw-r--r-- 1 root root 1115656 Jun 19 02:23 nvidia-current-uvm.ko
-rw-r--r-- 1 root root 16732640 Jun 19 02:23 nvidia-current.ko
# modinfo /lib/modules/4.9.0-3-amd64/updates/dkms/nvidia-current-drm.ko
filename:
/lib/modules/4.9.0-3-amd64/updates/dkms/nvidia-current-drm.ko
version: 375.66
supported: external
license: MIT
srcversion: C4CEF74C8A748A2437DB582
alias: pci:v000010DEd00000E00sv*sd*bc04sc80i00*
alias: pci:v000010DEd*sv*sd*bc03sc02i00*
alias: pci:v000010DEd*sv*sd*bc03sc00i00*
depends: drm,drm_kms_helper,nvidia-modeset
vermagic: 4.9.0-3-amd64 SMP mod_unload modversions
parm: modeset:Enable atomic kernel modesetting (1 = enable, 0
= disable (default)) (bool)
Since your module does not give any useful output from modinfo,
something went wrong on your machine - could be dkms or kernel.
Have you tried the nvidia-kernel-source package? Does that build a
usable module?
Andreas
More information about the pkg-nvidia-devel
mailing list