You are not logged in.
Pages: 1
Hi,
Trying to get suspend working on a desktop system, and getting the following:
Oct 29 11:46:29 mars sudo[9754]: cbrake : TTY=pts/3 ; PWD=/home/cbrake ; USER=root ; COMMAND=/usr/bin/systemctl suspend
Oct 29 11:46:29 mars sudo[9754]: pam_unix(sudo:session): session opened for user root by (uid=0)
Oct 29 11:46:29 mars systemd[1]: Starting Sleep.
Oct 29 11:46:29 mars systemd[1]: Reached target Sleep.
Oct 29 11:46:29 mars systemd[1]: Starting Suspend...
Oct 29 11:46:29 mars systemd-sleep[9757]: Failed to open /sys/power/state: Read-only file system
Oct 29 11:46:29 mars systemd[1]: systemd-suspend.service: main process exited, code=exited, status=1/FAILURE
Oct 29 11:46:29 mars systemd[1]: Failed to start Suspend.
Oct 29 11:46:29 mars systemd[1]: Dependency failed for Suspend.
Oct 29 11:46:29 mars systemd[1]: Unit sleep.target is not needed anymore. Stopping.
Oct 29 11:46:29 mars systemd[1]: Unit systemd-suspend.service entered failed state.
Oct 29 11:46:29 mars sudo[9754]: pam_unix(sudo:session): session closed for user root
Oct 29 11:46:29 mars systemd[1]: Stopping Sleep.
Oct 29 11:46:29 mars systemd[1]: Stopped target Sleep.
I then checked, and /sys is indeed mounted RO:
sys on /sys type sysfs (ro,nosuid,nodev,noexec,relatime)
Does anyone have ideas how to encourage /sys to be mounted RW?
Thanks,
Cliff
Offline
mount -oremount,rw /sys?
I think the real question is: Why is your /sys mounted ro in the first place? Have you got anything in your fstab that might be causing this?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
here is my fstab -- I don't see anything too alarming there. I do noticed that on newer arch installs, the tmpfs line is not there.
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
# /dev/sda2
UUID=8a08179d-aa48-4c76-9735-a0be09a06098 / ext4 rw,relatime 0 1
# /dev/sda1
UUID=24C4-C206 /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
UUID=08ec403b-a035-4285-b9eb-03900711cb2b /scratch ext4 defaults 0 2
/dev/sda3 /scratch2 ext4 defaults 0 2
cbrake@mars:/home/fileserver /media/fileserver fuse.sshfs defaults,_netdev,port=26,idmap=user,IdentityFile=/home/cbrake/.ssh/id_dsa,allow_other,reconnect 0 0
Offline
Pages: 1