Rock3a 关机出现内核报错rcu: INFO: rcu_sched detected stalls on CPUs/tasks

日志:

[  783.185269] systemd-shutdow: 57 output lines suppressed due to ratelimiting
[  783.239380] systemd-shutdown[1]: Syncing filesystems and block devices.
[  783.843634] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[  783.855269] systemd-journald[192]: Received SIGTERM from PID 1 (systemd-shutdow).
[  783.910992] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[  783.925740] systemd-shutdown[1]: Unmounting file systems.
[  783.930347] [843]: Remounting '/' read-only in with options '(null)'.
[  783.954168] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[  783.966880] systemd-shutdown[1]: All filesystems unmounted.
[  783.967104] systemd-shutdown[1]: Deactivating swaps.
[  783.967455] systemd-shutdown[1]: All swaps deactivated.
[  783.967578] systemd-shutdown[1]: Detaching loop devices.
[  783.971284] systemd-shutdown[1]: All loop devices detached.
[  783.971461] systemd-shutdown[1]: Detaching DM devices.
[  783.986377] cpu cpu0: min=816000, max=816000
[  784.022095] rockchip-vop2 fe040000.vop: [drm:vop2_crtc_atomic_disable] Crtc atomic disable vp0
[  784.200401] rkisp_hw fdff0000.rkisp: rkisp_hw_shutdown
[  784.209065] fan53555-regulator 0-001c: fan53555..... reset
[  784.210700] fan53555-regulator 0-001c: reset: force fan53555_reset ok!
[  784.212029] mpp_rkvdec2 fdf80200.rkvdec: shutdown device
[  784.212716] mpp_jpgdec fded0000.jpegd: shutdown device
[  784.213374] mpp-iep2 fdef0000.iep: shutdown device
[  784.213985] mpp_vepu2 fdee0000.vepu: shutdown device
[  784.214620] mpp_vdpu2 fdea0400.vdpu: shutdown device
[  784.215404] mpp_rkvenc fdf40000.rkvenc: shutdown device
[  784.216071] mpp_rkvenc fdf40000.rkvenc: shutdown success
[  844.872058] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[  844.872828] rcu:     1-...0: (1 GPs behind) idle=c5e/1/0x4000000000000000 softirq=8649/8653 fqs=255
[  844.873866] rcu:     (detected by 3, t=18030 jiffies, g=19193, q=90)
[  844.874588] Task dump for CPU 1:
[  844.874984] systemd-shutdow R  running task        0     1      0 0x0000000a
[  844.875813] Call trace:
[  844.876134]  __switch_to+0xc4/0x128
[  844.876569]  pm_generic_runtime_suspend+0x3c/0x50
[  844.877137]  genpd_runtime_suspend+0xcc/0x220
[  844.877662]  pm_runtime_force_suspend+0x50/0xb4
[  844.878203]  rk_iommu_shutdown+0x50/0x70
[  844.878680]  platform_drv_shutdown+0x30/0x3c
[  844.879189]  device_shutdown+0x158/0x1c0
[  844.879667]  kernel_power_off+0x40/0x78
[  844.880130]  __se_sys_reboot+0x1b0/0x204
[  844.880605]  __arm64_sys_reboot+0x28/0x34
[  844.881086]  el0_svc_common.constprop.0+0xf0/0x170
[  844.881655]  el0_svc_handler+0x74/0x90
[  844.882103]  el0_svc+0x8/0xc

可以看到784.216071到844.872058有一分钟,导致重启比较慢

1 Like

同问,一样遇到了这个问题。不明白在于都已经报告说“shutdown success”了,一分钟之后又冒出来这个报错。