LINBIT/windrbd

WinDRBD prevents Windows10 from restarting or shutting down

acidrop opened this issue · 3 comments

Hi Johannes,

I think I've found another reproducible bug on v1.0.0-rcX versions. Steps to reproduce...

  • Boot Windows10 via diskless boot mode (PXE).
  • Once logged in on Windows, try to restart the OS (or shutdown). It will hang at "restarting" or "shutting down" forever.

Last WinDBRD version which seems to be unaffected by this bug is v0.10.7

Regards,
Yannis

Hi Yannis,

Thanks for reporting. This is a known bug ever since diskless boot was working,
it also happens with 0.10.X, but not always. I think there might be something
broken with resource deallocation in WinDRBD. I will try to fix it next week.

Kind regards,

  • Johannes

Indeed after some more tests it appears to be a random issue on all versions. Thanks Johannes!

Some updates: Windows accesses the boot device after network is down (read requests). This request cannot be served (waiting forever to complete) and Windows eventually timeouts with a BSOD. We should try to tell Windows to keep the network until all I/O is completed. This issue also does exist in winaoe [1]. I've tried several workarounds but failed to fix the problem from within the WinDRBD driver. I will get back to this issue once 1.0.0 is out.

[1] https://github.com/johannesthoma/winaoe