reboot:
# reboot
# Stopping network: ifdown: interface lo not configured
OK
Stopping DHCP server: FAIL
Stopping ntpd: FAIL
Stopping system message bus: killall: dbus-daemon: no process killed
done
Saving random seed... done.
killall: udevd: no process killed
Stopping logging: OK
[ 302.779785] EXT4-fs (mmcblk0p7): re-mounted. Opts: (null)
The system is going down NOW!
[ 302.792130] adb_release
Sent SIGTERM to all processes
logout
Sent SIGKILL to all processes
Requesting system reboot
[ 305.093607] CPU1: shutdown
[ 305.099429] CPU2: shutdown
[ 305.105131] CPU3: shutdown
[ 305.110317] drivers/cpufreq/cpufreq.c:reboot_notifier_call: stop none boot cpus done
[ 305.118779] drivers/devfreq/sunxi_dramfreq.c:sunxi_dramfreq_reboot: stop dramfreq done
[ 305.128276] sunxi-mmc 1c11000.sdmmc: try to disable cache
[ 305.134399] sunxi-mmc 1c11000.sdmmc: sdc set ios: clk 50000000Hz bm PP pm ON vdd 16 width 8 timing LEGACY(SDR12) dt B
[ 305.146313] sunxi-mmc 1c11000.sdmmc: sdc set ios: clk 50000000Hz bm PP pm ON vdd 16 width 1 timing LEGACY(SDR12) dt B
[ 305.158166] sunxi-mmc 1c11000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 16 width 1 timing LEGACY(SDR12) dt B
[ 305.169883] sunxi-mmc 1c11000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 16 width 1 timing LEGACY(SDR12) dt B
[ 305.183928] sunxi-mmc 1c11000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 16 width 1 timing LEGACY(SDR12) dt B
[ 305.230495] sunxi-mmc 1c11000.sdmmc: sunxi_mmc_do_shutdown_com: mmc shutdown exit..ok
[ 305.239118] sunxi_ohci_hcd_shutdown, ohci0-controller is disable, need not shutdown
[ 305.247811] sunxi_ehci_hcd_shutdown, ehci0-controller is disable, need not shutdown
[ 305.256376] Restarting system.
[ 0.33]HELLO! BOOT0 is starting!
[ 0.37]boot0 commit : e5b62d04f86d3b03e4c6b1120cd64ffad5ff8081
[ 0.44]boot0 version : 4.0
[ 0.47]set pll start
[ 0.51]set pll end
[ 0.58]PMU: [ 0.59]AXP221
==============================================================================================================================
reboot打印错误:
[ 7.680025] Unable to handle kernel paging request at virtual address 52d5a500
[ 7.687921] pgd = c0004000
[ 7.690001] [52d5a500] *pgd=00000000
[ 7.690001] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
[ 7.690001] Modules linked in:
[ 7.690001] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G W O 3.10.65 #46
[ 7.690001] task: e49304c0 ti: e494a000 task.ti: e494a000
[ 7.690001] PC is at sched_clock_tick+0x68/0xac
[ 7.690001] LR is at ktime_get+0xe8/0x118
[ 7.690001] pc : [<c005700c>] lr : [<c0067f60>] psr: 00070193
[ 7.690001] sp : e494bd38 ip : 00000008 fp : e494bd64
[ 7.690001] r10: c0071294 r9 : c08240c0 r8 : e49304c0
[ 7.690001] r7 : 00000003 r6 : c219ae40 r5 : c081e630 r4 : c08213c0
[ 7.690001] r3 : c082b020 r2 : 00000018 r1 : 00000001 r0 : e494bd38
[ 7.690001] Flags: nzcv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel
[ 7.690001] Control: 10c53c7d Table: 6431006a DAC: 00000015
离线
每次panic时后边的虚拟地址也不固定:Unable to handle kernel NULL pointer dereference at virtual address 00000001
离线
从 log 看, ktime_get 调用 sched_clock_tick 挂了, 会不会是电源问题啊?
离线
从 log 看, ktime_get 调用 sched_clock_tick 挂了, 会不会是电源问题啊?
我这里没有使用电池,一般我直接拉电再上电不会出现panic,reboot就会偶尔出现。请问会是电源管理的哪里出问题呢
离线
https://community.nxp.com/thread/386136
https://community.nxp.com/thread/438818
这两个都挂在 ktime_get
可以参考一下。
离线