nvidia driver crashes after kernel upgrade

Bug #1939251 reported by marcw
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

My two older Zotacs use the NV 340.108 driver and both are having the same issue. After the latest dist-upgrade they boot fine but don't display video, just a blank black screen with a randomly blinking cursor. They're headless but I got into both with ssh in order to uninstall the NV driver and now both boot normally but just use the Nuveau default driver. Unfortunately I can't use either computer like this (no NV driver). Afterward, I tried installing the NV driver with Software-Updater but then received this warning after a few minutes:

Error while applying changes
pk-client-error-quark: Error while installing package: installed nvidia-340 package post-installation script subprocess returned error exit status 10(313)
OK

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-release-upgrader-core 1:20.04.35
ProcVersionSignature: Ubuntu 5.11.0-25.27~20.04.1-generic 5.11.22
Uname: Linux 5.11.0-25-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.18
Architecture: amd64
CasperMD5CheckResult: skip
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Sun Aug 8 18:05:04 2021
InstallationDate: Installed on 2021-02-24 (165 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
Symptom: dist-upgrade
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.update-manager.release-upgrades: 2021-02-24T10:56:52.723450

Revision history for this message
marcw (marcw) wrote :
Revision history for this message
marcw (marcw) wrote :

If needed I can post or attach the nvidia-340.0.crash file that was created.

Revision history for this message
Chris Guiver (guiverc) wrote (last edit ):

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Please don't post/attach a .crash file. The crash file should be submitted using the `ubuntu-bug /var/crash/[filename].crash` which gathers more details and populates fields making the .crash file much easier to explore.

I suggest you submit that file, as this report is incomplete; you've tagged it related to `ubuntu-release-upgrader` but you've not used that tool (it would have upgraded your system to 20.10; ie. it's the tool that upgrades you from one release to the next (20.04 to 20.10, or 20.04 to 22.04.1) and doesn't relate to a normal 'dist-upgrade'.

This issue likely relates to the HWE kernel, as recently the 5.8 kernel stack (from 20.10) was moved to 5.11 (from 21.04) and thus package likely should have been `linux-generic-hwe-20.04` (ie. switch to newer 5.11 is your issue). (LTS releases have two kernel stack choices; GA the more stable stays on 5.4, HWE upgrades during the first ~two years of life).

I'll mark this 'incomplete' allowing you to submit your crash file and create a new bug. If you believe I've in error, or made an error, please leave a comment saying why, and the bug report status can be returned to "New".

affects: ubuntu-release-upgrader (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
marcw (marcw) wrote : Re: [Bug 1939251] Re: nvidia driver crashes after kernel upgrade

Chris,
I followed your instructions but it didn't work complaining about a
permission issue.  So I ran it with sudo and it seemed to work.
$ sudo ubuntu-bug /var/crash/nvidia-340.0.crash
But it still appears that the bug didn't attached the crash report.
Sorry, I tried.

On 8/8/21 6:30 PM, Chris Guiver wrote:
> Thank you for taking the time to report this bug and helping to make
> Ubuntu better.
>
> Please don't post/attach a .crash file. The crash file should be
> submitted using the `ubuntu-bug /var/crash/[filename].crash` which
> gathers more details and populates fields making the .crash file much
> easier to explore.
>
> I suggest you submit that file, as this report is incomplete; you've
> tagged it related to `ubuntu-release-upgrader` but you've not used that
> tool (it would have upgraded your system to 20.10; ie. it's the tool
> that upgrades you from one release to the next (20.04 to 20.10, or 20.04
> to 22.04.1) and doesn't relate to a normal 'dist-upgrade'.
>
> This issue likely relates to the HWE kernel, as recently the 5.8 kernel
> stack (from 20.10) was moved to 5.11 (from 21.04) and thus package
> likely should have been `linux-generic-hwe-20.04` (ie. switch to newer
> 5.11 is your issue). (LTS releases have two kernel stack choices; GA
> the more stable stays on 5.4, HWE upgrades during the first ~two years
> of life).
>
> I'll mark this 'incomplete' allowing you to submit your crash file and
> create a new bug. If you believe I've in error, or made an error,
> please leave a comment saying why, and the bug report status can be
> returned to "New".
>
> ** Package changed: ubuntu-release-upgrader (Ubuntu) => linux (Ubuntu)
>
> ** Changed in: linux (Ubuntu)
> Status: New => Incomplete
>

Revision history for this message
Chris Guiver (guiverc) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.