Re: USB flash "drive" is not working sometimes

From: Pete Zaitcev
Date: Thu Jun 16 2005 - 02:54:21 EST


On Thu, 16 Jun 2005 09:33:01 +0300, Denis Vlasenko <vda@xxxxxxxxxxxxx> wrote:

> 2005-06-16_05:23:09.81176 kern.debug: uhci_hcd 0000:00:1f.4: port 1 portsc 0093,00
> 2005-06-16_05:23:09.81179 kern.debug: hub 2-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
> 2005-06-16_05:23:09.91495 kern.debug: hub 2-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
> 2005-06-16_05:23:09.99598 kern.info: usb 2-1: new full speed USB device using uhci_hcd and address 2
> 2005-06-16_05:23:09.99944 kern.debug: uhci_hcd 0000:00:1f.4: uhci_result_control: failed with status 440000
> 2005-06-16_05:23:09.99963 kern.debug: [ce4a7240] link (0e4a71b2) element (0ddbf040)
> 2005-06-16_05:23:09.99966 kern.debug: 0: [cddbf040] link (0ddbf080) e0 Stalled CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=0, PID=2d(SETUP) (buf=0e653b80)
> 2005-06-16_05:23:09.99972 kern.debug: 1: [cddbf080] link (0ddbf0c0) e3 SPD Active Length=0 MaxLen=3f DT1 EndPt=0 Dev=0, PID=69(IN) (buf=0e46c9a0)
> 2005-06-16_05:23:09.99976 kern.debug: 2: [cddbf0c0] link (00000001) e3 IOC Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=0, PID=e1(OUT) (buf=00000000)

The 440000 is a timeout in most cases. Unsurprisingly, it ends with:

> 2005-06-16_05:23:10.24285 kern.err: usb 2-1: device descriptor read/64, error -71

At this point the device is toast, the microcontroller is not running.

> I remove flash and reinsert:

> 2005-06-16_06:11:11.24079 kern.info: usb 2-1: new full speed USB device using uhci_hcd and address 6
>[...]
> 2005-06-16_06:11:11.35987 kern.debug: usb 2-1: default language 0x0409
> 2005-06-16_06:11:11.36661 kern.debug: usb 2-1: new device strings: Mfr=1, Product=2, SerialNumber=3

Well, duh.

-- Pete
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/