I’m developing a Virtual USB bus driver (yes, yet another USB over IP), its pretty close to working, when plugging in a mass-storage device, windows enumerates it correctly and the USBSTOR driver is loaded and so is disk.sys, however USBSTOR doesnt seem to write to the registry (like it does with directly a connected drive) and explorer locks when trying to browse the drive until the USB drive is removed. I suspect that USBSTOR is blocked on something which prevents its complete initialisation, despite the fact windows says device was successfully connected and no errors in the event log.
Im stuck trying to figure out how to determine what exactly is being blocked and was wondering if anyone has run into somethine similar with their own virtual USB solution.
Ive done lots of kernel debugging and found no stuck IRP’s.
Look at the output of !stacks 0 2 usbstor
d
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Sunday, November 14, 2010 11:04 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] USB Mass storage device locks explorer
I’m developing a Virtual USB bus driver (yes, yet another USB over IP), its pretty close to working, when plugging in a mass-storage device, windows enumerates it correctly and the USBSTOR driver is loaded and so is disk.sys, however USBSTOR doesnt seem to write to the registry (like it does with directly a connected drive) and explorer locks when trying to browse the drive until the USB drive is removed. I suspect that USBSTOR is blocked on something which prevents its complete initialisation, despite the fact windows says device was successfully connected and no errors in the event log.
Im stuck trying to figure out how to determine what exactly is being blocked and was wondering if anyone has run into somethine similar with their own virtual USB solution.
Ive done lots of kernel debugging and found no stuck IRP’s.
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer