openzfsonwindows / ZFSin

OpenZFS on Windows port
https://openzfsonwindows.org
1.19k stars 69 forks source link

unable to use zfs mounted drive for some applications #307

Open zeph opened 3 years ago

zeph commented 3 years ago

I'm more looking to hints on how to provide debug informations here as I'm coming from *nix experience

I got 2 drives in striping that I do use as "ok to risk" data storage surviving between windows and linux reboots ...I use it in particular for Steam's Game Library, to get the videogames in a decently wide space

but, several videogames crash on attempt to start... no need to say that if i move em on a normal drive they work

what can it be? how can I provide debug informations?

zeph commented 3 years ago

I just got a BSOD with https://portableapps.com/apps/internet/opera_portable

lundman commented 3 years ago

I think perhaps the easiest way is I can install a game where it fails, if you know of a few already, then perhaps I have that game too to try. Trick is to make it fail, and then dump the logs to try to find what the error is, or what it might return incorrectly.

lundman commented 3 years ago

I'll give Opera a go

zeph commented 3 years ago

it opened up... it took a couple of seconds to crash, I was doing almost nothing... just looking at the UI (i'm not used to it) ... I was about to close it, and bang... seems similar to already reported bug https://github.com/openzfsonwindows/ZFSin/issues/220

zeph commented 3 years ago

I'm on Windows 10, version 20H2

C:\WINDOWS\system32>zfs version
zfs-0.2.4-1
zfs-kmod-0.2.4-1
lundman commented 3 years ago

Ran Operate for a bit, dowloaded latest ZFSin build from GH ok. Do you have any steam examples that dies immediately? You should be running 20200825 version.

lundman commented 3 years ago

Hmm actually yes, Opera does seem to do something different.

*** Assertion failed: dr->dt.dl.dr_override_state != DR_IN_DMU_SYNC
***   Source File: C:\src\ZFSin\ZFSin\zfs\module\zfs\dbuf.c, line 1528

    nt!RtlAssert+0xeb   C/C++/ASM
    ZFSin!avl_destroy+0x9a [C:\src\ZFSin\ZFSin\spl\module\spl\spl-avl.c @ 913]  C/C++/ASM
    ZFSin!rangelock_fini+0x27 [C:\src\ZFSin\ZFSin\zfs\module\zfs\zfs_rlock.c @ 135] C/C++/ASM
    ZFSin!zfs_znode_cache_destructor+0x1ab [C:\src\ZFSin\ZFSin\zfs\module\zfs\zfs_znode.c @ 242]    C/C++/ASM
    ZFSin!kmem_cache_free_debug+0x344 [C:\src\ZFSin\ZFSin\spl\module\spl\spl-kmem.c @ 1723] C/C++/ASM
    ZFSin!kmem_cache_free+0x242 [C:\src\ZFSin\ZFSin\spl\module\spl\spl-kmem.c @ 2466]   C/C++/ASM
    ZFSin!zfs_znode_free+0x121 [C:\src\ZFSin\ZFSin\zfs\module\zfs\zfs_znode.c @ 1759]   C/C++/ASM
>   ZFSin!zfs_znode_delete+0x1c1 [C:\src\ZFSin\ZFSin\zfs\module\zfs\zfs_znode.c @ 1684] C/C++/ASM
    ZFSin!zfs_remove+0xaf7 [C:\src\ZFSin\ZFSin\zfs\module\zfs\zfs_vnops.c @ 2141]   C/C++/ASM
    ZFSin!delete_entry+0x3f2 [C:\src\ZFSin\ZFSin\zfs\module\zfs\zfs_vnops_windows.c @ 3372] C/C++/ASM
    ZFSin!zfs_fileobject_cleanup+0x2f3 [C:\src\ZFSin\ZFSin\zfs\module\zfs\zfs_vnops_windows.c @ 3661]   C/C++/ASM
    ZFSin!fsDispatcher+0x431 [C:\src\ZFSin\ZFSin\zfs\module\zfs\zfs_vnops_windows.c @ 4401] C/C++/ASM
    ZFSin!dispatcher+0x1a8 [C:\src\ZFSin\ZFSin\zfs\module\zfs\zfs_vnops_windows.c @ 4731]   C/C++/ASM
zeph commented 3 years ago

Pathfinder Kingmaker for instance

ok, I'll give a try to the build you pointed me to

zeph commented 3 years ago

also Baldur's Gate 3 ...retested right now (on the build u did recommend me)

...I just get no feedback in this case, failed attempt to execute I guess

despair86 commented 3 years ago

might be related to #321

ghost commented 3 years ago

Is it possible to test this with a file-based pool? I can probably provide more dumps. What happens if you run procmon while running these games?