Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1537 - Problem with HDD connection #5945

Closed
openwrt-bot opened this issue May 9, 2018 · 5 comments
Closed

FS#1537 - Problem with HDD connection #5945

openwrt-bot opened this issue May 9, 2018 · 5 comments
Labels

Comments

@openwrt-bot
Copy link

super_robot:

OpenWrt SNAPSHOT r6808-3a45668
Xiaomi mi router 3g

Kernel log:

[ 100.808464] usb 2-1: new SuperSpeed USB device number 3 using xhci-mtk
[ 100.842477] scsi host0: uas
[ 100.846266] xhci-mtk 1e1c0000.xhci: ERROR Transfer event for unknown stream ring slot 1 ep 4
[ 100.854725] xhci-mtk 1e1c0000.xhci: @000000000f7c23c0 0e8c3200 00000000 05000000 01058001
[ 100.862911] xhci-mtk 1e1c0000.xhci: ERROR Transfer event for unknown stream ring slot 1 ep 6
[ 100.871325] xhci-mtk 1e1c0000.xhci: @000000000f7c23d0 0e8c3100 00000000 05000000 01078001
[ 122.138530] scsi 0:0:0:0: tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN
[ 122.146096] scsi 0:0:0:0: tag#0 CDB: opcode=0x12 12 00 00 00 24 00
[ 122.152401] xhci-mtk 1e1c0000.xhci: Mismatch between completed Set TR Deq Ptr command & xHCI internal state.
[ 122.162190] xhci-mtk 1e1c0000.xhci: ep deq seg = 8f068680, deq ptr = ae9c5010
[ 123.248527] scsi host0: uas_eh_device_reset_handler FAILED to get lock err -16
[ 123.255748] scsi 0:0:0:0: Device offlined - not ready after error recovery
[ 144.048598] xhci-mtk 1e1c0000.xhci: Cannot set link state.
[ 144.054111] usb usb2-port1: cannot disable (err = -32)
[ 144.059381] usb 2-1: USB disconnect, device number 3
[ 144.064694] xhci-mtk 1e1c0000.xhci: Mismatch between completed Set TR Deq Ptr command & xHCI internal state.
[ 144.074484] xhci-mtk 1e1c0000.xhci: ep deq seg = 8e9dc200, deq ptr = aea78010

root@OpenWrt:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

On stock firmware and PC connecting and working good.

@openwrt-bot
Copy link
Author

astafyev:

Here is the workaround: [[https://en.opensuse.org/SDB:USB_3.0_Hard_Drive_troubleshooting]].
And here is discussing of this issue in kernel mailing list: [[https://patchwork.kernel.org/patch/10146791/]]

@openwrt-bot
Copy link
Author

barboott:

Same problem with 18.06.1, flash back to LEDE 17.01.6 has no this problem.

@openwrt-bot
Copy link
Author

p3x-robot:

Same problem, I used the workaround, but it has no effect. Is it parsing in OpenWrt at /etc/modprobe.d/ignore_uas.conf ?
NO EFFECT

@openwrt-bot
Copy link
Author

p3x-robot:

I have this driver:
Bus 002 Device 004: ID 0bc2:2320 Seagate RSS LLC USB 3.0 bridge [Portable Expansion Drive]

@openwrt-bot
Copy link
Author

p3x-robot:

I had the same exact problem, I had to use a different USB storage (Sweex) and it worked, for Seagate was not working either for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant