本周有客户反映imx6有的时候在休眠唤醒的时候会重启,大概是休眠30分钟以后,于是复现了一周,刚才终于碰上一次,抓到log如下:
Restarting tasks ... done.
PM: suspend exit 2030-08-19 09:04:24.376937000 UTC
configfs-gadget gadget: high-speed config #1: b
android_work: sent uevent USB_STATE=CONFIGURED
binder: undelivered transaction 187662
binder: undelivered transaction 187664
binder: undelivered transaction 187663
init: Untracked pid 4198 exited with status 129
init: Untracked pid 4200 killed by signal 1
// 从这里出错
sysrq: SysRq : Emergency Remount R/O
EXT4-fs (mmcblk3p6): re-mounted. Opts: (null)
EXT4-fs (mmcblk3p4): re-mounted. Opts: (null)
EXT4-fs (mmcblk3p5): re-mounted. Opts: (null)
Emergency Remount complete
imx2-wdt 20bc000.wdog: Device shutdown: Expect reboot!
reboot: Power down
wyc,syscon_poweroff, 0x020cc038 = 60
Unable to poweroff system
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000
Rebooting in 5 seconds..
U-Boot 2015.04 (Jan 06 2020 - 13:45:24)
CPU: Freescale i.MX6D rev1.5 at 792 MHz
CPU: Temperature 36 C
之前我发帖有请教过关于关机重启的问题,没错,这里的log和之前关机重启的log一致,我就奇怪了,这唤醒怎么就进关机流程了?完全搞不懂啊,这好不容易复现了怎么找原因啊?刚才去了imx论坛版块,没权限提问,目前为止上次的关机重启问题还没有解决,这次的唤醒重启又到这里了,有思路的老哥帮我分析一下唤醒重启问题原因,或者哪位有权限在imx版块提问题的帮我转发一下也好,多谢了
另外,上次关机失败是因为imx6内核的关机函数设置了0x020c c038 寄存器的5,6位,结果设置不上,我手动写进去也没法设置,至于没法设置肯定就没有办法关机,然后怎么重启了也不知道 |