Bug#902632: nvidia-legacy-340xx-kernel-dkms: the compiled module fails to load with error 'Invalid module format'

Luca Boccassi bluca at debian.org
Sat Jun 30 16:04:17 BST 2018


On Thu, 28 Jun 2018 22:17:54 +0200 Lieven Marchand <mal at wyrd.be> wrote:
> Package: nvidia-legacy-340xx-kernel-dkms
> Version: 340.107-1
> Severity: grave
> Justification: renders package unusable
> 
> root at black:/lib/modules/4.14.0-2-amd64/updates/dkms# insmod ./nvidia-
> legacy-340xx.ko
> insmod: ERROR: could not insert module ./nvidia-legacy-340xx.ko:
Invalid module
> format
> 
> root at black:/lib/modules/4.14.0-2-amd64/updates/dkms# file nvidia-
> legacy-340xx.ko
> nvidia-legacy-340xx.ko: ELF 64-bit LSB relocatable, x86-64, version 1
(SYSV),
> BuildID[sha1]=c2d6aedbe3a90f6bc1dafaebdfdfc02b95397fc9, not stripped

1) Do not use insmod, use modprobe
2) You do not have the right headers installed
3) 4.14 is not supported anymore in any Debian suite, 4.16 is currently
in buster/sid, use linux-headers-amd64 and linux-image-amd64

-- 
Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-nvidia-devel/attachments/20180630/51a47caf/attachment.sig>


More information about the pkg-nvidia-devel mailing list