-
Notifications
You must be signed in to change notification settings - Fork 178
Kernel oops when trying to write an image to a zvol #339
Comments
@gcbirzan The problem is that |
@gcbirzan Feel free to try dweeezil/spl@357e01a which is a patch to deal with this error condition. |
Is this possibly related to the out of memory issue I'm also seeing with 3.13 here? openzfs/zfs#2143 |
The patch didn't fix it: https://gist.github.com/gcbirzan/9828738 |
@gcbirzan That one is a bit different, |
@gcbirzan I just worked up dweeezil/spl@f148f72 to handle this better and also to deal with the other major user of |
This fixed the problem. |
@gcbirzan Thanks for testing. I was finally able to do a bit of testing under 3.13 and added a little more instrumentation to see how many times the kthread_create failed. In my little bit of testing, it never did fail, however, you've clearly got an environment in which it was failing and needed to be retried. Hopefully this or something like it can get committed soon because it looks like a bunch of the major distros are starting to use 3.13. I'll also note that so far, it looks like 3.14 will need the same treatment. |
On a Unbutu saucy with a trusty kernel (and zfs from the trusty repo), when trying to write a disk image (a Ubuntu install) to a zvol, the module crashes and requires a reboot to get access to the zpool: https://gist.github.com/gcbirzan/9778381
I cannot share the image since it contains proprietary stuff, but the crash is reproducible so we can try fixes. Also, after the initial crash, the VM we started on that block device is working happily.
The kernel is 3.13.0-19-generic from Ubuntu's repos with a custom patch that is completely unrelated (a KVM fix, but at the point where it crashes, we didn't have a VM, plus, we've been using the patch - on older kernels - for more than a year without any issues), and the module is 0.6.2-2
trusty3.gbp9888b6 built from 9888b652c35b794597c8695aa8ccb5dccf78fe76The text was updated successfully, but these errors were encountered: