daynix / UsbDk

Usb Drivers Development Kit for Windows
Apache License 2.0
548 stars 143 forks source link

Uninstalling and reinstalling usbdk causes random BSODs #2

Closed matlo closed 9 years ago

matlo commented 9 years ago

Uninstalling and reinstalling USBDK causes random BSODs: img_2036 I wasn't able to get a kernel memory dump: the MEMORY.DMP file is not written to the disk (I still think I configured it right). I tried to find a method to reproduce the problem, and I ended up running the following bash script in a msys2 shell:

#!/bin/bash

export MSYS2_ARG_CONV_EXCL="*"
while :
do
  msiexec /x {DE78E7B1-43E5-4278-9678-174A6EC4444E} /qn
  msiexec /i UsbDk_1.0.4_x64.msi /qn
done

It generates a BSOD in about 5 minutes. Opening the device and printers panel may speed up the crash. I have many devices (more than 10) connected to my computer.

dmitryfleytman commented 9 years ago

Thanks for the report, we will investigate. In case you get a crash dump on your system - please share with us.

dmitryfleytman commented 9 years ago

What is you Windows version?

dmitryfleytman commented 9 years ago

I tried on Windows 7 and 8 and didn't succeed to reproduce. Probably an interoperability issue with some specific device driver.

Could you please try to obtain kernel memory dump?

Thanks, Dmitry

matlo commented 9 years ago

I'm using Windows 7 x64. I'll try again to get a kernel memory dump.

dmitryfleytman commented 9 years ago

Thanks!

matlo commented 9 years ago

Unfortunately I wasn't able to get a kernel memory dump. I think I configured it right, the BSOD even tells the memory is dumped to the disk, but I can't find any memory dump after rebooting. However I observed that when the USB 3.0 host controller (ASMedia XHCI Controller 1042) is disabled, there's no BSOD...

matlo commented 9 years ago

I forgot to say the following points:

dmitryfleytman commented 9 years ago

There are a few factors that may prevent Windows from saving crash dumps or make Windows delete crash dumps on reboot.

Please check those links: http://www.resplendence.com/whocrashed_dumpnotwritten http://blogs.msdn.com/b/wer/archive/2009/02/09/kernel-dump-storage-and-clean-up-behavior-in-windows-7.aspx

There is no real reason for Windows to fail save crash dumps on Usb stack crashes...

YanVugenfirer commented 9 years ago

Hi,

Please check pages 30-34: http://www.slideshare.net/YanVugenfirer/windows-guestdebugging-kvmforum2012

Best regards, Yan.

On Wed, Jun 24, 2015 at 7:58 PM, Dmitry Fleytman notifications@github.com wrote:

There are a few factors that may prevent Windows from saving crash dumps or make Windows delete crash dumps on reboot.

Please check those links: http://www.resplendence.com/whocrashed_dumpnotwritten

http://blogs.msdn.com/b/wer/archive/2009/02/09/kernel-dump-storage-and-clean-up-behavior-in-windows-7.aspx

There is no real reason for Windows to fail save crash dumps on Usb stack crashes...

— Reply to this email directly or view it on GitHub https://github.com/daynix/UsbDk/issues/2#issuecomment-114941552.


Daynix Computing LTD Yan Vugenfirer, CEO Email: yan@daynix.com Phone (Israel): +972-54-4758084 Phone (USA): +1-7204776716 Phone (UK): +44-2070482938 Web: www.daynix.com

matlo commented 9 years ago

This is my crash dump configuration: dump crashcontrol And my pagefile configuration: pagefile (my RAM is 8192MB)

matlo commented 9 years ago

I forgot to say that I have 44GB of free space on my system drive.

dmitryfleytman commented 9 years ago

Hi Matio,

This is strange.

When you reboot your system after the crash and login to Windows, does is show a window with notification about system restart due to unrecoverable problem and proposition to send problem report to Microsoft?

Could you check whether crash dump present in c:\Windows\ in case you DO NOT CLOSE that Window? Sometimes Windows deletes the crash dump when this window is closed.

In case there is no crash dump in any case, could you please check whether there are minidumps? Please post those if any.

Thanks, Dmitry

matlo commented 9 years ago

Hi Dmitry, I don't get this window after rebooting. I'll see if I can get a minidump. This morning I wasn't able to get the BSOD, that's strange. I'm thinking about reinstalling Windows...

dmitryfleytman commented 9 years ago

Please also check whether there are driver updates for ASMedia XHCI Controller, I see there are a few BSOD reports related to their driver.

dmitryfleytman commented 9 years ago

Hi @matlo, do you still see this problem? Please re-open this issue in case you do.

matlo commented 9 years ago

Hi, I reinstalled Windows and updated the drivers, and I don't have this problem anymore.