BUGCODE_USB_DRIVER

Hello guys!
I have problem with ONE usb-storage - when I send urb (USB_CONFIGURATION_DESCRIPTOR) - after call IoCallDriver() return STATUS_PENDING and KeWaitForSingleObject() infinity waiting! When I try use timeout in KeWaitForSingleObject() -> BSOD with BUGCODE_USB_DRIVER!
This situation occurs ONLY with this usb-storage…
How to solve this problem?

xxxxx@gmail.com wrote:

I have problem with ONE usb-storage - when I send urb (USB_CONFIGURATION_DESCRIPTOR) - after call IoCallDriver() return STATUS_PENDING and KeWaitForSingleObject() infinity waiting! When I try use timeout in KeWaitForSingleObject() -> BSOD with BUGCODE_USB_DRIVER!
This situation occurs ONLY with this usb-storage…
How to solve this problem?

You’ve given us about 1/3 of the details we need to make any intelligent
comments.

Are you writing a filter driver? Is your driver in the same stack, or
have you opened a handle from another stack? How did you build the
request? What are the details for the BSOD? BUGCODE_USB_DRIVER has
subcodes with more details.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.