[ls1028a] reboot/poweroff fails
reboot fails with:
[ 160.939564] EXT4-fs (mmcblk0p1): unmounting filesystem a51484f1-6195-4b8a-8dc5-07cb01058e4c.
[ 161.248946] watchdog: watchdog0: watchdog did not stop!
[ 161.351290] systemd-shutdown[1]: Using hardware watchdog 'sp805-wdt', version 0, device /dev/watchdog0
[ 161.360697] systemd-shutdown[1]: Watchdog running with a hardware timeout of 5min 44s.
[ 161.508869] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 161.689764] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[ 161.708675] systemd-journald[329]: Received SIGTERM from PID 1 (systemd-shutdow).
[ 161.800401] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[ 161.817305] systemd-shutdown[1]: Unmounting file systems.
[ 161.825107] (sd-umount)[1125]: Unmounting '/run/credentials/systemd-journald.service'.
[ 161.852429] (sd-remount)[1126]: Remounting '/' read-only with options 'errors=remount-ro'.
[ 161.896870] EXT4-fs (mmcblk0p2): re-mounted 015ea8f6-d199-42fe-a8ce-96787e4777f4 ro. Quota mode: none.
[ 161.912695] systemd-shutdown[1]: All filesystems unmounted.
[ 161.918320] systemd-shutdown[1]: Deactivating swaps.
[ 161.923411] systemd-shutdown[1]: All swaps deactivated.
[ 161.928699] systemd-shutdown[1]: Detaching loop devices.
[ 161.937992] systemd-shutdown[1]: All loop devices detached.
[ 161.943625] systemd-shutdown[1]: Stopping MD devices.
[ 161.948901] systemd-shutdown[1]: All MD devices stopped.
[ 161.954256] systemd-shutdown[1]: Detaching DM devices.
[ 161.959584] systemd-shutdown[1]: All DM devices detached.
[ 161.965019] systemd-shutdown[1]: All filesystems, swaps, loop devices, MD devices and DM devices detached.
[ 161.976511] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 161.983291] systemd-shutdown[1]: Rebooting.
[ 162.007293] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 162.023684] reform2_lpc: removing ...
[ 162.027852] kvm: exiting hardware virtualization
[ 162.032503] reboot: Restarting system
[ 163.036287] Unable to restart system
[ 163.039874] Reboot failed -- System halted
poweroff fails with:
[ 315.093126] EXT4-fs (mmcblk0p1): unmounting filesystem a51484f1-6195-4b8a-8dc5-07cb01058e4c.
[ 315.524031] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 315.820340] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[ 315.837436] systemd-journald[329]: Received SIGTERM from PID 1 (systemd-shutdow).
[ 315.915372] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[ 315.933358] systemd-shutdown[1]: Unmounting file systems.
[ 315.940415] (sd-umount)[956]: Unmounting '/run/credentials/systemd-journald.service'.
[ 315.949894] (sd-remount)[957]: Remounting '/' read-only with options 'errors=remount-ro'.
[ 315.990729] EXT4-fs (mmcblk0p2): re-mounted 015ea8f6-d199-42fe-a8ce-96787e4777f4 ro. Quota mode: none.
[ 316.007084] systemd-shutdown[1]: All filesystems unmounted.
[ 316.012802] systemd-shutdown[1]: Deactivating swaps.
[ 316.017905] systemd-shutdown[1]: All swaps deactivated.
[ 316.023209] systemd-shutdown[1]: Detaching loop devices.
[ 316.032826] systemd-shutdown[1]: All loop devices detached.
[ 316.038473] systemd-shutdown[1]: Stopping MD devices.
[ 316.043844] systemd-shutdown[1]: All MD devices stopped.
[ 316.049195] systemd-shutdown[1]: Detaching DM devices.
[ 316.054549] systemd-shutdown[1]: All DM devices detached.
[ 316.059986] systemd-shutdown[1]: All filesystems, swaps, loop devices, MD devices and DM devices detached.
[ 316.071589] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 316.078396] systemd-shutdown[1]: Powering off.
[ 316.123546] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 316.128767] sd 0:0:0:0: [sda] Stopping disk
[ 316.145947] reform2_lpc: removing ...
[ 316.150094] kvm: exiting hardware virtualization
[ 316.154740] reboot: Power down
[ 316.157819] ------------[ cut here ]------------
[ 316.162450] WARNING: CPU: 0 PID: 1 at kernel/exit.c:816 do_exit+0x83c/0x9e0
[ 316.169445] Modules linked in: rfkill cpufreq_ondemand dwc3 binfmt_misc caam_jr caamhash_desc caamalg_desc crypto_en
gine authenc libdes crypto_null snd_soc_fsl_asoc_card snd_soc_imx_audmux snd_soc_simple_card_utils etnaviv snd_soc_fsl_
sai snd_ac97_codec caam ac97_bus snd_soc_wm8960 snd_soc_fsl_utils imx_pcm_dma sp805_wdt error fsl_edma fsl_qdma reform2
_lpc(OE) qoriq_thermal layerscape_edac_mod nvmem_layerscape_sfp qoriq_cpufreq sg dm_mod dax loop efi_pstore configfs nf
netlink ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic snd_soc_meson_axg_toddr snd_soc_meson_axg_fif
o snd_soc_meson_codec_glue panfrost drm_shmem_helper gpu_sched ao_cec_g12a meson_vdec(C) videobuf2_dma_contig videobuf2
_memops v4l2_mem2mem videobuf2_v4l2 videodev videobuf2_common mc dw_hdmi_i2s_audio meson_drm meson_canvas meson_dw_mipi
_dsi dw_mipi_dsi meson_dw_hdmi dw_hdmi usbhid hid mxsfb mux_mmio panel_edp imx_dcss ti_sn65dsi86 drm_dp_aux_bus nwl_dsi
mux_core pwm_imx27 sd_mod t10_pi snd_soc_hdmi_codec crc64_rocksoft_generic
[ 316.169628] snd_soc_core snd_compress snd_pcm_dmaengine crc64_rocksoft crc_t10dif snd_pcm crct10dif_generic crc64 s
nd_timer snd soundcore mscc_felix mscc_felix_dsa_lib mscc_ocelot_switch_lib sch_taprio sch_mqprio_lib dsa_core hsr brid
ge stp ahci_qoriq fsl_enetc llc selftests libahci_platform fsl_enetc_core pcs_lynx libahci xhci_plat_hcd marvell xhci_h
cd rtc_pcf8523 libata crct10dif_ce cdns_mhdp_imx crct10dif_common polyval_ce cdns_mhdp_drmcore polyval_generic drm_disp
lay_helper scsi_mod ghash_ce phylink fsl_enetc_mdio gf128mul cec udc_core mdio_devres sha2_ce sha256_arm64 of_mdio rc_c
ore scsi_common sha1_ce mali_dp fsl_enetc_ptp fixed_phy usbcore sdhci_of_esdhc ptp_qoriq fwnode_mdio sdhci_pltfm ulpi u
sb_common libphy sdhci clk_fsl_flexspi i2c_imx fsl_enetc_ierb spi_fsl_dspi fixed aes_neon_bs aes_neon_blk aes_ce_blk ae
s_ce_cipher [last unloaded: dwc3]
[ 316.335266] CPU: 0 PID: 1 Comm: systemd-shutdow Tainted: G S WC OE 6.8.12-mnt-reform-arm64 #1 Debian 6.8.
12-1+reform20240605T104210Z
[ 316.348187] Hardware name: MNT Reform 2 with LS1028A Module (DT)
[ 316.354213] pstate: 400000c5 (nZcv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 316.361201] pc : do_exit+0x83c/0x9e0
[ 316.364786] lr : __do_sys_reboot+0x218/0x278
[ 316.369074] sp : ffff800081f7bbc0
[ 316.372395] x29: ffff800081f7bbe0 x28: ffff002000332500 x27: 0000000000000000
[ 316.379563] x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000
[ 316.386730] x23: 00000000fee1dead x22: 0000000000000000 x21: ffff800081bcf818
[ 316.393895] x20: 0000000000000000 x19: ffff002000332500 x18: 0000000000000006
[ 316.401060] x17: ffff800081de8150 x16: 00000000bd66b558 x15: ffff800081f7b650
[ 316.408226] x14: 0000000000000000 x13: 6e776f6420726577 x12: ffff800081c30528
[ 316.415391] x11: 0000000000000001 x10: 0000000000000001 x9 : ffff8000800d72a8
[ 316.422557] x8 : ffff800081f7bbd8 x7 : 0000000000000003 x6 : 0000000000000003
[ 316.429721] x5 : 0000000002000000 x4 : 0000000000000000 x3 : 00000000ffffffff
[ 316.436888] x2 : ffff002000332500 x1 : 0000000000000000 x0 : 00000000000000c0
[ 316.444053] Call trace:
[ 316.446504] do_exit+0x83c/0x9e0
[ 316.449741] __do_sys_reboot+0x218/0x278
[ 316.453676] __arm64_sys_reboot+0x2c/0x40
[ 316.457698] invoke_syscall+0x78/0x108
[ 316.461462] el0_svc_common.constprop.0+0x48/0xf0
[ 316.466184] do_el0_svc+0x24/0x38
[ 316.469509] el0_svc+0x3c/0x108
[ 316.472659] el0t_64_sync_handler+0x120/0x130
[ 316.477030] el0t_64_sync+0x190/0x198
[ 316.480702] ---[ end trace 0000000000000000 ]---
[ 316.485341] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000
[ 316.493026] CPU: 0 PID: 1 Comm: systemd-shutdow Tainted: G S WC OE 6.8.12-mnt-reform-arm64 #1 Debian 6.8.
12-1+reform20240605T104210Z
[ 316.505945] Hardware name: MNT Reform 2 with LS1028A Module (DT)
[ 316.511971] Call trace:
[ 316.514420] dump_backtrace+0x9c/0x128
[ 316.518181] show_stack+0x20/0x38
[ 316.521506] dump_stack_lvl+0x34/0x90
[ 316.525183] dump_stack+0x18/0x28
[ 316.528507] panic+0x3a0/0x3e0
[ 316.531571] do_exit+0x8c8/0x9e0
[ 316.534807] __do_sys_reboot+0x218/0x278
[ 316.538742] __arm64_sys_reboot+0x2c/0x40
[ 316.542764] invoke_syscall+0x78/0x108
[ 316.546526] el0_svc_common.constprop.0+0x48/0xf0
[ 316.551248] do_el0_svc+0x24/0x38
[ 316.554573] el0_svc+0x3c/0x108
[ 316.557721] el0t_64_sync_handler+0x120/0x130
[ 316.562091] el0t_64_sync+0x190/0x198
[ 316.565766] Kernel Offset: disabled
[ 316.569263] CPU features: 0x0,80000200,3c020000,2100421b
[ 316.574592] Memory Limit: none
[ 316.577656] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000 ]---