LRM packages do not upgrade when the kernel is upgraded
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers-525-server (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
nvidia-graphics-drivers-535-server (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Upgrading the kernel on a host with the nvidia 525-server driver LRM modules installed results in a kernel/module mismatch as the kernel upgrades, but the LRM packages do not. I've seen this so far with the 525-server and 535-server packages on jammy.
Here's how I produced this.
# Install the latest kernel in -updates (this is currently 5.15.0-78-generic)
$ sudo apt-get install kernel-
# Install the LRM packages for 525-server:
$ sudo apt-get install nvidia-
# At this point in time everything works, as indicated by `nvidia-smi`.
# Now attempt to install the latest kernel from the proposed PPA (now 5.15.0-79-generic):
$ sudo apt-add-repository ppa:canonical-
$ sudo apt-get install --dry-run kernel-
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'linux-generic' instead of 'kernel-
The following package was automatically installed and is no longer required:
libnuma1
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
linux-
linux-
linux-
Suggested packages:
fdutils linux-doc | linux-source-5.15.0 linux-tools
The following NEW packages will be installed:
linux-
linux-
The following packages will be upgraded:
linux-generic linux-headers-
3 upgraded, 5 newly installed, 0 to remove and 26 not upgraded.
# The above did not attempt to upgrade the LRM packages. However, if I try to update the LRM packages instead, it will attempt to upgrade both the LRM packages and the kernel:
$ sudo apt-get install nvidia-
modules-
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
nvidia-
).
nvidia-
The following package was automatically installed and is no longer required:
libnuma1
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
linux-
linux-
linux-
linux-
Suggested packages:
fdutils linux-doc | linux-source-5.15.0 linux-tools linux-headers-
linux-
The following NEW packages will be installed:
linux-
linux-
linux-
linux-
The following packages will be upgraded:
linux-
1 upgraded, 5 newly installed, 0 to remove and 28 not upgraded.
Upgrading the kernel but not the LRMs results in a partially working system. It still boots, but the nvidia driver can no longer communicate with the hardware. A local fix would be to also upgrade the LRM packages or just do an 'apt-get dist-upgrade'.