Raspberry Pi 4 with Manjaro ARM doesn’t shutdown; booting works fine

Hey everyone, I recently set my Raspberry Pi 4 Model B with 8 GB of RAM up with Manjaro ARM KDE and while everything else works as it should—everything I set up: Borgbackup, Kodi with UPnP, etc. works wonderfully, and I can update the whole system via Pamac—I just can’t get the device to shutdown and thus it also won’t properly reboot.

My observations so far:

  • I enter “reboot” into terminal/via SSH
  • The system seems to turn itself off → Manjaro logo with a little spinning circle underneath appears
  • both green and red LEDs are on, green one is flashing
  • red LED goes out
  • green LED is no longer flashing but now shines steadily
  • after a while the green LED flashes twice and then goes out as well
  • the Manjaro logo with the little spinning circle remains, but the system doesn’t shut down or reboot
  • same behaviour for “shutdown”
  • The system doesn’t take any inputs either, I even believe that the keyboard isn’t being supplied with power any more.
  • Pulling the plug and plugging it back in boots the device flawlessly.

Did I, at some point, unwittingly mess up or forget some setting? I also can’t really tell, if it’s been like this from the moment I first flashed the SD card, or if it happened at some point within the configuration, as setting everything up went surprisingly smoothly and was finished in just a couple of hours, so there wasn’t really any need to reboot a lot and meet this issue beforehand.

Any help would be appreciated. As there aren’t even any error messages, I really don’t know where to even start looking.

The usual inxi:

$ inxi --admin --verbosity=7 --filter --no-host --width
System:
  Kernel: 5.10.63-2-MANJARO-ARM aarch64 bits: 64 compiler: N/A 
  parameters: coherent_pool=1M 8250.nr_uarts=0 
  snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 
  video=HDMI-A-1:1920x1080M@60 smsc95xx.macaddr=E4:5F:01:35:7E:B0 
  vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 
  root=PARTUUID=628b4c08-02 rw rootwait console=ttyS0,115200 console=tty3 
  selinux=0 quiet splash plymouth.ignore-serial-consoles smsc95xx.turbo_mode=N 
  dwc_otg.lpm_enable=0 kgdboc=ttyS0,115200 usbhid.mousepoll=8 
  snd-bcm2835.enable_compat_alsa=0 audit=0 
  Desktop: N/A wm: kwin_x11 dm: SDDM Distro: Manjaro ARM base: Arch Linux 
Machine:
  Type: ARM Device System: Raspberry Pi 4 Model B Rev 1.4 details: BCM2835 
  rev: d03114 serial: <filter> 
Battery:
  Message: No system battery data found. Is one present? 
Memory:
  RAM: total: 7.7 GiB used: 1.42 GiB (18.4%) gpu: 64 MiB 
  RAM Report: 
  missing: Required tool dmidecode not installed. Check --recommends 
CPU:
  Info: Quad Core model: N/A variant: cortex-a72 bits: 64 type: MCP 
  arch: ARMv8 family: 8 model-id: 0 stepping: 3 bogomips: 432 
  Speed: 600 MHz min/max: 600/1500 MHz Core speeds (MHz): 1: 1100 2: 1100 
  3: 1100 4: 1100 
  Features: asimd cpuid crc32 evtstrm fp 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass status: Vulnerable 
  Type: spectre_v1 mitigation: __user pointer sanitization 
  Type: spectre_v2 status: Vulnerable 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: bcm2711-vc5 driver: vc4_drm v: N/A bus-ID: N/A chip-ID: brcm:gpu 
  class-ID: gpu 
  Device-2: bcm2711-hdmi0 driver: N/A bus-ID: N/A chip-ID: brcm:soc 
  class-ID: hdmi 
  Device-3: bcm2711-hdmi1 driver: N/A bus-ID: N/A chip-ID: brcm:soc 
  class-ID: hdmi 
  Display: server: X.org 1.20.13 compositor: kwin_x11 driver: 
  loaded: modesetting alternate: fbdev resolution: <missing: xdpyinfo> 
  Message: Unable to show advanced data. Required tool glxinfo missing. 
