Bug#774797: initramfs-tools: Include bcache.ko by default
This seems like a good idea and a reasonable request, but needs someone to volunteer a patch. signature.asc Description: PGP signature
Bug#774797: initramfs-tools: Include bcache.ko by default
severity 774797 wishlist retitle 774797 bcache support in the installer (most importantly include bcache.ko) thanks -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#774797: initramfs-tools: Include bcache.ko by default
David Mohr da...@mcbf.net writes: /usr/share/initramfs-tools/hooks: bcache This file exists on your system and does install bcache.ko into the initrd: % lsinitramfs /boot/initrd.img-3.16.0-4-amd64 | grep bcache lib/modules/3.16.0-4-amd64/kernel/drivers/md/bcache lib/modules/3.16.0-4-amd64/kernel/drivers/md/bcache/bcache.ko lib/modules/3.16.0-4-amd64/kernel/fs/mbcache.ko lib/udev/probe-bcache lib/udev/rules.d/69-bcache.rules lib/udev/bcache-register Maybe the initramfs somehow did not get updated on your system? That does exist, and it appears to be doing its job, but it comes from the bcache-tools package. That's not entirely what I'm talking about though. I'm more concerned about an annoying bootstrap issue that I've faced multiple times when installing Debian onto a bcache volume. Here's what I currently have to do: - Format as bcache using some live system - Reboot into d-i. - From within the debian installer, unpack bcache.ko out of the installer's kernel .deb, insmod it. - Register the bcache, install to it. - Reboot into the new system. Oops, boot fails, because there's no bcache.ko. Back to a live system, drop the right bcache.ko into /boot, reboot, insmod it, register the bcache, boot. (*) - Then install bcache-tools, and things start looking up. (*) This step is the most annoying, and what I'd like to see fixed. Alternatively, if d-i understood that I'm installing onto bcache and installed bcache-tools, my problem would also be solved... Thanks for listening! Andreas signature.asc Description: PGP signature
Bug#774797: initramfs-tools: Include bcache.ko by default
Sorry for getting back so late on this issue. On 2015-01-07 11:46, Andreas Kloeckner wrote: 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. I totally agree. /usr/share/initramfs-tools/hooks: bcache This file exists on your system and does install bcache.ko into the initrd: % lsinitramfs /boot/initrd.img-3.16.0-4-amd64 | grep bcache lib/modules/3.16.0-4-amd64/kernel/drivers/md/bcache lib/modules/3.16.0-4-amd64/kernel/drivers/md/bcache/bcache.ko lib/modules/3.16.0-4-amd64/kernel/fs/mbcache.ko lib/udev/probe-bcache lib/udev/rules.d/69-bcache.rules lib/udev/bcache-register Maybe the initramfs somehow did not get updated on your system? ~David -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#774797: initramfs-tools: Include bcache.ko by default
On 2015-05-02 16:58, Andreas Kloeckner wrote: That does exist, and it appears to be doing its job, but it comes from the bcache-tools package. That's not entirely what I'm talking about though. I'm more concerned about an annoying bootstrap issue that I've faced multiple times when installing Debian onto a bcache volume. Here's what I currently have to do: - Format as bcache using some live system - Reboot into d-i. - From within the debian installer, unpack bcache.ko out of the installer's kernel .deb, insmod it. - Register the bcache, install to it. - Reboot into the new system. Oops, boot fails, because there's no bcache.ko. Back to a live system, drop the right bcache.ko into /boot, reboot, insmod it, register the bcache, boot. (*) - Then install bcache-tools, and things start looking up. (*) This step is the most annoying, and what I'd like to see fixed. Alternatively, if d-i understood that I'm installing onto bcache and installed bcache-tools, my problem would also be solved... Ah, yes, so it's all about the installer. That was not obvious to me from the original bug report. Ideally I'd like to see full installer support but I don't know how much effort is involved. It is something that has been on my personal TODO list, and will get tackled sometimes now that jessie is out of the door. Thanks, ~David -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
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_lib27571 1 snd_usb_audio snd_rawmidi26806 1 snd_usbmidi_lib snd_seq_device 13132 1 snd_rawmidi usb_storage60311 0 tun26377 0 btrfs 888959 0 xor21040 1 btrfs raid6_pq 95238 1 btrfs ufs73312 0 qnx4 13036 0 hfsplus 101391 0 hfs53845 0 minix 31387 0 ntfs 198266 0 msdos 17046 0 jfs 172852 0 xfs 800918 0 wacom 68490 0 hid_generic12393 0 ctr12927 3 ccm17534 3 veth 13140 0 xt_nat 12601 0 xt_tcpudp 12527 0 xt_addrtype12557 2 xt_conntrack 12681 1 ipt_MASQUERADE 12477 1 nf_nat_masquerade_ipv412609 1 ipt_MASQUERADE iptable_nat12711 1 nf_conntrack_ipv4 18448 2 nf_defrag_ipv4 12483 1 nf_conntrack_ipv4 nf_nat_ipv413075 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 stp12437 1 bridge llc12745 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 msr12677 0 cpufreq_stats 12782 0 bnep 17349 2 binfmt_misc12846 1 nfsd 276635 2 auth_rpcgss51015 1 nfsd oid_registry 12419 1 auth_rpcgss nfs_acl12511 1 nfsd nfs 196161 0 lockd 87185 2 nfs,nfsd grace 12586 2 nfsd,lockd fscache45208 1 nfs sunrpc241210 6 nfs,nfsd,auth_rpcgss,lockd,nfs_acl nls_utf8 12456 1 nls_cp437 16553 1 vfat 17135 1 fat61940 2 vfat,msdos x86_pkg_temp_thermal12951 0 intel_powerclamp 17122 0 intel_rapl 17356 0 coretemp 12820 0 ecb12737 1 kvm_intel 139155 0 kvm 401546 1 kvm_intel btusb 29996 0 crct10dif_pclmul 13387 0 crc32_pclmul 12915 0 ghash_clmulni_intel12978 0 snd_hda_codec_realtek63196 1 snd_hda_codec_generic63045 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