Just woke up

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 :(

36 points · 3 comments · view on lemmy.world

3 Comments

Spider89@lemmy.world · 3 pts · 1y (2 replies)

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?

maxso216@ani.social · 1 pts · 1y (1 reply)

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.

Spider89@lemmy.world · 2 pts · 1y

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.