<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>From: <b class="gmail_sendername" dir="auto">Ignacio Vargas</b> <span dir="auto"><<a href="mailto:igvacor94@gmail.com">igvacor94@gmail.com</a>></span><br>Date: Fri, Jun 21, 2019 at 8:35 AM<br>Subject: Re: Bug#930802: nvidia-driver: NVIDIA module fails to load (Operation  not permitted)<br>To: floris <<a href="mailto:jkfloris@dds.nl">jkfloris@dds.nl</a>><br></div><br><br><div dir="ltr">I tried <br><div>$ sudo dpkg-reconfigure nvidia-kernel-dkms</div><div>and it completed successfully. Trying to load the module afterwards failed with the same error though.</div><div><br></div><div>/var/log/apt/history.log reveals that these were the packages I updated the day before the breakage occurred:</div><div><br></div><div>Upgrade: libkrb5-3:amd64 (1.17-2, 1.17-3), libkrb5-3:i386 (1.17-2, 1.17-3), libgssapi-krb5-2:amd64 (1.17-2, 1.17-3), libgssapi-krb5-2:i386 (1.17-2, 1.17-3), krb5-multidev:amd64 (1.17-2, 1.17-3), libkrb5-dev:amd64 (1.17-2, 1.17-3), linux-libc-dev:amd64 (4.19.37-3, 4.19.37-4), linux-libc-dev:i386 (4.19.37-3, 4.19.37-4), <b>linux-image-4.19.0-5-amd64:amd64 (4.19.37-3, 4.19.37-4)</b>, libkdb5-9:amd64 (1.17-2, 1.17-3), libk5crypto3:amd64 (1.17-2, 1.17-3), libk5crypto3:i386 (1.17-2, 1.17-3), linux-compiler-gcc-8-x86:amd64 (4.19.37-3, 4.19.37-4), krb5-locales:amd64 (1.17-2, 1.17-3), libkadm5srv-mit11:amd64 (1.17-2, 1.17-3), libkrb5support0:amd64 (1.17-2, 1.17-3), libkrb5support0:i386 (1.17-2, 1.17-3), libgssrpc4:amd64 (1.17-2, 1.17-3), linux-headers-4.19.0-5-amd64:amd64 (4.19.37-3, 4.19.37-4), firefox:amd64 (67.0.2-1, 67.0.3-1), linux-kbuild-4.19:amd64 (4.19.37-3, 4.19.37-4), libkadm5clnt-mit11:amd64 (1.17-2, 1.17-3), linux-headers-4.19.0-5-common:amd64 (4.19.37-3, 4.19.37-4)</div><div><br></div><div>The only package that seemed related to the bug was the new kernels. So I updated again today</div><div><br></div><div>Upgrade: linux-image-4.19.0-5-amd64:amd64 (4.19.37-4, 4.19.37-5), firefox:amd64 (67.0.3-2, 67.0.4-1)<br></div><div><br></div><div>I rebooted, and the NVIDIA module was loaded automatically without problems or needing further intervention. I can only assume the bug was actually with the new kernels.</div><div><br></div><div>Either way, the bug is solved. Sorry for the inconvenience, it seems like nvidia-driver wasn't at fault at all.<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 21, 2019 at 6:31 AM floris <<a href="mailto:jkfloris@dds.nl" target="_blank">jkfloris@dds.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Ignacio Vargas schreef op 2019-06-20 23:56:<br>
> Package: nvidia-driver<br>
> Version: 418.74-1<br>
> Severity: grave<br>
> Justification: renders package unusable<br>
> <br>
> Dear Maintainer,<br>
> <br>
> Today upon boot up, Xorg failed to start. Checking logs I found it was<br>
> not picking up the NVIDIA propietary driver.<br>
> I tried reinstalling the nvidia-driver metapackage and rebooted -<br>
> module still failed to load.<br>
> <br>
> I attempted to load it manually to check the error message, and this<br>
> is what I got:<br>
> <br>
> $ sudo /sbin/modprobe -v nvidia<br>
> install modprobe -i nvidia-current $CMDLINE_OPTS<br>
> insmod /lib/modules/4.19.0-5-amd64/updates/dkms/nvidia-current.ko<br>
> modprobe: ERROR: could not insert 'nvidia_current': Invalid argument<br>
> modprobe: ERROR: ../libkmod/libkmod-module.c:979 command_do() Error<br>
> running install command for nvidia<br>
> modprobe: ERROR: could not insert 'nvidia': Operation not permitted<br>
> <br>
> I also checked the output of dkms<br>
> $ sudo dkms status<br>
> nvidia-current, 418.74, 4.19.0-5-amd64, x86_64: installed<br>
> <br>
> Similar information appears in the systemctl logs.<br>
> <br>
> Running the modprobe above without sudo gives me a “Key expired”<br>
> message on the nvidia module, which would suggest a<br>
> conflict with Secure Boot, but that is disabled on my BIOS (I’ve<br>
> double checked). I already tried booting on different<br>
> kernel versions (4.19.0-5, 4.19.0-4, 4.19.0-3) and all gave the same <br>
> error.<br>
> <br>
> As it stands, the package seems unusable in its current state. I had<br>
> to revert back to nouveau to get Xorg back up<br>
> for now. It had been working well up until yesterday, but I'm not sure<br>
> how to check aptitude's logs for a list of the<br>
> packages that were updated only yesterday.<br>
> <br>
> Regards,<br>
> <br>
<br>
Does<br>
$ sudo dpkg-reconfigure nvidia-kernel-dkms<br>
work?<br>
<br>
<br>
> It had been working well up until yesterday, but I'm not sure<br>
> how to check aptitude's logs for a list of the<br>
> packages that were updated only yesterday.<br>
<br>
check<br>
/var/log/apt/history.log<br>
<br>
---<br>
Floris<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="m_3701967562700127292gmail_signature">Ignacio Vargas</div>
</div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Ignacio Vargas</div></div>