On Thu, May 28, 2015 at 11:10 AM, Chris Ruehl <chris.ru...@gtsys.com.hk> wrote:
> Hi,
>
> I'm port from 3.17 to 4.1-rc5 with imx27, Chipidea and ISP1504
> When I plug a memory stick to the usb-port it do not detect so I used a
> lsusb -v call with triggers the oops.
> I also see usb-workqueue oops when the stick is plugged in on boot time, I
> will
> report this in an other message.
>
>
> [    5.145712] ci_hdrc ci_hdrc.0: no of_node; not parsing pinctrl DT
> [    5.152175] ci_hdrc ci_hdrc.0: ChipIdea HDRC found, revision: 10, lpm: 0;
> cap: f4424100 op: f4424140
> [    5.201695] ULPI Viewport 0xf4424170
> [    5.205425] ULPI transceiver vendor/product ID 0x04cc/0x1504
> [    5.211194] Found NXP ISP1504 ULPI transceiver.
> [    5.215831] ULPI integrity check: passed.
> [    5.219980] ci_hdrc ci_hdrc.0: It is OTG capable controller
> [    5.225715] ci_hdrc ci_hdrc.0: EHCI Host Controller
> [    5.230824] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus
> number 1
> [    5.247177] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
> [    5.253421] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
> [    5.260384] usb usb1: New USB device strings: Mfr=3, Product=2,
> SerialNumber=1
> [    5.267748] usb usb1: Product: EHCI Host Controller
> [    5.272756] usb usb1: Manufacturer: Linux 4.1.0-rc5-next-20150527-dirty
> ehci_hcd
> [    5.280280] usb usb1: SerialNumber: ci_hdrc.0
> [    5.286528] usb usb1: no of_node; not parsing pinctrl DT
> [    5.293375] hub 1-0:1.0: no of_node; not parsing pinctrl DT
> [    5.299273] hub 1-0:1.0: USB hub found
> [    5.303821] hub 1-0:1.0: 1 port detected
>
>
>
> [ 2336.662597] Unhandled fault: external abort on non-linefetch (0x008) at
> 0xf4424148

I remember you met this issue before, the abort is due to you visit
the register ehci->reg->intr_enable (offset + 0x148)

