[Bug 861656] Re: many ext4 errors

Serge Hallyn 861656 at bugs.launchpad.net
Fri Sep 30 19:57:28 UTC 2011


At last - a quick reproducer.  This 15 line script oopses my kernel
every time.

The cause then appears to be the removal of the qemu-nbd device before
it has been unmounted.

I don't know if qemu-nbd is supposed to know that it shouldn't allow
itself to be removed while mounted, or whether the kernel should be
returning -EBUSY somewhere.  I don't know that "just don't do that" is a
sufficient answer here.

** Also affects: qemu-kvm (Ubuntu)
   Importance: Undecided
       Status: New

** Attachment added: "qemu-nbd-oops.sh"
   https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/861656/+attachment/2488851/+files/qemu-nbd-oops.sh

** Summary changed:

- many ext4 errors 
+ Kernel oops when nbd device is removed before it is unmounted

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/861656

Title:
  Kernel oops when nbd device is removed before it is unmounted

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/861656/+subscriptions



More information about the Ubuntu-server-bugs mailing list