Re: USB Driver crashing
- From: Daniel Chi <daniel.chi.sh@xxxxxxxxx>
- Date: Thu, 17 Jul 2008 21:54:08 -0700 (PDT)
IOCTL_DISK_GET_STORAGEID is not supported for you device. Although ATA
and SD can support this, it does not mean that the other device driver
will support this.
On Jul 17, 6:56 pm, Shabbir <Shab...@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
.
- Follow-Ups:
- Re: USB Driver crashing
- From: Shabbir
- Re: USB Driver crashing
- References:
- USB Driver crashing
- From: Shabbir
- USB Driver crashing
- Prev by Date: Re: Can anybody help me. GPE problem .
- Next by Date: Re: USB Driver crashing
- Previous by thread: Re: USB Driver crashing
- Next by thread: Re: USB Driver crashing
- Index(es):
Relevant Pages
|