On Fri, Sep 11, 2015 at 4:52 AM, Peter Chen <peter.chen@xxxxxxxxxxxxx> wrote: > Hi Fabio, > > Would you please help to test build patches for this issue? Tested the patch on a mx27pdk running 4.2 and I got the same crash: usbcore: registered new interface driver usb-storage Unhandled fault: external abort on non-linefetch (0x008) at 0xf4424600 pgd = c0004000 [f4424600] *pgd=10000452(bad) Internal error: : 8 [#1] PREEMPT ARM Modules linked in: CPU: 0 PID: 1 Comm: swapper Not tainted 4.2.0-dirty #93 Hardware name: Freescale i.MX27 (Device Tree Support) task: c7832b60 ti: c783e000 task.ti: c783e000 PC is at usbmisc_imx27_init+0x4c/0xbc LR is at usbmisc_imx27_init+0x40/0xbc pc : [<c03c4a9c>] lr : [<c03c4a90>] psr: 60000093 sp : c783fe10 ip : 00000000 fp : 00000000 r10: 00000000 r9 : 0000009c r8 : c056d488 r7 : 01000000 r6 : 60000013 r5 : c7a785d0 r4 : c7a782f0 r3 : f4424600 r2 : 00000000 r1 : 00000001 r0 : 00000001 Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel Control: 0005317f Table: a0004000 DAC: 00000017 Process swapper (pid: 1, stack limit = 0xc783e190) Stack: (0xc783fe10 to 0xc7840000) fe00: c03c4a50 c7946410 c7946400 00000000 fe20: c79b8290 c03c46c4 00000000 c03c5254 c7a77538 c79553c0 00000100 00000000 fe40: 00000000 c7989c30 00000000 00000008 00000000 00000000 00000000 00000000 fe60: ffffffed c7946410 fffffdfb c0792418 00000000 c02fdb94 c02fdb4c c7946410 fe80: c07c19d0 00000000 c0792418 c02fc1f0 c7946410 c0792418 c7946444 00000000 fea0: c072c0c8 c02fc324 00000000 c0792418 c02fc298 c02fa978 c7895d2c c78d8f10 fec0: c0792418 c7a5fb20 c077e268 c02fb948 c067f7f4 c0284118 c0792418 c0792418 fee0: c07502b8 c7a78620 c07ab460 c02fcdc0 00000000 c07502b8 c07502b8 c00095c8 ff00: c07b372c c78bc980 c053c958 0000004f 00000000 00000000 00000000 c013b43c ff20: c7ffc890 c0552e20 0000009c c0032448 00000000 c067ff7c c06d5d94 00000006 ff40: c7ffc897 00000006 c07552f8 c7ffc840 c074b090 00000006 c073f8dc c07ab460 ff60: c0704594 0000009c c073f8e8 c0704d20 00000006 00000006 00000000 c0704594 ff80: c78327a0 c052f55c 00000000 c052f55c 00000000 00000000 00000000 00000000 ffa0: 00000000 c052f564 00000000 c000a320 00000000 00000000 00000000 00000000 ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 bfffffff ffffefff [<c03c4a9c>] (usbmisc_imx27_init) from [<c03c46c4>] (imx_usbmisc_init+0x2c/0x38) [<c03c46c4>] (imx_usbmisc_init) from [<c03c5254>] (ci_hdrc_imx_probe+0x208/0x35c) [<c03c5254>] (ci_hdrc_imx_probe) from [<c02fdb94>] (platform_drv_probe+0x48/0xa4) [<c02fdb94>] (platform_drv_probe) from [<c02fc1f0>] (driver_probe_device+0x1d0/0x278) [<c02fc1f0>] (driver_probe_device) from [<c02fc324>] (__driver_attach+0x8c/0x90) [<c02fc324>] (__driver_attach) from [<c02fa978>] (bus_for_each_dev+0x5c/0x8c) [<c02fa978>] (bus_for_each_dev) from [<c02fb948>] (bus_add_driver+0xe8/0x1f8) [<c02fb948>] (bus_add_driver) from [<c02fcdc0>] (driver_register+0x78/0xf4) [<c02fcdc0>] (driver_register) from [<c00095c8>] (do_one_initcall+0x84/0x1f0) [<c00095c8>] (do_one_initcall) from [<c0704d20>] (kernel_init_freeable+0xfc/0x1c0) [<c0704d20>] (kernel_init_freeable) from [<c052f564>] (kernel_init+0x8/0xec) [<c052f564>] (kernel_init) from [<c000a320>] (ret_from_fork+0x14/0x34) Code: ebf1cfb7 e5d43008 e3130001 e5953000 (e5932000) ---[ end trace 69bc01e63a4b5221 ]--- note: swapper[1] exited with preempt_count 1 Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b If I revert 73dea4a912b2("usb: chipidea: usbmisc_imx: delete clock information") then the board boots fine. Regards, Fabio Estevam -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html