Bug#774797: initramfs-tools: Include bcache.ko by default
Package: initramfs-tools
Version: 0.116
Severity: normal
Dear Maintainer,
bcache is an SSD caching storage abstraction that's been in the kernel
since 3.10 or so. For many modern laptops (e.g. many new Thinkpads)
which ship with a small SSD intended for caching and a large spinny
disk, bcache provides a good compromise between fast and cheap.
However, installing Debian onto a bcache volume is still a bit of
an obstacle course, and one catch-22 is that bcache.ko is not included
in the initramfs by default. I'd argue that it should be. If it isn't a
freshly installed system runs into the situation that it can't access
its storage--bcache.ko sits on bcache storage, which you can't get to
without having bcache.ko.
I'm therefore suggesting that at the very least bcache.ko (and perhaps
also bcache-tools) should be made part of the default initramfs image.
Thanks!
Andreas
-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 16M Dec 13 20:14 /boot/initrd.img-3.16.0-4-amd64
-rw-r--r-- 1 root root 16M Dec 13 02:48 /boot/initrd.img-3.17.0-trunk-amd64
-rw-r--r-- 1 root root 16M Dec 22 10:53 /boot/initrd.img-3.18.0-trunk-amd64
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.18.0-trunk-amd64 root=UUID=a2c94611-3ff1-4c29-bac8-0109d113a555 ro quiet cgroup_enable=memory swapaccount=1
-- resume
RESUME=UUID=397b5b10-3352-4a6c-9ace-d1d66672391a
-- /proc/filesystems
ext3
ext2
ext4
fuseblk
vfat
xfs
jfs
msdos
ntfs
minix
hfs
hfsplus
qnx4
ufs
btrfs
iso9660
-- lsmod
Module Size Used by
isofs 38889 0
snd_usb_audio 139460 1
snd_usbmidi_lib 27571 1 snd_usb_audio
snd_rawmidi 26806 1 snd_usbmidi_lib
snd_seq_device 13132 1 snd_rawmidi
usb_storage 60311 0
tun 26377 0
btrfs 888959 0
xor 21040 1 btrfs
raid6_pq 95238 1 btrfs
ufs 73312 0
qnx4 13036 0
hfsplus 101391 0
hfs 53845 0
minix 31387 0
ntfs 198266 0
msdos 17046 0
jfs 172852 0
xfs 800918 0
wacom 68490 0
hid_generic 12393 0
ctr 12927 3
ccm 17534 3
veth 13140 0
xt_nat 12601 0
xt_tcpudp 12527 0
xt_addrtype 12557 2
xt_conntrack 12681 1
ipt_MASQUERADE 12477 1
nf_nat_masquerade_ipv4 12609 1 ipt_MASQUERADE
iptable_nat 12711 1
nf_conntrack_ipv4 18448 2
nf_defrag_ipv4 12483 1 nf_conntrack_ipv4
nf_nat_ipv4 13075 1 iptable_nat
nf_nat 18242 3 nf_nat_ipv4,xt_nat,nf_nat_masquerade_ipv4
nf_conntrack 91524 5 nf_nat,nf_nat_ipv4,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_ipv4
bridge 97774 0
stp 12437 1 bridge
llc 12745 2 stp,bridge
dm_thin_pool 54816 1
dm_persistent_data 49172 1 dm_thin_pool
dm_bio_prison 13056 1 dm_thin_pool
dm_bufio 22609 1 dm_persistent_data
libcrc32c 12426 2 xfs,dm_persistent_data
loop 26563 4
dm_mod 89363 5 dm_persistent_data,dm_bufio,dm_thin_pool
iptable_filter 12536 1
ip_tables 26011 2 iptable_filter,iptable_nat
x_tables 27104 7 ip_tables,xt_tcpudp,ipt_MASQUERADE,xt_conntrack,xt_nat,iptable_filter,xt_addrtype
msr 12677 0
cpufreq_stats 12782 0
bnep 17349 2
binfmt_misc 12846 1
nfsd 276635 2
auth_rpcgss 51015 1 nfsd
oid_registry 12419 1 auth_rpcgss
nfs_acl 12511 1 nfsd
nfs 196161 0
lockd 87185 2 nfs,nfsd
grace 12586 2 nfsd,lockd
fscache 45208 1 nfs
sunrpc 241210 6 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
nls_utf8 12456 1
nls_cp437 16553 1
vfat 17135 1
fat 61940 2 vfat,msdos
x86_pkg_temp_thermal 12951 0
intel_powerclamp 17122 0
intel_rapl 17356 0
coretemp 12820 0
ecb 12737 1
kvm_intel 139155 0
kvm 401546 1 kvm_intel
btusb 29996 0
crct10dif_pclmul 13387 0
crc32_pclmul 12915 0
ghash_clmulni_intel 12978 0
snd_hda_codec_realtek 63196 1
snd_hda_codec_generic 63045 1 snd_hda_codec_realtek
snd_hda_codec_hdmi 49263 1
bluetooth 387519 21 bnep,btusb
aesni_intel 167997 7
uvcvideo 79092 0
videobuf2_vmalloc 12816 1 uvcvideo
videobuf2_memops 12519 1 videobuf2_vmalloc
videobuf2_core 39635 1 uvcvideo
v4l2_common 12995 1 videobuf2_core
snd_hda_intel 26387 5
videodev 130944 3 uvcvideo,v4l2_common,videobuf2_core
media 18365 2 uvcvideo,videodev
snd_hda_controller 26938 1 snd_hda_intel
arc4 12536 2
aes_x86_64 16719 1 aesni_intel
snd_hda_codec 108525 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep 17244 2 snd_usb_audio,snd_hda_codec
iwlmvm 156599 0
lrw 12757 1 aesni_intel
gf128mul 12970 1 lrw
glue_helper 12649 1 aesni_intel
ablk_helper 12572 1 aesni_intel
snd_pcm 88901 5 snd_usb_audio,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
mac80211 503531 1 iwlmvm
thinkpad_acpi 69119 1
snd_timer 26614 1 snd_pcm
cryptd 18612 3 ghash_clmulni_intel,aesni_intel,ablk_helper
joydev 17063 0
hid_multitouch 17057 0
iwlwifi 96207 1 iwlmvm
nvram 13034 1 thinkpad_acpi
snd 69340 25 snd_hda_codec_realtek,snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_rawmidi,snd_hda_codec_generic,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,thinkpad_acpi,snd_seq_device
soundcore 13031 2 snd,snd_hda_codec
iTCO_wdt 12831 0
efi_pstore 12805 1
iTCO_vendor_support 12649 1 iTCO_wdt
cfg80211 421159 3 iwlwifi,mac80211,iwlmvm
rfkill 18867 6 cfg80211,thinkpad_acpi,bluetooth
rtsx_pci_ms 16898 0
memstick 13696 1 rtsx_pci_ms
mei_me 17941 0
efivars 17257 1 efi_pstore
pcspkr 12595 0
evdev 17445 68
psmouse 103162 0
xhci_pci 12675 0
serio_raw 12849 0
xhci_hcd 152518 1 xhci_pci
wmi 17339 0
i915 926304 8
drm_kms_helper 80749 1 i915
drm 255289 7 i915,drm_kms_helper
mei 71240 1 mei_me
shpchp 31114 0
video 18078 1 i915
battery 13356 0
ac 12715 0
button 12988 1 i915
lpc_ich 20768 0
tpm_tis 17182 0
tpm 31467 1 tpm_tis
i2c_i801 16965 0
i2c_algo_bit 12744 1 i915
i2c_core 50108 7 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,v4l2_common,videodev
processor 28184 0
fuse 83314 3
parport_pc 26300 0
ppdev 16782 0
lp 17074 0
parport 35749 3 lp,ppdev,parport_pc
autofs4 35611 2
ext4 485984 2
crc16 12343 2 ext4,bluetooth
mbcache 17171 1 ext4
jbd2 82283 1 ext4
usbhid 44459 0
hid 102264 4 hid_multitouch,wacom,hid_generic,usbhid
bcache 193156 4
sg 29878 0
sd_mod 43575 7
rtsx_pci_sdmmc 21217 0
mmc_core 106468 1 rtsx_pci_sdmmc
ahci 29152 5
libahci 27215 1 ahci
crc32c_intel 21809 2
libata 177322 2 ahci,libahci
scsi_mod 199975 4 sg,usb_storage,libata,sd_mod
ehci_pci 12512 0
ehci_hcd 69837 1 ehci_pci
usbcore 195286 10 btusb,snd_usb_audio,uvcvideo,usb_storage,snd_usbmidi_lib,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
e1000e 211590 0
rtsx_pci 37855 2 rtsx_pci_ms,rtsx_pci_sdmmc
usb_common 12561 1 usbcore
mfd_core 12601 2 lpc_ich,rtsx_pci
ptp 17692 1 e1000e
thermal 17559 0
pps_core 17225 1 ptp
thermal_sys 32179 5 video,intel_powerclamp,thermal,processor,x86_pkg_temp_thermal
-- /etc/initramfs-tools/modules
bcache
-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = no
do_initrd = yes
link_in_boot = no
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
DEVICE=
NFSROOT=auto
-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
bcache
busybox
dmsetup
fuse
keymap
klibc
kmod
mountall
ntfs_3g
plymouth
resume
thermal
udev
zz-busybox
-- System Information:
Debian Release: 8.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'testing-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.18.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages initramfs-tools depends on:
ii cpio 2.11+dfsg-4
ii klibc-utils 2.0.4-2
ii kmod 18-3
ii udev 215-8
Versions of packages initramfs-tools recommends:
ii busybox 1:1.22.0-9+b1
Versions of packages initramfs-tools suggests:
ii bash-completion 1:2.1-4
-- no debconf information
Reply to: