kernel_restart
==>>kmsg_dump
==>>machine_restart
==>arm_pm_restart(reboot_mode, cmd);
==> sun8i_restart(char mode, const char *cmd)
log:
root@camdroid:/ # reboot
[ 256.064771] SysRq : Emergency Remount R/O
[ 256.069375] The process is "reboot" (pid 119)
[ 256.074455] Emergency Remount complete
[ 257.083158] [VFE]vfe_opened_num = 1
[ 257.087131] [VFE]mclk off
[ 257.160681] [VFE]Vfe Shutdown!
[ 257.164160] [audiocodec] headphone_mute_used type err!
[ 257.780059] [mmc]: shutdown_mmc: is not card 2, return
[ 257.785907] [mmc]: shutdown_mmc: mmc 1 shutdown exit..ok
[ 257.791895] [mmc]: shutdown_mmc: is not card 2, return
[ 257.797715] [mmc]: shutdown_mmc: mmc 0 shutdown exit..ok
[ 257.803684] wdt_enable, write reg 0xf1c20cb8 val 0x000000b0
[ 257.900022] LCD_panel_exit: enter sleep
[ 258.210269] [DISP] disp_sys_gpio_set_value,line:374:OSAL_GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[ 258.240052] [alarmtimer] have no shutdown alarm! alarmtimer_shutdown 315
[ 258.247574] hci: ERR: sunxi_ohci is disable, need not shutdown
[ 258.254180] hci: ERR: sunxi_ehci is disable, need not shutdown
[ 258.261285] pmu_shutdown_chgcur = 1000000
[ 258.266236] Restarting system.
[ 258.269684] [richard] step 1
[ 258.272957] [richard] step 2
[ 258.276267]
[ 258.277979] Restarting Linux version 3.4.39
本文记录了Linux系统重启过程中的关键步骤和技术细节,包括系统重启请求处理、设备关闭、内核消息记录等。通过分析系统日志,展示了从发出reboot命令到系统实际重启期间所涉及的主要操作。
1099

被折叠的 条评论
为什么被折叠?



