Tool/software: Linux
hardware: custom board with dra725, emmc is the same as evm board
software : ti-processor-sdk-linux-automotive-dra7xx-evm-03_04_00_03
custom kernel with offical emmc config.
roofs: core-image-minial
summary: kernel crash 10 minute after power on. This issue is hard to reproduce.
The system run nothing custom application when this issue happend.
error log:
root@dra72x-custom:~# [ 601.425353] INFO: task kworker/u2:0:6 blocked for more than 300 seconds.
[ 601.432088] Not tainted 4.4.45-00012-g6cbb9e7-dirty #301
[ 601.437965] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 601.445849] kworker/u2:0 D c0769714 0 6 2 0x00000000
[ 601.452261] Workqueue: kmmcd mmc_rescan
[ 601.456148] [<c0769714>] (__schedule) from [<c0769df8>] (schedule+0x4c/0xac)
[ 601.463240] [<c0769df8>] (schedule) from [<c076e820>] (schedule_timeout+0x16c/0x1b8)
[ 601.471038] [<c076e820>] (schedule_timeout) from [<c076a924>] (wait_for_common+0xe4/0x158)
[ 601.479364] [<c076a924>] (wait_for_common) from [<c0586914>] (mmc_wait_for_req_done+0x58/0x15c)
[ 601.488119] [<c0586914>] (mmc_wait_for_req_done) from [<c058d59c>] (mmc_send_tuning+0xdc/0x154)
[ 601.496888] [<c058d59c>] (mmc_send_tuning) from [<c059e2ac>] (omap_hsmmc_execute_tuning+0xb4/0x578)
[ 601.505992] [<c059e2ac>] (omap_hsmmc_execute_tuning) from [<c0588178>] (mmc_execute_tuning+0x30/0x70)
[ 601.515262] [<c0588178>] (mmc_execute_tuning) from [<c058bb3c>] (mmc_init_card+0x978/0x15a8)
[ 601.523755] [<c058bb3c>] (mmc_init_card) from [<c058d030>] (mmc_attach_mmc+0x90/0x160)
[ 601.531799] [<c058d030>] (mmc_attach_mmc) from [<c0589624>] (mmc_rescan+0x2b4/0x310)
[ 601.539643] [<c0589624>] (mmc_rescan) from [<c004f428>] (process_one_work+0x18c/0x460)
[ 601.547700] [<c004f428>] (process_one_work) from [<c004f744>] (worker_thread+0x48/0x4e8)
[ 601.555887] [<c004f744>] (worker_thread) from [<c0055a70>] (kthread+0xf0/0x108)
[ 601.563242] [<c0055a70>] (kthread) from [<c00104c8>] (ret_from_fork+0x14/0x2c)
[ 601.570546] 2 locks held by kworker/u2:0/6:
[ 601.574752] #0: ("kmmcd"){.+.+.+}, at: [<c004f3b4>] process_one_work+0x118/0x460
[ 601.582454] #1: ((&(&host->detect)->work)){+.+.+.}, at: [<c004f3b4>] process_one_work+0x118/0x460
[ 601.591643] Sending NMI to all CPUs:
[ 611.597871] Kernel panic - not syncing: hung_task: blocked tasks
[ 611.603912] CPU: 0 PID: 16 Comm: khungtaskd Not tainted 4.4.45-00012-g6cbb9e7-dirty #301
[ 611.612036] Hardware name: Generic DRA72X (Flattened Device Tree)
[ 611.618165] [<c001828c>] (unwind_backtrace) from [<c0013df8>] (show_stack+0x10/0x14)
[ 611.625947] [<c0013df8>] (show_stack) from [<c02f784c>] (dump_stack+0x98/0xc4)
[ 611.633207] [<c02f784c>] (dump_stack) from [<c00ecf58>] (panic+0xa4/0x20c)
[ 611.640115] [<c00ecf58>] (panic) from [<c00d6730>] (watchdog+0x3c4/0x4e8)
[ 611.646935] [<c00d6730>] (watchdog) from [<c0055a70>] (kthread+0xf0/0x108)
[ 611.653841] [<c0055a70>] (kthread) from [<c00104c8>] (ret_from_fork+0x14/0x2c)
[ 611.661142] ---[ end Kernel panic - not syncing: hung_task: blocked tasks