Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #75064

Bug#1009807: Kernels with no compression support no longer work

From Raul Tambre <raul@tambre.ee>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1009807: Kernels with no compression support no longer work
Date 2022-04-18 12:40 +0200
Message-ID <EdwXv-9xyN-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Package: initramfs-tools
Version: 0.141
Severity: important

Dear maintainer,

I was using a custom downstream kernel required for my hardware. The 
kernel had only CONFIG_RD_XZ enabled, which I wasn't aware of.
With version 0.141 initramfs creation fails with:

   Processing triggers for initramfs-tools (0.141) ...
   update-initramfs: Generating /boot/initrd.img-4.14.102-rt53
   grep: /boot/config-4.14.102-rt53: No such file or directory
   W: zstd compression (CONFIG_RD_ZSTD) not supported by kernel, using gzip
   grep: /boot/config-4.14.102-rt53: No such file or directory
   E: gzip compression (CONFIG_RD_GZIP) not supported by kernel
   update-initramfs: failed for /boot/initrd.img-4.14.102-rt53 with 1.
   dpkg: error processing package initramfs-tools (--configure):
    installed initramfs-tools package post-installation script 
subprocess returned error exit status 1

After commit 035190cc4385c0441dddc1bbaba000cf7f1f179b the code tries to 
default to gzip if the first method didn't work, and errors if so. 
Previously it would fall back to no compression.

While the setup is a bit exotic, falling back to no compression as a 
last resort (with a warning) would be what I expect.
For robustness it would probably even be ideal to test support for all 
that known methods in some order of preference and only then fall back 
to no compression.

All the best,
Raul

Back to linux.debian.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Bug#1009807: Kernels with no compression support no longer work Raul Tambre <raul@tambre.ee> - 2022-04-18 12:40 +0200
  Bug#1009807: Kernels with no compression support no longer work Ben Hutchings <ben@decadent.org.uk> - 2022-04-18 21:30 +0200
  Processed: Re: Bug#1009807: Kernels with no compression support  no longer work "Debian Bug Tracking System" <owner@bugs.debian.org> - 2022-04-18 21:30 +0200
  Bug#1009807: marked as done (Kernels with no compression support  no longer work) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2022-04-30 19:30 +0200

csiph-web