By mafuyu_(chibi21),sauce
Talking about sleep, do anyone still use the Magic-SysRq to reboot the system when it freeze? I remember the RESIUB combination, and it sometime work, sometime doesn’t. Regardless of using Magic-SysRq to reboot or not, data is lost anyway :(
I’ve never heard of Magic-SysRq in my 6 years of using Linux.
I just turn my system off by force (Unplug/hold power button) and Ext4/XFS/F2FS does the rest.
What FS are you using?
Ext4. Well, during the early days of using Linux, I read an online article stating that Magic-SysRq can recover the system from a hang state, but it doesn’t.
It’s probably obsolete by now (I’m not so sure in that department…) since Linux FS are usually robust. (I use F2FS and never have corrupted data caused by a crash.)
If you have changed your FStab (adding noatime) or remove journaling, data has a higher chance of corruption.
Looking at Magic-SysRq, it looks like commands the kernel does that’s useful for hang states (Unless a complete lockup occurs). I’ve never even heard of this, just letting the kernel managed the hang or use the power button.
I don’t exactly know how your distro handles these (Or if you are using an experimental distro), but Debian Sid handles crashes exceptionally well. I have used Manjaro, but bugs (audio, lockups) have happened while in use.
Have you checked if it’s even working? Take a look here to find out what exactly is it and see if it even works as intended.
Hopefully this is helpful to your troubles. Have a good day.