[OpenIndiana-discuss] recently trouble with USB devices

Andreas Wacknitz A.Wacknitz at gmx.de
Sat May 22 07:53:56 UTC 2021


Am 21.05.21 um 11:48 schrieb Stephan Althaus:
> On 5/20/21 11:41 AM, Stephan Althaus wrote:
>> On 5/20/21 11:18 AM, Udo Grabowski (IMK) wrote:
>>> On 20.05.21 10:58, Stephan Althaus wrote:
>>>> stop endpoint command (1)/slot (7) in wrong state: 19
>>> This one ?
>>> <https://github.com/joyent/smartos-live/issues/694>
>>>
>>> There's a workaround for the problem at the end of
>>> the thread.
>>>
>>>
>>> _______________________________________________
>>> openindiana-discuss mailing list
>>> openindiana-discuss at openindiana.org
>>> https://openindiana.org/mailman/listinfo/openindiana-discuss
>> Thats a nice thread giving commands to get closer, thanks for the hint!
>>
>> But i am plugging the device in after boot, detection of the device and
>> and mounting the exfat partition is not the problem.
>>
>> I am hitting single failures while reading files with cp
>> /media/sdcard/DCIM/101MSDCF/* ....
>>
>> "/media/sdcard/DCIM/101MSDCF/DS304430.ARW: I/O error"
>> and dmesg shows some "error reading cluster 0x..."
>>
>>
>> When i try once again one specific file
>>
>> cp /media/sdcard/DCIM/101MSDCF/DS304430.ARW
>> ~/Documents/Pictures/Test/2021-05-20
>>
>> there is no error this time.
>>
>>
>> Stephan
>>
>> _______________________________________________
>> openindiana-discuss mailing list
>> openindiana-discuss at openindiana.org
>> https://openindiana.org/mailman/listinfo/openindiana-discuss
> Hi!
>
> Just checked if the card reader works in a USB 2 port.
> Here i get some errors while plugging in.
>
>
> $ tail /var/adm/messages
> May 21 10:53:34 dell6510 usba: [ID 912658 kern.info] USB 2.10 device
> (usb56e,8007) operating at hi speed (USB 2.x) on USB 2.0 external hub:
> storage at 2, scsa2usb26 at bus address 8
> May 21 10:53:34 dell6510 usba: [ID 349649 kern.info] Realtek USB3.0 Card
> Reader 201601060924
> May 21 10:53:34 dell6510 genunix: [ID 936769 kern.info] scsa2usb26 is
> /pci at 0,0/pci1028,7b1 at 14/hub at 5/storage at 2
> May 21 10:53:34 dell6510 genunix: [ID 408114 kern.info]
> /pci at 0,0/pci1028,7b1 at 14/hub at 5/storage at 2 (scsa2usb26) online
> May 21 10:53:35 dell6510 scsi: [ID 583861 kern.info] sd41 at scsa2usb26:
> target 0 lun 0
> May 21 10:53:35 dell6510 genunix: [ID 936769 kern.info] sd41 is
> /pci at 0,0/pci1028,7b1 at 14/hub at 5/storage at 2/disk at 0,0
> May 21 10:53:35 dell6510 genunix: [ID 408114 kern.info]
> /pci at 0,0/pci1028,7b1 at 14/hub at 5/storage at 2/disk at 0,0 (sd41) online
> May 21 10:53:35 dell6510 scsi: [ID 583861 kern.info] sd53 at scsa2usb26:
> target 0 lun 1
> May 21 10:53:35 dell6510 genunix: [ID 936769 kern.info] sd53 is
> /pci at 0,0/pci1028,7b1 at 14/hub at 5/storage at 2/disk at 0,1
> May 21 10:53:35 dell6510 genunix: [ID 408114 kern.info]
> /pci at 0,0/pci1028,7b1 at 14/hub at 5/storage at 2/disk at 0,1 (sd53) online
>
> $ mdb -ke '::prtusb'
> INDEX   DRIVER      INST  NODE          GEN  VID.PID
> PRODUCT
> 1       xhci        2     pci1028,7b1   3.0  0000.0000   No Product String
> 2       hid         39    mouse         1.1  045e.0040   Microsoft
> 3-Button Mouse with IntelliEye(TM)
> 3       usb_mid     31    device        1.1  0bf8.100c   FSC KBPC PX
> 4       hubd        18    hub           2.0  413c.2513   No Product String
> 5       usb_mid     32    device        2.0  8087.0a2b   No Product String
> 6       hubd        19    hub           2.0  413c.2513   No Product String
> 7       usb_mid     33    device        1.1  0a5c.5832   5880
> 8       scsa2usb    26    storage       2.1  056e.8007   USB3.0 Card Reader
>
> # diskinfo
> <--no output, task seems to be waiting for something -->
>
> $ tail -f /var/adm/messages
> May 21 10:53:35 dell6510 scsi: [ID 583861 kern.info] sd41 at scsa2usb26:
> target 0 lun 0
> May 21 10:53:35 dell6510 genunix: [ID 936769 kern.info] sd41 is
> /pci at 0,0/pci1028,7b1 at 14/hub at 5/storage at 2/disk at 0,0
> May 21 10:53:35 dell6510 genunix: [ID 408114 kern.info]
> /pci at 0,0/pci1028,7b1 at 14/hub at 5/storage at 2/disk at 0,0 (sd41) online
> May 21 10:53:35 dell6510 scsi: [ID 583861 kern.info] sd53 at scsa2usb26:
> target 0 lun 1
> May 21 10:53:35 dell6510 genunix: [ID 936769 kern.info] sd53 is
> /pci at 0,0/pci1028,7b1 at 14/hub at 5/storage at 2/disk at 0,1
> May 21 10:53:35 dell6510 genunix: [ID 408114 kern.info]
> /pci at 0,0/pci1028,7b1 at 14/hub at 5/storage at 2/disk at 0,1 (sd53) online
> May 21 10:55:02 dell6510 xhci: [ID 902155 kern.info] NOTICE: xhci2: xhci
> stop endpoint command (4)/slot (9) in wrong state: 19
> May 21 10:55:02 dell6510 xhci: [ID 617155 kern.info] NOTICE: xhci2:
> endpoint is in state 3
> May 21 10:56:03 dell6510 xhci: [ID 902155 kern.info] NOTICE: xhci2: xhci
> stop endpoint command (4)/slot (9) in wrong state: 19
> May 21 10:56:03 dell6510 xhci: [ID 617155 kern.info] NOTICE: xhci2:
> endpoint is in state 3
> May 21 10:57:04 dell6510 xhci: [ID 902155 kern.info] NOTICE: xhci2: xhci
> stop endpoint command (4)/slot (9) in wrong state: 19
> May 21 10:57:04 dell6510 xhci: [ID 617155 kern.info] NOTICE: xhci2:
> endpoint is in state 3
> May 21 10:58:21 dell6510 ahci: [ID 777486 kern.warning] WARNING: ahci4:
> ahci port 3 has interface fatal error
> May 21 10:58:21 dell6510 ahci: [ID 687168 kern.warning] WARNING: ahci4:
> ahci port 3 is trying to do error recovery
> May 21 10:58:21 dell6510 ahci: [ID 551337 kern.warning] WARNING:
> ahci4:         Transient Data Integrity Error (T)
> May 21 10:58:21 dell6510        Handshake Error (H)
> May 21 10:58:21 dell6510 ahci: [ID 657156 kern.warning] WARNING: ahci4:
> error recovery for port 3 succeed
>
> The diskinfo finally completes:
> # diskinfo
> Password:
> TYPE    DISK                    VID      PID              SIZE
> RMV SSD
> SCSI    c6t0d0                  Generic- USB3.0 CRW   -SD   29.89 GiB
> yes no
> SATA    c27t1d0                 Samsung  SSD 850 EVO 250GB  232.89 GiB
> no  yes
> NVME    c8t002538B471B9EFD6d0   PM961    NVMe SAMSUNG 1024GB  953.87
> GiB   no  yes
> NVME    c9t002538B471B9EFD3d0   PM961    NVMe SAMSUNG 1024GB  953.87
> GiB   no  yes
>
>
> i get the same behaviour with a different card reader:
>
> May 21 11:01:04 dell6510 usba: [ID 912658 kern.info] USB 2.10 device
> (usb781,cfca) operating at hi speed (USB 2.x) on USB 2.0 external hub:
> storage at 2, scsa2usb26 at bus address 8
> May 21 11:01:04 dell6510 usba: [ID 349649 kern.info] SANDISK SDDR-409
> B00200200100
> May 21 11:01:04 dell6510 genunix: [ID 936769 kern.info] scsa2usb26 is
> /pci at 0,0/pci1028,7b1 at 14/hub at 5/storage at 2
> May 21 11:01:04 dell6510 genunix: [ID 408114 kern.info]
> /pci at 0,0/pci1028,7b1 at 14/hub at 5/storage at 2 (scsa2usb26) online
> May 21 11:01:04 dell6510 scsi: [ID 583861 kern.info] sd41 at scsa2usb26:
> target 0 lun 0
> May 21 11:01:04 dell6510 genunix: [ID 936769 kern.info] sd41 is
> /pci at 0,0/pci1028,7b1 at 14/hub at 5/storage at 2/disk at 0,0
> May 21 11:01:04 dell6510 genunix: [ID 408114 kern.info]
> /pci at 0,0/pci1028,7b1 at 14/hub at 5/storage at 2/disk at 0,0 (sd41) online
> May 21 11:02:07 dell6510 xhci: [ID 902155 kern.info] NOTICE: xhci2: xhci
> stop endpoint command (2)/slot (10) in wrong state: 19
> May 21 11:02:07 dell6510 xhci: [ID 617155 kern.info] NOTICE: xhci2:
> endpoint is in state 3
> May 21 11:02:41 dell6510 ahci: [ID 777486 kern.warning] WARNING: ahci4:
> ahci port 3 has interface fatal error
> May 21 11:02:41 dell6510 ahci: [ID 687168 kern.warning] WARNING: ahci4:
> ahci port 3 is trying to do error recovery
> May 21 11:02:41 dell6510 ahci: [ID 551337 kern.warning] WARNING:
> ahci4:         Transient Data Integrity Error (T)
> May 21 11:02:41 dell6510        Handshake Error (H)
> May 21 11:02:41 dell6510 ahci: [ID 657156 kern.warning] WARNING: ahci4:
> error recovery for port 3 succeed
>
>
> There is no such behaviour on a different OI host (old fuji server), i
> just checked USB2 and 3, did a pkg update, and checked again, everything
> is fine..
>
> So there is something different and wrong on my Laptop.
>
> :-/
>
>
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
This is likely a problem in illumos-gate, so It might be worth to report
about this on IRC in #illumos where the relevant developers get informed.
Furthermore, I recommend to create a bug report at
https://www.illumos.org/projects/illumos-gate/issues

Regards,
Andreas



More information about the openindiana-discuss mailing list