Re: USB Driver crashing
- From: "Tom Gensel (eMVP)" <tgensel@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 17 Jul 2008 15:54:30 GMT
What version of CE are you using? Since you refer to CStore class, it
is CE 5.0 or earlier, but what version?
In any case, the fact that USBMSC does not support this control code
is not likely the cause of the crash.
Tom
On Thu, 17 Jul 2008 03:56:00 -0700, Shabbir
<Shabbir@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi All,.
I am trying to include the USB Mass Storage Class Driver. I have got the
basic OHCD dll's for my board and the USB Keyboard/Mouse drivers works well
with this.
However, the USB storage driver does not work properly. On debugging i have
found that the CStore class of FSD Manager calls its Open Disk method which
inturn calls a Device IO Control.The IOCTL which crashes the driver is
IOCTL_DISK_GET_STORAGEID. While this IOCTL is handled in SD card and ATADISK
drivers. It is not handled here. :
Following is the log:
439416 PID:e5c7a79a TID:5c7d1ca 0x85cbfd90: USBMSC<BOT_DataTransfer:0
439417 PID:e5c7a79a TID:5c7d1ca 0x85cbfd90: USBMSC<UsbsDataTransfer:0
439418 PID:e5c7a79a TID:5c7d1ca 0x85cbfd90: USBDISK6>ScsiGetSenseData
439419 PID:e5c7a79a TID:5c7d1ca 0x85cbfd90: USBDISK6>ScsiRequestSense
439420 PID:e5c7a79a TID:5c7d1ca 0x85cbfd90: USBMSC>UsbsDataTransfer
439421 PID:e5c7a79a TID:5c7d1ca 0x85cbfd90: USBMSC_INTERFACE_PROTOCOL_BOT
439422 PID:e5c7a79a TID:5c7d1ca 0x85cbfd90: USBMSC>BOT_DataTransfer
439422 PID:e5c7a79a TID:5c7d1ca 0x85cbfd90: USBMSC>BOT_ResetAllPipes
439423 PID:e5c7a79a TID:5c7d1ca 0x85cbfd90: USBMSC<BOT_ResetAllPipes:1
439424 PID:e5c7a79a TID:5c7d1ca 0x85cbfd90: 5.3.1 CBW
439431 PID:e5c7a79a TID:5c7d1ca 0x85cbfd90: 5.3.2 DataInTransport -
dwDataLength:18, TimeOut:5000
439432 PID:e5c7a79a TID:5c7d1ca 0x85cbfd90: 5.3.2 DataInTransport -
dwRequestLength:18, TimeOut:5000
439434 PID:e5c7a79a TID:5c7d1ca 0x85cbfd90: 5.3.3 CSW
439438 PID:e5c7a79a TID:5c7d1ca 0x85cbfd90: USBMSC<BOT_DataTransfer:0
439439 PID:e5c7a79a TID:5c7d1ca 0x85cbfd90: USBMSC<UsbsDataTransfer:0
439439 PID:e5c7a79a TID:5c7d1ca 0x85cbfd90: USBDISK6<ScsiRequestSense:0
439440 PID:e5c7a79a TID:5c7d1ca 0x85cbfd90: ScsiGetSenseData - SenseKey:0x0
ASC:0x0 ASCQ:0x0
439441 PID:e5c7a79a TID:5c7d1ca 0x85cbfd90: USBDISK6<ScsiGetSenseData:0
439442 PID:e5c7a79a TID:5c7d1ca 0x85cbfd90: ScsiReadCapacity ERROR:0
439443 PID:e5c7a79a TID:5c7d1ca 0x85cbfd90: USBDISK6<ScsiReadCapacity:0
439444 PID:e5c7a79a TID:5c7d1ca 0x85cbfd90: USBDISK6<GetDiskInfo:0
439444 PID:e5c7a79a TID:5c7d1ca 0x85cbfd90:
USBDISK6<DSK_IOControl(BytesTransferred:0, dwErr:0, bRc:0)
439446 PID:e5c7a79a TID:5c7d1ca 0x85cbfd90:
USBDISK6>DSK_IOControl(IOCTL:0x71c24, InBuf:0x0, InBufLen:0,
OutBuf:0x410f8c8, OutBufLen:0x10)
439446 PID:e5c7a79a TID:5c7d1ca 0x85cbfd90: Unsupported IOCTL:0x71c24
439447 PID:e5c7a79a TID:5c7d1ca 0x85cbfd90: DSK_IOControl error: 50
439448 PID:e5c7a79a TID:5c7d1ca 0x85cbfd90:
USBDISK6<DSK_IOControl(BytesTransferred:0, dwErr:50, bRc:0)
439448 PID:65cbbbfa TID:5c7d1ca 0x85cbfd90: CStore Destructor(000CC2A0)
439449 PID:e5c7a79a TID:5c7d1ca 0x85cbfd90: USBDISK6>DSK_Close(0x504730)
439450 PID:e5c7a79a TID:5c7d1ca 0x85cbfd90: USBDISK6<DSK_Close:1
- References:
- USB Driver crashing
- From: Shabbir
- USB Driver crashing
- Prev by Date: Re: Display two windows applications on two screens using multi m
- Next by Date: Re: COM Library calls in Kernel mode Drivers ( WinCE 6 )
- Previous by thread: USB Driver crashing
- Next by thread: Re: USB Driver crashing
- Index(es):
Relevant Pages
|