Hello everyone. Is there a reason why CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE is 0x0 ?
Code:
$ zcat /proc/config.gz |grep CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE
CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x0
$ uname -r
4.4.0-1.slh.1-aptosid-amd64
I crashed my system two times, and I couldn't use SysRq R, S, E, I, U, B to restart it.
While both crashes were my fault, I couldn't find a proper wait to restart. I had no choice than power reset.
After doing a search I found in https://www.kernel.org/doc/Documentation/sysrq.txt that the kernel had it disabled and also learned that I could re-enable it with
Code:
echo "number" >/proc/sys/kernel/sysrq
Is there a better solution to have this enabled without building my own kernel, nor putting that echo code in a /etc/bashrc ? or maybe a GRUB command for the kernel?
Thank you |