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 18:32:30 BST 2018
On Sat, 2018-06-30 at 19:30 +0200, Lieven Marchand wrote:
> Luca Boccassi <bluca at debian.org> writes:
>
> > 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
>
> 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
Add this to the kernel command line:
slab_common.usercopy_fallback=y
--
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/1d461e95/attachment.sig>
More information about the pkg-nvidia-devel
mailing list