Core BSP 분석/리눅스 커널 핵심 분석 (90) 썸네일형 리스트형 register dump When kernel panic occurs in the arm processor, the __show_regs function is called. This function later calls show_extra_register_data(). 428 void __show_regs(struct pt_regs *regs) 429 { 430 unsigned long flags; 431 char buf[64]; 432 #if defined(CONFIG_CPU_CP15_MMU) && defined(CONFIG_LGE_HANDLE_PANIC_CP15) 433 unsigned int c1, c2; 434 #endif 435 436 printk("CPU: %d %s (%s %.*s)\n", 437 raw_smp_pr.. crashlogd [RAMDUMP_MODE] main do_ramdump_checks read_startupreason uptime_history update_logs_permission crashlog_check_panic_events crashlog_check_panic crashlog_check_ramdump perf: fix kernel panic when parsing user space CS ChangeLog V3: Keep rsp pointing to pt_regs before sysexit. ChangeLog V2: Before sysexit, perf NMI might arrive. There is still a race. Here we change rsp to keep it pointing to pt_regs->orig_ax. In addition, after sti, before sysexit, an irq might arrives. That causes more chances for perf NMI to jump in. We hit a kernel panic when running perf to collect some performance data. kenel is x86_64 a.. 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 : 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 m10.. kernel panic - OVERWRITE_ALLOCATION [ 113.01747 01-01 00:01:57.440 CPU0] lkdtm: Performing direct entry OVERWRITE_ALLOCATION [ 113.12525 01-01 00:01:57.550 CPU0] ------------[ cut here ]------------ [ 113.12541 01-01 00:01:57.550 CPU0] kernel BUG at /home/austin.kim/src/mof_kk_mr2_release_main/android/linux/kernel/mm/slub.c:3354! [ 113.12556 01-01 00:01:57.550 CPU0] invalid opcode: 0000 [#1] PREEMPT SMP [ 113.12570 01-01 00:01:57... kernel panic - PANIC [ 513.56334 01-01 00:08:38.070 CPU1] lkdtm: Performing direct entry PANIC [ 513.56355 01-01 00:08:38.070 CPU1] Kernel panic - not syncing: dumptest [ 513.56372 01-01 00:08:38.070 CPU1] CPU: 1 PID: 1981 Comm: sh Tainted: G W 3.10.20-x86_64_moor-dirty #4 [ 513.56386 01-01 00:08:38.070 CPU1] 0000000000000006 ffff8800592d5e18 ffffffff82a13ac1 ffff8800592d5e90 [ 513.56408 01-01 00:08:38.070 CPU1] fff.. kernel panic - OVERFLOW [ 92.65582 01-01 00:01:37.050 CPU3] BUG: scheduling while atomic: sh/1865/0xffffffff [ 92.65583 01-01 00:01:37.050 CPU3] INFO: lockdep is turned off. [ 92.65591 01-01 00:01:37.050 CPU3] 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_m.. 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.47.. 이전 1 ··· 6 7 8 9 10 11 12 다음