[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#807004: initramfs-tools: Breaks when installing kdump-tools with bcache rootfs



On 05/12/15 10:13 PM, Ben Hutchings wrote:
We still need to discover the underlying devices of the bcache device, don't we?

Technically, yes, although in my case the underlying device is a normal sata disk and seems to have its module included anyway. Also, the bcache module itself is included because I have to put it in /etc/initramfs-tools/modules in order to be able to boot at all. I've had successful crashdumps in the past, since I've been using bcache, but I guess I should force one now to see if it still works.

The generated initrd contains the following modules:

kernel/crypto/async_tx/async_raid6_recov.ko
kernel/crypto/async_tx/async_xor.ko
kernel/crypto/async_tx/async_memcpy.ko
kernel/crypto/async_tx/async_tx.ko
kernel/crypto/async_tx/async_pq.ko
kernel/crypto/xor.ko
kernel/fs/jbd2/jbd2.ko
kernel/fs/fuse/fuse.ko
kernel/fs/mbcache.ko
kernel/fs/ext4/ext4.ko
kernel/drivers/md/dm-snapshot.ko
kernel/drivers/md/dm-raid.ko
kernel/drivers/md/md-mod.ko
kernel/drivers/md/bcache/bcache.ko
kernel/drivers/md/dm-mirror.ko
kernel/drivers/md/dm-mod.ko
kernel/drivers/md/dm-region-hash.ko
kernel/drivers/md/raid456.ko
kernel/drivers/md/dm-log.ko
kernel/drivers/md/dm-bufio.ko
kernel/drivers/scsi/sd_mod.ko
kernel/drivers/scsi/scsi_mod.ko
kernel/drivers/acpi/fan.ko
kernel/drivers/acpi/thermal.ko
kernel/drivers/thermal/thermal_sys.ko
kernel/lib/raid6/raid6_pq.ko
kernel/lib/crc16.ko

In particular, it has sd_mod.ko which is the one referenced via by /sys/block/sda/device/driver/module/

As you're probably aware, /sys/block/bcache0/device doesn't exist, and /sys/block/bcache0/ is a symlink to /sys/devices/virtual/block/bcache0

However, the main point of my patch is get past the serious problem of an error in the kdump-tools postinst that wedges apt.


Reply to: