Luca Boccassi <[email protected]> writes: > On Thu, 28 Jun 2018 22:17:54 +0200 Lieven Marchand <[email protected]> wrote: >> Package: nvidia-legacy-340xx-kernel-dkms >> Version: 340.107-1 >> Severity: grave >> Justification: renders package unusable >> >> root@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@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
I was trying with insmod since modprobe failed too. And I was going back since the combination 4.16+latest legacy driver+new xorg hangs the machine reliably at the start of X with my GT240. There are some similar reports in the nvidia driver forum. Thanks for the reply, Lieven -- In these days the angel of topology and the devil of abstract algebra fight for the soul of each individual mathematical domain. -- Weyl (1938) The devil won.

