APPLIED: [SRU][kernel-snaps-u24.04][PATCH 0/1] Set nvidia-stream parameter from EOL drivers

Stefan Bader stefan.bader at canonical.com
Fri Aug 8 15:04:37 UTC 2025


On 07.08.25 09:15, Aaron Jauregui wrote:
> https://bugs.launchpad.net/bugs/2119706
> 
> [Impact]
> We rely on the pc-kernel configure hook to detect and upgrade EOL
> drivers. To avoid an existing issue where installing components on first
> boot causing images to become unbootable, the configure hook only runs
> if the nvidia-stream parameter has been set (snap set snap set pc-kernel
> nvidia-stream=550-erd, etc).
> 
> Upgrading from the 550 (now EOL) driver to the 570 driver does not
> happen, as this value is not set by default. This leaves the user with
> an empty 550 driver that fails.
> 
> [Fix]
> Use a post-refresh hook for the EOL ko component to set the
> nvidia-stream parameter if it is not already set (and thus trigger the
> component hook). Note that since this is a post-refresh hook it should
> not trigger when installing a new EOL module, but it will handle the
> upgrade case.
> 
> [Test case]
> Refresh the pc-kernel from a previous version with the nvidia-550-erd-ko
> component installed and the nvidia-stream parameter not set in the
> pc-kernel. Refresh to a pc-kernel version with a corresponding EOL
> nvidia-550-erd-ko, where the component hook will set nvidia-stream,
> causing the target non-eol driver version to be installed (in this case
> 570).
> 
> 
> Aaron Jauregui (1):
>    nvidia-templates: set nvidia-stream if unset for EOL components
> 
>   nvidia-templates/eol-part-tmpl | 4 ++++
>   1 file changed, 4 insertions(+)
> 

Applied to canonical-kernel-snaps:kernel-snaps-uc24/pc. Thanks.

-Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xE8675DEECBEECEA3.asc
Type: application/pgp-keys
Size: 48643 bytes
Desc: OpenPGP public key
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20250808/8e0b2a3d/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20250808/8e0b2a3d/attachment-0001.sig>


More information about the kernel-team mailing list