标题: Linux kernel crash analysis example [打印本页] 作者: look_w 时间: 2017-10-24 21:24 标题: Linux kernel crash analysis example
Issue reported:
When USB is connected as Mass Storage mode, copy file from external sdcard to clipboard.
The disconnect USB and try to paste clipboard file into internal sdcard but it will fail.
Reconnect USB and target crash several minutes later.
Crash Context:
<4>[32284.249267] C0 [ swapper/0] CPU: 0 Tainted: G W (3.4.5 #1)
<4>[32284.256499] C0 [ swapper/0] PC is at DWC_WORKQ_SCHEDULE+0xd4/0x108
<4>[32284.263152] C0 [ swapper/0] LR is at DWC_WORKQ_SCHEDULE+0x94/0x108
<4>[32284.269866] C0 [ swapper/0] pc : [<c0332fc4>] lr : [<c0332f84>] psr: 800001d3
System Triage Procedure:1) Find call stack and locate the DWC_WORKQ_SCHEDULE() API
2) Get the assembly code via objdump for offending API
3) ARM assembly code is listed