Firefly开源社区

标题: 请教大家如何定位系统内核跑不起来的原因 [打印本页]

作者: ab198604    时间: 2017-3-15 11:47
标题: 请教大家如何定位系统内核跑不起来的原因
[    1.300517] input: 20050030.pwm as /devices/20050030.pwm/input/input0
[    1.301467] i2c /dev entries driver
[    1.302408] IR NEC protocol handler initialized
[    1.302433] IR RC5(x) protocol handler initialized
[    1.302453] IR RC6 protocol handler initialized
[    1.302470] IR JVC protocol handler initialized
[    1.302487] IR Sony protocol handler initialized
[    1.302504] IR RC5 (streamzap) protocol handler initialized
[    1.302521] IR SANYO protocol handler initialized
[    1.302538] IR MCE Keyboard/mouse protocol handler initialized
[    1.302974] usbcore: registered new interface driver uvcvideo
[    1.302997] USB Video Class driver (1.1.1)
[    1.303020] CamSys driver version: v0.33.0,  CamSys head file version: v0.11.0
[    1.303045] E:camsys_soc_init(36): camsys isn't support soc: 0x31260001!
[    1.305452] i2c-core: driver [bq27320] using legacy suspend method
[    1.305480] i2c-core: driver [bq27320] using legacy resume method
[    1.306233] gpio_poweroff_probe: pm_power_off function already registered
[    1.306275] poweroff-gpio: probe of gpio_poweroff.29 failed with error -16
[    1.307075] device-mapper: uevent: version 1.0.3
[    1.307684] device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com
[    1.308310] Bluetooth: HCI UART driver ver 2.2
[    1.308338] Bluetooth: HCI H4 protocol initialized
[    1.308358] Bluetooth: HCILL protocol initialized
[    1.308377] rtk_btusb: Realtek Bluetooth USB driver module init, version 3.0
[    1.308398] rtk_btusb: Register usb char device interface for BT driver
[    1.308862] usbcore: registered new interface driver rtk_btusb
[    1.309282] cpufreq version 1.0, suspend freq 816 MHz
[    1.310001] cpuidle: using governor ladder
[    1.310023] cpuidle: using governor menu
[    1.310095] Synopsys Designware Multimedia Card Interface Driver
[    1.310110] MHSC version = Ver 2.00 2015-06-10
[    1.310625] dwmmc_rockchip 1021c000.rksdmmc: Version ID is 270a
[    1.310751] dwmmc_rockchip 1021c000.rksdmmc: failed to get hpclk_mmc
[    1.311190] dwmmc_rockchip 1021c000.rksdmmc: Using external DMA controller.
[    1.311647] dwmmc_rockchip 1021c000.rksdmmc: dw_mci_init_slot: fmin=400000, fmax=50000000 [mmc0]
[    1.311898] dwmmc_rockchip 1021c000.rksdmmc: dw_mci_set_ios:  no card. [mmc0]
[    1.323218] dwmmc_rockchip 1021c000.rksdmmc: dw_mci_set_ios:  no card. [mmc0]
[    1.342827] Unable to handle kernel NULL pointer dereference at virtual address 00000000

