My system has be fine until this morning.
Now i find it will hang for ages in i try to suspend and it will crash completely when waking up (it wakes with a frozen desktop that you can not do anything with except a hard reset)
I have no clue what has changed, nothing as far as i know.
Im trying to make a script to umount -a -t cifs
before sleep and the mount -a -t cifs
after wake but im not getting anywhere.
I would much rather figure why its just started doing this?
inxi -b
❱inxi -b
System:
Host: greg-venusseries Kernel: 6.9.12-1-MANJARO arch: x86_64 bits: 64
Desktop: KDE Plasma v: 6.0.5 Distro: Manjaro Linux
Machine:
Type: Desktop System: Micro (HK) Tech product: Venus Series v: N/A
serial:
Mobo: Shenzhen Meigao Equipment model: AHWSA serial:
UEFI: American Megatrends LLC. v: AHWSA.1.22 date: 03/12/2024
full journalctl of a suspend/wake attempt: it had to be hard rebooted at the end.
Aug 18 13:08:22 greg-venusseries systemd[895]: Started Sleep.
Aug 18 13:08:22 greg-venusseries systemd-logind[795]: The system will suspend now!
Aug 18 13:08:22 greg-venusseries ModemManager[835]: <msg> [sleep-monitor-systemd] system is about to suspend
Aug 18 13:08:22 greg-venusseries NetworkManager[791]: <info> [1723982902.9642] manager: sleep: sleep requested (sleeping: no enabled: yes)
Aug 18 13:08:22 greg-venusseries NetworkManager[791]: <info> [1723982902.9644] device (p2p-dev-wlp88s0): state change: disconnected -> unmanaged (reason 'unmanaged-sleep>
Aug 18 13:08:22 greg-venusseries NetworkManager[791]: <info> [1723982902.9648] manager: NetworkManager state is now ASLEEP
Aug 18 13:08:22 greg-venusseries NetworkManager[791]: <info> [1723982902.9649] device (wlp88s0): state change: activated -> deactivating (reason 'sleeping', sys-iface-st>
Aug 18 13:08:22 greg-venusseries NetworkManager[791]: <info> [1723982902.9650] dhcp4 (wlp88s0): canceled DHCP transaction
Aug 18 13:08:22 greg-venusseries NetworkManager[791]: <info> [1723982902.9650] dhcp4 (wlp88s0): activation: beginning transaction (timeout in 45 seconds)
Aug 18 13:08:22 greg-venusseries NetworkManager[791]: <info> [1723982902.9650] dhcp4 (wlp88s0): state changed no lease
Aug 18 13:08:22 greg-venusseries NetworkManager[791]: <info> [1723982902.9651] dhcp6 (wlp88s0): canceled DHCP transaction
Aug 18 13:08:22 greg-venusseries NetworkManager[791]: <info> [1723982902.9651] dhcp6 (wlp88s0): activation: beginning transaction (timeout in 45 seconds)
Aug 18 13:08:22 greg-venusseries NetworkManager[791]: <info> [1723982902.9651] dhcp6 (wlp88s0): state changed no lease
Aug 18 13:08:22 greg-venusseries kded6[1014]: org.kde.plasma.nm.kded: Unhandled active connection state change: 3
Aug 18 13:08:22 greg-venusseries systemd[1]: Starting Network Manager Script Dispatcher Service...
Aug 18 13:08:23 greg-venusseries systemd[1]: Started Network Manager Script Dispatcher Service.
Aug 18 13:08:23 greg-venusseries kernel: wlp88s0: deauthenticating from 9c:53:22:17:e0:15 by local choice (Reason: 3=DEAUTH_LEAVING)
Aug 18 13:08:23 greg-venusseries wpa_supplicant[886]: nl80211: send_event_marker failed: Source based routing not supported
Aug 18 13:08:23 greg-venusseries wpa_supplicant[886]: wlp88s0: CTRL-EVENT-DISCONNECTED bssid=9c:53:22:17:e0:15 reason=3 locally_generated=1
Aug 18 13:08:23 greg-venusseries wpa_supplicant[886]: wlp88s0: CTRL-EVENT-DSCP-POLICY clear_all
Aug 18 13:08:23 greg-venusseries NetworkManager[791]: <info> [1723982903.4617] device (wlp88s0): state change: deactivating -> disconnected (reason 'sleeping', sys-iface>
Aug 18 13:08:23 greg-venusseries wpa_supplicant[886]: wlp88s0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Aug 18 13:08:23 greg-venusseries NetworkManager[791]: <info> [1723982903.4935] device (wlp88s0): supplicant interface state: completed -> disconnected
Aug 18 13:08:23 greg-venusseries NetworkManager[791]: <info> [1723982903.4936] device (wlp88s0): state change: disconnected -> unmanaged (reason 'unmanaged-sleeping', sy>
Aug 18 13:08:23 greg-venusseries wpa_supplicant[886]: wlp88s0: CTRL-EVENT-DSCP-POLICY clear_all
Aug 18 13:08:23 greg-venusseries systemd[1]: Reached target Sleep.
Aug 18 13:08:23 greg-venusseries systemd[1]: Starting System Suspend...
Aug 18 13:08:23 greg-venusseries wpa_supplicant[886]: wlp88s0: CTRL-EVENT-DSCP-POLICY clear_all
Aug 18 13:08:23 greg-venusseries wpa_supplicant[886]: nl80211: deinit ifname=wlp88s0 disabled_11b_rates=0
Aug 18 13:08:33 greg-venusseries systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Aug 18 13:08:37 greg-venusseries systemd[1]: Starting Check Bluetooth Connection and Reconnect if Needed...
Aug 18 13:08:37 greg-venusseries bt-recon.sh[3630]: No devices connected. Attempting to connect...
Aug 18 13:08:37 greg-venusseries bt-recon.sh[3635]: [84B blob data]
Aug 18 13:08:37 greg-venusseries bt-recon.sh[3635]: [bluetooth]# connect B0:38:E2:51:B0:B4
Aug 18 13:08:37 greg-venusseries bt-recon.sh[3635]: Attempting to connect to B0:38:E2:51:B0:B4
Aug 18 13:08:37 greg-venusseries bt-recon.sh[3635]: [54B blob data]
Aug 18 13:08:37 greg-venusseries bt-recon.sh[3635]: [bluetooth]#
Aug 18 13:08:37 greg-venusseries bt-recon.sh[3637]: [84B blob data]
Aug 18 13:08:37 greg-venusseries bt-recon.sh[3637]: [bluetooth]# connect E0:9D:FA:F5:5F:99
Aug 18 13:08:37 greg-venusseries bt-recon.sh[3637]: Device E0:9D:FA:F5:5F:99 not available
Aug 18 13:08:37 greg-venusseries bt-recon.sh[3637]: [54B blob data]
Aug 18 13:08:37 greg-venusseries bt-recon.sh[3637]: [bluetooth]#
Aug 18 13:08:37 greg-venusseries bt-recon.sh[3639]: [84B blob data]
Aug 18 13:08:37 greg-venusseries bt-recon.sh[3639]: [bluetooth]# connect B0:38:E2:51:B1:F0
Aug 18 13:08:37 greg-venusseries bt-recon.sh[3639]: Attempting to connect to B0:38:E2:51:B1:F0
Aug 18 13:08:37 greg-venusseries bt-recon.sh[3639]: [bluetooth]#
Aug 18 13:08:37 greg-venusseries systemd[1]: check_bluetooth.service: Deactivated successfully.
Aug 18 13:08:37 greg-venusseries systemd[1]: Finished Check Bluetooth Connection and Reconnect if Needed.
Aug 18 13:08:57 greg-venusseries systemd[1]: Starting Check Bluetooth Connection and Reconnect if Needed...
Aug 18 13:08:58 greg-venusseries bt-recon.sh[3642]: No devices connected. Attempting to connect...
Aug 18 13:08:58 greg-venusseries bt-recon.sh[3647]: [84B blob data]
Aug 18 13:08:58 greg-venusseries bt-recon.sh[3647]: [bluetooth]# connect B0:38:E2:51:B0:B4
Aug 18 13:08:58 greg-venusseries bt-recon.sh[3647]: Attempting to connect to B0:38:E2:51:B0:B4
Aug 18 13:08:58 greg-venusseries bt-recon.sh[3647]: [bluetooth]#
Aug 18 13:08:58 greg-venusseries bt-recon.sh[3649]: [84B blob data]
Aug 18 13:08:58 greg-venusseries bt-recon.sh[3649]: [bluetooth]# connect E0:9D:FA:F5:5F:99
Aug 18 13:08:58 greg-venusseries bt-recon.sh[3649]: Device E0:9D:FA:F5:5F:99 not available
Aug 18 13:08:58 greg-venusseries bt-recon.sh[3649]: [bluetooth]#
I have tried making a script at
/usr/lib/systemd/system-sleep/smb-suspend.sh
with
#!/bin/bash
case $1 in
pre)
echo "Unmounting SMB shares..."
umount -a -t cifs
;;
post)
sleep 30
echo "Mounting SMB shares..."
mount -a -t cifs
;;
esac
but the network will not connect until after this script has ended so it wont work.
at a loss