windrbd icon indicating copy to clipboard operation
windrbd copied to clipboard

WinDRBD prevents Windows10 from restarting or shutting down

Open acidrop opened this issue 4 years ago • 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

acidrop avatar Aug 07 '20 10:08 acidrop

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

johannesthoma avatar Aug 07 '20 10:08 johannesthoma

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

acidrop avatar Aug 07 '20 12:08 acidrop

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

johannesthoma avatar Sep 11 '20 13:09 johannesthoma