My REISUB commands, and K, work flawlesly, but with T (it should print info about tasks), it prints nothing. H also doesn't work.


I tried in all tty's (even F10, which doesn't even have a login prompt), but nothing.

Things like K work all right, it kills the xserver and everything (handy, because it freezes all the time).

How to fix / where do they really print to?

I'm on Arch.

  • It could be disabled at kernel compile-time. What is the value of CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE in your kernel config (in /boot/config-3.whatever) ?
    – wurtel
    Nov 18, 2014 at 8:15
  • @don_crissti I did that, got no response :( | @wurtel sorry, there's no such file. my /boot has only grub initramfs-linux-fallback.img initramfs-linux.img vmlinuz-linux
    – MightyPork
    Nov 18, 2014 at 10:23

2 Answers 2


The default Arch Kernel should have the sysrq feature enabled in kernel (I'm using a custom one, but based the config on the default one). However, in the default kernel, the bitmask to control, which features of the sysrq keys are usable, is set to 0. I believe it is set to 16 (10000) somewhere during the boot on Arch, but I'm not sure where.

Provided the sysrq setting is compiled in the running kernel, one can check quite easily via:

$ cat /proc/sys/kernel/sysrq 

In this example it is set to 16 (=only emergency sync is enabled).

One can easily enable all sysrq functionality:

$ echo 1 > /proc/sys/kernel/sysrq

You need to do this as root, since echo does not work with sudo. Alternatively:

$ echo 1 | sudo tee /proc/sys/kernel/sysrq > /dev/null 

(the > /dev/null part is not strictly needed)

The sysrq configuration is explained in more detail in the kernel documentation, and even in the Wikipedia.

Also, if the problem is indeed that the bitmask is set so that required combinations are disabled, you should get a notification is syslog (at least I do):

kernel: SysRq : This sysrq operation is disabled.
  • 1
    I'm pretty sure I don't use a custom kernel in any of my Arch systems, but all of them report 16.
    – muru
    Apr 19, 2015 at 13:32
  • Yes, I just mentioned it in case I had accidentally changed this somewhere compared to the Arch stock kernel. Your finding verifies I hadn't =). Apr 19, 2015 at 13:36
  • Your documentation link is dead.
    – kasperd
    Feb 12, 2018 at 1:11
  • @kasperd link fixed. Feb 13, 2018 at 10:45

From the Kernel section on the Arch Linux Keyboard shortcuts wiki page

If you wish to have it enabled during boot, edit /etc/sysctl.d/99-sysctl.conf and insert the text kernel.sysrq = 1. If you want to make sure it will be enabled even before the partitions are mounted and in the initrd, then add sysrq_always_enabled=1 to your kernel boot command line options.

  • 2
    Can use simply sysrq_always_enabled (without =1) according to the doc - I've tested this and can confirm ;-)
    – user306023
    Sep 7, 2018 at 2:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .