Closed xuyongjian closed 6 years ago
Hi @xuyongjian ,
Thanks for reporting this issue, can you please provide me with the UsbDk version used so I can pasre the logs that are attached?
Thanks!
1.0.19
I have just noticed that the device that you are trying to redirect is actually composite device. UsbDk currently doesn't support composite devices and there are no plans to support composite devices for the near future. However the BSOD shouldn't occur, so let's try to understand why is it happening. Can you please send me the dump file that was generated by Windows, it usually resides under c:\windows\memory.dmp
Here are the parsed logs from UsbDkTrace_bluescreen.etl:
[1]0004.0038::05/04/2018-05:29:50.281 [UsbDk]CDeviceRelations::Dump Array size: 1 (ptr: 882EAFD8)
[1]0004.0038::05/04/2018-05:29:50.281 [UsbDk]
Hi, xuyongjian Can you please try providing the kernel dump file (configure the system to keep kernel dumps and collect %windir%\memory.dmp file after the crash. Thanks
The memory.dmp file is too large and could not be uploaded. The following is the minidump file. minidump.zip
Minidump is not enough to locate the root cause. Is it possible to share zipped dump over dropbox?
@xuyongjian Thanks for the minidump, in general it is better to share the kernel dump. You can do so easily using any hosting service such as google drive, Microsoft one or any other file sharing website.
we'll take a look at the minidump and get back to you soon
I suggest to enable logging, reproduce the problem, collect kernel dump, zip it and share via one of file hosting services. Last part of log will be inside the dump and I hope we will be able to understand better the root cause of the problem. Currently the crash points on file system drivers, which does not help us.
kernel dump attached https://1drv.ms/f/s!AqQtNrW8d-CwaxK1VRtNjQcpqzQ
I've reviewed the dump files. I see the crash actually happens in system driver 'mountmgr', probably when it tries to mount some "linux cd". Usbdk at this time also work with attached USB devices but does not show any sign of the problem. I see the crash in both dumps happens on virtual machine so USB device(s) are redirected to it from somewhere (where from?). Can you please describe exactly what you do to reproduce the problem, what is your setup and how you use the usbdk on virtual machine. I see also some set of additional kernel drivers "rj' and "qq" in the stack. So, the questions:
Thanks
@xuyongjian You may want to try current master branch (if you're able to build the driver). I hope it will solve the problem
A BSoD occurred when I plugged in a huawei phone. It's about an 80 percent probability that happened. Log attached below. UsbDkTrace.zip I traced the code and it seemed that phone was recognized as a hub due to an error when requesting the phone's Device descriptor. Any help will be greatly appreciated!