Path: csiph.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!bofh.it!news.nic.it!robomod From: Ben Hutchings Newsgroups: linux.debian.bugs.dist,linux.debian.kernel Subject: Bug#1009807: Kernels with no compression support no longer work Date: Mon, 18 Apr 2022 21:30:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon Apr 18 19:27:09 2022 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -3.962 Reply-To: Ben Hutchings , 1009807@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: Debian kernel team X-Debian-Pr-Message: followup 1009807 X-Debian-Pr-Package: initramfs-tools X-Debian-Pr-Source: initramfs-tools Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-xF8V40D/3epCDelc6WRb" User-Agent: Evolution 3.43.3-1 MIME-Version: 1.0 X-Sa-Exim-Connect-IP: 91.181.7.168 X-Sa-Exim-Mail-From: ben@decadent.org.uk X-Sa-Exim-Scanned: No (on maynard); SAEximRunCond expanded to false X-Debian-Message: from BTS X-Mailing-List: archive/latest/1714037 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 83 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 18 Apr 2022 21:22:45 +0200 X-Original-Message-ID: X-Original-References: <8a291fbc-8c7c-fdc5-dea6-a3c555d6f7fe@tambre.ee> <8a291fbc-8c7c-fdc5-dea6-a3c555d6f7fe@tambre.ee> Xref: csiph.com linux.debian.bugs.dist:1100627 linux.debian.kernel:75071 --=-xF8V40D/3epCDelc6WRb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Control: tag -1 moreinfo On Mon, 2022-04-18 at 13:30 +0300, Raul Tambre wrote: > Package: initramfs-tools > Version: 0.141 > Severity: important >=20 > Dear maintainer, >=20 > I was using a custom downstream kernel required for my hardware. The=20 > kernel had only CONFIG_RD_XZ enabled, which I wasn't aware of. > With version 0.141 initramfs creation fails with: >=20 > 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 gz= ip > 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=20 > subprocess returned error exit status 1 >=20 > After commit 035190cc4385c0441dddc1bbaba000cf7f1f179b the code tries to= =20 > default to gzip if the first method didn't work, and errors if so.=20 > Previously it would fall back to no compression. [...] I think you are being confused by the "early initramfs" that is prepended to the main initramfs. The early initramfs contains x86 microcode and must be uncompressed. The main initramfs presumably can be uncompressed, but initramfs-tools has never supported that and has only ever had a fallback to gzip, which was assumed to be supported by all kernel configurations. It seems to me that your custom kernels have been booting without actually using the main initramfs, because they could not decompress it and they had all the necessary drivers built-in. If you don't want or need an initramfs then (assuming you use "make deb-pkg") you can disable CONFIG_BLK_DEV_INITRD and the package will then also disable building an initramfs on installation. If you do want an initramfs, then you should make sure the initramfs- tools and kernel configurations agree on which compression method to use. Ben. --=20 Ben Hutchings To err is human; to really foul things up requires a computer. --=-xF8V40D/3epCDelc6WRb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmJduoUACgkQ57/I7JWG EQl5lxAAqIQRXtyUUE5BbOpaLMptSCWaXcHuKHzKeolDg8QXJ+ghUwJFSfJRcA48 b9B23euswFLecFgCucogrtD3txHlvxTYz9Rz5H5MRPtii0VIvEWK4WnB4E7w+1Sl 6TNVUXqFjZFnVNlQDLyshx15Qc6zdXytv+LI4HBAiK/zKCeUVCpzM0ek8DcpIyWn MJtLDLvUMXJe8RplYxteO+AmZ7EQjUt+htPwg6EefAIEzk5TVS/BZqQabNxST/1a UEBX7LtTxVoRuZRY/u0CakAQK+xO09qxBp07SbgRwB7nCtM86MEj8QqJtdTJ0/GH 1t6gCLvYCPpsbQnl/To68YsBYLE9TVgWF2F8Qf7c2QyldhWQXjP0GmCDa8nWSYRU S3VSYv8cQt9M8019Tqkc9vIZ+IriT+362u8CGl59cjgzPbX+e81NSf7oXHcYeaWQ JpVDBopaccHaXfbPT6aTZjfRdkoiNVVKV6kLAkvachpekv5YOq6x2VqOskHJO4qh H2HkTSmIxf9E6yUY5lxma5dZwvCup++RETI3TS4g67vjUh3Us1QbNJLf+t11dXQG jAHQeTn7vEa+4i27HO2zCRjeXR9Nkt2dxTV/93DzA1juJOTU7wne0iIf9LPSMojH 0Oobqs7nD6uzOixOt0yij3yI4MMAhAlarRyeyizXT1hJHdBoZRA= =ZPGx -----END PGP SIGNATURE----- --=-xF8V40D/3epCDelc6WRb--