Solution:
Root Cause: udisks2 Systemd Service Deadlocks & Stale Mount Points
During automated formatting routines, the Steam UI issues commands to
udisksctl to unmount
/dev/mmcblk0p1. If background processes (such as Steam background scrapers, Decky Loader plugins, or retro emulators) hold open file handles on the mounted directory,
udisks2 blocks indefinetly waiting for I/O completion, hanging the Game Mode formatting interface.
# Diagnostic Verification:
1. Open Konsole in Desktop Mode.
2. Check for active processes locking the block device:
bash
sudo lsof /run/media/deck/*
3. Review active systemd mount units for failures:
bash
systemctl status mount-sd@mmcblk0p1.service
# Step-by-Step Fix:
1.
Stop Steam Automount Service:
bash
sudo systemctl stop udisks2.service
2.
Manually Force Unmount Device:
bash
sudo umount -l /dev/mmcblk0* 2>/dev/null
3.
Perform Manual Terminal Formatting:
Partition and construct an EXT4 filesystem with SteamOS casefolding flags enabled: bash
sudo parted -s /dev/mmcblk0 mklabel gpt mkpart primary ext4 1MiB 100%
sudo mkfs.ext4 -m 0 -O casefold -F /dev/mmcblk0p1
4. Restart
udisks2 and reboot into Game Mode.
# Prevention & Long-Term Monitoring:
Always close Desktop Mode applications (especially Dolphin file manager and retro emulators) before switching to Game Mode to format storage devices.