Devuan bug report logs - #916
/usr/share/initramfs-tools/hooks/kmod broken on armhf for kernels with CONFIG_MODULE_DECOMPRESS

version graph

Package: kmod; Maintainer for kmod is (unknown); Source for kmod is src:kmod.

Reported by: David Kuehling <dvdkhlng@posteo.de>

Date: Wed, 22 Oct 2025 12:32:02 UTC

Severity: normal

Tags: debian

Found in version 34.2-2

Forwarded to https://bugs.debian.org/1099801

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#916: /usr/share/initramfs-tools/hooks/kmod broken on armhf for kernels with CONFIG_MODULE_DECOMPRESS
Reply-To: David Kuehling <dvdkhlng@posteo.de>, 916@bugs.devuan.org
Resent-From: David Kuehling <dvdkhlng@posteo.de>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: debian-arm@lists.debian.org, dvdkhlng@posteo.de, devuan-dev@lists.dyne.org
X-Loop: owner@bugs.devuan.org
Resent-Date: Wed, 22 Oct 2025 12:32:02 +0000
Resent-Message-ID: <handler.916.B.176113620819563@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: report 916
X-Devuan-PR-Package: kmod
X-Devuan-PR-Keywords: 
Received: via spool by submit@bugs.devuan.org id=B.176113620819563
          (code B); Wed, 22 Oct 2025 12:32:02 +0000
Received: (at submit) by bugs.devuan.org; 22 Oct 2025 12:30:08 +0000
Delivered-To: bugs@devuan.org
Received: from email.devuan.org [2a01:4f9:fff1:13::5fd9:f9e4]
	by doc.devuan.org with IMAP (fetchmail-6.4.39)
	for <debbugs@localhost> (single-drop); Wed, 22 Oct 2025 12:30:08 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id PbhuFj/O+GiXMQAAmSBk0A
	(envelope-from <dvdkhlng@posteo.de>)
	for <bugs@devuan.org>; Wed, 22 Oct 2025 12:29:51 +0000
Authentication-Results: email.devuan.org;
	dkim=pass (2048-bit key; secure) header.d=posteo.de header.i=@posteo.de header.a=rsa-sha256 header.s=2017 header.b=hh5hVdBM;
	dkim-atps=neutral
Received: by email.devuan.org (Postfix, from userid 109)
	id 45263220; Wed, 22 Oct 2025 12:29:51 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED,
	RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS,
	T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=185.67.36.66; helo=mout02.posteo.de; envelope-from=dvdkhlng@posteo.de; receiver=bugs.devuan.org 
Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66])
	by email.devuan.org (Postfix) with ESMTPS id 3E19FA5
	for <submit@bugs.devuan.org>; Wed, 22 Oct 2025 12:29:49 +0000 (UTC)
Received: from submission (posteo.de [185.67.36.169]) 
	by mout02.posteo.de (Postfix) with ESMTPS id 2FC5F240101
	for <submit@bugs.devuan.org>; Wed, 22 Oct 2025 14:29:47 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.de; s=2017;
	t=1761136188; bh=D4NuQvyHRpXRvrxOVjLvpJsiHnaU1R/aY/6FPOpE98Q=;
	h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From;
	b=hh5hVdBMev+ee6r6XMVZwheOPOJcW58AvCAcOiP1TqfTQMXcUXv/QKfNjSjevIjp+
	 W1kRGzJdYrHDsNUJGzDUCZZcyRXwXmx6vdWZQ3v/o9ELd/xbrz3n+h+GZRsTCmo6Q1
	 TZTeJccvcYTg/cHrnmo/bdkMnai3fHrTitfj4fOWC/GVjWkpT4z5bcuaDBaEJU+d5e
	 NW/2Yd152jeEvhPa/XN1E8OXHi8L3lCvcdFuiQrJhaKwxuiZjj0q+EQ+6n3TXA9IR/
	 DmSR+xFsLsd1SW1tqLWGUPQ1Sgp50Mpy5jfQDlo9ZGB10gQlbActUmboF88aoA1qgT
	 sYnBIRjyw3foA==
Received: from customer (localhost [127.0.0.1])
	by submission (posteo.de) with ESMTPSA id 4cs7lb2JXJz9rxK
	for <submit@bugs.devuan.org>; Wed, 22 Oct 2025 14:29:47 +0200 (CEST)
From: David Kuehling <dvdkhlng@posteo.de>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Date: Wed, 22 Oct 2025 12:29:47 +0000
Message-ID: <878qh3dsqx.fsf@posteo.de>
MIME-Version: 1.0
Content-Type: text/plain
Package: kmod
Version: 34.2-2
Severity: normal
File: /usr/share/initramfs-tools/hooks/kmod
X-Debbugs-Cc: debian-arm@lists.debian.org, dvdkhlng@posteo.de
User: debian-arm@lists.debian.org
Usertags: armhf

Hi,

on armhf, the initramfs-hook of kmod fails intermittently, when the
kernel is compiled with CONFIG_MODULE_DECOMPRESS.  This prevents
update-initramfs from creating any initrd images.

The failure is triggered by these lines:

          copy_exec /usr/lib/*-linux-gnu/liblzma.so.5
          copy_exec /usr/lib/*-linux-gnu/libzstd.so.1

There is no /usr/lib/*-linux-gnu directory on armhf!  The directory is
named /usr/lib/arm-linux-gnueabihf here.  Likely other Debian
architectures are affected by the same bug.

I fixed the issue for me by changing these wildcards to

          copy_exec /usr/lib/*-linux-gnu*/liblzma.so.5
          copy_exec /usr/lib/*-linux-gnu*/libzstd.so.1

Not that I really understand the implications of that change :)

cheers,

David

-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 6 (excalibur)
Release:	6
Codename:	excalibur
Architecture: armv7l

Kernel: Linux 6.12.53-dk2 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages kmod depends on:
ii  libc6       2.41-12
ii  libkmod2    34.2-2
ii  libssl3t64  3.5.1-1+deb13u1

kmod recommends no packages.

kmod suggests no packages.

-- no debconf information

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Sat Dec 13 10:46:59 2025;