“What is the kernel die message”的版本间的差异
来自个人维基
free6d1823(讨论 | 贡献) |
free6d1823(讨论 | 贡献) |
||
第32行: | 第32行: | ||
[ 0.933141] x1 : 0000000000000000 x0 : 0000000000000000 | [ 0.933141] x1 : 0000000000000000 x0 : 0000000000000000 | ||
[ 0.938519] Process swapper/0 (pid: 1, stack limit = 0xffff000008068000) //line236 | [ 0.938519] Process swapper/0 (pid: 1, stack limit = 0xffff000008068000) //line236 | ||
+ | dump_backtrace | ||
[ 0.945285] Call trace: | [ 0.945285] Call trace: | ||
[ 0.947798] Exception stack(0xffff00000806baa0 to 0xffff00000806bbe0) | [ 0.947798] Exception stack(0xffff00000806baa0 to 0xffff00000806bbe0) | ||
− | [ 0.954304] baa0: 0000000000000000 0000000000000000 ffff00000944dfe0 0000000000000000 | + | [ 0.954304] baa0: 0000000000000000 0000000000000000 ffff00000944dfe0 0000000000000000 |
[ 0.962196] bac0: ffff0000091d4190 0000000000000000 000000000000003f 0000000000000000 | [ 0.962196] bac0: ffff0000091d4190 0000000000000000 000000000000003f 0000000000000000 | ||
[ 0.970091] bae0: ffff8000dc203d80 0000000000000000 0101010101010101 0000000000000028 | [ 0.970091] bae0: ffff8000dc203d80 0000000000000000 0101010101010101 0000000000000028 | ||
第44行: | 第45行: | ||
[ 1.017435] bba0: ffff0000084f5320 0000000040000045 ffff00000806bbe0 ffff0000084f5304 | [ 1.017435] bba0: ffff0000084f5320 0000000040000045 ffff00000806bbe0 ffff0000084f5304 | ||
[ 1.025327] bbc0: ffffffffffffffff 00000000fffffffe ffff00000806bbe0 ffff0000084f5320 | [ 1.025327] bbc0: ffffffffffffffff 00000000fffffffe ffff00000806bbe0 ffff0000084f5320 | ||
− | [ 1.033221] [<ffff0000084f5320>] amba_device_try_add+0xe8/0x268 | + | dump_backtrace_entry |
+ | [ 1.033221] [<ffff0000084f5320>] amba_device_try_add+0xe8/0x268 //print_ip_sym | ||
[ 1.039201] [<ffff0000084f5588>] amba_device_add+0x18/0xe0 | [ 1.039201] [<ffff0000084f5588>] amba_device_add+0x18/0xe0 | ||
[ 1.044762] [<ffff000008922fc8>] of_platform_bus_create+0x2b8/0x320 | [ 1.044762] [<ffff000008922fc8>] of_platform_bus_create+0x2b8/0x320 |
2019年11月15日 (五) 20:08的版本
These messages come from static int __die(const char *str, int err, struct pt_regs *regs) in arch/arm64kernel/traps.c
So let's see what they mean.
[ 0.811029] Internal error: <reason in string>: <error code> [#<die_count>] PREEMPT SMP // [ 0.816251] Modules linked in: //print_modules() [ 0.819383] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.14.0-rc7-linaro-hikey960+ #1 [ 0.827174] Hardware name: HiKey960 (DT) //m __show_regs [ 0.831162] task: ffff8000dc910000 task.stack: ffff000008068000 [ 0.837164] PC is at amba_device_try_add+0xe8/0x268 [ 0.842089] LR is at amba_device_try_add+0xcc/0x268 [ 0.847031] pc : [<ffff0000084f5320>] lr : [<ffff0000084f5304>] pstate: 40000045 //PC, LR, PSTATE [ 0.854489] sp : ffff00000806bbe0 //SP [ 0.857868] x29: ffff00000806bbe0 x28: ffff000009040588 [ 0.863246] x27: 0000000000000004 x26: 0000000000000000 [ 0.868622] x25: ffff8000defe5088 x24: 0000000000000000 [ 0.873999] x23: ffff00000944d000 x22: 0000000000001000 [ 0.879380] x21: ffff8000dc21a6f8 x20: 0000000000000000 [ 0.884752] x19: ffff8000dc21a400 x18: 0000000000000020 [ 0.890133] x17: 0000000000000001 x16: 00000000deadbeef [ 0.895505] x15: ffffffffffffffff x14: ffffffffffffffff [ 0.900882] x13: 0000000000000020 x12: 0101010101010101 [ 0.906258] x11: 0000000000000028 x10: 0101010101010101 [ 0.911635] x9 : 0000000000000000 x8 : ffff8000dc203d80 [ 0.917011] x7 : 0000000000000000 x6 : 000000000000003f [ 0.922388] x5 : 0000000000000000 x4 : ffff0000091d4190 [ 0.927765] x3 : 0000000000000000 x2 : ffff00000944dfe0 [ 0.933141] x1 : 0000000000000000 x0 : 0000000000000000 [ 0.938519] Process swapper/0 (pid: 1, stack limit = 0xffff000008068000) //line236 dump_backtrace [ 0.945285] Call trace: [ 0.947798] Exception stack(0xffff00000806baa0 to 0xffff00000806bbe0) [ 0.954304] baa0: 0000000000000000 0000000000000000 ffff00000944dfe0 0000000000000000 [ 0.962196] bac0: ffff0000091d4190 0000000000000000 000000000000003f 0000000000000000 [ 0.970091] bae0: ffff8000dc203d80 0000000000000000 0101010101010101 0000000000000028 [ 0.977979] bb00: 0101010101010101 0000000000000020 ffffffffffffffff ffffffffffffffff [ 0.985869] bb20: 00000000deadbeef 0000000000000001 0000000000000020 ffff8000dc21a400 [ 0.993761] bb40: 0000000000000000 ffff8000dc21a6f8 0000000000001000 ffff00000944d000 [ 1.001653] bb60: 0000000000000000 ffff8000defe5088 0000000000000000 0000000000000004 [ 1.009548] bb80: ffff000009040588 ffff00000806bbe0 ffff0000084f5304 ffff00000806bbe0 [ 1.017435] bba0: ffff0000084f5320 0000000040000045 ffff00000806bbe0 ffff0000084f5304 [ 1.025327] bbc0: ffffffffffffffff 00000000fffffffe ffff00000806bbe0 ffff0000084f5320 dump_backtrace_entry [ 1.033221] [<ffff0000084f5320>] amba_device_try_add+0xe8/0x268 //print_ip_sym [ 1.039201] [<ffff0000084f5588>] amba_device_add+0x18/0xe0 [ 1.044762] [<ffff000008922fc8>] of_platform_bus_create+0x2b8/0x320 [ 1.051082] [<ffff000008922e74>] of_platform_bus_create+0x164/0x320 [ 1.057413] [<ffff0000089231a0>] of_platform_populate+0x70/0xd0 [ 1.063404] [<ffff000008f8e218>] of_platform_default_populate_init+0x64/0x78 [ 1.070513] [<ffff000008083980>] do_one_initcall+0x38/0x120 [ 1.076150] [<ffff000008f40d0c>] kernel_init_freeable+0x188/0x22c [ 1.082305] [<ffff000008a82268>] kernel_init+0x10/0x100 [ 1.087590] [<ffff000008084b58>] ret_from_fork+0x10/0x18 [ 1.092969] Code: f9001fb8 8b0202e2 52800001 52800018 (b9400040) [ 1.099148] ---[ end trace 0af73e04a0d75c0a ]--- [ 1.103845] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 1.103845] [ 1.113090] SMP: stopping secondary CPUs [ 1.117094] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 1.117094]