[SRU][Impish] Failed to upgrade linux-firmware on rpi3a+

Bug #1961203 reported by Gavin Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-firmware (Ubuntu)
New
Undecided
Unassigned

Bug Description

[Description]
Failed to upgrade linux-firmware on rpi3a+

[Steps to reproduce]
1. Flash following image on rpi3a+:
   https://cdimage.ubuntu.com/releases/21.10/release/ubuntu-21.10-preinstalled-server-arm64+raspi.img.xz
2. Boot into system
3. sudo apt update
4. sudo apt install linux-firmware

[Actual result]
Error when upgrading kernel, and unable to boot rpi3+ after apt dist-upgrade

[Expected result]
System can boot up and kernel is upgraded to correct version

[Additional information]
Image: ubuntu-21.10-preinstalled-server-arm64+raspi.img.xz
Hardware: rpi3a+
Kernel Version: 5.13.0-1008-raspi

Tags: sru
Gavin Lin (gavin.lin)
affects: linux-raspi (Ubuntu) → linux-firmware (Ubuntu)
Gavin Lin (gavin.lin)
tags: added: sru
description: updated
Revision history for this message
Gavin Lin (gavin.lin) wrote :

ubuntu@ubuntu:~$ sudo apt install linux-firmware
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be upgraded:
  linux-firmware
1 upgraded, 0 newly installed, 0 to remove and 87 not upgraded.
Need to get 199 MB of archives.
After this operation, 1,594 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports impish-updates/main arm64 linux-firmware all 1.201.4 [199 MB]
Fetched 199 MB in 4min 56s (671 kB/s)
(Reading database ... 82311 files and directories currently installed.)
Preparing to unpack .../linux-firmware_1.201.4_all.deb ...
Unpacking linux-firmware (1.201.4) over (1.201) ...
Setting up linux-firmware (1.201.4) ...
update-initramfs: Generating /boot/initrd.img-5.13.0-1008-raspi
Killed
E: mkinitramfs failure zstd -q -19 -T0 137
update-initramfs: failed for /boot/initrd.img-5.13.0-1008-raspi with 1.
dpkg: error processing package linux-firmware (--configure):
 installed linux-firmware package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-firmware
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Juerg Haefliger (juergh) wrote :

update-initramfs: Generating /boot/initrd.img-5.13.0-1008-raspi
Killed
E: mkinitramfs failure zstd -q -19 -T0 137
update-initramfs: failed for /boot/initrd.img-5.13.0-1008-raspi with 1.

Revision history for this message
Juerg Haefliger (juergh) wrote :

Running out of memory because of initrd zstd compression. Not a kernel problem.

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.