[    3.202825] pgd = c0004000
[    3.205488] [00000000] *pgd=00000000
[    3.209025] Internal error: Oops: 80000005 [#1] PREEMPT SMP ARM
[    3.214844] Modules linked in:
[    3.217864] CPU: 3 PID: 34 Comm: kconsole Not tainted 3.10.0 #10
[    3.223770] task: dc2024c0 ti: dc216000 task.ti: dc216000
[    3.229078] PC is at 0x0
[    3.231578] LR is at arch_counter_read+0x10/0x18
[    3.236121] pc : [<00000000>]    lr : [<c061cc10>]    psr: 00000193
[    3.236121] sp : dc217dd0  ip : c141d988  fp : dc217e80
[    3.247403] r10: dc217e08  r9 : c008c074  r8 : 000000ee
[    3.252539] r7 : 00000000  r6 : 00000001  r5 : c0f43b80  r4 : c0e6fa40
[    3.258955] r3 : 00000000  r2 : 00000001  r1 : 00000000  r0 : c0e6fa40
[    3.265374] Flags: nzcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[    3.272643] Control: 10c5387d  Table: 6000406a  DAC: 00000015
[    3.278292]
[    3.278292] LR: 0xc061cb90:
[    3.282492] cb90  e3c22002 e5830038 e5113040 e583203c e3a00000 e12fff1e e5113040 e593202c
[    3.290622] cbb0  e3822001 e5113040 e3c22002 e5830028 e5113040 e583202c e3a00000 e12fff1e
[    3.298751] cbd0  e59f1024 e5913000 e593200c e593c008 e593000c e1520000 1afffff9 e3a00000
[    3.306880] cbf0  e1a01002 e180000c e12fff1e c0f9c5c0 e92d4008 e59f3008 e5933000 e12fff33
[    3.315009] cc10  e8bd8008 c0e6fa00 e92d4008 e59f3008 e5933000 e12fff33 e8bd8008 c0e6fa00
[    3.323137] cc30  e3500001 812fff1e ee1e3f33 e3c33001 ee0e3f33 f57ff06f e12fff1e e3500001
[    3.331265] cc50  812fff1e ee1e3f32 e3c33001 ee0e3f32 f57ff06f e12fff1e e3500001 812fff1e
[    3.339394] cc70  e5113040 e593203c e3c22001 e5113040 e583203c e12fff1e e3500001 812fff1e
[    3.347524]
[    3.347524] SP: 0xdc217d50:
[    3.351725] 7d50  00000059 dc2024f8 c141fd00 00000000 00000003 0000000a c141fd00 00009762
[    3.359853] 7d70  0000ba86 00000000 00000193 ffffffff dc217dbc c000d7f8 c0e6fa40 00000000
[    3.367981] 7d90  00000001 00000000 c0e6fa40 c0f43b80 00000001 00000000 000000ee c008c074
[    3.376110] 7db0  dc217e08 dc217e80 c141d988 dc217dd0 c061cc10 00000000 00000193 ffffffff
[    3.384239] 7dd0  c061cc00 c0084734 00000001 00000000 0069c000 dc217f08 c141d6f0 c141d6b8
[    3.392367] 7df0  00000000 c141d890 c141d758 c008c090 c141d890 c141d6fc c0e9b6ec 00000000
[    3.400495] 7e10  c141d890 c141d6f0 c141d6b8 00000000 c141d6f0 c0063680 c141d890 dc217e80
[    3.408622] 7e30  46edfb32 46edf580 00000000 c141d6b8 00000000 c141d6f0 c141d790 c141d758
[    3.416753]
[    3.416753] IP: 0xc141d908:
[    3.420952] d908  00000000 00000000 00000000 00000000 02625a00 00000000 00000000 00000000
[    3.429078] d928  00989680 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    3.437205] d948  00000000 00080008 00000001 c141d954 c141d954 dc1e0540 c141d960 c141d960
[    3.445334] d968  c009daa4 dc05fef0 dc05fea4 00000000 00000000 00000000 00000000 00000001
[    3.453463] d988  00000001 00000000 00000000 00000000 f5923600 00000000 f5923600 00000000
[    3.461593] d9a8  c00a7d80 c141d6f0 00000001 00000016 c0064044 63746177 676f6468 0000332f
[    3.469722] d9c8  00000000 00000000 00000000 00000000 dc1e0000 00000000 00000001 01400000
[    3.477849] d9e8  00000000 0000003b 00000000 00000000 00000000 ffff8ae0 00000001 00000000
[    3.485978]
[    3.485978] FP: 0xdc217e00:
[    3.490178] 7e00  c141d890 c141d6fc c0e9b6ec 00000000 c141d890 c141d6f0 c141d6b8 00000000
[    3.498307] 7e20  c141d6f0 c0063680 c141d890 dc217e80 46edfb32 46edf580 00000000 c141d6b8
[    3.506434] 7e40  00000000 c141d6f0 c141d790 c141d758 c141d7c8 c0064280 46edfb32 00000000
[    3.514562] 7e60  ffffffff 7fffffff 46edfb32 00000000 c141daac 00000003 46edfb32 00000000
[    3.522690] 7e80  46edfb32 00000000 00000003 dc006600 00000000 dc035280 dc217f3c 0000001d
[    3.530819] 7ea0  00000000 c0dbfe44 c14228c0 c061cac8 c061caa0 c00ab76c c00ab674 0000001d
[    3.538947] 7ec0  00000000 c0d8f490 dc217f3c c0d9aa34 00000000 00000000 00000000 c00a8360
[    3.547074] 7ee0  0000001d c000e4cc 0000001d fed91000 dc217f08 c000853c c0034278 60000113
[    3.555205]
[    3.555205] R0: 0xc0e6f9c0:
[    3.559407] f9c0  c061c9dc 016e3600 00000000 00000000 00000000 00000000 00000000 00000000
[    3.567534] f9e0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    3.575661] fa00  c061ca58 00000000 c061cca8 c0d97498 00000000 00000000 00000000 00000000
[    3.583788] fa20  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    3.591914] fa40  c061cc00 00000000 01f015ad 00000000 ffffffff 00ffffff 29aaaaab 00000018
[    3.600042] fa60  e5555680 00000040 04955555 c0b63cdd c0daf230 c0daeff8 00000190 00000000
[    3.608171] fa80  00000000 00000021 00000000 00000000 00000000 00000000 00000000 00000000
[    3.616297] faa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    3.624425]
[    3.624425] R4: 0xc0e6f9c0:
[    3.628625] f9c0  c061c9dc 016e3600 00000000 00000000 00000000 00000000 00000000 00000000
[    3.636754] f9e0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    3.644881] fa00  c061ca58 00000000 c061cca8 c0d97498 00000000 00000000 00000000 00000000
[    3.653007] fa20  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    3.661132] fa40  c061cc00 00000000 01f015ad 00000000 ffffffff 00ffffff 29aaaaab 00000018
[    3.669260] fa60  e5555680 00000040 04955555 c0b63cdd c0daf230 c0daeff8 00000190 00000000
[    3.677389] fa80  00000000 00000021 00000000 00000000 00000000 00000000 00000000 00000000
[    3.685515] faa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    3.693643]
[    3.693643] R5: 0xc0f43b00:
[    3.697843] 3b00  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    3.705970] 3b20  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    3.714097] 3b40  00030003 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    3.722224] 3b60  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    3.730350] 3b80  c0e6fa40 29aaaaab 00000018 00000000 0003a980 00000000 01f015ad 00000000
[    3.738477] 3ba0  80013880 00009896 fffec780 ffffffff 00989680 00000000 00000001 00000000
[    3.746604] 3bc0  00655180 000aba95 00000000 00000000 00000008 00000000 00000000 00000000
[    3.754731] 3be0  00000000 00000000 00000000 00000000 00000000 00000000 00000001 0aba9500
[    3.762858]
[    3.762858] R9: 0xc008bff4:
[    3.767057] bff4  1a000002 e1a00007 e1a01005 ebffff9f e1a01006 e1a00004 ebffff84 e59f6058
[    3.775187] c014  ea000006 e28d0008 ebffe1ac e59d7008 e59d500c e1a00007 e1a01005 ebffff93
[    3.783318] c034  e1c620d0 e1a00004 e1cd20f0 e1a02007 e1a03005 ebff5ea3 e1c401d0 e3a02000
[    3.791447] c054  ebfffec9 e3500000 1affffed e8bd81ff c0d81890 c0d83004 c0d8e4e8 c0f43e48
[    3.799576] c074  e92d41ff e1a08000 e28d0008 e59f3084 ee1d2f90 e7924003 ebffe190 e1a0200d
[    3.807706] c094  e3c23d7f e3c3303f e59f206c e59d7008 e5933014 e5921000 e59d600c e3710001
[    3.815836] c0b4  05823000 e5922000 e1520003 1a000002 e1a00007 e1a01006 ebffff6c e3540000
[    3.823965] c0d4  0a000002 e1a00008 e1a01004 ebffff4f e59f3028 e1a00008 e1a02007 e1c340d0
[    3.832096]
[    3.832096] R10: 0xdc217d88:
[    3.836382] 7d88  c0e6fa40 00000000 00000001 00000000 c0e6fa40 c0f43b80 00000001 00000000
[    3.844510] 7da8  000000ee c008c074 dc217e08 dc217e80 c141d988 dc217dd0 c061cc10 00000000
[    3.852638] 7dc8  00000193 ffffffff c061cc00 c0084734 00000001 00000000 0069c000 dc217f08
[    3.860765] 7de8  c141d6f0 c141d6b8 00000000 c141d890 c141d758 c008c090 c141d890 c141d6fc
[    3.868894] 7e08  c0e9b6ec 00000000 c141d890 c141d6f0 c141d6b8 00000000 c141d6f0 c0063680
[    3.877022] 7e28  c141d890 dc217e80 46edfb32 46edf580 00000000 c141d6b8 00000000 c141d6f0
[    3.885150] 7e48  c141d790 c141d758 c141d7c8 c0064280 46edfb32 00000000 ffffffff 7fffffff
[    3.893277] 7e68  46edfb32 00000000 c141daac 00000003 46edfb32 00000000 46edfb32 00000000
[    3.901408] Process kconsole (pid: 34, stack limit = 0xdc216238)
[    3.907313] Stack: (0xdc217dd0 to 0xdc218000)
[    3.911599] 7dc0:                                     c061cc00 c0084734 00000001 00000000
[    3.919641] 7de0: 0069c000 dc217f08 c141d6f0 c141d6b8 00000000 c141d890 c141d758 c008c090
[    3.927684] 7e00: c141d890 c141d6fc c0e9b6ec 00000000 c141d890 c141d6f0 c141d6b8 00000000
[    3.935726] 7e20: c141d6f0 c0063680 c141d890 dc217e80 46edfb32 46edf580 00000000 c141d6b8
[    3.943768] 7e40: 00000000 c141d6f0 c141d790 c141d758 c141d7c8 c0064280 46edfb32 00000000
[    3.951809] 7e60: ffffffff 7fffffff 46edfb32 00000000 c141daac 00000003 46edfb32 00000000
[    3.959850] 7e80: 46edfb32 00000000 00000003 dc006600 00000000 dc035280 dc217f3c 0000001d
[    3.967892] 7ea0: 00000000 c0dbfe44 c14228c0 c061cac8 c061caa0 c00ab76c c00ab674 0000001d
[    3.975933] 7ec0: 00000000 c0d8f490 dc217f3c c0d9aa34 00000000 00000000 00000000 c00a8360
[    3.983975] 7ee0: 0000001d c000e4cc 0000001d fed91000 dc217f08 c000853c c0034278 60000113
[    3.992017] 7f00: ffffffff c000d700 00000001 00000063 dc241588 fed60000 c0d9a9e0 dc216000
[    4.000058] 7f20: dc214000 c0ebc230 c0d9aa34 00000000 00000000 00000000 00000000 dc217f50
[    4.008100] 7f40: c0034520 c0034278 60000113 ffffffff dc05feb8 00000000 dc214000 c0034484
[    4.016142] 7f60: 00000000 c00604d0 ffffffff 00000000 ffffffff dc214000 00000000 00000000
[    4.024186] 7f80: dc217f80 dc217f80 00000000 00000000 dc217f90 dc217f90 dc217fac dc05feb8
[    4.032226] 7fa0: c0060430 00000000 00000000 c000dba0 00000000 00000000 00000000 00000000
[    4.040266] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    4.048306] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000 ffffffff ffffffff
[    4.056369] [<c061cc10>] (arch_counter_read+0x10/0x18) from [<c0084734>] (ktime_get+0x60/0xdc)
[    4.064847] [<c0084734>] (ktime_get+0x60/0xdc) from [<c008c090>] (tick_sched_timer+0x1c/0xa4)
[    4.073240] [<c008c090>] (tick_sched_timer+0x1c/0xa4) from [<c0063680>] (__run_hrtimer+0x1a4/0x2b8)
[    4.082142] [<c0063680>] (__run_hrtimer+0x1a4/0x2b8) from [<c0064280>] (hrtimer_interrupt+0x11c/0x278)
[    4.091297] [<c0064280>] (hrtimer_interrupt+0x11c/0x278) from [<c061cac8>] (arch_timer_handler_phys+0x28/0x30)
[    4.101135] [<c061cac8>] (arch_timer_handler_phys+0x28/0x30) from [<c00ab76c>] (handle_percpu_devid_irq+0xf8/0x1b4)
[    4.111399] [<c00ab76c>] (handle_percpu_devid_irq+0xf8/0x1b4) from [<c00a8360>] (generic_handle_irq+0x20/0x30)
[    4.121236] [<c00a8360>] (generic_handle_irq+0x20/0x30) from [<c000e4cc>] (handle_IRQ+0x64/0x8c)
[    4.129877] [<c000e4cc>] (handle_IRQ+0x64/0x8c) from [<c000853c>] (gic_handle_irq+0x38/0x5c)
[    4.138177] [<c000853c>] (gic_handle_irq+0x38/0x5c) from [<c000d700>] (__irq_svc+0x40/0x70)
[    4.146384] Exception stack(0xdc217f08 to 0xdc217f50)
[    4.151354] 7f00:                   00000001 00000063 dc241588 fed60000 c0d9a9e0 dc216000
[    4.159395] 7f20: dc214000 c0ebc230 c0d9aa34 00000000 00000000 00000000 00000000 dc217f50
[    4.167436] 7f40: c0034520 c0034278 60000113 ffffffff
[    4.172413] [<c000d700>] (__irq_svc+0x40/0x70) from [<c0034278>] (debug_putc+0x10/0x24)
[    4.180291] [<c0034278>] (debug_putc+0x10/0x24) from [<c0034520>] (console_thread+0x9c/0xb0)
[    4.188591] [<c0034520>] (console_thread+0x9c/0xb0) from [<c00604d0>] (kthread+0xa0/0xac)
[    4.196635] [<c00604d0>] (kthread+0xa0/0xac) from [<c000dba0>] (ret_from_fork+0x14/0x34)
[    4.204588] Code: bad PC value
[    4.207634] ---[ end trace 4d2bfb0a9f684472 ]---
[    4.212175] Kernel panic - not syncing: Fatal exception in interrupt
[    5.366424] SMP: failed to stop secondary CPUs
[    5.370795] CRU:
[    5.372614] 00000000: 00002054 00001441 00000000 00000000 0000304b 00001441 00000001 00000000
[    5.381000] 00000020: 000020c8 00001446 00000000 00000000 00002063 00001442 00000000 00000000
[    5.389385] 00000040: 00001111 00004000 00003117 00004307 0000401f 00000083 00008044 0000421f
[    5.397771] 00000060: 0bb8ea60 01885091 00004100 0000a100 000080bd 00000397 0000521f 0000021f
[    5.406159] 00000080: 0000021f 00000200 0bb8ea60 0bb8ea60 0bb8ea60 0bb8ea60 00000000 00000000
[    5.414545] 000000a0: 00000102 00001701 0000011f 00000000 00000701 00000300 00000526 00008100
[    5.422930] 000000c0: 00004040 00004040 00000000 00002221 00000000 00000010 00000000 00003c00
[    5.431314] 000000e0: 00000000 00002000 00000000 00000000 00000053 00000580 00000000 00000000
[    5.439698] 00000100: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    5.448082] 00000120: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    5.456466] 00000140: 3a981064 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    5.464849] 00000160: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    5.473233] 00000180: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    5.481617] 000001a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    5.490001] 000001c0: 00000004 00000000 00000004 00000000 00000000 00000000 00000004 00000000
[    5.498385] 000001e0: 00000000 00000000 00000000 00000000 00005a5a 00000000 00000000 00000000
[    5.506769] 00000200: 00002054 00001441 00000000 00000000 0000304b 00001441 00000001 00000000
[    5.515154] 00000220: 000020c8 00001446 00000000 00000000 00002063 00001442 00000000 00000000
[    5.523540] 00000240: 00001111 00004000 00003117 00004307 0000401f 00000083 00008044 0000421f
[    5.531925] 00000260: 0bb8ea60 01885091 00004100 0000a100 000080bd 00000397 0000521f 0000021f
[    5.540311] 00000280: 0000021f 00000200 0bb8ea60 0bb8ea60 0bb8ea60 0bb8ea60 00000000 00000000
[    5.548696] 000002a0: 00000102 00001701 0000011f 00000000 00000701 00000300 00000526 00008100
[    5.557081] 000002c0: 00004040 00004040 00000000 00002221 00000000 00000010 00000000 00003c00
[    5.565467] 000002e0: 00000000 00002000 00000000 00000000 00000053 00000580 00000000 00000000
[    5.573851] 00000300: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    5.582235] 00000320: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    5.590619] 00000340: 3a981064 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    5.599003] 00000360: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    5.607387] 00000380: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    5.615772] 000003a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    5.624156] 000003c0: 00000004 00000000 00000004 00000000 00000000 00000000 00000004 00000000
[    5.632540] 000003e0: 00000000 00000000 00000000 00000000 00005a5a 00000000 00000000 00000000
[    5.640925] 00000400: 00002054 00001441 00000000 00000000 0000304b 00001441 00000001 00000000
[    5.649303] Rebooting in 5 seconds..
作者: WK92148    时间: 2017-3-15 15:50
我的經驗是KERNEL 有錯誤, 系統會一直重啟, 一次不要改太多地方, 修改時要做紀錄




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1