[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-usb
Subject:    Re: Erratic USB device behavior and device loss
From:       Ritesh Raj Sarraf <rrs () researchut ! com>
Date:       2016-08-12 11:54:21
Message-ID: 1471002141.6478.7.camel () researchut ! com
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hello Alan,

On Thu, 2016-08-11 at 23:12 +0530, Ritesh Raj Sarraf wrote:
> On Thu, 2016-08-11 at 13:01 -0400, Alan Stern wrote:
> > > I guess so. I get frequent resets on my USB port for some of the hardware.
> > > 
> > > kernel: usb 2-1: reset high-speed USB device number 17 using xhci_hcd
> > > 
> > > I initially thought of this to be a faulty cable. But the same cable works
> > fine
> > > on another laptop.
> > 
> > There could be bad cabling inside the computer.
> > 
> 
> Well. THis machine still has Windows 8.1 lying on a partition, what it came
> pre-
> installed with.
> 
> I can try out both, the USB resets and the Card Reader tests, under Windows.
> I'll report back my findings on this email tomorrow. Hopefully we'll have
> enough
> information to conclude if it is a bug or a faulty hardware.

So I booted into Windows 8.1 and tried to access an SDCard over the Card Reader.
I was able to see the drive and read the content in it.
I did check for relevant messages in the Windows Event Log but couldn't find anything \
relevant.

Then I tried the same under Linux and ran into some more descriptive errors.
Please note that these errors were seen while running on AC Power.

I seem to be getting too many of these errors, too frequently, like every 10 seconds.
Please note that in this email's log, what you see is with a SDCard inserted into the \
reader, whereas the last email's errors were without any SDCard.

If you think this could be a bug, maybe this should be created as a bugzilla ?

rrs@learner:~$ dmesg | grep _hcd
[    2.156424] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.179325] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    2.179334] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[    2.180733] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks \
0x0004b810 [    2.180747] xhci_hcd 0000:00:14.0: cache line size of 64 is not \
supported [    2.186450] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    2.186456] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[    2.201115] usb usb3: Manufacturer: Linux 4.7.0bfqv8r2+ ehci_hcd
[    2.544358] usb 1-4: new high-speed USB device number 2 using xhci_hcd
[    2.877726] usb 1-5: new full-speed USB device number 3 using xhci_hcd
[    3.211084] usb 1-6: new high-speed USB device number 4 using xhci_hcd
[    3.587708] usb 1-7: new full-speed USB device number 5 using xhci_hcd
[    3.921093] usb 1-8: new full-speed USB device number 6 using xhci_hcd
[  128.718593] xhci_hcd 0000:00:14.0: dev 4 ep1out scatterlist error -104/-110
[  265.894197] xhci_hcd 0000:00:14.0: dev 4 ep1out scatterlist error -104/-110
[  285.841249] xhci_hcd 0000:00:14.0: dev 4 ep1out scatterlist error -104/-110
[  305.655593] xhci_hcd 0000:00:14.0: dev 4 ep1out scatterlist error -104/-110
[  325.497236] xhci_hcd 0000:00:14.0: dev 4 ep1out scatterlist error -104/-110
[  345.445123] xhci_hcd 0000:00:14.0: dev 4 ep1out scatterlist error -104/-110
[  365.286055] xhci_hcd 0000:00:14.0: dev 4 ep1out scatterlist error -104/-110
[  385.206927] xhci_hcd 0000:00:14.0: dev 4 ep1out scatterlist error -104/-110
[  404.994319] xhci_hcd 0000:00:14.0: dev 4 ep1out scatterlist error -104/-110
[  424.915114] xhci_hcd 0000:00:14.0: dev 4 ep1out scatterlist error -104/-110
[  444.835861] xhci_hcd 0000:00:14.0: dev 4 ep1out scatterlist error -104/-110
[  464.623321] xhci_hcd 0000:00:14.0: dev 4 ep1out scatterlist error -104/-110
[  484.544052] xhci_hcd 0000:00:14.0: dev 4 ep1out scatterlist error -104/-110
[  504.464803] xhci_hcd 0000:00:14.0: dev 4 ep1out scatterlist error -104/-110
[  524.358867] xhci_hcd 0000:00:14.0: dev 4 ep1out scatterlist error -104/-110
[  544.172947] xhci_hcd 0000:00:14.0: dev 4 ep1out scatterlist error -104/-110
[  563.986924] xhci_hcd 0000:00:14.0: dev 4 ep1out scatterlist error -104/-110
[  583.907716] xhci_hcd 0000:00:14.0: dev 4 ep1out scatterlist error -104/-110
[  603.695055] xhci_hcd 0000:00:14.0: dev 4 ep1out scatterlist error -104/-110
[  623.615832] xhci_hcd 0000:00:14.0: dev 4 ep1out scatterlist error -104/-110
[  643.536562] xhci_hcd 0000:00:14.0: dev 4 ep1out scatterlist error -104/-110
[  663.457332] xhci_hcd 0000:00:14.0: dev 4 ep1out scatterlist error -104/-110
[  683.404561] xhci_hcd 0000:00:14.0: dev 4 ep1out scatterlist error -104/-110
2016-08-12 / 17:05:55 ♒♒♒  ☺  


