Buried in the Wikipedia article is what I remember, with a note saying not to use it any more.

So what sysreq keys do you use to recover a non responsive system with a journaling file system?

Before the advent of journaled filesystems a common use of the magic SysRq key was to perform a safe reboot of a locked-up Linux computer (using the sequence of key presses indicated by the mnemonic REISUB), which lessened the risk of filesystem corruption. With modern filesystems, syncing and unmounting is still useful to force unflushed data to disk, but is no longer necessary to prevent filesystem corruption (and may increase the risk of corruption in case the lock-up is caused by the kernel being in a bad state).[11] The default value of kernel.sysrq in distributions such as Ubuntu and Debian remains 176[1]^ (allowing the sync, unmount, and reboot functions) and 438[12] (allowing the same functions plus loglevel, unraw, and nice-all-RT-tasks) respectively.


  1. citation needed ↩︎

  • stravanasu@lemmy.ca
    link
    fedilink
    arrow-up
    6
    ·
    20 hours ago

    If you have a Lenovo laptop, these are the keys:

    Press Alt key (or whatever key maps to Alt, if you’ve made key remappings) and keep it pressed all the time, while doing as follows, where “Fn” is the function key:

    • Press Fn+s, release Fn+s, press r
    • Press Fn+s, release, press e
    • Press Fn+s, release, press i
    • Press Fn+s, release, press s
    • Press Fn+s, release, press u
    • Press Fn+s, release, press b

    You see the sequence gives “REISUB”.

    When pressing keys or key combos, keep them pressed for a second or so. If you press a wrong key, restart from the beginning.

    Good luck! 🍀💪