Re: USB Driver crashing

Tech-Archive recommends: Fix windows errors by optimizing your registry



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
.



Relevant Pages

  • Re: Modify USB driver for fixed tty port mapping
    ... >> I need to connect 16 USB modems on the same PC. ... >> mapping. ... configure the driver or pass tables, ... via am ioctl that is implemented in the driver. ...
    (comp.os.linux.development.system)
  • Re: USB Driver crashing
    ... driver is a standard MS one! ... I am trying to include the USB Mass Storage Class Driver. ... While this IOCTL is handled in SD card and ATADISK ...
    (microsoft.public.windowsce.platbuilder)
  • Re: USB Driver crashing
    ... and SD can support this, it does not mean that the other device driver ... I am trying to include the USB Mass Storage Class Driver. ... While this IOCTL is handled in SD card and ATADISK ...
    (microsoft.public.windowsce.platbuilder)
  • Re: [PATCH 0/7] [RFC] Sizing zones and holes in an architecture independent manner V2
    ... RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize ... SCSI device sda: drive cache: write back w/ FUA ... usbcore: registered new driver hub ... hub 1-0:1.0: USB hub found ...
    (Linux-Kernel)
  • WARNING: at net/ipv4/tcp_input.c:2927 tcp_ack+0xd55/0x1991()
    ... I'm running the latest git kernel and I've got ... # Bus options (PCI etc.) ... # Generic Driver Options ... # USB Network Adapters ...
    (Linux-Kernel)