Audio:
  Device-1: bcm2835-audio driver: bcm2835_audio bus-ID: N/A 
  chip-ID: brcm:bcm2835_audio class-ID: bcm2835_audio 
  Device-2: bcm2711-hdmi0 driver: N/A bus-ID: N/A chip-ID: brcm:soc 
  class-ID: hdmi 
  Device-3: bcm2711-hdmi1 driver: N/A bus-ID: N/A chip-ID: brcm:soc 
  class-ID: hdmi 
  Sound Server-1: ALSA v: k5.10.63-2-MANJARO-ARM running: yes 
  Sound Server-2: JACK v: 1.9.19 running: no 
  Sound Server-3: PulseAudio v: 15.0 running: no 
  Sound Server-4: PipeWire v: 0.3.37 running: yes 
Network:
  Device-1: bcm2835-mmc driver: mmc_bcm2835 v: N/A port: N/A bus-ID: N/A 
  chip-ID: brcm:fe300000 class-ID: mmcnr 
  IF: wlan0 state: down mac: <filter> 
  Device-2: bcm2711-genet-v5 driver: bcmgenet v: N/A port: N/A bus-ID: N/A 
  chip-ID: brcm:fd580000 class-ID: ethernet 
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: dynamic noprefixroute scope: global 
  IP v6: <filter> type: noprefixroute scope: link 
  IF-ID-1: mullvad-de13 state: unknown speed: N/A duplex: N/A mac: N/A 
  IP v4: <filter> type: noprefixroute scope: global 
  IP v6: <filter> type: noprefixroute scope: global 
  IP v6: <filter> type: noprefixroute scope: link 
  WAN IP: <filter> 
Bluetooth:
  Device-1: pl011 driver: uart_pl011 bus-ID: N/A chip-ID: arm:fe201000 
  class-ID: serial 
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends 
Logical:
  Message: No logical block device data found. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 1.85 TiB used: 268.13 GiB (14.2%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/mmcblk0 maj-min: 179:0 vendor: SanDisk model: SD32G 
  size: 29.72 GiB block-size: physical: 512 B logical: 512 B type: SSD 
  serial: <filter> scheme: MBR 
  ID-2: /dev/sda maj-min: 8:0 type: USB vendor: Toshiba model: MQ01UBB200 
  size: 1.82 TiB block-size: physical: 512 B logical: 512 B type: HDD 
  rpm: 5400 serial: <filter> scheme: MBR 
  Message: No optical or floppy data found. 
Partition:
  ID-1: / raw-size: 29.48 GiB size: 28.96 GiB (98.23%) used: 9.47 GiB (32.7%) 
  fs: ext4 dev: /dev/mmcblk0p2 maj-min: 179:2 label: ROOT_MNJRO 
  uuid: ae6470ac-e850-4f99-96e8-a0d58be3aa6f 
  ID-2: /backup raw-size: 1.82 TiB size: 1.79 TiB (98.37%) 
  used: 258.61 GiB (14.1%) fs: ext4 dev: /dev/sda1 maj-min: 8:1 
  label: Backup_Toshiba uuid: 4d6022ca-0853-4215-99b5-28a5260fb088 
  ID-3: /boot raw-size: 213.6 MiB size: 213.4 MiB (99.89%) 
  used: 52.2 MiB (24.5%) fs: vfat dev: /dev/mmcblk0p1 maj-min: 179:1 
  label: BOOT_MNJRO uuid: E07C-E73E 
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) 
  ID-1: swap-1 type: zram size: 11.46 GiB used: 0 KiB (0.0%) priority: 100 
  dev: /dev/zram0 
Unmounted:
  Message: No unmounted partitions found. 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 1 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-2: 1-1:2 info: VIA Labs Hub ports: 4 rev: 2.1 speed: 480 Mb/s 
  power: 100mA chip-ID: 2109:3431 class-ID: 0900 
  Device-1: 1-1.3:3 info: GreenAsia 2.4G RX type: Keyboard,Mouse 
  driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s 
  power: 100mA chip-ID: 0e8f:00a4 class-ID: 0301 
  Device-2: 1-1.4:4 info: SiGma Micro USB Keyboard type: Keyboard,HID 
  driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s 
  power: 98mA chip-ID: 1c4f:0016 class-ID: 0300 
  Hub-3: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.0 speed: 5 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Device-1: 2-2:2 info: Toshiba America External USB 3.0 type: Mass Storage 
  driver: usb-storage interfaces: 1 rev: 3.0 speed: 5 Gb/s power: 896mA 
  chip-ID: 0480:a200 class-ID: 0806 serial: <filter> 
