본문 바로가기

Core BSP 분석/리눅스 커널 핵심 분석

kernel panic - SOFTLOCKUP

[  284.02277 01-01 00:04:48.470 CPU1] BUG: soft lockup - CPU#1 stuck for 22s! [sh:1918]
[  284.02284 01-01 00:04:48.470 CPU1] Modules linked in: dfrgx snd_intel_sst snd_soc_sst_platform atomisp_css2401a0_v21 m10mo_spi m10mo_isp imx1x5 libmsrlisthelper rmi4 bcm_bt_lpm videobuf_vmalloc videobuf_core fps_throttle snd_moor_dpcm_rt5647 hds_max14688 snd_soc_rt5647 snd_hwdep
[  284.02302 01-01 00:04:48.470 CPU1] CPU: 1 PID: 1918 Comm: sh Tainted: G        W    3.10.20-x86_64_moor-dirty #4
[  284.02306 01-01 00:04:48.470 CPU1] task: ffff88002ea84200 ti: ffff88004f198000 task.ti: ffff88004f198000
[  284.02309 01-01 00:04:48.470 CPU1] RIP: 0010:[<ffffffff82436002>]  [<ffffffff82436002>] lkdtm_do_action+0x182/0x1d0
[  284.02314 01-01 00:04:48.470 CPU1] RSP: 0018:ffff88004f199ea0  EFLAGS: 00000246
[  284.02317 01-01 00:04:48.470 CPU1] RAX: 0000000000000000 RBX: ffffffff82a1d520 RCX: 0000000000000000
[  284.02321 01-01 00:04:48.470 CPU1] RDX: 0000000000000000 RSI: ffffffff82436687 RDI: ffffffff82435ff2
[  284.02324 01-01 00:04:48.470 CPU1] RBP: ffff88004f199ed0 R08: 0000000000000001 R09: 0000000000000000
[  284.02327 01-01 00:04:48.470 CPU1] R10: 0000000000000000 R11: 0000000000000000 R12: ffff88004f199e18
[  284.02330 01-01 00:04:48.470 CPU1] R13: ffff88007ea93d00 R14: ffff88004f198000 R15: 0000000000000000
[  284.02334 01-01 00:04:48.470 CPU1] FS:  0000000000000000(0000) GS:ffff88007ea80000(0063) knlGS:00000000f779d280
[  284.02337 01-01 00:04:48.470 CPU1] CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
[  284.02340 01-01 00:04:48.470 CPU1] CR2: 00000000f77be4c0 CR3: 000000002bcee000 CR4: 00000000001007e0
[  284.02344 01-01 00:04:48.470 CPU1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  284.02347 01-01 00:04:48.470 CPU1] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[  284.02350 01-01 00:04:48.470 CPU1] Stack:
[  284.02352 01-01 00:04:48.470 CPU1]  ffff88004f199ec0 ffffffff82f78a2b ffffea0001350200 ffffea00013502e0
[  284.02358 01-01 00:04:48.470 CPU1]  0000000000000000 ffff88002b231000 ffff88004f199f00 ffffffff82436687
[  284.02363 01-01 00:04:48.470 CPU1]  ffff88005098e280 000000000000000b 00000000f8a5b8a4 ffff88004f199f50
[  284.02368 01-01 00:04:48.470 CPU1] Call Trace:
[  284.02371 01-01 00:04:48.470 CPU1]  [<ffffffff82436687>] direct_entry+0xe7/0xf0
[  284.02375 01-01 00:04:48.470 CPU1]  [<ffffffff821ba566>] vfs_write+0xb6/0x1c0
[  284.02378 01-01 00:04:48.470 CPU1]  [<ffffffff821ba9fd>] SyS_write+0x4d/0x90
[  284.02382 01-01 00:04:48.470 CPU1]  [<ffffffff82a24925>] sysenter_dispatch+0x7/0x23
[  284.02385 01-01 00:04:48.470 CPU1] Code: 12 48 89 c7 e8 50 b9 d7 ff 48 8d 64 24 28 5b 5d c3 bf 01 00 00 00 e8 fe ab 5e 00 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 f3 90 <eb> fc fa e8 b6 8e d2 ff 66 0f 1f 44 00 00 f3 90 eb fc eb fe c6
[  284.02424 01-01 00:04:48.470 CPU1] sending NMI to all CPUs:
[  284.02440 01-01 00:04:48.470 CPU1] NMI backtrace for cpu 1
[  284.02440 01-01 00:04:48.470 CPU1] CPU: 1 PID: 1918 Comm: sh Tainted: G        W    3.10.20-x86_64_moor-dirty #4
[  284.02441 01-01 00:04:48.470 CPU1] task: ffff88002ea84200 ti: ffff88004f198000 task.ti: ffff88004f198000
[  284.02442 01-01 00:04:48.470 CPU1] RIP: 0010:[<ffffffff82356ae2>]  [<ffffffff82356ae2>] delay_tsc+0x52/0xe0
[  284.02442 01-01 00:04:48.470 CPU1] RSP: 0018:ffff88007ea83e40  EFLAGS: 00000002
[  284.02442 01-01 00:04:48.470 CPU1] RAX: ffff88004f199fd8 RBX: 000000594aeb8290 RCX: 0000000000000000
[  284.02442 01-01 00:04:48.470 CPU1] RDX: 0000000000010001 RSI: 0000000000000002 RDI: 0000000000000001
[  284.02443 01-01 00:04:48.470 CPU1] RBP: ffff88007ea83e68 R08: 0000000000000001 R09: 0000000000000000
[  284.02443 01-01 00:04:48.470 CPU1] R10: 0000000000000000 R11: 0000000000000000 R12: 000000004ae8ef20
[  284.02443 01-01 00:04:48.470 CPU1] R13: 000000000014500b R14: 0000000000000001 R15: ffff88004f199fd8
[  284.02443 01-01 00:04:48.470 CPU1] FS:  0000000000000000(0000) GS:ffff88007ea80000(0063) knlGS:00000000f779d280
[  284.02444 01-01 00:04:48.470 CPU1] CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
[  284.02444 01-01 00:04:48.470 CPU1] CR2: 00000000f77be4c0 CR3: 000000002bcee000 CR4: 00000000001007e0
[  284.02444 01-01 00:04:48.470 CPU1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  284.02444 01-01 00:04:48.470 CPU1] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[  284.02444 01-01 00:04:48.470 CPU1] Stack:
[  284.02445 01-01 00:04:48.470 CPU1]  0000000000002710 ffff88002ea84200 000000000000077e ffff88004f199df8
[  284.02446 01-01 00:04:48.470 CPU1]  0000004223e43b4b ffff88007ea83e78 ffffffff82356a29 ffff88007ea83ea8
[  284.02446 01-01 00:04:48.470 CPU1]  ffffffff82026292 0000000000000016 ffff88002ea84200 000000000000077e
[  284.02446 01-01 00:04:48.470 CPU1] Call Trace:
[  284.02447 01-01 00:04:48.470 CPU1]  <IRQ>
[  284.02447 01-01 00:04:48.470 CPU1]  [<ffffffff82356a29>] __const_udelay+0x29/0x30
[  284.02448 01-01 00:04:48.470 CPU1]  [<ffffffff82026292>] arch_trigger_all_cpu_backtrace+0x62/0x100
[  284.02449 01-01 00:04:48.470 CPU1]  [<ffffffff82139535>] watchdog_timer_fn+0x155/0x170
[  284.02449 01-01 00:04:48.470 CPU1]  [<ffffffff820de795>] __run_hrtimer+0x85/0x270
[  284.02450 01-01 00:04:48.470 CPU1]  [<ffffffff821393e0>] ? watchdog+0x30/0x30
[  284.02450 01-01 00:04:48.470 CPU1]  [<ffffffff820df1f7>] hrtimer_interrupt+0x107/0x240
[  284.02451 01-01 00:04:48.470 CPU1]  [<ffffffff82a25016>] smp_apic_timer_interrupt+0x66/0x98
[  284.02452 01-01 00:04:48.470 CPU1]  [<ffffffff82a2416f>] apic_timer_interrupt+0x6f/0x80
[  284.02452 01-01 00:04:48.470 CPU1]  <EOI>
[  284.02453 01-01 00:04:48.470 CPU1]  [<ffffffff82a1d520>] ? retint_restore_args+0xe/0xe
[  284.02453 01-01 00:04:48.470 CPU1]  [<ffffffff82436687>] ? direct_entry+0xe7/0xf0
[  284.02454 01-01 00:04:48.470 CPU1]  [<ffffffff82435ff2>] ? lkdtm_do_action+0x172/0x1d0
[  284.02454 01-01 00:04:48.470 CPU1]  [<ffffffff82436002>] ? lkdtm_do_action+0x182/0x1d0
[  284.02455 01-01 00:04:48.470 CPU1]  [<ffffffff82436687>] direct_entry+0xe7/0xf0
[  284.02455 01-01 00:04:48.470 CPU1]  [<ffffffff821ba566>] vfs_write+0xb6/0x1c0
[  284.02456 01-01 00:04:48.470 CPU1]  [<ffffffff821ba9fd>] SyS_write+0x4d/0x90
[  284.02456 01-01 00:04:48.470 CPU1]  [<ffffffff82a24925>] sysenter_dispatch+0x7/0x23
[  284.02461 01-01 00:04:48.470 CPU1] Code: 66 66 90 0f ae e8 0f 31 65 4c 8b 3c 25 f0 b9 00 00 41 89 c4 eb 29 0f 1f 00 e8 1b a0 6c 00 49 8b 87 38 e0 ff ff a8 08 75 5d f3 90 <bf> 01 00 00 00 e8 04 a1 6c 00 e8 7f 89 00 00 41 39 c6 75 4e 66
[  284.02462 01-01 00:04:48.470 CPU1] NMI backtrace for cpu 0
[  284.02462 01-01 00:04:48.470 CPU1] CPU: 0 PID: 266 Comm: kworker/u8:4 Tainted: G        W    3.10.20-x86_64_moor-dirty #4
[  284.02463 01-01 00:04:48.470 CPU1] Workqueue: hsu_debug_port_p serial_hsu_work
[  284.02464 01-01 00:04:48.470 CPU1] task: ffff88007797d280 ti: ffff880076c0e000 task.ti: ffff880076c0e000
[  284.02465 01-01 00:04:48.470 CPU1] RIP: 0010:[<ffffffff8215f126>]  [<ffffffff8215f126>] trace_preempt_on+0x6/0x110
[  284.02465 01-01 00:04:48.470 CPU1] RSP: 0000:ffff880076c0fc98  EFLAGS: 00000246
[  284.02465 01-01 00:04:48.470 CPU1] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
[  284.02465 01-01 00:04:48.470 CPU1] RDX: 0000000000000059 RSI: ffffffff82356a29 RDI: ffffffff82356b1e
[  284.02465 01-01 00:04:48.470 CPU1] RBP: ffff880076c0fca8 R08: 0000000000000001 R09: 0000000000000000
[  284.02466 01-01 00:04:48.470 CPU1] R10: 0000000000000000 R11: 0000000000000000 R12: 000000004aeb7cc0
[  284.02466 01-01 00:04:48.470 CPU1] R13: 0000000000000534 R14: 0000000000000000 R15: ffff880076c0ffd8
[  284.02466 01-01 00:04:48.470 CPU1] FS:  0000000000000000(0000) GS:ffff88007ea00000(0000) knlGS:0000000000000000
[  284.02466 01-01 00:04:48.470 CPU1] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[  284.02467 01-01 00:04:48.470 CPU1] CR2: 0000000032318458 CR3: 0000000059207000 CR4: 00000000001007f0
[  284.02467 01-01 00:04:48.470 CPU1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  284.02467 01-01 00:04:48.470 CPU1] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[  284.02467 01-01 00:04:48.470 CPU1] Stack:
[  284.02468 01-01 00:04:48.470 CPU1]  ffffffff82a20b61 000000594aeb8290 ffff880076c0fce0 ffffffff82356b1e
[  284.02468 01-01 00:04:48.470 CPU1]  00000000000026f3 0000000000000000 ffffffff83d58e50 ffffffff83d54c08
[  284.02469 01-01 00:04:48.470 CPU1]  0000000000000030 ffff880076c0fcf0 ffffffff82356a29 ffff880076c0fd78
[  284.02469 01-01 00:04:48.470 CPU1] Call Trace:
[  284.02470 01-01 00:04:48.470 CPU1]  [<ffffffff82a20b61>] ? sub_preempt_count+0x71/0x100
[  284.02470 01-01 00:04:48.470 CPU1]  [<ffffffff82356b1e>] delay_tsc+0x8e/0xe0
[  284.02471 01-01 00:04:48.470 CPU1]  [<ffffffff82356a29>] __const_udelay+0x29/0x30
[  284.02472 01-01 00:04:48.470 CPU1]  [<ffffffff82768dc3>] serial_hsu_command+0x423/0x12e0
[  284.02472 01-01 00:04:48.470 CPU1]  [<ffffffff82769ca3>] serial_hsu_work+0x23/0x40
[  284.02473 01-01 00:04:48.470 CPU1]  [<ffffffff820d3b02>] process_one_work+0x1e2/0x570
[  284.02473 01-01 00:04:48.470 CPU1]  [<ffffffff820d3a99>] ? process_one_work+0x179/0x570
[  284.02474 01-01 00:04:48.470 CPU1]  [<ffffffff820d4303>] worker_thread+0x123/0x380
[  284.02474 01-01 00:04:48.470 CPU1]  [<ffffffff820d41e0>] ? rescuer_thread+0x310/0x310
[  284.02475 01-01 00:04:48.470 CPU1]  [<ffffffff820db2bb>] kthread+0xeb/0xf0
[  284.02476 01-01 00:04:48.470 CPU1]  [<ffffffff820db1d0>] ? kthread_create_on_node+0x140/0x140
[  284.02476 01-01 00:04:48.470 CPU1]  [<ffffffff82a2345c>] ret_from_fork+0x7c/0xb0
[  284.02477 01-01 00:04:48.470 CPU1]  [<ffffffff820db1d0>] ? kthread_create_on_node+0x140/0x140
[  284.02481 01-01 00:04:48.470 CPU1] Code: 00 00 00 00 00 55 48 89 e5 5d c3 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 5d c3 66 2e 0f 1f 84 00 00 00 00 00 8b 05 9a 93 2a 01 <a8> 04 74 41 65 48 8b 14 25 f0 b9 00 00 44 8b 82 44 e0 ff ff 45
[  284.02483 01-01 00:04:48.470 CPU1] NMI backtrace for cpu 2
[  284.02486 01-01 00:04:48.470 CPU1] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G        W    3.10.20-x86_64_moor-dirty #4
[  284.02487 01-01 00:04:48.470 CPU1] task: ffff88007c0e5280 ti: ffff88007c2e2000 task.ti: ffff88007c2e2000
[  284.02491 01-01 00:04:48.470 CPU1] RIP: 0010:[<ffffffff8239e251>]  [<ffffffff8239e251>] intel_idle+0xe1/0x180
[  284.02492 01-01 00:04:48.470 CPU1] RSP: 0000:ffff88007c2e3df0  EFLAGS: 00000046
[  284.02493 01-01 00:04:48.470 CPU1] RAX: 0000000000000060 RBX: 0000000000000080 RCX: 0000000000000001
[  284.02494 01-01 00:04:48.470 CPU1] RDX: 0000000000000000 RSI: ffff88007c2e3fd8 RDI: 0000000000000001
[  284.02495 01-01 00:04:48.470 CPU1] RBP: ffff88007c2e3e30 R08: 0000000000000001 R09: 0000000000000000
[  284.02495 01-01 00:04:48.470 CPU1] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000060
[  284.02496 01-01 00:04:48.470 CPU1] R13: 0000000077359400 R14: ffffffff83353c38 R15: 0000000000000064
[  284.02497 01-01 00:04:48.470 CPU1] FS:  0000000000000000(0000) GS:ffff88007eb00000(0000) knlGS:0000000000000000
[  284.02498 01-01 00:04:48.470 CPU1] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[  284.02499 01-01 00:04:48.470 CPU1] CR2: 000000004cf6afcc CR3: 00000000032c5000 CR4: 00000000001007e0
[  284.02500 01-01 00:04:48.470 CPU1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  284.02501 01-01 00:04:48.470 CPU1] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[  284.02502 01-01 00:04:48.470 CPU1] Stack:
[  284.02504 01-01 00:04:48.470 CPU1]  ffff880000000007 00000004826a5d0e 0000000200000d0b ffff88007eb1a840
[  284.02506 01-01 00:04:48.470 CPU1]  ffffffff83353ac0 0000000000000004 0000004220f33db2 ffffffff83353c38
[  284.02508 01-01 00:04:48.470 CPU1]  ffff88007c2e3e88 ffffffff826a4329 0000000000000000 0000000004bb62f7
[  284.02509 01-01 00:04:48.470 CPU1] Call Trace:
[  284.02512 01-01 00:04:48.470 CPU1]  [<ffffffff826a4329>] cpuidle_enter_state+0x49/0xe0
[  284.02515 01-01 00:04:48.470 CPU1]  [<ffffffff826a4487>] cpuidle_idle_call+0xc7/0x260
[  284.02518 01-01 00:04:48.470 CPU1]  [<ffffffff8200ad6e>] arch_cpu_idle+0xe/0x30
[  284.02520 01-01 00:04:48.470 CPU1]  [<ffffffff82101d3e>] cpu_startup_entry+0xce/0x2e0
[  284.02522 01-01 00:04:48.470 CPU1]  [<ffffffff82109d82>] ? clockevents_config_and_register+0x22/0x30
[  284.02524 01-01 00:04:48.470 CPU1]  [<ffffffff82a0728a>] start_secondary+0x252/0x256
[  284.02544 01-01 00:04:48.470 CPU1] Code: 48 8b 34 25 f0 b9 00 00 48 89 d1 48 8d 86 38 e0 ff ff 0f 01 c8 0f ae f0 48 8b 86 38 e0 ff ff a8 08 75 08 b1 01 4c 89 e0 0f 01 c9 <85> 1d fd 5b fb 00 75 0e 48 8d 75 d4 bf 05 00 00 00 e8 49 b7 d6
[  284.02545 01-01 00:04:48.470 CPU1] NMI backtrace for cpu 3
[  284.02548 01-01 00:04:48.470 CPU1] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G        W    3.10.20-x86_64_moor-dirty #4
[  284.02549 01-01 00:04:48.470 CPU1] task: ffff88007c0e6300 ti: ffff88007c2e4000 task.ti: ffff88007c2e4000
[  284.02552 01-01 00:04:48.470 CPU1] RIP: 0010:[<ffffffff8239e251>]  [<ffffffff8239e251>] intel_idle+0xe1/0x180
[  284.02553 01-01 00:04:48.470 CPU1] RSP: 0000:ffff88007c2e5df0  EFLAGS: 00000046
[  284.02554 01-01 00:04:48.470 CPU1] RAX: 0000000000000060 RBX: 0000000000000080 RCX: 0000000000000001
[  284.02555 01-01 00:04:48.470 CPU1] RDX: 0000000000000000 RSI: ffff88007c2e5fd8 RDI: 0000000000000001
[  284.02556 01-01 00:04:48.470 CPU1] RBP: ffff88007c2e5e30 R08: 0000000000000001 R09: 0000000000000000
[  284.02557 01-01 00:04:48.470 CPU1] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000060
[  284.02558 01-01 00:04:48.470 CPU1] R13: 0000000077359400 R14: ffffffff83353c38 R15: 0000000000000064
[  284.02559 01-01 00:04:48.470 CPU1] FS:  0000000000000000(0000) GS:ffff88007eb80000(0000) knlGS:0000000000000000
[  284.02560 01-01 00:04:48.470 CPU1] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[  284.02561 01-01 00:04:48.470 CPU1] CR2: 0000000032ceb300 CR3: 00000000032c5000 CR4: 00000000001007e0
[  284.02561 01-01 00:04:48.470 CPU1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  284.02562 01-01 00:04:48.470 CPU1] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[  284.02563 01-01 00:04:48.470 CPU1] Stack:
[  284.02565 01-01 00:04:48.470 CPU1]  ffff880000000007 00000004826a5d0e 0000000300000707 ffff88007eb9a840
[  284.02567 01-01 00:04:48.470 CPU1]  ffffffff83353ac0 0000000000000004 0000004220f3695c ffffffff83353c38
[  284.02570 01-01 00:04:48.470 CPU1]  ffff88007c2e5e88 ffffffff826a4329 0000000000000000 000000000684f537
[  284.02570 01-01 00:04:48.470 CPU1] Call Trace:
[  284.02573 01-01 00:04:48.470 CPU1]  [<ffffffff826a4329>] cpuidle_enter_state+0x49/0xe0
[  284.02576 01-01 00:04:48.470 CPU1]  [<ffffffff826a4487>] cpuidle_idle_call+0xc7/0x260
[  284.02578 01-01 00:04:48.470 CPU1]  [<ffffffff8200ad6e>] arch_cpu_idle+0xe/0x30
[  284.02580 01-01 00:04:48.470 CPU1]  [<ffffffff82101d3e>] cpu_startup_entry+0xce/0x2e0
[  284.02582 01-01 00:04:48.470 CPU1]  [<ffffffff82109d82>] ? clockevents_config_and_register+0x22/0x30
[  284.02585 01-01 00:04:48.470 CPU1]  [<ffffffff82a0728a>] start_secondary+0x252/0x256
[  284.02604 01-01 00:04:48.470 CPU1] Code: 48 8b 34 25 f0 b9 00 00 48 89 d1 48 8d 86 38 e0 ff ff 0f 01 c8 0f ae f0 48 8b 86 38 e0 ff ff a8 08 75 08 b1 01 4c 89 e0 0f 01 c9 <85> 1d fd 5b fb 00 75 0e 48 8d 75 d4 bf 05 00 00 00 e8 49 b7 d6
[  284.02627 01-01 00:04:48.470 CPU1] All CPUs responded to NMI.
[  284.02978 01-01 00:04:48.470 CPU1] Kernel panic - not syncing: softlockup: hung tasks
[  284.02981 01-01 00:04:48.470 CPU1] CPU: 1 PID: 1918 Comm: sh Tainted: G        W    3.10.20-x86_64_moor-dirty #4
[  284.02985 01-01 00:04:48.470 CPU1]  ffff88002ea84200 ffff88007ea83e30 ffffffff82a13ac1 ffff88007ea83ea8
[  284.02990 01-01 00:04:48.470 CPU1]  ffffffff82a0cdb0 ffff880000000008 ffff88007ea83eb8 ffff88007ea83e58
[  284.02995 01-01 00:04:48.470 CPU1]  0000000000010001 0000000000000001 0000000000010001 0000000000000006
[  284.03001 01-01 00:04:48.470 CPU1] Call Trace:
[  284.03003 01-01 00:04:48.470 CPU1]  <IRQ>  [<ffffffff82a13ac1>] dump_stack+0x19/0x1b
[  284.03008 01-01 00:04:48.470 CPU1]  [<ffffffff82a0cdb0>] panic+0xc8/0x1d6
[  284.03011 01-01 00:04:48.470 CPU1]  [<ffffffff82139543>] watchdog_timer_fn+0x163/0x170
[  284.03014 01-01 00:04:48.470 CPU1]  [<ffffffff820de795>] __run_hrtimer+0x85/0x270
[  284.03018 01-01 00:04:48.470 CPU1]  [<ffffffff821393e0>] ? watchdog+0x30/0x30
[  284.03021 01-01 00:04:48.470 CPU1]  [<ffffffff820df1f7>] hrtimer_interrupt+0x107/0x240
[  284.03025 01-01 00:04:48.470 CPU1]  [<ffffffff82a25016>] smp_apic_timer_interrupt+0x66/0x98
[  284.03028 01-01 00:04:48.470 CPU1]  [<ffffffff82a2416f>] apic_timer_interrupt+0x6f/0x80
[  284.03031 01-01 00:04:48.470 CPU1]  <EOI>  [<ffffffff82a1d520>] ? retint_restore_args+0xe/0xe
[  284.03036 01-01 00:04:48.470 CPU1]  [<ffffffff82436687>] ? direct_entry+0xe7/0xf0
[  284.03039 01-01 00:04:48.470 CPU1]  [<ffffffff82435ff2>] ? lkdtm_do_action+0x172/0x1d0
[  284.03043 01-01 00:04:48.470 CPU1]  [<ffffffff82436002>] ? lkdtm_do_action+0x182/0x1d0
[  284.03046 01-01 00:04:48.470 CPU1]  [<ffffffff82436687>] direct_entry+0xe7/0xf0
[  284.03050 01-01 00:04:48.470 CPU1]  [<ffffffff821ba566>] vfs_write+0xb6/0x1c0
[  284.03053 01-01 00:04:48.470 CPU1]  [<ffffffff821ba9fd>] SyS_write+0x4d/0x90
[  284.03056 01-01 00:04:48.470 CPU1]  [<ffffffff82a24925>] sysenter_dispatch+0x7/0x23
[  284.05152 01-01 00:04:48.490 CPU1] SCU trace on Kernel panic:
[  284.05155 01-01 00:04:48.490 CPU1] SCU trace logging data:
[  284.05158 01-01 00:04:48.490 CPU1] EW0:0x5343554c
...
[  286.06323 01-01 00:04:48.490 CPU1] Jump FW upgrade process
[  286.06326 01-01 00:04:48.490 CPU1] BUG: sleeping function called from invalid context at /home/austin.kim/src/mof_kk_mr2_release_main/android/linux/kernel/kernel/sched/core.c:3329
[  286.06331 01-01 00:04:48.490 CPU1] in_atomic(): 1, irqs_disabled(): 1, pid: 1918, name: sh
[  286.06334 01-01 00:04:48.490 CPU1] INFO: lockdep is turned off.
[  286.06337 01-01 00:04:48.490 CPU1] CPU: 1 PID: 1918 Comm: sh Tainted: G        W    3.10.20-x86_64_moor-dirty #4
[  286.06341 01-01 00:04:48.490 CPU1]  ffffffff83d4aba0 ffff88007ea83d60 ffffffff82a13ac1 ffff88007ea83d78
[  286.06346 01-01 00:04:48.490 CPU1]  ffffffff820e59c0 000000000000012c ffff88007ea83dd0 ffffffff82a1ad13
[  286.06351 01-01 00:04:48.490 CPU1]  0000000000000000 ffffffff82f5a52f 0000000000000000 000000007ea83dc0
[  286.06356 01-01 00:04:48.490 CPU1] Call Trace:
[  286.06359 01-01 00:04:48.490 CPU1]  <IRQ>  [<ffffffff82a13ac1>] dump_stack+0x19/0x1b
[  286.06364 01-01 00:04:48.490 CPU1]  [<ffffffff820e59c0>] __might_sleep+0x110/0x120
[  286.06368 01-01 00:04:48.490 CPU1]  [<ffffffff82a1ad13>] wait_for_completion_timeout+0x33/0x120
[  286.06372 01-01 00:04:48.490 CPU1]  [<ffffffff8272bef9>] intel_scu_ipc_check_status+0x119/0x170
[  286.06376 01-01 00:04:48.490 CPU1]  [<ffffffff8209cdf7>] intel_mid_reboot+0x57/0xe0
[  286.06380 01-01 00:04:48.490 CPU1]  [<ffffffff82023849>] machine_emergency_restart+0x19/0x20
[  286.06383 01-01 00:04:48.490 CPU1]  [<ffffffff820cb6a8>] emergency_restart+0x18/0x20
[  286.06387 01-01 00:04:48.490 CPU1]  [<ffffffff82a0ce77>] panic+0x18f/0x1d6
[  286.06390 01-01 00:04:48.490 CPU1]  [<ffffffff82139543>] watchdog_timer_fn+0x163/0x170
[  286.06394 01-01 00:04:48.490 CPU1]  [<ffffffff820de795>] __run_hrtimer+0x85/0x270
[  286.06398 01-01 00:04:48.490 CPU1]  [<ffffffff821393e0>] ? watchdog+0x30/0x30
[  286.06401 01-01 00:04:48.490 CPU1]  [<ffffffff820df1f7>] hrtimer_interrupt+0x107/0x240
[  286.06405 01-01 00:04:48.490 CPU1]  [<ffffffff82a25016>] smp_apic_timer_interrupt+0x66/0x98
[  286.06408 01-01 00:04:48.490 CPU1]  [<ffffffff82a2416f>] apic_timer_interrupt+0x6f/0x80
[  286.06411 01-01 00:04:48.490 CPU1]  <EOI>  [<ffffffff82a1d520>] ? retint_restore_args+0xe/0xe
[  286.06416 01-01 00:04:48.490 CPU1]  [<ffffffff82436687>] ? direct_entry+0xe7/0xf0
[  286.06420 01-01 00:04:48.490 CPU1]  [<ffffffff82435ff2>] ? lkdtm_do_action+0x172/0x1d0
[  286.06423 01-01 00:04:48.490 CPU1]  [<ffffffff82436002>] ? lkdtm_do_action+0x182/0x1d0
[  286.06427 01-01 00:04:48.490 CPU1]  [<ffffffff82436687>] direct_entry+0xe7/0xf0
[  286.06430 01-01 00:04:48.490 CPU1]  [<ffffffff821ba566>] vfs_write+0xb6/0x1c0
[  286.06434 01-01 00:04:48.490 CPU1]  [<ffffffff821ba9fd>] SyS_write+0x4d/0x90
[  286.06437 01-01 00:04:48.490 CPU1]  [<ffffffff82a24925>] sysenter_dispatch+0x7/0x23
[  286.06441 01-01 00:04:48.490 CPU1] BUG: scheduling while atomic: sh/1918/0x00010003
[  286.06444 01-01 00:04:48.490 CPU1] INFO: lockdep is turned off.
[  286.06447 01-01 00:04:48.490 CPU1] Modules linked in: dfrgx snd_intel_sst snd_soc_sst_platform atomisp_css2401a0_v21 m10mo_spi m10mo_isp imx1x5 libmsrlisthelper rmi4 bcm_bt_lpm videobuf_vmalloc videobuf_core fps_throttle snd_moor_dpcm_rt5647 hds_max14688 snd_soc_rt5647 snd_hwdep
[  286.06463 01-01 00:04:48.490 CPU1] CPU: 1 PID: 1918 Comm: sh Tainted: G        W    3.10.20-x86_64_moor-dirty #4
[  286.06467 01-01 00:04:48.490 CPU1]  ffff88007c300000 ffff88007ea83c28 ffffffff82a13ac1 ffff88007ea83c40
[  286.06472 01-01 00:04:48.490 CPU1]  ffffffff82a0d549 ffff88007ea93d00 ffff88007ea83cb0 ffffffff82a1b86b
[  286.06477 01-01 00:04:48.490 CPU1]  ffff88007c300000 ffff88004f199fd8 ffff88002ea84200 ffff88004f199fd8
[  286.06482 01-01 00:04:48.490 CPU1] Call Trace:
[  286.06485 01-01 00:04:48.490 CPU1]  <IRQ>  [<ffffffff82a13ac1>] dump_stack+0x19/0x1b
[  286.06489 01-01 00:04:48.490 CPU1]  [<ffffffff82a0d549>] __schedule_bug+0x61/0x70
[  286.06493 01-01 00:04:48.490 CPU1]  [<ffffffff82a1b86b>] __schedule+0x7fb/0x880
[  286.06496 01-01 00:04:48.490 CPU1]  [<ffffffff82a1b979>] schedule+0x29/0x70
[  286.06500 01-01 00:04:48.490 CPU1]  [<ffffffff82a1800e>] schedule_timeout+0x13e/0x270
[  286.06503 01-01 00:04:48.490 CPU1]  [<ffffffff820c34b0>] ? __internal_add_timer+0x140/0x140
[  286.06507 01-01 00:04:48.490 CPU1]  [<ffffffff82a1adb7>] wait_for_completion_timeout+0xd7/0x120
[  286.06511 01-01 00:04:48.490 CPU1]  [<ffffffff820eb3e0>] ? try_to_wake_up+0x320/0x320
[  286.06515 01-01 00:04:48.490 CPU1]  [<ffffffff8272bef9>] intel_scu_ipc_check_status+0x119/0x170
[  286.06518 01-01 00:04:48.490 CPU1]  [<ffffffff8209cdf7>] intel_mid_reboot+0x57/0xe0
[  286.06522 01-01 00:04:48.490 CPU1]  [<ffffffff82023849>] machine_emergency_restart+0x19/0x20
[  286.06526 01-01 00:04:48.490 CPU1]  [<ffffffff820cb6a8>] emergency_restart+0x18/0x20
[  286.06529 01-01 00:04:48.490 CPU1]  [<ffffffff82a0ce77>] panic+0x18f/0x1d6
[  286.06532 01-01 00:04:48.490 CPU1]  [<ffffffff82139543>] watchdog_timer_fn+0x163/0x170
[  286.06536 01-01 00:04:48.490 CPU1]  [<ffffffff820de795>] __run_hrtimer+0x85/0x270
[  286.06539 01-01 00:04:48.490 CPU1]  [<ffffffff821393e0>] ? watchdog+0x30/0x30
[  286.06543 01-01 00:04:48.490 CPU1]  [<ffffffff820df1f7>] hrtimer_interrupt+0x107/0x240
[  286.06546 01-01 00:04:48.490 CPU1]  [<ffffffff82a25016>] smp_apic_timer_interrupt+0x66/0x98
[  286.06550 01-01 00:04:48.490 CPU1]  [<ffffffff82a2416f>] apic_timer_interrupt+0x6f/0x80
[  286.06553 01-01 00:04:48.490 CPU1]  <EOI>  [<ffffffff82a1d520>] ? retint_restore_args+0xe/0xe
[  286.06558 01-01 00:04:48.490 CPU1]  [<ffffffff82436687>] ? direct_entry+0xe7/0xf0
[  286.06561 01-01 00:04:48.490 CPU1]  [<ffffffff82435ff2>] ? lkdtm_do_action+0x172/0x1d0
[  286.06565 01-01 00:04:48.490 CPU1]  [<ffffffff82436002>] ? lkdtm_do_action+0x182/0x1d0
[  286.06568 01-01 00:04:48.490 CPU1]  [<ffffffff82436687>] direct_entry+0xe7/0xf0
[  286.06572 01-01 00:04:48.490 CPU1]  [<ffffffff821ba566>] vfs_write+0xb6/0x1c0
[  286.06575 01-01 00:04:48.490 CPU1]  [<ffffffff821ba9fd>] SyS_write+0x4d/0x90
[  286.06578 01-01 00:04:48.490 CPU1]  [<ffffffff82a24925>] sysenter_dispatch+0x7/0x23
[  286.06586 01-01 00:04:48.490 CPU1] ------------[ cut here ]------------
[  286.06590 01-01 00:04:48.490 CPU1] WARNING: at /home/austin.kim/src/mof_kk_mr2_release_main/android/linux/kernel/arch/x86/kernel/smp.c:123 native_smp_send_reschedule+0x58/0x60()
[  286.06594 01-01 00:04:48.490 CPU1] Modules linked in: dfrgx snd_intel_sst snd_soc_sst_platform atomisp_css2401a0_v21 m10mo_spi m10mo_isp imx1x5 libmsrlisthelper rmi4 bcm_bt_lpm videobuf_vmalloc videobuf_core fps_throttle snd_moor_dpcm_rt5647 hds_max14688 snd_soc_rt5647 snd_hwdep
[  286.06610 01-01 00:04:48.490 CPU1] CPU: 1 PID: 37 Comm: cfinteractive Tainted: G        W    3.10.20-x86_64_moor-dirty #4
[  286.06614 01-01 00:04:48.490 CPU1]  0000000000000009 ffff88007a4c7c70 ffffffff82a13ac1 ffff88007a4c7ca8
[  286.06619 01-01 00:04:48.490 CPU1]  ffffffff820b2dd1 ffff88007797d280 0000000000000000 0000000000000003
[  286.06624 01-01 00:04:48.490 CPU1]  ffff88007972e310 ffff88007ea13d00 ffff88007a4c7cb8 ffffffff820b2e0a
[  286.06629 01-01 00:04:48.490 CPU1] Call Trace:
[  286.06632 01-01 00:04:48.490 CPU1]  [<ffffffff82a13ac1>] dump_stack+0x19/0x1b
[  286.06635 01-01 00:04:48.490 CPU1]  [<ffffffff820b2dd1>] warn_slowpath_common+0x61/0x80
[  286.06639 01-01 00:04:48.490 CPU1]  [<ffffffff820b2e0a>] warn_slowpath_null+0x1a/0x20
[  286.06642 01-01 00:04:48.490 CPU1]  [<ffffffff820241b8>] native_smp_send_reschedule+0x58/0x60
[  286.06646 01-01 00:04:48.490 CPU1]  [<ffffffff820e7f09>] resched_task+0x69/0x70
[  286.06649 01-01 00:04:48.490 CPU1]  [<ffffffff820f77e6>] push_rt_task.part.34+0x236/0x2f0
[  286.06653 01-01 00:04:48.490 CPU1]  [<ffffffff820f7958>] push_rt_tasks+0x28/0x30
[  286.06656 01-01 00:04:48.490 CPU1]  [<ffffffff820f79ce>] post_schedule_rt+0xe/0x10
[  286.06659 01-01 00:04:48.490 CPU1]  [<ffffffff82a1b524>] __schedule+0x4b4/0x880
[  286.06663 01-01 00:04:48.490 CPU1]  [<ffffffff82a1b979>] schedule+0x29/0x70
[  286.06666 01-01 00:04:48.490 CPU1]  [<ffffffff826a06f0>] cpufreq_interactive_speedchange_task+0x70/0x270
[  286.06670 01-01 00:04:48.490 CPU1]  [<ffffffff826a0680>] ? store_touchboostpulse_gov_pol+0x30/0x30
[  286.06674 01-01 00:04:48.490 CPU1]  [<ffffffff820db2bb>] kthread+0xeb/0xf0
[  286.06677 01-01 00:04:48.490 CPU1]  [<ffffffff820db1d0>] ? kthread_create_on_node+0x140/0x140
[  286.06680 01-01 00:04:48.490 CPU1]  [<ffffffff82a2345c>] ret_from_fork+0x7c/0xb0
[  286.06684 01-01 00:04:48.490 CPU1]  [<ffffffff820db1d0>] ? kthread_create_on_node+0x140/0x140
[  286.06687 01-01 00:04:48.490 CPU1] ---[ end trace fb4bbfe88e26ec2d ]---
[  286.06690 01-01 00:04:48.490 CPU1] ------------[ cut here ]------------
[  286.06694 01-01 00:04:48.490 CPU1] WARNING: at /home/austin.kim/src/mof_kk_mr2_release_main/android/linux/kernel/arch/x86/kernel/smp.c:123 native_smp_send_reschedule+0x58/0x60()
[  286.06698 01-01 00:04:48.490 CPU1] Modules linked in: dfrgx snd_intel_sst snd_soc_sst_platform atomisp_css2401a0_v21 m10mo_spi m10mo_isp imx1x5 libmsrlisthelper rmi4 bcm_bt_lpm videobuf_vmalloc videobuf_core fps_throttle snd_moor_dpcm_rt5647 hds_max14688 snd_soc_rt5647 snd_hwdep
[  286.06714 01-01 00:04:48.490 CPU1] CPU: 1 PID: 37 Comm: cfinteractive Tainted: G        W    3.10.20-x86_64_moor-dirty #4
[  286.06717 01-01 00:04:48.490 CPU1]  0000000000000009 ffff88007a4c7c70 ffffffff82a13ac1 ffff88007a4c7ca8
[  286.06723 01-01 00:04:48.490 CPU1]  ffffffff820b2dd1 ffff88007c0e5280 0000000000000002 0000000000000003
[  286.06728 01-01 00:04:48.490 CPU1]  ffff88007b4b5290 ffff88007eb13d00 ffff88007a4c7cb8 ffffffff820b2e0a
[  286.06733 01-01 00:04:48.490 CPU1] Call Trace:
[  286.06736 01-01 00:04:48.490 CPU1]  [<ffffffff82a13ac1>] dump_stack+0x19/0x1b
[  286.06739 01-01 00:04:48.490 CPU1]  [<ffffffff820b2dd1>] warn_slowpath_common+0x61/0x80
[  286.06742 01-01 00:04:48.490 CPU1]  [<ffffffff820b2e0a>] warn_slowpath_null+0x1a/0x20
[  286.06746 01-01 00:04:48.490 CPU1]  [<ffffffff820241b8>] native_smp_send_reschedule+0x58/0x60
[  286.06749 01-01 00:04:48.490 CPU1]  [<ffffffff820e7f09>] resched_task+0x69/0x70
[  286.06753 01-01 00:04:48.490 CPU1]  [<ffffffff820f77e6>] push_rt_task.part.34+0x236/0x2f0
[  286.06756 01-01 00:04:48.490 CPU1]  [<ffffffff820f7958>] push_rt_tasks+0x28/0x30
[  286.06760 01-01 00:04:48.490 CPU1]  [<ffffffff820f79ce>] post_schedule_rt+0xe/0x10
[  286.06763 01-01 00:04:48.490 CPU1]  [<ffffffff82a1b524>] __schedule+0x4b4/0x880
[  286.06766 01-01 00:04:48.490 CPU1]  [<ffffffff82a1b979>] schedule+0x29/0x70
[  286.06770 01-01 00:04:48.490 CPU1]  [<ffffffff826a06f0>] cpufreq_interactive_speedchange_task+0x70/0x270
[  286.06774 01-01 00:04:48.490 CPU1]  [<ffffffff826a0680>] ? store_touchboostpulse_gov_pol+0x30/0x30
[  286.06777 01-01 00:04:48.490 CPU1]  [<ffffffff820db2bb>] kthread+0xeb/0xf0
[  286.06780 01-01 00:04:48.490 CPU1]  [<ffffffff820db1d0>] ? kthread_create_on_node+0x140/0x140
[  286.06784 01-01 00:04:48.490 CPU1]  [<ffffffff82a2345c>] ret_from_fork+0x7c/0xb0
[  286.06787 01-01 00:04:48.490 CPU1]  [<ffffffff820db1d0>] ? kthread_create_on_node+0x140/0x140
[  286.06790 01-01 00:04:48.490 CPU1] ---[ end trace fb4bbfe88e26ec2e ]---
[  286.06794 01-01 00:04:48.490 CPU1] ------------[ cut here ]------------
[  286.06797 01-01 00:04:48.490 CPU1] WARNING: at /home/austin.kim/src/mof_kk_mr2_release_main/android/linux/kernel/arch/x86/kernel/smp.c:123 native_smp_send_reschedule+0x58/0x60()
[  286.06802 01-01 00:04:48.490 CPU1] Modules linked in: dfrgx snd_intel_sst snd_soc_sst_platform atomisp_css2401a0_v21 m10mo_spi m10mo_isp imx1x5 libmsrlisthelper rmi4 bcm_bt_lpm videobuf_vmalloc videobuf_core fps_throttle snd_moor_dpcm_rt5647 hds_max14688 snd_soc_rt5647 snd_hwdep
[  286.06817 01-01 00:04:48.490 CPU1] CPU: 1 PID: 37 Comm: cfinteractive Tainted: G        W    3.10.20-x86_64_moor-dirty #4
[  286.06821 01-01 00:04:48.490 CPU1]  0000000000000009 ffff88007a4c7c70 ffffffff82a13ac1 ffff88007a4c7ca8
[  286.06826 01-01 00:04:48.490 CPU1]  ffffffff820b2dd1 ffff88007c0e6300 0000000000000003 0000000000000003
[  286.06831 01-01 00:04:48.490 CPU1]  ffff88007972b190 ffff88007eb93d00 ffff88007a4c7cb8 ffffffff820b2e0a
[  286.06836 01-01 00:04:48.490 CPU1] Call Trace:
[  286.06839 01-01 00:04:48.490 CPU1]  [<ffffffff82a13ac1>] dump_stack+0x19/0x1b
[  286.06842 01-01 00:04:48.490 CPU1]  [<ffffffff820b2dd1>] warn_slowpath_common+0x61/0x80
[  286.06846 01-01 00:04:48.490 CPU1]  [<ffffffff820b2e0a>] warn_slowpath_null+0x1a/0x20
[  286.06849 01-01 00:04:48.490 CPU1]  [<ffffffff820241b8>] native_smp_send_reschedule+0x58/0x60
[  286.06853 01-01 00:04:48.490 CPU1]  [<ffffffff820e7f09>] resched_task+0x69/0x70
[  286.06856 01-01 00:04:48.490 CPU1]  [<ffffffff820f77e6>] push_rt_task.part.34+0x236/0x2f0
[  286.06860 01-01 00:04:48.490 CPU1]  [<ffffffff820f7958>] push_rt_tasks+0x28/0x30
[  286.06863 01-01 00:04:48.490 CPU1]  [<ffffffff820f79ce>] post_schedule_rt+0xe/0x10
[  286.06866 01-01 00:04:48.490 CPU1]  [<ffffffff82a1b524>] __schedule+0x4b4/0x880
[  286.06870 01-01 00:04:48.490 CPU1]  [<ffffffff82a1b979>] schedule+0x29/0x70
[  286.06873 01-01 00:04:48.490 CPU1]  [<ffffffff826a06f0>] cpufreq_interactive_speedchange_task+0x70/0x270
[  286.06877 01-01 00:04:48.490 CPU1]  [<ffffffff826a0680>] ? store_touchboostpulse_gov_pol+0x30/0x30
[  286.06880 01-01 00:04:48.490 CPU1]  [<ffffffff820db2bb>] kthread+0xeb/0xf0
[  286.06884 01-01 00:04:48.490 CPU1]  [<ffffffff820db1d0>] ? kthread_create_on_node+0x140/0x140
[  286.06887 01-01 00:04:48.490 CPU1]  [<ffffffff82a2345c>] ret_from_fork+0x7c/0xb0
[  286.06890 01-01 00:04:48.490 CPU1]  [<ffffffff820db1d0>] ? kthread_create_on_node+0x140/0x140
[  286.06894 01-01 00:04:48.490 CPU1] ---[ end trace fb4bbfe88e26ec2f ]---

'Core BSP 분석 > 리눅스 커널 핵심 분석' 카테고리의 다른 글

kernel panic - PANIC  (0) 2023.05.05
kernel panic - OVERFLOW  (0) 2023.05.05
kernel panic - HARDLOCKUP  (0) 2023.05.05
와치독 리셋 - atd daemon  (0) 2023.05.05
커널 패닉 이슈: tty_wakeup() 08/18/2014  (0) 2023.05.05