본문 바로가기

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

kernel panic - WRITE_AFTER_FREE

[  231.40413 01-01 00:03:55.820 CPU1] lkdtm: Performing direct entry WRITE_AFTER_FREE
[  231.83154 01-01 00:03:56.240 CPU0] [Touch] touch_pressed    <0> : x[2742] y[3401] A[  4] P[ 46] WM[ 11] Wm[ 10]
[  231.91751 01-01 00:03:56.320 CPU1] general protection fault: 0000 [#1] PREEMPT SMP
[  231.91761 01-01 00:03:56.320 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
[  231.91777 01-01 00:03:56.320 CPU1] CPU: 1 PID: 750 Comm: ndroid.systemui Tainted: G        W    3.10.20-x86_64_moor-dirty #4
[  231.91782 01-01 00:03:56.320 CPU1] task: ffff88003f869080 ti: ffff88003d230000 task.ti: ffff88003d230000
[  231.91786 01-01 00:03:56.320 CPU1] RIP: 0010:[<ffffffff821b2b6b>]  [<ffffffff821b2b6b>] __kmalloc+0xcb/0x210
[  231.91792 01-01 00:03:56.320 CPU1] RSP: 0018:ffff88003d231950  EFLAGS: 00210206
[  231.91795 01-01 00:03:56.320 CPU1] RAX: 0000000000000000 RBX: ffff88007ea96ca0 RCX: 0000000000002649
[  231.91799 01-01 00:03:56.320 CPU1] RDX: 0000000000002645 RSI: ffffffff827eda75 RDI: 0000000000016ca0
[  231.91803 01-01 00:03:56.320 CPU1] RBP: ffff88003d231990 R08: 0000000000000000 R09: 0000000000000000
[  231.91807 01-01 00:03:56.320 CPU1] R10: 0000000000000000 R11: 0000000000000000 R12: 7878787878787878
[  231.91811 01-01 00:03:56.320 CPU1] R13: 00000000000000d0 R14: 0000000000000218 R15: ffff88007c001780
[  231.91814 01-01 00:03:56.320 CPU1] FS:  0000000000000000(0000) GS:ffff88007ea80000(0063) knlGS:000000006ff1c280
[  231.91819 01-01 00:03:56.320 CPU1] CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
[  231.91822 01-01 00:03:56.320 CPU1] CR2: 0000000031ec2030 CR3: 000000003e495000 CR4: 00000000001007e0
[  231.91826 01-01 00:03:56.320 CPU1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  231.91830 01-01 00:03:56.320 CPU1] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[  231.91834 01-01 00:03:56.320 CPU1] Stack:
[  231.91836 01-01 00:03:56.320 CPU1]  0000000000002645 ffff88003d231fd8 ffffffff827eda75 0000000000000000
[  231.91841 01-01 00:03:56.320 CPU1]  ffff88002d4cb400 ffff880034214500 ffff88003d231c10 ffff8800772bfb30
[  231.91847 01-01 00:03:56.320 CPU1]  ffff88003d2319a0 ffffffff827eda75 ffff88003d231be0 ffffffff82818643
[  231.91852 01-01 00:03:56.320 CPU1] Call Trace:
[  231.91856 01-01 00:03:56.320 CPU1]  [<ffffffff827eda75>] ? OSAllocMem+0x15/0x20
[  231.91859 01-01 00:03:56.320 CPU1]  [<ffffffff827eda75>] OSAllocMem+0x15/0x20
[  231.91863 01-01 00:03:56.320 CPU1]  [<ffffffff82818643>] PVRSRVBridgeRGXKickTA3D.isra.2+0x1263/0x1850
[  231.91867 01-01 00:03:56.320 CPU1]  [<ffffffff820e90bd>] ? get_parent_ip+0xd/0x50
[  231.91870 01-01 00:03:56.320 CPU1]  [<ffffffff82a20b61>] ? sub_preempt_count+0x71/0x100
[  231.91874 01-01 00:03:56.320 CPU1]  [<ffffffff821b1a2b>] ? kfree+0xfb/0x220
[  231.91877 01-01 00:03:56.320 CPU1]  [<ffffffff827edace>] ? OSFreeMem+0xe/0x10
[  231.91881 01-01 00:03:56.320 CPU1]  [<ffffffff827e96fa>] ? _MMU_FreeLevel+0xfa/0x200
[  231.91884 01-01 00:03:56.320 CPU1]  [<ffffffff82819076>] compat_PVRSRVBridgeRGXKickTA3D+0x446/0x450
[  231.91888 01-01 00:03:56.320 CPU1]  [<ffffffff827ead41>] BridgedDispatchKM+0x91/0x240
[  231.91892 01-01 00:03:56.320 CPU1]  [<ffffffff827f1197>] PVRSRV_BridgeDispatchKM+0x37/0x50
[  231.91896 01-01 00:03:56.320 CPU1]  [<ffffffff823e9d54>] drm_ioctl+0x494/0x700
[  231.91899 01-01 00:03:56.320 CPU1]  [<ffffffff827f1160>] ? LinuxBridgeDeInit+0x10/0x10
[  231.91903 01-01 00:03:56.320 CPU1]  [<ffffffff82a19ea8>] ? _mutex_lock+0x28/0x40
[  231.91906 01-01 00:03:56.320 CPU1]  [<ffffffff82a20b61>] ? sub_preempt_count+0x71/0x100
[  231.91910 01-01 00:03:56.320 CPU1]  [<ffffffff82773317>] compat_PVRSRV_BridgeDispatchKM2+0xf7/0x140
[  231.91913 01-01 00:03:56.320 CPU1]  [<ffffffff827716d9>] psb_compat_ioctl+0x29/0x50
[  231.91917 01-01 00:03:56.320 CPU1]  [<ffffffff8220b854>] compat_sys_ioctl+0xb4/0x300
[  231.91920 01-01 00:03:56.320 CPU1]  [<ffffffff82a24925>] sysenter_dispatch+0x7/0x23
[  231.91923 01-01 00:03:56.320 CPU1] Code: 00 48 8b 4d c8 48 8b 55 c0 48 8b 81 38 e0 ff ff a8 08 0f 85 b7 00 00 00 4c 8b 23 4d 85 e4 74 7c 49 63 47 20 48 8d 4a 04 49 8b 3f <49> 8b 1c 04 4c 89 e0 65 48 0f c7 0f 0f 94 c0 84 c0 74 9b 49 63
[  231.91968 01-01 00:03:56.320 CPU1] RIP  [<ffffffff821b2b6b>] __kmalloc+0xcb/0x210
[  231.91972 01-01 00:03:56.320 CPU1]  RSP <ffff88003d231950>
[  231.91983 01-01 00:03:56.330 CPU1] general protection fault: 0000 [#2] PREEMPT SMP
[  231.91989 01-01 00:03:56.330 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
[  231.92005 01-01 00:03:56.330 CPU1] CPU: 1 PID: 405 Comm: kernel_logger Tainted: G      D W    3.10.20-x86_64_moor-dirty #4
[  231.92009 01-01 00:03:56.330 CPU1] task: ffff880062cb5280 ti: ffff880076814000 task.ti: ffff880076814000
[  231.92013 01-01 00:03:56.330 CPU1] RIP: 0010:[<ffffffff821b276a>] [  231.97042 01-01 00:03:56.330 CPU1] RAX: 0000000000000000 RBX: ffff88007ea96ca0 RCX: 0000000000002649
[  231.97046 01-01 00:03:56.330 CPU1] RDX: 0000000000002645 RSI: ffffffff820b5d87 RDI: ffffffff821b2741
[  231.97050 01-01 00:03:56.330 CPU1] RBP: ffff880076815ef0 R08: 0000000000016ca0 R09: 0000000000000000
[  231.97054 01-01 00:03:56.330 CPU1] R10: 0000000000000000 R11: 0000000000000000 R12: 7878787878787878
[  231.97056 01-01 00:03:56.330 CPU1] Kernel panic - not syncing: Fatal exception
[  231.97061 01-01 00:03:56.330 CPU1] R13: 00000000000000d0 R14: ffff88007c001780 R15: 0000000000002645
[  231.97065 01-01 00:03:56.390 CPU1] FS:  0000000000000000(0000) GS:ffff88007ea80000(0063) knlGS:00000000f7717280
[  231.97069 01-01 00:03:56.390 CPU1] CS:  0010 DS: 002b ES: 002b CR0: 000000008005003b
[  231.97072 01-01 00:03:56.390 CPU1] CR2: 0000000031ec2030 CR3: 0000000062d84000 CR4: 00000000001007e0
[  231.97076 01-01 00:03:56.390 CPU1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  231.97080 01-01 00:03:56.390 CPU1] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[  231.97084 01-01 00:03:56.390 CPU1] Stack:
[  231.97086 01-01 00:03:56.390 CPU1]  ffffffff820b5d87 ffff880076815fd8 0000000000000400 0000000000000000
[  231.97091 01-01 00:03:56.390 CPU1]  ffff880062cb5280 0000000000000000 0000000000080000 00000000ffe67bbc
[  231.97097 01-01 00:03:56.390 CPU1]  ffff880076815f68 ffffffff820b5d87 0000000000000003 0000000000000000
[  231.97102 01-01 00:03:56.390 CPU1] Call Trace:
[  231.97105 01-01 00:03:56.390 CPU1]  [<ffffffff820b5d87>] ? do_syslog+0x227/0x530
[  231.97109 01-01 00:03:56.390 CPU1]  [<ffffffff820b5d87>] do_syslog+0x227/0x530
[  231.97112 01-01 00:03:56.390 CPU1]  [<ffffffff820db820>] ? wake_up_bit+0x30/0x30
[  231.97116 01-01 00:03:56.390 CPU1]  [<ffffffff820b60a0>] SyS_syslog+0x10/0x20
[  231.97119 01-01 00:03:56.390 CPU1]  [<ffffffff82a24925>] sysenter_dispatch+0x7/0x23
[  231.97122 01-01 00:03:56.390 CPU1] Code: 86 00 48 8b 55 c8 48 8b 82 38 e0 ff ff a8 08 0f 85 b3 00 00 00 4c 8b 23 4d 85 e4 74 78 49 63 46 20 49 8d 4f 04 4d 8b 06 4c 89 fa <49> 8b 1c 04 4c 89 e0 65 49 0f c7 08 0f 94 c0 84 c0 74 a0 49 63
[  231.97168 01-01 00:03:56.390 CPU1] RIP  [<ffffffff821b276a>] kmem_cache_alloc_trace+0xaa/0x1d0
[  231.97172 01-01 00:03:56.390 CPU1]  RSP <ffff880076815eb0>
[  232.02314 01-01 00:03:56.390 CPU2] SCU trace on Kernel panic:
[  232.02323 01-01 00:03:56.390 CPU2] SCU trace logging data:
...
[  232.05481 01-01 00:03:56.390 CPU2] Rebooting in 2 seconds..
[  234.05519 01-01 00:03:56.390 CPU2] Jump FW upgrade process
[  234.05528 01-01 00:03:56.390 CPU2] 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
[  234.05541 01-01 00:03:56.390 CPU2] in_atomic(): 1, irqs_disabled(): 1, pid: 750, name: ndroid.systemui
[  234.05550 01-01 00:03:56.390 CPU2] INFO: lockdep is turned off.
[  234.05557 01-01 00:03:56.390 CPU2] CPU: 2 PID: 750 Comm: ndroid.systemui Tainted: G      D W    3.10.20-x86_64_moor-dirty #4
[  234.05567 01-01 00:03:56.390 CPU2]  ffffffff83d4aba0 ffff88003d2316d0 ffffffff82a13ac1 ffff88003d2316e8
[  234.05581 01-01 00:03:56.390 CPU2]  ffffffff820e59c0 000000000000012c ffff88003d231740 ffffffff82a1ad13
[  234.05595 01-01 00:03:56.390 CPU2]  0000000000000000 ffffffff82f5a52f 0000000000000000 000000003d231730
[  234.05609 01-01 00:03:56.390 CPU2] Call Trace:
[  234.05617 01-01 00:03:56.390 CPU2]  [<ffffffff82a13ac1>] dump_stack+0x19/0x1b
[  234.05627 01-01 00:03:56.390 CPU2]  [<ffffffff820e59c0>] __might_sleep+0x110/0x120
[  234.05636 01-01 00:03:56.390 CPU2]  [<ffffffff82a1ad13>] wait_for_completion_timeout+0x33/0x120
[  234.05646 01-01 00:03:56.390 CPU2]  [<ffffffff8272bef9>] intel_scu_ipc_check_status+0x119/0x170
[  234.05656 01-01 00:03:56.390 CPU2]  [<ffffffff8209cdf7>] intel_mid_reboot+0x57/0xe0
[  234.05666 01-01 00:03:56.390 CPU2]  [<ffffffff82023849>] machine_emergency_restart+0x19/0x20
[  234.05676 01-01 00:03:56.390 CPU2]  [<ffffffff820cb6a8>] emergency_restart+0x18/0x20
[  234.05685 01-01 00:03:56.390 CPU2]  [<ffffffff82a0ce77>] panic+0x18f/0x1d6
[  234.05694 01-01 00:03:56.390 CPU2]  [<ffffffff820d7a4a>] ? __rcu_read_unlock+0x5a/0x60
[  234.05704 01-01 00:03:56.390 CPU2]  [<ffffffff82140b87>] ? rcu_report_unblock_qs_rnp+0x27/0x90
[  234.05714 01-01 00:03:56.390 CPU2]  [<ffffffff82a1e3c5>] oops_end+0xb5/0xd0
[  234.05722 01-01 00:03:56.390 CPU2]  [<ffffffff82005a7b>] die+0x4b/0x70
[  234.05731 01-01 00:03:56.390 CPU2]  [<ffffffff82a1de73>] do_general_protection+0x163/0x200
[  234.05740 01-01 00:03:56.390 CPU2]  [<ffffffff82a1d732>] general_protection+0x22/0x30
[  234.05750 01-01 00:03:56.390 CPU2]  [<ffffffff827eda75>] ? OSAllocMem+0x15/0x20
[  234.05759 01-01 00:03:56.390 CPU2]  [<ffffffff821b2b6b>] ? __kmalloc+0xcb/0x210
[  234.05768 01-01 00:03:56.390 CPU2]  [<ffffffff827eda75>] ? OSAllocMem+0x15/0x20
[  234.05777 01-01 00:03:56.390 CPU2]  [<ffffffff827eda75>] OSAllocMem+0x15/0x20
[  234.05787 01-01 00:03:56.390 CPU2]  [<ffffffff82818643>] PVRSRVBridgeRGXKickTA3D.isra.2+0x1263/0x1850
[  234.05797 01-01 00:03:56.390 CPU2]  [<ffffffff820e90bd>] ? get_parent_ip+0xd/0x50
[  234.05806 01-01 00:03:56.390 CPU2]  [<ffffffff82a20b61>] ? sub_preempt_count+0x71/0x100
[  234.05815 01-01 00:03:56.390 CPU2]  [<ffffffff821b1a2b>] ? kfree+0xfb/0x220
[  234.05824 01-01 00:03:56.390 CPU2]  [<ffffffff827edace>] ? OSFreeMem+0xe/0x10
[  234.05833 01-01 00:03:56.390 CPU2]  [<ffffffff827e96fa>] ? _MMU_FreeLevel+0xfa/0x200
[  234.05843 01-01 00:03:56.390 CPU2]  [<ffffffff82819076>] compat_PVRSRVBridgeRGXKickTA3D+0x446/0x450
[  234.05854 01-01 00:03:56.390 CPU2]  [<ffffffff827ead41>] BridgedDispatchKM+0x91/0x240
[  234.05864 01-01 00:03:56.390 CPU2]  [<ffffffff827f1197>] PVRSRV_BridgeDispatchKM+0x37/0x50
[  234.05873 01-01 00:03:56.390 CPU2]  [<ffffffff823e9d54>] drm_ioctl+0x494/0x700
[  234.05882 01-01 00:03:56.390 CPU2]  [<ffffffff827f1160>] ? LinuxBridgeDeInit+0x10/0x10
[  234.05891 01-01 00:03:56.390 CPU2]  [<ffffffff82a19ea8>] ? _mutex_lock+0x28/0x40
[  234.05900 01-01 00:03:56.390 CPU2]  [<ffffffff82a20b61>] ? sub_preempt_count+0x71/0x100
[  234.05910 01-01 00:03:56.390 CPU2]  [<ffffffff82773317>] compat_PVRSRV_BridgeDispatchKM2+0xf7/0x140
[  234.05920 01-01 00:03:56.390 CPU2]  [<ffffffff827716d9>] psb_compat_ioctl+0x29/0x50
[  234.05929 01-01 00:03:56.390 CPU2]  [<ffffffff8220b854>] compat_sys_ioctl+0xb4/0x300
[  234.05939 01-01 00:03:56.390 CPU2]  [<ffffffff82a24925>] sysenter_dispatch+0x7/0x23
[  234.05948 01-01 00:03:56.390 CPU2] BUG: scheduling while atomic: ndroid.systemui/750/0x00000002
[  234.05957 01-01 00:03:56.390 CPU2] INFO: lockdep is turned off.
[  234.05963 01-01 00:03:56.390 CPU2] 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
[  234.06006 01-01 00:03:56.390 CPU2] CPU: 2 PID: 750 Comm: ndroid.systemui Tainted: G      D W    3.10.20-x86_64_moor-dirty #4
[  234.06016 01-01 00:03:56.390 CPU2]  ffff88007b8dc000 ffff88003d231598 ffffffff82a13ac1 ffff88003d2315b0
[  234.06030 01-01 00:03:56.390 CPU2]  ffffffff82a0d549 ffff88007eb13d00 ffff88003d231620 ffffffff82a1b86b
[  234.06044 01-01 00:03:56.390 CPU2]  ffff88007b8dc000 ffff88003d231fd8 ffff88003f869080 ffff88003d231fd8
[  234.06057 01-01 00:03:56.390 CPU2] Call Trace:
[  234.06065 01-01 00:03:56.390 CPU2]  [<ffffffff82a13ac1>] dump_stack+0x19/0x1b
[  234.06074 01-01 00:03:56.390 CPU2]  [<ffffffff82a0d549>] __schedule_bug+0x61/0x70
[  234.06083 01-01 00:03:56.390 CPU2]  [<ffffffff82a1b86b>] __schedule+0x7fb/0x880
[  234.06092 01-01 00:03:56.390 CPU2]  [<ffffffff82a1b979>] schedule+0x29/0x70
[  234.06101 01-01 00:03:56.390 CPU2]  [<ffffffff82a1800e>] schedule_timeout+0x13e/0x270
[  234.06111 01-01 00:03:56.390 CPU2]  [<ffffffff820c34b0>] ? __internal_add_timer+0x140/0x140
[  234.06120 01-01 00:03:56.390 CPU2]  [<ffffffff82a1adb7>] wait_for_completion_timeout+0xd7/0x120
[  234.06130 01-01 00:03:56.390 CPU2]  [<ffffffff820eb3e0>] ? try_to_wake_up+0x320/0x320
[  234.06140 01-01 00:03:56.390 CPU2]  [<ffffffff8272bef9>] intel_scu_ipc_check_status+0x119/0x170
[  234.06150 01-01 00:03:56.390 CPU2]  [<ffffffff8209cdf7>] intel_mid_reboot+0x57/0xe0
[  234.06159 01-01 00:03:56.390 CPU2]  [<ffffffff82023849>] machine_emergency_restart+0x19/0x20
[  234.06169 01-01 00:03:56.390 CPU2]  [<ffffffff820cb6a8>] emergency_restart+0x18/0x20
[  234.06178 01-01 00:03:56.390 CPU2]  [<ffffffff82a0ce77>] panic+0x18f/0x1d6
[  234.06187 01-01 00:03:56.390 CPU2]  [<ffffffff820d7a4a>] ? __rcu_read_unlock+0x5a/0x60
[  234.06196 01-01 00:03:56.390 CPU2]  [<ffffffff82140b87>] ? rcu_report_unblock_qs_rnp+0x27/0x90
[  234.06206 01-01 00:03:56.390 CPU2]  [<ffffffff82a1e3c5>] oops_end+0xb5/0xd0
[  234.06215 01-01 00:03:56.390 CPU2]  [<ffffffff82005a7b>] die+0x4b/0x70
[  234.06223 01-01 00:03:56.390 CPU2]  [<ffffffff82a1de73>] do_general_protection+0x163/0x200
[  234.06233 01-01 00:03:56.390 CPU2]  [<ffffffff82a1d732>] general_protection+0x22/0x30
[  234.06242 01-01 00:03:56.390 CPU2]  [<ffffffff827eda75>] ? OSAllocMem+0x15/0x20
[  234.06251 01-01 00:03:56.390 CPU2]  [<ffffffff821b2b6b>] ? __kmalloc+0xcb/0x210
[  234.06260 01-01 00:03:56.390 CPU2]  [<ffffffff827eda75>] ? OSAllocMem+0x15/0x20
[  234.06269 01-01 00:03:56.390 CPU2]  [<ffffffff827eda75>] OSAllocMem+0x15/0x20
[  234.06278 01-01 00:03:56.390 CPU2]  [<ffffffff82818643>] PVRSRVBridgeRGXKickTA3D.isra.2+0x1263/0x1850
[  234.06288 01-01 00:03:56.390 CPU2]  [<ffffffff820e90bd>] ? get_parent_ip+0xd/0x50
[  234.06297 01-01 00:03:56.390 CPU2]  [<ffffffff82a20b61>] ? sub_preempt_count+0x71/0x100
[  234.06306 01-01 00:03:56.390 CPU2]  [<ffffffff821b1a2b>] ? kfree+0xfb/0x220
[  234.06315 01-01 00:03:56.390 CPU2]  [<ffffffff827edace>] ? OSFreeMem+0xe/0x10
[  234.06324 01-01 00:03:56.390 CPU2]  [<ffffffff827e96fa>] ? _MMU_FreeLevel+0xfa/0x200
[  234.06335 01-01 00:03:56.390 CPU2]  [<ffffffff82819076>] compat_PVRSRVBridgeRGXKickTA3D+0x446/0x450
[  234.06345 01-01 00:03:56.390 CPU2]  [<ffffffff827ead41>] BridgedDispatchKM+0x91/0x240
[  234.06355 01-01 00:03:56.390 CPU2]  [<ffffffff827f1197>] PVRSRV_BridgeDispatchKM+0x37/0x50
[  234.06364 01-01 00:03:56.390 CPU2]  [<ffffffff823e9d54>] drm_ioctl+0x494/0x700
[  234.06373 01-01 00:03:56.390 CPU2]  [<ffffffff827f1160>] ? LinuxBridgeDeInit+0x10/0x10
[  234.06382 01-01 00:03:56.390 CPU2]  [<ffffffff82a19ea8>] ? _mutex_lock+0x28/0x40
[  234.06391 01-01 00:03:56.390 CPU2]  [<ffffffff82a20b61>] ? sub_preempt_count+0x71/0x100
[  234.06401 01-01 00:03:56.390 CPU2]  [<ffffffff82773317>] compat_PVRSRV_BridgeDispatchKM2+0xf7/0x140
[  234.06411 01-01 00:03:56.390 CPU2]  [<ffffffff827716d9>] psb_compat_ioctl+0x29/0x50
[  234.06420 01-01 00:03:56.390 CPU2]  [<ffffffff8220b854>] compat_sys_ioctl+0xb4/0x300
[  234.06429 01-01 00:03:56.390 CPU2]  [<ffffffff82a24925>] sysenter_dispatch+0x7/0x23
[  234.06442 01-01 00:03:56.390 CPU2] intel_scu_watchdog_evo: timeout=15s, pre_timeout=15s
[  234.06456 01-01 00:03:56.390 CPU2] BUG: scheduling while atomic: ksoftirqd/2/19/0x00000101
[  234.06464 01-01 00:03:56.390 CPU2] INFO: lockdep is turned off.
[  234.06471 01-01 00:03:56.390 CPU2] 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
[  234.06512 01-01 00:03:56.390 CPU2] CPU: 2 PID: 19 Comm: ksoftirqd/2 Tainted: G      D W    3.10.20-x86_64_moor-dirty #4
[  234.06521 01-01 00:03:56.390 CPU2]  ffff88007b8dc000 ffff88007b8cd920 ffffffff82a13ac1 ffff88007b8cd938
[  234.06535 01-01 00:03:56.390 CPU2]  ffffffff82a0d549 ffff88007eb13d00 ffff88007b8cd9a8 ffffffff82a1b86b
[  234.06548 01-01 00:03:56.390 CPU2]  ffff88007b8dc000 ffff88007b8cdfd8 ffff88007b8d0000 ffff88007b8cdfd8
[  234.06562 01-01 00:03:56.390 CPU2] Call Trace:
[  234.06569 01-01 00:03:56.390 CPU2]  [<ffffffff82a13ac1>] dump_stack+0x19/0x1b
[  234.06578 01-01 00:03:56.390 CPU2]  [<ffffffff82a0d549>] __schedule_bug+0x61/0x70
[  234.06587 01-01 00:03:56.390 CPU2]  [<ffffffff82a1b86b>] __schedule+0x7fb/0x880
[  234.06596 01-01 00:03:56.390 CPU2]  [<ffffffff82a1b979>] schedule+0x29/0x70
[  234.06605 01-01 00:03:56.390 CPU2]  [<ffffffff82a1800e>] schedule_timeout+0x13e/0x270
[  234.06614 01-01 00:03:56.390 CPU2]  [<ffffffff826a3de0>] ? read_measured_perf_ctrs+0x70/0x70
[  234.06624 01-01 00:03:56.390 CPU2]  [<ffffffff820c34b0>] ? __internal_add_timer+0x140/0x140
[  234.06633 01-01 00:03:56.390 CPU2]  [<ffffffff82a1adb7>] wait_for_completion_timeout+0xd7/0x120
[  234.06643 01-01 00:03:56.390 CPU2]  [<ffffffff820eb3e0>] ? try_to_wake_up+0x320/0x320
[  234.06652 01-01 00:03:56.390 CPU2]  [<ffffffff8272bef9>] intel_scu_ipc_check_status+0x119/0x170
[  234.06662 01-01 00:03:56.390 CPU2]  [<ffffffff8272c034>] intel_scu_ipc_raw_cmd+0xe4/0x170
[  234.06671 01-01 00:03:56.390 CPU2]  [<ffffffff8273cf3d>] scu_ipc_raw_command+0x3d/0x50
[  234.06680 01-01 00:03:56.390 CPU2]  [<ffffffff8273d225>] scu_ipc_rpmsg_handle+0x165/0x260
[  234.06690 01-01 00:03:56.390 CPU2]  [<ffffffff8273d690>] intel_mid_rproc_msg_handle+0x70/0xd0
[  234.06699 01-01 00:03:56.390 CPU2]  [<ffffffff8273cdc9>] intel_rproc_scu_kick+0xb9/0x150
[  234.06708 01-01 00:03:56.390 CPU2]  [<ffffffff8273c1b2>] rproc_virtio_notify+0x32/0x60
[  234.06718 01-01 00:03:56.390 CPU2]  [<ffffffff823a48ec>] virtqueue_kick+0x1c/0x30
[  234.06726 01-01 00:03:56.390 CPU2]  [<ffffffff8273db96>] rpmsg_send_offchannel_raw+0x106/0x390
[  234.06736 01-01 00:03:56.390 CPU2]  [<ffffffff82a19ea8>] ? _mutex_lock+0x28/0x40
[  234.06745 01-01 00:03:56.390 CPU2]  [<ffffffff8273f1d2>] rpmsg_send_command+0x102/0x220
[  234.06754 01-01 00:03:56.390 CPU2]  [<ffffffff8267261b>] watchdog_set_timeouts_and_start+0x3b/0x60
[  234.06764 01-01 00:03:56.390 CPU2]  [<ffffffff82672679>] watchdog_config_and_start+0x39/0x70
[  234.06773 01-01 00:03:56.390 CPU2]  [<ffffffff826726c8>] watchdog_panic_tasklet_body+0x18/0x30
[  234.06782 01-01 00:03:56.390 CPU2]  [<ffffffff820bbdac>] tasklet_action+0x6c/0xe0
[  234.06791 01-01 00:03:56.390 CPU2]  [<ffffffff820bb870>] __do_softirq+0x110/0x2d0
[  234.06800 01-01 00:03:56.390 CPU2]  [<ffffffff820bba5d>] run_ksoftirqd+0x2d/0x60
[  234.06809 01-01 00:03:56.390 CPU2]  [<ffffffff820e34d4>] smpboot_thread_fn+0x1d4/0x2e0
[  234.06818 01-01 00:03:56.390 CPU2]  [<ffffffff820e3300>] ? lg_global_unlock+0x90/0x90
[  234.06827 01-01 00:03:56.390 CPU2]  [<ffffffff820db2bb>] kthread+0xeb/0xf0
[  234.06836 01-01 00:03:56.390 CPU2]  [<ffffffff820db1d0>] ? kthread_create_on_node+0x140/0x140
[  234.06845 01-01 00:03:56.390 CPU2]  [<ffffffff82a2345c>] ret_from_fork+0x7c/0xb0
[  234.06854 01-01 00:03:56.390 CPU2]  [<ffffffff820db1d0>] ? kthread_create_on_node+0x140/0x140

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

crashlogd  (0) 2023.05.05
perf: fix kernel panic when parsing user space CS  (0) 2023.05.05
kernel panic - OVERWRITE_ALLOCATION  (0) 2023.05.05
kernel panic - PANIC  (0) 2023.05.05
kernel panic - OVERFLOW  (0) 2023.05.05