kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #76471
[Bug 1359146] [NEW] Kernel crash when mounting bcache on a vm with virtio
Public bug reported:
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.
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.
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
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
+ 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.
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.
** Description changed:
+ 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.
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.
--
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:
New
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.
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
Follow ups
-
[Bug 1359146] Re: Kernel crash when mounting bcache on a vm with virtio
From: Launchpad Bug Tracker, 2014-09-18
-
[Bug 1359146] Re: Kernel crash when mounting bcache on a vm with virtio
From: Tim Gardner, 2014-09-15
-
[Bug 1359146] Re: Kernel crash when mounting bcache on a vm with virtio
From: Ming Lei, 2014-09-14
-
[Bug 1359146] Re: Kernel crash when mounting bcache on a vm with virtio
From: Chris J Arges, 2014-09-03
-
[Bug 1359146] Re: Kernel crash when mounting bcache on a vm with virtio
From: Chris J Arges, 2014-09-02
-
[Bug 1359146] Re: Kernel crash when mounting bcache on a vm with virtio
From: Ubuntu Foundations Team Bug Bot, 2014-09-01
-
[Bug 1359146] Re: Kernel crash when mounting bcache on a vm with virtio
From: Ming Lei, 2014-09-01
-
[Bug 1359146] Re: Kernel crash when mounting bcache on a vm with virtio
From: Chris J Arges, 2014-08-23
-
[Bug 1359146] Re: Kernel crash when mounting bcache on a vm with virtio
From: Chris J Arges, 2014-08-22
-
[Bug 1359146] Re: Kernel crash when mounting bcache on a vm with virtio
From: Chris J Arges, 2014-08-22
-
[Bug 1359146] Re: Kernel crash when mounting bcache on a vm with virtio
From: Chris J Arges, 2014-08-22
-
[Bug 1359146] Re: Kernel crash when mounting bcache on a vm with virtio
From: Stefan Bader, 2014-08-22
-
[Bug 1359146] Re: Kernel crash when mounting bcache on a vm with virtio
From: Kick In, 2014-08-21
-
[Bug 1359146] Re: Kernel crash when mounting bcache on a vm with virtio
From: Kick In, 2014-08-21
-
[Bug 1359146] Re: Kernel crash when mounting bcache on a vm with virtio
From: Kick In, 2014-08-21
-
[Bug 1359146] Re: Kernel crash when mounting bcache on a vm with virtio
From: Joseph Salisbury, 2014-08-20
-
[Bug 1359146] Re: Kernel crash when mounting bcache on a vm with virtio
From: Joseph Salisbury, 2014-08-20
-
[Bug 1359146] Re: Kernel crash when mounting bcache on a vm with virtio
From: Kick In, 2014-08-20
-
[Bug 1359146] Missing required logs.
From: Brad Figg, 2014-08-20
-
[Bug 1359146] [NEW] Kernel crash when mounting bcache on a vm with virtio
From: Kick In, 2014-08-20
References