commit 3b5d3e6845bfe68777d069886b0d1cd5f23b9d58
Author: Chris Ruehl <chris.ru...@gtsys.com.hk>
Date:   Fri Jan 10 13:51:29 2014 +0800

    usb: chipidea: Fix Internal error: : 808 [#1] ARM related to STS flag

Try to see if something related

> [ 2336.670221] pgd = cb744000
> [ 2336.672960] [f4424148] *pgd=10000452(bad)
> [ 2336.677042] Internal error: : 8 [#1] ARM
> [ 2336.680989] Modules linked in:
> [ 2336.684108] CPU: 0 PID: 4781 Comm: lsusb Not tainted
> 4.1.0-rc5-next-20150527-dirty #39
> [ 2336.692057] Hardware name: GTSYS i.MX27GTSIR (Device Tree Support)
> [ 2336.698274] task: ce1dc000 ti: c5878000 task.ti: c5878000
> [ 2336.703728] PC is at ehci_bus_resume+0x64/0x578
> [ 2336.708303] LR is at hcd_bus_resume+0x58/0x174
> [ 2336.712795] pc : [<c0286f64>]    lr : [<c0275ee8>]    psr: 60000093
> [ 2336.712795] sp : c5879c68  ip : c5879ca0  fp : c5879c9c
> [ 2336.724315] r10: 00000000  r9 : c5879f5c  r8 : c5879d38
> [ 2336.729574] r7 : 00000004  r6 : c058c5f0  r5 : ceb1b000  r4 : ceb1ac00
> [ 2336.736137] r3 : f4424140  r2 : 0007c4eb  r1 : c0286f00  r0 : ceb1ac00
> [ 2336.742701] Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment
> user
> [ 2336.749959] Control: 0005317f  Table: ab744000  DAC: 00000015
> [ 2336.755736] Process lsusb (pid: 4781, stack limit = 0xc5878190)
> [ 2336.761688] Stack: (0xc5879c68 to 0xc587a000)
> [ 2336.766103] 9c60:                   ce1e9840 ce9f1800 00000000 c5879c80
> c034dbf4 ceb1ac00
> [ 2336.774345] 9c80: ceb1b000 00000002 00000004 c5879d38 c5879cbc c5879ca0
> c0275ee8 c0286f10
> [ 2336.782588] 9ca0: ceb1b000 ceb00a10 00000002 00000000 c5879ccc c5879cc0
> c028188c c0275ea0
> [ 2336.790832] 9cc0: c5879ce4 c5879cd0 c0279cb0 c0281880 ceb1b068 ceb00a10
> c5879cf4 c5879ce8
> [ 2336.799075] 9ce0: c027aac4 c0279c58 c5879d0c c5879cf8 c02140b8 c027aabc
> 00000004 ceb1b068
> [ 2336.807319] 9d00: c5879d24 c5879d10 c0214144 c0214094 ceb1b068 ceb00a10
> c5879d64 c5879d28
> [ 2336.815563] 9d20: c0214a6c c02140e4 c058759c ce9f1848 c5879d54 c5879d40
> c041692c c04167b4
> [ 2336.823807] 9d40: c5879d70 20000013 ceb1b068 ceb06a60 ceb1b09c c5ab01e0
> c5879d7c c5879d68
> [ 2336.832050] 9d60: c0214b68 c0214784 00000008 ce254780 c5879d94 c5879d80
> c027a264 c0214b38
> [ 2336.840295] 9d80: ce254780 ceb1b000 c5879dbc c5879d98 c027e1b4 c027a258
> c027e120 c05e351c
> [ 2336.848537] 9da0: c04431a4 ceb06a60 00000000 c5ab01e0 c5879dec c5879dc0
> c009c9ac c027e130
> [ 2336.856780] 9dc0: c5879de4 00000000 c5879dec c5ab01e0 ceb06a60 c5ab01e0
> c009c888 c5ab01e8
> [ 2336.865023] 9de0: c5879e14 c5879df0 c0097664 c009c898 00000000 c5879eb0
> c5879f5c c5ab01e0
> [ 2336.873266] 9e00: 00000000 c000a2e4 c5879e24 c5879e18 c0097814 c00974a4
> c5879eac c5879e28
> [ 2336.881505] 9e20: c00a4cc4 c00977d8 c5878018 00000000 0007c4ec 0000000a
> c01cf138 00000000
> [ 2336.889742] 9e40: 00000026 00000041 ce418aa0 00000001 00000002 00000000
> 00000000 c5879e70
> [ 2336.897981] 9e60: c0018530 00000000 00000004 ceb06a60 00000000 00000000
> ceb3d9d0 ce418b28
> [ 2336.906221] 9e80: c5879ec8 00000002 c5879f5c 00000001 ffffff9c c000a2e4
> c5878000 00000000
> [ 2336.914464] 9ea0: c5879f4c c5879eb0 c00a5db4 c00a41b4 ceb3d9d0 ce418b28
> 001136d5 00000003
> [ 2336.922704] 9ec0: ce88b021 c0009324 00000000 ce471bb0 ceb06a60 00000101
> 00000004 0000005e
> [ 2336.930942] 9ee0: 00000000 00000000 00000000 c5879ef0 cd126fa0 ce1e9000
> 00000000 00000002
> [ 2336.939184] 9f00: c5879f3c c5879f10 c00b03c4 c00afe98 00000002 00000002
> 008060d0 ce88b000
> [ 2336.947422] 9f20: ce88b000 00000000 00000002 ffffff9c c5879f4c 00000002
> 00000006 ce88b000
> [ 2336.955665] 9f40: c5879f94 c5879f50 c0098798 c00a5d84 c5879f78 c5878000
> c5879fb0 00000002
> [ 2336.963903] 9f60: 00000000 00000026 00000100 00000001 00806038 008060d0
> b6ffaf10 00000005
> [ 2336.972145] 9f80: c000a2e4 c5878000 c5879fa4 c5879f98 c0098864 c009867c
> 00000000 c5879fa8
> [ 2336.980387] 9fa0: c000a140 c0098848 00806038 008060d0 beae4a34 00000002
> 00000000 beae4a48
> [ 2336.988628] 9fc0: 00806038 008060d0 b6ffaf10 00000005 b6fcde7c 00000004
> beae5a8c beae5aa4
> [ 2336.996869] 9fe0: 00806068 beae4a28 b6fc2b24 b6f231fc 60000010 beae4a34
> 00000000 00000000
> [ 2337.005066] Backtrace:
> [ 2337.007598] [<c0286f00>] (ehci_bus_resume) from [<c0275ee8>]
> (hcd_bus_resume+0x58/0x174)
> [ 2337.015719]  r8:c5879d38 r7:00000004 r6:00000002 r5:ceb1b000 r4:ceb1ac00
> [ 2337.022587] [<c0275e90>] (hcd_bus_resume) from [<c028188c>]
> (generic_resume+0x1c/0x28)
> [ 2337.030532]  r7:00000000 r6:00000002 r5:ceb00a10 r4:ceb1b000
> [ 2337.036336] [<c0281870>] (generic_resume) from [<c0279cb0>]
> (usb_resume_both+0x68/0xec)
> [ 2337.044410] [<c0279c48>] (usb_resume_both) from [<c027aac4>]
> (usb_runtime_resume+0x18/0x1c)
> [ 2337.052788]  r5:ceb00a10 r4:ceb1b068
> [ 2337.056474] [<c027aaac>] (usb_runtime_resume) from [<c02140b8>]
> (__rpm_callback+0x34/0x50)
> [ 2337.064804] [<c0214084>] (__rpm_callback) from [<c0214144>]
> (rpm_callback+0x70/0x88)
> [ 2337.072574]  r4:ceb1b068 r3:00000004
> [ 2337.076248] [<c02140d4>] (rpm_callback) from [<c0214a6c>]
> (rpm_resume+0x2f8/0x3b4)
> [ 2337.083843]  r5:ceb00a10 r4:ceb1b068
> [ 2337.087518] [<c0214774>] (rpm_resume) from [<c0214b68>]
> (__pm_runtime_resume+0x40/0x48)
> [ 2337.095549]  r8:c5ab01e0 r7:ceb1b09c r6:ceb06a60 r5:ceb1b068 r4:20000013
> [ 2337.102425] [<c0214b28>] (__pm_runtime_resume) from [<c027a264>]
> (usb_autoresume_device+0x1c/0x40)
> [ 2337.111412]  r4:ce254780 r3:00000008
> [ 2337.115083] [<c027a248>] (usb_autoresume_device) from [<c027e1b4>]
> (usbdev_open+0x94/0x204)
> [ 2337.123461]  r5:ceb1b000 r4:ce254780
> [ 2337.127127] [<c027e120>] (usbdev_open) from [<c009c9ac>]
> (chrdev_open+0x124/0x14c)
> [ 2337.134722]  r8:c5ab01e0 r7:00000000 r6:ceb06a60 r5:c04431a4 r4:c05e351c
> r3:c027e120
> [ 2337.142643] [<c009c888>] (chrdev_open) from [<c0097664>]
> (do_dentry_open.isra.16+0x1d0/0x2f4)
> [ 2337.151195]  r8:c5ab01e8 r7:c009c888 r6:c5ab01e0 r5:ceb06a60 r4:c5ab01e0
> [ 2337.158067] [<c0097494>] (do_dentry_open.isra.16) from [<c0097814>]
> (vfs_open+0x4c/0x50)
> [ 2337.166183]  r8:c000a2e4 r7:00000000 r6:c5ab01e0 r5:c5879f5c r4:c5879eb0
> r3:00000000
> [ 2337.174108] [<c00977c8>] (vfs_open) from [<c00a4cc4>]
> (path_openat+0xb20/0xdb0)
> [ 2337.181489] [<c00a41a4>] (path_openat) from [<c00a5db4>]
> (do_filp_open+0x40/0x8c)
> [ 2337.188997]  r10:00000000 r9:c5878000 r8:c000a2e4 r7:ffffff9c r6:00000001
> r5:c5879f5c
> [ 2337.196965]  r4:00000002
> [ 2337.199581] [<c00a5d74>] (do_filp_open) from [<c0098798>]
> (do_sys_open+0x12c/0x1cc)
> [ 2337.207266]  r6:ce88b000 r5:00000006 r4:00000002
> [ 2337.212006] [<c009866c>] (do_sys_open) from [<c0098864>]
> (SyS_open+0x2c/0x30)
> [ 2337.219168]  r9:c5878000 r8:c000a2e4 r7:00000005 r6:b6ffaf10 r5:008060d0
> r4:00806038
> [ 2337.227083] [<c0098838>] (SyS_open) from [<c000a140>]
> (ret_fast_syscall+0x0/0x38)
> [ 2337.234624] Code: e5d431e8 e3130020 1a00013c e59431d8 (e5932008)
> [ 2337.240771] ---[ end trace 986562955951de3b ]---
>
> Regards
> Chris
> --
> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



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

Reply via email to