Comment 0 for bug 1926440

Revision history for this message
Po-Hsu Lin (cypressyew) wrote : udev in proposed does not work with 5.8.0-51.57~20.04.1 on Moonshot ARM64 (Error 24 : Write error : cannot write compressed block)

Issue found on ARM64 moonshot nodes

Steps to reproduce:
 1. Deploy Focal on a moonshot ARM64 node
 2. Enable proposed, install linux-generic-hwe-20.04 and reboot
 3. Install udev package from proposed

It will fail with:
$ sudo apt install libudev1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  udev
The following packages will be upgraded:
  libudev1 udev
2 upgraded, 0 newly installed, 0 to remove and 43 not upgraded.
Need to get 1390 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 udev arm64 245.4-4ubuntu3.6 [1319 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 libudev1 arm64 245.4-4ubuntu3.6 [70.4 kB]
Fetched 1390 kB in 2s (872 kB/s)
(Reading database ... 112340 files and directories currently installed.)
Preparing to unpack .../udev_245.4-4ubuntu3.6_arm64.deb ...
Unpacking udev (245.4-4ubuntu3.6) over (245.4-4ubuntu3.5) ...
Preparing to unpack .../libudev1_245.4-4ubuntu3.6_arm64.deb ...
Unpacking libudev1:arm64 (245.4-4ubuntu3.6) over (245.4-4ubuntu3.5) ...
Setting up libudev1:arm64 (245.4-4ubuntu3.6) ...
Setting up udev (245.4-4ubuntu3.6) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for systemd (245.4-4ubuntu3.5) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Processing triggers for initramfs-tools (0.136ubuntu6.4) ...
update-initramfs: Generating /boot/initrd.img-5.8.0-51-generic
flash-kernel: installing version 5.8.0-51-generic
Generating kernel u-boot image... done.
Taking backup of uImage.
Installing new uImage.
WARNING: e4defrag of file //boot/uImage failed.
WARNING: Try freeing up disk space in /boot and retrying flash-kernel.
Generating initramfs u-boot image... done.
Taking backup of uInitrd.
Installing new uInitrd.
mv: error writing '//boot/uInitrd': No space left on device
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned er
ror exit status 1
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

If you watch the df -h output closely, you will see the /boot filled up:
/dev/sda1 488M 460M 0 100% /boot

I guess this is why it failed.

This issue does not exist on other ARM64 nodes (wright / starmie) but just Moonshots.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.8.0-50-generic 5.8.0-50.56~20.04.1
ProcVersionSignature: User Name 5.8.0-50.56~20.04.1-generic 5.8.18
Uname: Linux 5.8.0-50-generic aarch64
ApportVersion: 2.20.11-0ubuntu27.16
Architecture: arm64
CasperMD5CheckResult: skip
Date: Wed Apr 28 11:52:50 2021
SourcePackage: linux-signed-hwe-5.8
UpgradeStatus: No upgrade log present (probably fresh install)