--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: "modprobe: module css:t0 not found in modules.dep" issued during boot
- From: Stephen Powell <zlinuxman@wowway.com>
- Date: Sun, 19 Jul 2015 22:01:06 -0400 (EDT)
- Message-id: <1079329227.16129450.1437357666297.JavaMail.zimbra@wowway.com>
Package: initramfs-tools
Version: 0.120
Severity: minor
During boot of a jessie system on the s390x platform, I noticed the
following error message on the console:
Begin: Loading essential drivers ...
modprobe: module css:t0 not found in modules.dep
The error didn't seem to affect the ability of the system to boot,
but I decided to investigate. I traced the problem to the
sys_walk_modalias function in /usr/share/initramfs-tools/hook-functions.
The relevant code goes something like this:
if [ -n "${modalias}" ]; then
force_load "${modalias}"
fi
The problem here is that the code does not distinguish between a regular
module alias and what I call a udev alias. (I'm not sure what the proper
terminology is. If you know please tell me.) A udev alias associates
a module with a piece of hardware. When udev "sees" a piece of hardware
which matches the pattern of the alias, it loads the corresponding module.
Compare, for example, the output of "modinfo ext4", which lists true
aliases, with the output of "modinfo e100", which lists udev aliases.
Most of the udev aliases have asterisks in them. All of them seem to have
a colon in them. I suggest the following code to replace the above:
case "${modalias}" in
""|*:*)
:
;;
*)
force_load "${modalias}"
;;
esac
The attached patch file fixes the problem on my system.
--
.''`. Stephen Powell <zlinuxman@wowway.com>
: :' :
`. `'`
`-
--- hook-functions.orig 2015-03-01 16:44:34.000000000 -0500
+++ hook-functions 2015-07-19 21:04:19.587616682 -0400
@@ -222,9 +222,14 @@
while [ "${device_path}" != "/sys" ]; do
if [ -e "${device_path}/modalias" ]; then
modalias=$(cat "${device_path}/modalias")
- if [ -n "${modalias}" ]; then
- force_load "${modalias}"
- fi
+ case "${modalias}" in
+ ""|*:*)
+ :
+ ;;
+ *)
+ force_load "${modalias}"
+ ;;
+ esac
fi
device_path="$(dirname ${device_path})"
done
--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.123
We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 792910@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ben Hutchings <ben@decadent.org.uk> (supplier of updated initramfs-tools package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 11 Feb 2016 02:13:23 +0000
Source: initramfs-tools
Binary: initramfs-tools initramfs-tools-core
Architecture: source
Version: 0.123
Distribution: unstable
Urgency: medium
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Ben Hutchings <ben@decadent.org.uk>
Description:
initramfs-tools - generic modular initramfs generator (automation)
initramfs-tools-core - generic modular initramfs generator (core tools)
Closes: 512679 588770 639876 767471 768913 792910 804071 807527 809206 809740 810154 812404 813229 814345
Changes:
initramfs-tools (0.123) unstable; urgency=medium
.
[ Ben Hutchings ]
* [3084929] debian/control: Remove redundant dependency on
klibc-utils|busybox
* [913a861] debian/control: Recommend the right busybox packages for the
target distribution
* [d4febbd] Remove busybox hook in favour of busybox's own (Closes: #810154)
* [b5303a1] Update TODO for removal of busybox hook
* [6cc3d85] hook-functions: Include any modular RTC drivers in the initramfs
* [ceff05e] hooks/fsck: Stop setting e2fsck broken_system_clock option
(Closes: #804071)
* [9c105f0] Assume blkid is always installed, and remove fallbacks
* [aaba4cb] hooks/fsck: Use get_fstype rather than blkid to probe filesystem
type
* [a8ed874] hooks/fsck: Always use get_fstype to probe type of root
filesystem (Closes: #767471)
* [e798629] Pass filesystem type from /etc/fstab to fsck when checking /usr
* [55e075c] hook-functions: Include drivers for all keyboards when
MODULES=dep (Closes: #639876)
* [704bfa5] scripts/functions: Explicitly load keyboard drivers only at
break=top
* [c5b54ae] scripts/functions: Use more sensible modprobe options at
break=top
* [39e90c8] scripts/functions: Load more USB host controllers drivers on
break=top
* [8c437f5] scripts/functions: Load HID drivers at break=top
* [619f2ca] scripts/functions: Connect panic shell to normal tty device
(Closes: #512679)
* [8b8b28c] hook-functions: Clean up split between dep_add_modules and
dep_add_modules_mount
* [5f34b94] hook-functions: Include modules for resume partition when
MODULES=dep (Closes: #588770)
* [31ab487] hook-functions: Stop force-loading drivers found through sysfs
when MODULES=dep (Closes: #792910)
* [07f2c88] kernel/postinst.d: Make test for update-initramfs consistent with
invocation (Closes: #768913)
* [e5476bf] copy_file: Skip duplicating symlink if it points to the target
file (Closes: #812404)
* [d0f4d06] initramfs-tools: Include empty /etc/initramfs-tools/conf.d
directory (Closes: #809206)
* [245d584] initramfs-tools.8: Update list of variables exported to hook
scripts
* [941429d] initramfs-tools.8: Add a new section for the general description
of scripts
* [3ff5d57] initramfs-tools.8: Add brief description of configuration hooks
and files (Closes: #807527)
* [c17a21a] Remove klibc hook in favour of klibc's own
* [ea7e02d] bash-completion: Simplify by using _get_comp_words_by_ref
* [9e23444] init: Use "case" rather than loop to look for "quiet" parameter
* [49e4a05] init: Remove fallback from devtmpfs to tmpfs
* [ab91306] init: Take over handling of rootdelay parameter from udev boot
script (Closes: #809740)
* [56dfe39] bash-completion: Rename our completion script so that it works
again
* [ac6d31f] mkinitramfs: Delete or report temporary files on failure
(Closes: #814345)
* [c8c932d] Move initramfs.conf around in maintainer scripts to avoid it
being 'obsolete' (Closes: #813229)
* [138af73] hook-functions: Dereference links when looking up block device
number
.
[ Andy Whitcroft ]
* [7774fa3] Don't display "Loading, please wait..." message when 'quiet' is
in /proc/cmdline.
* [c4ea209] Mount /dev with the default tmpfs size rather than sourcing
udev.conf.
* [b418ad4] Sync the mount options for /run from /lib/init/fstab
(LP: #1152744)
* [c44df0c] init: Mount /dev with "nosuid". Thanks to Daniel (LP: #1450960)
Checksums-Sha1:
04ba47b72545885859efbd5c82c4a16abe1d31b5 1811 initramfs-tools_0.123.dsc
24be51cd493c96640e34d80ae164c0f855826eb7 84040 initramfs-tools_0.123.tar.xz
Checksums-Sha256:
4472617459414c9402b654d4e2adb20c175c79f371adf6489c87af1a7e6e3606 1811 initramfs-tools_0.123.dsc
84f57262b3208b14d36a7758b24380a4c27475e5e1ef69868aaba22f98ea5ac8 84040 initramfs-tools_0.123.tar.xz
Files:
499f42df5ff1573b9abab071e728227f 1811 utils optional initramfs-tools_0.123.dsc
e181fd51440cb4b767524bdc95b25745 84040 utils optional initramfs-tools_0.123.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIVAwUBVrvxnue/yOyVhhEJAQrgjBAAihP2c3a/kP8NeNKOG2Z4q09U0vZqNSRW
YR+I4EdAngQVfYgv96Cn8BH9c4pz7Cs3/LSKxoOzPMl055wuD2adLr5tugeFhqSv
+wqoV/IIX9xsqE41iWCHS2lmlY4QPUqwz9D5cTnQBeF8Gc6e0UM5q6Nt7m4NBKho
oYdiCSN8EG7ggWO5gpopOsLSl7J+Af8m/41uiuV6cQDwTU9sHUjQjFVGZ+1Z4h54
MPYyNnnDI9aFlK8/gs7iyyiJgxwangmmVaV8dbEwI6UGcAq6Xi6QeuNqRTeF7iGS
dhtfeYZ+KJv7RjTnKSFSXLx9EDXFlC32oW2t8B+yTfiEuX4+x4vyalEaUCAxMOEy
I9DkeH9VdBE/+vW08heYo9LznopqmWRj1uTyni2rQyAttsir9OToSQcRzrMMXEsR
mfpneVvIbF9VVaCnN1kgenaukfTg41iCX6r7rpPPJGPHCn2QddUI1YjCuMCp4p8B
GC5FPTdQCTbBQNVDF8jD0M94zUxzn/0LnUSke2feze4WZ7EKn43uEFgr0Vy6uoLz
L9cMd3aBcN4938s7BBvvjpPsDJqgXCoJwPIrefXDANKnKSPCIHoEkyNix80BhbK/
rF2yDTtjsVlTwrs1KiMWsv7NiQMQKy402T7ZsjozvQjW336OlBg8cHT3hML/YSE0
+bYohGrV3i4=
=6L3y
-----END PGP SIGNATURE-----
--- End Message ---