and the non-grepped output, that affects the block device and its file system.

[  365.286055] xhci_hcd 0000:00:14.0: dev 4 ep1out scatterlist error -104/-110
[  368.886974] mmcblk0: error -110 sending status command, retrying
[  369.486748] mmcblk0: error -110 sending status command, retrying
[  370.086769] mmcblk0: error -110 sending status command, aborting
[  372.489237] JBD2: recovery failed
[  372.489239] mmc0: card 0001 removed
[  372.489246] EXT4-fs (mmcblk0p2): error loading journal
[  373.919190] mmc0: new ultra high speed SDR50 SDHC card at address 0001
[  373.919447] mmcblk0: mmc0:0001 00000 7.44 GiB 
[  373.921308]  mmcblk0: p1 p2
[  374.100604] FAT-fs (mmcblk0p1): utf8 is not a recommended IO charset for FAT \
filesystems, filesystem will be case sensitive! [  374.123828] FAT-fs (mmcblk0p1): \
Volume was not properly unmounted. Some data may be corrupt. Please run fsck. [  \
385.206927] xhci_hcd 0000:00:14.0: dev 4 ep1out scatterlist error -104/-110 [  \
388.807534] mmcblk0: error -110 sending status command, retrying [  389.407732] \
mmcblk0: error -110 sending status command, retrying [  390.007416] mmcblk0: error \
-110 sending status command, aborting [  392.410267] mmc0: card 0001 removed
[  392.410271] JBD2: recovery failed
[  392.410275] EXT4-fs (mmcblk0p2): error loading journal
[  393.718948] mmc0: new ultra high speed SDR50 SDHC card at address 0001
[  393.719200] mmcblk0: mmc0:0001 00000 7.44 GiB 
[  393.721232]  mmcblk0: p1 p2
[  393.895994] FAT-fs (mmcblk0p1): utf8 is not a recommended IO charset for FAT \
filesystems, filesystem will be case sensitive! [  393.918883] FAT-fs (mmcblk0p1): \
Volume was not properly unmounted. Some data may be corrupt. Please run fsck. [  \
404.994319] xhci_hcd 0000:00:14.0: dev 4 ep1out scatterlist error -104/-110 [  \
408.594951] mmcblk0: error -110 sending status command, retrying [  409.195091] \
mmcblk0: error -110 sending status command, retrying [  409.794964] mmcblk0: error \
-110 sending status command, aborting [  412.199751] mmc0: card 0001 removed
[  412.199929] JBD2: recovery failed
[  412.199936] EXT4-fs (mmcblk0p2): error loading journal
[  413.627050] mmc0: new ultra high speed SDR50 SDHC card at address 0001
[  413.627337] mmcblk0: mmc0:0001 00000 7.44 GiB 
[  413.629286]  mmcblk0: p1 p2
[  413.803223] FAT-fs (mmcblk0p1): utf8 is not a recommended IO charset for FAT \
filesystems, filesystem will be case sensitive! [  413.829698] FAT-fs (mmcblk0p1): \
Volume was not properly unmounted. Some data may be corrupt. Please run fsck.




- -- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXrbYdAAoJEKY6WKPy4XVpPnoP/3KY2x7Fh2LaXykEXAtLWHqp
34jUe0+MMN3Pc1OTffHAgm14p3n2T2U8roDczWd6Kkuyyuh60H9CDvXYrlZkucnD
/ukBtE7bfD5hSScWMR3PybRpSKgRHvHvFBroZjC8n9U6GvrwoGlaREY8dTDbrofe
S8cbVS22PHeXYZctG5UzoqVQumGXyDIlAZ0/HW0d9HmXtY7xJl4kfBvUDdWnARPS
OxmybyyBsS0QZfGJvct0VAC0gVIDe67nWVoAClNgKU1IV3nq6SeRwZKqUX/v9KdA
Iz/AkInQS61+X2+4bbcQuRcLAcOYOiJhNiI9uu93i6K45+8UkfbkXz/VzV7Oc/yL
XFTbqVzAdpcsntSawhXdW2SSPG5//TsAr4OSMLf8/btwS+WYGfNHZalZOF0FVvFr
I/AYAtjyWfwHZEMJeb0CaEQ610Idyk4eS4KncScvaL4Pl0+hV5qTU/4cTaptrUjY
m/eloN/q+vHo1Pn1w1OnrBWwUrm90gNMHTDhn3wyfKFiCHgBkPeyOKrcbq7y4WfA
r2bKDcUgbZNrUSMO0wBg8yHgOATSxjQqUauFIoupz7nJ9kCUdp05JvOOl/079BH+
sYEGxpifWn/BYlSZJrCKI3+CV9FFrGtShKmV3LVisx392vjd//iaG9Uh3jZfliPH
iLMMubCje9TxF3WZtVe/
=wf+F
-----END PGP SIGNATURE-----

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic