Giter VIP home page Giter VIP logo

Comments (9)

ayufan avatar ayufan commented on July 27, 2024 1

@wzyy2 we still have this problem, it seems that for whatever reason the USB3 PHY is not being properly reset after soft reboot.

from kernel.

Redwid avatar Redwid commented on July 27, 2024 1

Might be this one could help: https://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/550846?USB-3-port-file-copy-leads-to-kernel-Panic-with-Processor-SDK
There are 3 patch files at the last comment.

Can't verify that as I don't know Linux architecture.

from kernel.

ayufan avatar ayufan commented on July 27, 2024

I'm facing the same problem, also on mainline kernel.

from kernel.

rmbusy avatar rmbusy commented on July 27, 2024

Randomly seeing additional related issues of unhandled level 3 translation faults :

[432893.072550] cat[11190]: unhandled level 3 translation fault (11) at 0x005017
[432893.076615] pgd = ffffffc0c2d25000
[432893.080031] [005017e0] *pgd=00000000f1227003, *pud=00000000f1227003, *pmd=00000000c2e610030
[432893.084400]
[432893.087993] CPU: 2 PID: 11190 Comm: cat Not tainted 4.4.77-rockchip-ayufan-101 #1
[432893.091970] Hardware name: Rockchip RK3328 Rock64 (DT)
[432893.095965] task: ffffffc0f4c73600 ti: ffffffc0c2d38000 task.ti: ffffffc0c2d38000
[432893.100084] PC is at 0x5017e0
[432893.103887] LR is at 0x401cb8
[432893.107979] pc : [<00000000005017e0>] lr : [<0000000000401cb8>] pstate: 60000000
[432893.112271] sp : 0000007fc1beaec0
[432893.116452] x29: 0000007fc1beaec0 x28: 0000000000000000
[432893.120658] x27: 0000000000000000 x26: 0000000000000000
[432893.124747] x25: 0000000000000000 x24: 0000000000000000
[432893.128803] x23: 0000000000000000 x22: 0000000000000000
[432893.132866] x21: 0000000000402850 x20: 0000007fc1beb1b8
[432893.136859] x19: 0000000000000000 x18: 0000007fc1beaf10
[432893.140844] x17: 00000000005017e0 x16: 000000000041a0f8
[432893.144822] x15: 0000007fae102000 x14: 0000000000000040
[432893.148857] x13: 0000007fae102028 x12: 0000000000008730
[432893.152861] x11: 0000000000000090 x10: 00000000ffffffff
[432893.156698] x9 : 0000007fae0ef0b8 x8 : 0000007fae0edad8
[432893.160541] x7 : 00000000001a233a x6 : 0000007fae0d1aa0
[432893.164229] x5 : fe42e3dc82313c67 x4 : 0000000000000000
[432893.167763] x3 : 0000000000401c70 x2 : 0000007fc1beb1d0
[432893.171428] x1 : 0000000000000000 x0 : 000000000041a000
[432893.174936]

This is after 5 days of uptime, running Motion 4.0.1 application. The USB drive is still responsive, but I can produce a similar failure by running lsusb. I changed to a different USB drive since the original posting. The new drive is a self powered 8TB Seagate Backup Plus. Also, the lsusb does not return anything but "Segmentation fault"

The console error reported by lsusb is :
root@rock64: # lsusb
[434630.457329] lsusb[11357]: unhandled level 2 translation fault (11) at 0x00000008, esr 0x926
[434630.461079] pgd = ffffffc0e3c82000
[434630.464594] [00000008] *pgd=00000000c2ce4003, *pud=00000000c2ce4003, *pmd=0000000000000000
[434630.468436]
[434630.471613] CPU: 1 PID: 11357 Comm: lsusb Not tainted 4.4.77-rockchip-ayufan-101 #1
[434630.475538] Hardware name: Rockchip RK3328 Rock64 (DT)
Segmentation fault
root@rock64: # [434630.475544] task: ffffffc0e3d00d80 ti: ffffffc0c2d34000 task.ti: ffffffc0c20
[434630.475553] PC is at 0x7fa5ef413c
[434630.475555] LR is at 0x7fa5ef3e08
[434630.475558] pc : [<0000007fa5ef413c>] lr : [<0000007fa5ef3e08>] pstate: 80000000
[434630.475559] sp : 0000007ffcca6880
[434630.475564] x29: 0000007ffcca68b0 x28: 0000007fa5f16568
[434630.475568] x27: 0000007ffcca6b30 x26: 0000007ffcca6780
[434630.475572] x25: 0000000000000001 x24: 0000007ffcca6af0
[434630.475575] x23: 0000000000000000 x22: 0000000000000002
[434630.475578] x21: 0000000000000006 x20: 0000007fa5f19000
[434630.475581] x19: 0000000000024518 x18: 0000000000000000
[434630.475585] x17: 0000007fa5f01b28 x16: 0000007fa5f1a000
[434630.475588] x15: 0000007fa5f01590 x14: 0000007fa5f01668
[434630.475592] x13: 00000000000253df x12: 0000000000000ad0
[434630.475595] x11: 0000000000023d78 x10: 000000037ffffa00
[434630.475599] x9 : 000000037ffff1a0 x8 : 0000007fa5eed518
[434630.475602] x7 : 0000000000000000 x6 : 0000000001ffff0f
[434630.475606] x5 : 0000000000000031 x4 : 0000007fa5ec9000
[434630.475609] x3 : 0000007fa5f165a8 x2 : 0000000070000021
[434630.475612] x1 : 0000007fa5ecb238 x0 : 0000000000000000
[434630.475613]

from kernel.

ayufan avatar ayufan commented on July 27, 2024

@wzyy2 does this solve problem with USB3 unable to change link state? It seems that this solves some other problem

from kernel.

wzyy2 avatar wzyy2 commented on July 27, 2024

No.... It's just auto referenced by github...

from kernel.

ayufan avatar ayufan commented on July 27, 2024

OK. Thanks :) Do you have some idea why the usb fails?

from kernel.

f5Qz avatar f5Qz commented on July 27, 2024

ayufan-rock64/linux-build#140

from kernel.

ayufan avatar ayufan commented on July 27, 2024

@wzyy2 @keveryang We are still seeing these problems, for example here: ayufan-rock64/linux-build#112

from kernel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.