-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BSOD on mounting encrypted volume #417
Comments
That's a new one. I'll see if I can replicate or spot where the pointer went |
An expection occurs every time. However, after switching to kernel mode dump (above was a minidump), I got:
|
Hmm perhaps nesting the kfpu_begin/kfpu_end is a bad idea, but upstream put it that way. Also, need to keep an eye on the scope of the stored area. Ah yeah, this wont work; The scope of XSTATE_SAVE is all over the place: Needs to be replaced by the |
Which has addressed the nesting kfpu calls |
Thank you! First tests: Trace of zfs.exe:
(not subsequently handled)
Attached to hanging
|
OK so are we saying the encryption is better at least, or don't you get that far? Not sure what the zfs violation is about, but we have changed things in the mounting code, so it is likely to be something. Does it happen every time? Unmount looks to get stuck in IoCallDevice: There's about 4 in there. With mount, I had to put IoCallDevice as a separate thread due to locking, so it is probably something similar needed here. Which one though. |
After additional testing:
|
OK - Windows doesn't have a fstab so it is Linux code running when it shouldn't be. Any hints/clues as to where?
|
Actually, no idea where unmount is stuck, could you make an unmount stick, then use Registry to write out cbuf? |
On the updating fstab, do your datasets have anything set in the
|
OK this should take care of the access violation |
Yes, the binaries from the zip fix the assertion. (I have Unmounting still seems to hang, but it seems zfs-internal:
It iterates quite slowly through its objects. Meanwhile, the external HDD is idle/stops spinning, so there seems to be no I/O. |
In between the vnode_* there is also
|
Neat, what we are looking for are the printf from
There are two |
Was not able to capture these printfs as they already wrapped out of cbuf by the time I was able to dump it. Also got segfaults similar to those in zfs mount inside zfs list as well. Importing leads to BSOD. This is most likely a separate issue, opened !428 for this problem. |
I don't seem to be able to install .99-3117-g773833ebc anymore: gettting heap corruption on On that note: I did experience sporadic BSOD (heap corruption) on boot that I was not directly able to trace back to OpenZFSonWindows besides the fact that they only occurred with the driver installed. (By the way, running Edit: Was finally able to Edit2: Installed rc11 and got a similar heap corruption during installation. Subsequent boots are fine, however, and driver loads. |
System information
Describe the problem you're observing
Trying to mount an encrypted zfs results in BSOD
Describe how to reproduce the problem
Include any warning/errors/backtraces from the system logs
Stack trace
further context:
The text was updated successfully, but these errors were encountered: