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


Groups > linux.debian.bugs.dist > #1242519

Bug#1103478: kmod: Unable to load compressed modules in initramfs.

From Ethan R <debian-bug-reports.radial205@passmail.net>
Newsgroups linux.debian.bugs.dist
Subject Bug#1103478: kmod: Unable to load compressed modules in initramfs.
Date 2025-04-18 04:30 +0200
Message-ID <KCJEl-ejEX-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: kmod
Version: 34.2-1
Severity: normal
X-Debbugs-Cc: debian-bug-reports.radial205@passmail.net

Dear Maintainer,

It appears that some modes of kmod (modprobe, modinfo) require the
liblzma.so.5 library in order to operate with compressed kernel modules
(module.ko.xz).  However, liblzma.so.5 does not show up in the output of "ldd
/usr/bin/kmod", so this library is not included in initramfs images
created by the initramfs-tools package.  This prevents loading
compressed modules in early userspace using modprobe.

I recommend modifying "/usr/share/initramfs-tools/hooks/kmod" to
explicitly copy the liblzma.so.5 library into initramfs images using the
copy_file function.

Thanks for your work supporting Debian.

--Ethan

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: armhf (armv7l)

Kernel: Linux 6.12.23-bone19 (UP; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages kmod depends on:
ii  libc6       2.41-6
ii  libkmod2    34.2-1
ii  libssl3t64  3.5.0-1

kmod recommends no packages.

kmod suggests no packages.

-- no debconf information

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1103478: kmod: Unable to load compressed modules in initramfs. Ethan R <debian-bug-reports.radial205@passmail.net> - 2025-04-18 04:30 +0200
  Bug#1103478: Fix / workaround debian-bug-reports.radial205@passmail.net - 2025-04-18 19:50 +0200
  Bug#1103478: kmod: Unable to load compressed modules in initramfs. Steev Klimaszewski <steev@kali.org> - 2025-05-12 17:50 +0200

csiph-web