Bug#999737: initramfs-tools: root filesystem fails to mount until I "zpool import rpool"
Package: initramfs-tools
Version: 0.140
Severity: normal
X-Debbugs-Cc: kteague+rpool.mount.bug.debian.org@pobox.com
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
* Upgrading to linux-kernel-5.10.0-9-amd64
* What exactly did you do (or not do) that was effective (or
ineffective)?
* During boot, it fails to mount the root filesystem and forces me to
login to single user mode. "zpool import rpool" followed by CTRL-D allows me
to complete my boot process. "zpool status" shows bpool but not rpool.
* I used these instructions (slightly altered for Bullseye) for
installing Debian with ZFS root: https://openzfs.github.io/openzfs-
docs/Getting%20Started/Debian/Debian%20Buster%20Root%20on%20ZFS.html
* What was the outcome of this action?
* Workstation boots properly after "zpool import rpool".
* What outcome did you expect instead?
* To my recollection, there were previous upgrades of the kernel since
I've installed Bullseye and I didn't have any problems booting to them.
ken@sobo$ uname -a
Linux sobo 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux
ken@sobo$ sudo dkms status
[sudo] password for ken:
zfs, 2.0.3, 5.10.0-8-amd64, x86_64: installed
zfs, 2.0.3, 5.10.0-9-amd64, x86_64: installed
## I think something may be missing here?
## Referencing step 5 listed at https://github.com/openzfs/zfs/issues/10355
## but, then again, my workstation seems to boot without these modules...
ken@sobo$ lsinitramfs /boot/initrd.img-`uname -r` | grep -E '(zfs|spl).ko'
ken@sobo$
## The modules exist
ken@sobo$ ls -l /usr/lib/modules/`uname -r`/updates/dkms
total 3305
-rw-r--r-- 1 root root 501216 Oct 9 09:56 icp.ko
-rw-r--r-- 1 root root 221920 Oct 9 09:56 spl.ko
-rw-r--r-- 1 root root 20616 Oct 9 09:56 zavl.ko
-rw-r--r-- 1 root root 173320 Oct 9 09:56 zcommon.ko
-rw-r--r-- 1 root root 5748128 Oct 9 09:56 zfs.ko
-rw-r--r-- 1 root root 353472 Oct 9 09:56 zlua.ko
-rw-r--r-- 1 root root 180344 Oct 9 09:56 znvpair.ko
-rw-r--r-- 1 root root 342496 Oct 9 09:56 zunicode.ko
-rw-r--r-- 1 root root 723024 Oct 9 09:56 zzstd.ko
## and I can modprobe -i them, but they still don't show up
ken@sobo$ sudo modprobe -i spl
ken@sobo$ sudo modprobe -i zfs
ken@sobo$ lsinitramfs /boot/initrd.img-`uname -r` | grep -E '(zfs|spl).ko'
ken@sobo$
I apologize if this should be submitted to the linux-image package
maintainer(s). Please let me know if I need to resubmit to them.
-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 67M Nov 15 11:32 /boot/initrd.img-5.10.0-8-amd64
-rw-r--r-- 1 root root 67M Nov 15 12:13 /boot/initrd.img-5.10.0-9-amd64
-rw-r--r-- 1 root root 65M Oct 9 09:56 /boot/initrd.img-5.10.0-9-amd64.old-dkms
-- /proc/cmdline
BOOT_IMAGE=/BOOT/debian@/vmlinuz-5.10.0-9-amd64 root=ZFS=/ROOT/debian ro root=ZFS=rpool/ROOT/debian
-- resume
RESUME=none
-- /proc/filesystems
fuseblk
vfat
squashfs
-- lsmod
Module Size Used by
dm_mod 163840 0
rfkill 28672 3
squashfs 69632 16
loop 40960 32
intel_rapl_msr 20480 0
intel_rapl_common 28672 1 intel_rapl_msr
x86_pkg_temp_thermal 20480 0
intel_powerclamp 20480 0
coretemp 20480 0
nls_ascii 16384 1
kvm_intel 327680 0
snd_hda_codec_conexant 24576 1
snd_hda_codec_generic 98304 1 snd_hda_codec_conexant
ledtrig_audio 16384 1 snd_hda_codec_generic
snd_hda_codec_hdmi 73728 2
nls_cp437 20480 1
snd_hda_intel 57344 4
iTCO_wdt 16384 0
snd_intel_dspcfg 28672 1 snd_hda_intel
vfat 20480 1
soundwire_intel 45056 1 snd_intel_dspcfg
intel_pmc_bxt 16384 1 iTCO_wdt
fat 86016 1 vfat
at24 24576 0
soundwire_generic_allocation 16384 1 soundwire_intel
kvm 921600 1 kvm_intel
iTCO_vendor_support 16384 1 iTCO_wdt
snd_soc_core 315392 1 soundwire_intel
mei_hdcp 24576 0
watchdog 28672 1 iTCO_wdt
irqbypass 16384 1 kvm
snd_usb_audio 315392 2
snd_compress 32768 1 snd_soc_core
soundwire_cadence 36864 1 soundwire_intel
rapl 20480 0
snd_usbmidi_lib 40960 1 snd_usb_audio
dell_wmi 20480 0
snd_hda_codec 172032 4 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel
intel_cstate 20480 0
snd_hda_core 110592 5 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_rawmidi 45056 1 snd_usbmidi_lib
dell_smbios 32768 1 dell_wmi
intel_uncore 176128 0
snd_seq_device 16384 1 snd_rawmidi
snd_hwdep 16384 2 snd_usb_audio,snd_hda_codec
dcdbas 20480 1 dell_smbios
psmouse 184320 0
soundwire_bus 90112 3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
mc 61440 1 snd_usb_audio
sparse_keymap 16384 1 dell_wmi
dell_wmi_descriptor 20480 2 dell_wmi,dell_smbios
wmi_bmof 16384 0
pcspkr 16384 0
efi_pstore 16384 0
r8169 102400 0
i2c_i801 32768 0
snd_pcm 135168 8 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,soundwire_intel,snd_compress,snd_soc_core,snd_hda_core
sg 36864 0
i2c_smbus 20480 1 i2c_i801
realtek 24576 2
snd_timer 49152 1 snd_pcm
mdio_devres 16384 1 r8169
snd 110592 26 snd_hda_codec_generic,snd_hda_codec_conexant,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
joydev 28672 0
soundcore 16384 1 snd
libphy 151552 3 r8169,mdio_devres,realtek
lpc_ich 28672 0
button 24576 0
mei_me 45056 1
mei 139264 3 mei_hdcp,mei_me
evdev 28672 19
fuse 167936 5
configfs 57344 1
ip_tables 32768 0
x_tables 53248 1 ip_tables
hid_logitech_hidpp 49152 0
hid_logitech_dj 28672 0
zfs 4558848 23
zunicode 335872 1 zfs
zzstd 573440 1 zfs
zlua 184320 1 zfs
zavl 16384 1 zfs
icp 323584 1 zfs
zcommon 102400 2 zfs,icp
znvpair 106496 2 zfs,zcommon
spl 118784 6 zfs,icp,zzstd,znvpair,zcommon,zavl
sd_mod 61440 4
sr_mod 28672 0
cdrom 73728 1 sr_mod
t10_pi 16384 1 sd_mod
crc_t10dif 20480 1 t10_pi
crct10dif_generic 16384 0
hid_generic 16384 0
usbhid 65536 1 hid_logitech_dj
hid 147456 4 usbhid,hid_generic,hid_logitech_dj,hid_logitech_hidpp
i915 2711552 25
radeon 1650688 2
crct10dif_pclmul 16384 1
crct10dif_common 16384 3 crct10dif_generic,crc_t10dif,crct10dif_pclmul
crc32_pclmul 16384 0
crc32c_intel 24576 0
ahci 40960 3
libahci 45056 1 ahci
ghash_clmulni_intel 16384 0
libata 290816 2 libahci,ahci
i2c_algo_bit 16384 2 radeon,i915
drm_kms_helper 278528 2 radeon,i915
cec 61440 2 drm_kms_helper,i915
ttm 114688 1 radeon
aesni_intel 368640 0
glue_helper 16384 1 aesni_intel
libaes 16384 1 aesni_intel
crypto_simd 16384 1 aesni_intel
ehci_pci 20480 0
cryptd 24576 2 crypto_simd,ghash_clmulni_intel
ehci_hcd 98304 1 ehci_pci
drm 618496 12 drm_kms_helper,radeon,i915,ttm
serio_raw 20480 0
usbcore 323584 5 ehci_pci,snd_usb_audio,usbhid,snd_usbmidi_lib,ehci_hcd
scsi_mod 262144 4 sd_mod,libata,sg,sr_mod
usb_common 16384 2 usbcore,ehci_hcd
wmi 36864 4 dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor
video 53248 2 dell_wmi,i915
msr 16384 0
parport_pc 40960 0
ppdev 24576 0
lp 20480 0
parport 69632 3 parport_pc,lp,ppdev
efivarfs 16384 1
autofs4 53248 2
-- /etc/initramfs-tools/modules
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=auto
KEYMAP=n
COMPRESS=gzip
DEVICE=
NFSROOT=auto
RUNSIZE=10%
FSTYPE=auto
-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no
-- /etc/crypttab
# <target name> <source device> <key file> <options>
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
cryptgnupg
cryptgnupg-sc
cryptkeyctl
cryptopensc
cryptpassdev
cryptroot
cryptroot-unlock
dmraid
dmsetup
fsck
fuse
keymap
klibc-utils
kmod
lvm2
mdadm
ntfs_3g
plymouth
resume
thermal
thin-provisioning-tools
udev
zz-busybox
-- System Information:
Debian Release: 11.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-9-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages initramfs-tools depends on:
ii initramfs-tools-core 0.140
ii linux-base 4.6
initramfs-tools recommends no packages.
Versions of packages initramfs-tools suggests:
pn bash-completion <none>
-- no debconf information
Reply to: