← Back to team overview

kernel-packages team mailing list archive

[Bug 1359146] Re: Kernel crash when mounting bcache on a vm with virtio

 

** 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.
+ 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.

** Changed in: linux (Ubuntu)
       Status: Incomplete => Confirmed

-- 
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

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