Kernel crash when mounting bcache on a vm with virtio
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Chris J Arges | ||
Trusty |
Invalid
|
Undecided
|
Unassigned | ||
Utopic |
Fix Released
|
Medium
|
Chris J Arges |
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-
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.
description: | updated |
description: | updated |
description: | updated |
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
tags: | added: bug-exists-upstream |
tags: | added: patch |
Changed in linux (Ubuntu Utopic): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Trusty): | |
status: | Fix Released → Invalid |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1359146
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.