Sensors:
  System Temperatures: cpu: 55.5 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 165 Uptime: 6h 47m Init: systemd v: 249 tool: systemctl 
  Compilers: gcc: 10.2.0 Packages: pacman: 854 lib: 221 Shell: Bash v: 5.1.8 
  running-in: sshd (SSH) inxi: 3.3.06

Have you tried to run an fsck on /dev/mmcblk0 and /dev/sda from a bootable USB stick yet?

:thinking:

1 Like

That didn’t even occur to me. I can’t really interpret the output, though:

$ sudo fsck /dev/mmcblk0
fsck from util-linux 2.37.2
e2fsck 1.46.4 (18-Aug-2021)
ext2fs_open2: Bad magic number in super-block
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/mmcblk0

The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem.  If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
 or
    e2fsck -b 32768 <device>

/dev/mmcblk0 contains `DOS/MBR boot sector; partition 1 : ID=0xc, start-CHS (0x7a,140,1), end-CHS (0x3d4,100,1), startsector 62500, 437501 sectors; partition 2 : ID=0x83, start-CHS (0x284,2,2), end-CHS (0x8f,3,16), startsector 500001, 61833951 sectors' data

I’ll leave this here for you, while I look up “superblock” and “magic number.”

Instead of:

try:

sudo fsck /dev/mmcblk01
sudo fsck /dev/mmcblk02
sudo fsck /dev/sda1

because when we say

Check your disk

it really means

Check all the partitions on your disk.

Therefore, please read this:

:crossed_fingers:

1 Like

Yeah, that was a bit of a brain-bug there last night. I just blindly threw in your suggestion. I tested all partitions separately and it seems that the boot partition has issues.

$ sudo fsck /dev/mmcblk0p1
fsck from util-linux 2.37.2
fsck.fat 4.2 (2021-01-31)
Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
1) Remove dirty bit
2) No action
[12?q]? 2
/dev/mmcblk0p1: 268 files, 13357/54628 clusters
$ sudo fsck /dev/mmcblk0p2
fsck from util-linux 2.37.2
e2fsck 1.46.4 (18-Aug-2021)
ROOT_MNJRO: clean, 286809/1914432 files, 2609189/7729243 blocks
$ sudo fsck /dev/sda1
fsck from util-linux 2.37.2
e2fsck 1.46.4 (18-Aug-2021)
Backup_Toshiba: clean, 289709/122101760 files, 86149068/488378368 blocks

I then went ahead and removed the “dirty bit,” but to no avail. The system still won’t properly shut down and after another failed shutdown the “dirty bit” reappears.

$ sudo fsck -a /dev/mmcblk0p1
fsck from util-linux 2.37.2
fsck.fat 4.2 (2021-01-31)
Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
 Automatically removing dirty bit.

*** Filesystem was changed ***
Writing changes.
/dev/mmcblk0p1: 268 files, 13357/54628 clusters

One failed shutdown later:

$ sudo fsck /dev/mmcblk0p1
fsck from util-linux 2.37.2
fsck.fat 4.2 (2021-01-31)
Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
1) Remove dirty bit
2) No action
[12?q]? 2
/dev/mmcblk0p1: 268 files, 13357/54628 clusters

So I guess I’ll have to look for a reason why the file system wouldn’t be properly unmounted during shutdown.

What’s the output of:

journalctl --system --boot=-1 | tail --lines=50

:question:

2 Likes
$ journalctl --system --boot=-1 | tail --lines=50
Sep 29 15:16:07 xenonite systemd[1]: Stopped target Local Encrypted Volumes.
Sep 29 15:16:07 xenonite systemd[1]: systemd-ask-password-wall.path: Deactivated successfully.
Sep 29 15:16:07 xenonite systemd[1]: Stopped Forward Password Requests to Wall Directory Watch.
Sep 29 15:16:07 xenonite systemd[1]: Stopped target Local Verity Integrity Protected Volumes.
Sep 29 15:16:07 xenonite systemd[1]: Stopping Set Up Additional Binary Formats...
Sep 29 15:16:07 xenonite systemd[1]: systemd-sysctl.service: Deactivated successfully.
Sep 29 15:16:07 xenonite systemd[1]: Stopped Apply Kernel Variables.
Sep 29 15:16:07 xenonite systemd[1]: systemd-modules-load.service: Deactivated successfully.
Sep 29 15:16:07 xenonite systemd[1]: Stopped Load Kernel Modules.
Sep 29 15:16:07 xenonite systemd[1]: Stopping Network Time Synchronization...
Sep 29 15:16:07 xenonite systemd[1]: Stopping Record System Boot/Shutdown in UTMP...
Sep 29 15:16:07 xenonite systemd[1]: systemd-timesyncd.service: Deactivated successfully.
Sep 29 15:16:07 xenonite systemd[1]: Stopped Network Time Synchronization.
Sep 29 15:16:07 xenonite systemd[1]: systemd-binfmt.service: Deactivated successfully.
Sep 29 15:16:07 xenonite systemd[1]: Stopped Set Up Additional Binary Formats.
Sep 29 15:16:07 xenonite systemd[1]: proc-sys-fs-binfmt_misc.automount: Deactivated successfully.
Sep 29 15:16:07 xenonite systemd[1]: Unset automount Arbitrary Executable File Formats File System Automount Point.
Sep 29 15:16:07 xenonite systemd[1]: proc-sys-fs-binfmt_misc.mount: Deactivated successfully.
Sep 29 15:16:07 xenonite systemd[1]: systemd-update-utmp.service: Deactivated successfully.
Sep 29 15:16:07 xenonite systemd[1]: Stopped Record System Boot/Shutdown in UTMP.
Sep 29 15:16:07 xenonite systemd[1]: systemd-tmpfiles-setup.service: Deactivated successfully.
Sep 29 15:16:07 xenonite systemd[1]: Stopped Create Volatile Files and Directories.
Sep 29 15:16:07 xenonite systemd[1]: Stopped target Local File Systems.
Sep 29 15:16:07 xenonite systemd[1]: Unmounting /boot...
Sep 29 15:16:07 xenonite systemd[1]: Unmounting Temporary Directory /tmp...
Sep 29 15:16:07 xenonite systemd[1]: boot.mount: Deactivated successfully.
Sep 29 15:16:07 xenonite systemd[1]: Unmounted /boot.
Sep 29 15:16:07 xenonite systemd[1]: Stopped target Preparation for Local File Systems.
Sep 29 15:16:07 xenonite systemd[1]: Stopping Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
Sep 29 15:16:07 xenonite systemd[1]: systemd-remount-fs.service: Deactivated successfully.
Sep 29 15:16:07 xenonite systemd[1]: Stopped Remount Root and Kernel File Systems.
Sep 29 15:16:07 xenonite systemd[1]: systemd-tmpfiles-setup-dev.service: Deactivated successfully.
Sep 29 15:16:07 xenonite systemd[1]: Stopped Create Static Device Nodes in /dev.
Sep 29 15:16:07 xenonite systemd[1]: tmp.mount: Deactivated successfully.
Sep 29 15:16:07 xenonite systemd[1]: Unmounted Temporary Directory /tmp.
Sep 29 15:16:07 xenonite systemd[1]: Stopped target Swaps.
Sep 29 15:16:07 xenonite systemd[1]: Reached target Unmount All Filesystems.
Sep 29 15:16:08 xenonite systemd[1]: lvm2-monitor.service: Deactivated successfully.
Sep 29 15:16:08 xenonite systemd[1]: Stopped Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling.
Sep 29 15:16:08 xenonite systemd[1]: Reached target System Shutdown.
Sep 29 15:16:08 xenonite systemd[1]: Reached target Late Shutdown Services.
Sep 29 15:16:08 xenonite systemd[1]: systemd-reboot.service: Deactivated successfully.
Sep 29 15:16:08 xenonite systemd[1]: Finished System Reboot.
Sep 29 15:16:08 xenonite systemd[1]: Reached target System Reboot.
Sep 29 15:16:08 xenonite systemd[1]: Shutting down.
Sep 29 15:16:08 xenonite systemd[1]: Using hardware watchdog 'Broadcom BCM2835 Watchdog timer', version 0, device /dev/watchdog
Sep 29 15:16:08 xenonite systemd[1]: Failed to set timeout to 600s: Invalid argument
Sep 29 15:16:08 xenonite systemd-shutdown[1]: Syncing filesystems and block devices.
Sep 29 15:16:09 xenonite systemd-shutdown[1]: Sending SIGTERM to remaining processes...
Sep 29 15:16:09 xenonite systemd-journald[208]: Journal stopped

Edit: This is a bit weird to me. Wouldn’t --boot=-1 tell me about the boot previous to the current one? I don’t really know why I would tell me about 29th September, then …

$ last -x shutdown
shutdown system down  5.10.63-2-MANJAR Tue Oct  5 11:09 - 15:11 (-34+19:58)
shutdown system down  5.10.63-2-MANJAR Tue Oct  5 10:49 - 15:11 (-34+19:38)
shutdown system down  5.10.63-2-MANJAR Tue Oct  5 10:27 - 15:11 (-34+19:15)
shutdown system down  5.10.63-2-MANJAR Mon Oct  4 20:19 - 15:11 (-34+05:08)
shutdown system down  5.10.63-2-MANJAR Mon Oct  4 15:39 - 15:11 (-34+00:27)
shutdown system down  5.10.63-2-MANJAR Mon Oct  4 15:32 - 15:11 (-34+00:21)
shutdown system down  5.10.63-2-MANJAR Mon Oct  4 14:02 - 15:11 (-33+22:51)
shutdown system down  5.10.63-2-MANJAR Sat Oct  2 14:11 - 15:11 (-31+22:59)
shutdown system down  5.10.63-2-MANJAR Sat Oct  2 13:52 - 15:11 (-31+22:41)
shutdown system down  5.10.63-2-MANJAR Sat Oct  2 13:38 - 15:11 (-31+22:26)
shutdown system down  5.10.63-2-MANJAR Wed Sep 29 15:16 - 15:11 (-29+00:04)
shutdown system down  5.10.63-2-MANJAR Wed Sep 29 15:12 - 15:11 (-29+00:01)
shutdown system down  5.10.63-1-MANJAR Wed Sep 29 15:07 - 15:11 (-28+23:56)
shutdown system down  5.10.63-1-MANJAR Wed Sep 29 13:45 - 15:11 (-28+22:34)
shutdown system down  5.10.63-1-MANJAR Wed Sep 29 13:39 - 15:11 (-28+22:27)
shutdown system down  5.10.63-1-MANJAR Mon Sep 27 19:36 - 15:11 (-27+04:24)
shutdown system down  5.10.63-1-MANJAR Mon Sep 27 19:24 - 15:11 (-27+04:13)
shutdown system down  5.10.63-1-MANJAR Sun Sep 26 16:47 - 15:11 (-26+01:35)
shutdown system down  5.10.63-1-MANJAR Sun Sep 26 13:26 - 15:11 (-25+22:15)
shutdown system down  5.10.59-1-MANJAR Sun Sep 26 02:28 - 15:11 (-25+11:17)
shutdown system down  5.10.59-1-MANJAR Sun Aug  8 20:58 - 20:55  (-00:03)

wtmp begins Sun Aug  8 20:55:42 2021
1 Like

It doesn’t matter: as long as I’ve got one of them… :+1:

but that one is a reboot: I need a shutdown one, please?

:innocent:

1 Like

Maybe this, then?

$ journalctl --system --boot=-2 | tail --lines=50
Okt 04 15:32:56 xenonite systemd[1]: Stopping Set Up Additional Binary Formats...
Okt 04 15:32:56 xenonite systemd[1]: systemd-sysctl.service: Deactivated successfully.
Okt 04 15:32:56 xenonite systemd[1]: Stopped Apply Kernel Variables.
Okt 04 15:32:56 xenonite systemd[1]: systemd-modules-load.service: Deactivated successfully.
Okt 04 15:32:56 xenonite systemd[1]: Stopped Load Kernel Modules.
Okt 04 15:32:56 xenonite systemd[1]: Stopping Network Time Synchronization...
Okt 04 15:32:56 xenonite systemd[1]: Stopping Record System Boot/Shutdown in UTMP...
Okt 04 15:32:56 xenonite systemd[1]: systemd-timesyncd.service: Deactivated successfully.
Okt 04 15:32:56 xenonite systemd[1]: Stopped Network Time Synchronization.
Okt 04 15:32:56 xenonite systemd[1]: systemd-binfmt.service: Deactivated successfully.
Okt 04 15:32:56 xenonite systemd[1]: Stopped Set Up Additional Binary Formats.
Okt 04 15:32:56 xenonite systemd[1]: proc-sys-fs-binfmt_misc.automount: Deactivated successfully.
Okt 04 15:32:56 xenonite systemd[1]: Unset automount Arbitrary Executable File Formats File System Automount Point.
Okt 04 15:32:56 xenonite systemd[1]: proc-sys-fs-binfmt_misc.mount: Deactivated successfully.
Okt 04 15:32:56 xenonite systemd[1]: systemd-update-utmp.service: Deactivated successfully.
Okt 04 15:32:56 xenonite systemd[1]: Stopped Record System Boot/Shutdown in UTMP.
Okt 04 15:32:56 xenonite systemd[1]: systemd-tmpfiles-setup.service: Deactivated successfully.
Okt 04 15:32:56 xenonite systemd[1]: Stopped Create Volatile Files and Directories.
Okt 04 15:32:56 xenonite systemd[1]: Stopped target Local File Systems.
Okt 04 15:32:56 xenonite systemd[1]: Unmounting /backup...
Okt 04 15:32:56 xenonite systemd[1]: Unmounting /boot...
Okt 04 15:32:56 xenonite systemd[1]: Unmounting Temporary Directory /tmp...
Okt 04 15:32:56 xenonite systemd[1]: boot.mount: Deactivated successfully.
Okt 04 15:32:56 xenonite systemd[1]: Unmounted /boot.
Okt 04 15:32:56 xenonite systemd[1]: tmp.mount: Deactivated successfully.
Okt 04 15:32:56 xenonite systemd[1]: Unmounted Temporary Directory /tmp.
Okt 04 15:32:56 xenonite systemd[1]: Stopped target Swaps.
Okt 04 15:33:02 xenonite systemd[1]: backup.mount: Deactivated successfully.
Okt 04 15:33:02 xenonite systemd[1]: Unmounted /backup.
Okt 04 15:33:02 xenonite systemd[1]: Reached target Unmount All Filesystems.
Okt 04 15:33:02 xenonite systemd[1]: systemd-fsck@dev-disk-by\x2duuid-4d6022ca\x2d0853\x2d4215\x2d99b5\x2d28a5260fb088.service: Deactivated successfully.
Okt 04 15:33:02 xenonite systemd[1]: Stopped File System Check on /dev/disk/by-uuid/4d6022ca-0853-4215-99b5-28a5260fb088.
Okt 04 15:33:02 xenonite systemd[1]: Removed slice Slice /system/systemd-fsck.
Okt 04 15:33:02 xenonite systemd[1]: Stopped target Preparation for Local File Systems.
Okt 04 15:33:02 xenonite systemd[1]: Stopping Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
Okt 04 15:33:02 xenonite systemd[1]: systemd-remount-fs.service: Deactivated successfully.
Okt 04 15:33:02 xenonite systemd[1]: Stopped Remount Root and Kernel File Systems.
Okt 04 15:33:02 xenonite systemd[1]: systemd-tmpfiles-setup-dev.service: Deactivated successfully.
Okt 04 15:33:02 xenonite systemd[1]: Stopped Create Static Device Nodes in /dev.
Okt 04 15:33:02 xenonite systemd[1]: lvm2-monitor.service: Deactivated successfully.
Okt 04 15:33:02 xenonite systemd[1]: Stopped Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling.
Okt 04 15:33:02 xenonite systemd[1]: Reached target System Shutdown.
Okt 04 15:33:02 xenonite systemd[1]: Reached target Late Shutdown Services.
Okt 04 15:33:02 xenonite systemd[1]: systemd-poweroff.service: Deactivated successfully.
Okt 04 15:33:02 xenonite systemd[1]: Finished System Power Off.
Okt 04 15:33:02 xenonite systemd[1]: Reached target System Power Off.
Okt 04 15:33:02 xenonite systemd[1]: Shutting down.
Okt 04 15:33:02 xenonite systemd-shutdown[1]: Syncing filesystems and block devices.
Okt 04 15:33:03 xenonite systemd-shutdown[1]: Sending SIGTERM to remaining processes...
Okt 04 15:33:03 xenonite systemd-journald[211]: Journal stopped
1 Like

I’m all out of great ideas. If this would be a PC, I’d ask:

Have you updated the firmware yet?

but I don’t know if that’s possible with a pi4 running Manjaro as the only guides I’ve found are for Raspbian… @Strit

:question:

1 Like

A couple of things to try:

Add 8250.nr_uarts=1 to /boot/cmdline.txt and reboot… see if it will then reboot/shutdown.

If that does not work, try systemctl disable wpa_supplicant and reboot… see if it will then reboot/shutdown. (This will disable wifi until it is re-enabled).

2 Likes

Thanks for your suggestions. :+1:

This didn’t change anything in my Pi4’s behaviour.

Sadly, no good.

I noticed something else, though. The wpa_supplicant wouldn’t let itself be disabled … or I should say, it won’t remain disabled. Perhaps the issue here is that Pi4 doesn’t reboot, though, as it gets stuck somewhere during shutdown. After I used systemctl disable wpa_supplicant (as root) and restarted the Pi4 (using the “power-plug method”, after it got stuck again, as it wouldn’t reboot itself), systemctl status wpa_supplicant revealed that it was still running.

It is odd that wpa_supplicant will not disable… are you sure your rootfs is mounted rw?

grep " / " /etc/mtab
/dev/sda3 / btrfs rw,noatime,compress-force=zstd:3,ssd,discard=async,space_cache,subvolid=257,subvol=/@ 0 0

I use btrfs so your line will look different… but make sure you see “rw” and not “ro”.

1 Like
[root@xenonite ~]# grep " / " /etc/mtab
/dev/mmcblk0p2 / ext4 rw,relatime 0 0

Those are the two things that I know of that can cause this. It may still be related to wpa_supplicant.

The 8250.nr_uarts=1 adds /dev/ttyS0 which resolved a very similar reboot issue with the 5.12 kernel. You can remove it or leave it, should not cause issues going forward.

Make sure to re-enable wpa_supplicant, even though it does not seem to need it. Just so things are back to the way they should be. Maybe @Darksky will have some more ideas.

1 Like

I am sorta at a loss. I have been reading this thread all along. No one else seems to be having this issue with an updated system and plasma.

All of the things in the past that has caused this issue tried was an issue with an old kernel or when booting using uefi/grub.

To test if wpa_supplicant is really the cause of the issue rename the /usr/bin/wpa_supplicant bin to something else as NetworkManager.service will pull it in at boot. Then reboot.

Sometimes if one does dot have crda installed and your country regulatory domain set it hampers full communication with your router and causes issues.

https://wiki.archlinux.org/title/Network_configuration/Wireless#Respecting_the_regulatory_domain

The last issue I know of was involving mate DE not playing well with the latest matray package being installed and it has to be removed.

1 Like

I went ahead and tried your three suggestions as well, alas, to no avail. I’m all out of ideas—have been for a while now. So now, I’m going to flash a second SD card using the same Manjaro ARM image file I used for this one, and then I will set up this system on that new SD card exactly as I did the old one. Each step of the way I will check whether shutting down and rebooting the system still works.

Best case scenario: At some point it stops working and I can then say what package, process, or service is the culprit.

Worst-ish case: I end up with a fully functional system, but we’ll never know what the hell was going on here.

Thank you all for all your time and help so far. I’m going to try to keep you posted on my findings. :heart:

1 Like