kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #78443
[Bug 1359146] Re: Kernel crash when mounting bcache on a vm with virtio
@tom-leiming
I've tested this patch and I am able to mount a bcache device on top of
virtio disks without hangs or the original BUG_ON on startup. Please add
my 'Tested-By' in the patch upstream.
Thanks,
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1359146
Title:
Kernel crash when mounting bcache on a vm with virtio
Status in “linux” package in Ubuntu:
Confirmed
Status in “linux” source package in Trusty:
Fix Released
Bug description:
bcache used in a virtual machine:
If you create a bcache device with caching device and backing device
on virtio disks, it will let you do your work until you mount it where
it crashes the virtual machine (virtual machine is utopic, host is
trusty).
For example:
if your backing device is /dev/vdb, and your caching device is /dev/vdc:
sudo make-bcache -B /dev/vdc -C /dev/vdb --writeback
is ok
mkfs.ext4 /dev/bcache0 -L bcache-test
is ok
but
mount /dev/bcache0 /media/bcache
make it crash, if I remember well one time I had a few seconds before
crash, but I don't have any log files.
qemu-system-x86 is version 2.0.0+dfsg-2ubuntu1.2
Re-installing, and using IDE virtual interface seems to create and
mount the bcache device is ok.
After bcache created an mounted successfully with IDE interfaces,
switching to SATA, SCSI, and USB with booting and mounting seemed ok.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1359146/+subscriptions
References