/srv/irclogs.ubuntu.com/2019/10/03/#ubuntu-irc.txt

ubot5In #ubuntu-discuss, tomreyn said: !sysrq is <reply> In an emergency, you may be able to shutdown cleanly and reboot by holding down Alt+PrintScreen and typing slowly, in succession, S, U and B. For an explanation, see https://en.wikipedia.org/wiki/Magic_SysRq_key18:07
dax!sysrq18:08
ubottuIn an emergency, you may be able to shutdown cleanly and reboot by holding down Alt+PrintScreen and typing slowly, in succession, R, E, I, S, U and B. For an explanation, see http://en.wikipedia.org/wiki/Magic_SysRq_key18:08
ubot5In #ubuntu-discuss, tomreyn said: !printk is <reply> If your !tty is flooded with error messages, you can limit the kernel logging daemons' log level below the default of 4 (KERN_WARNING), e.g. by running "echo 3 | sudo tee -a /proc/sys/kernel/printk". More info at https://wiki.ubuntu.com/Kernel/KernelDebuggingTricks#printk_is_your_friend and syslog(2)18:15
tomreyndax: diff is mostly that sysrq suggested pressing all of REISUB when only SUB works (due to the limiter that was introduced years ago to prevent physical attacks) and that printk was previously wrong, suggested raising the printk when it should be lowered.18:18
tomreyn(my mistake there)18:18
dax!printk18:20
ubottuIf your !tty is full of error messages, you can raise the kernel logging daemons' log level above the default of 4 (KERN_WARNING), e.g. by running "echo 7 | sudo tee -a /proc/sys/kernel/printk". More info at https://wiki.ubuntu.com/Kernel/KernelDebuggingTricks#printk_is_your_friend18:20
dax!-printk18:20
ubottuprintk has no aliases - added by Unit193 on 2019-09-23 00:41:3118:20
daxubottu: no, printk is <reply> If your !tty is flooded with error messages, you can limit the kernel logging daemons' log level below the default of 4 (KERN_WARNING), e.g. by running "echo 3 | sudo tee -a /proc/sys/kernel/printk". More info at https://wiki.ubuntu.com/Kernel/KernelDebuggingTricks#printk_is_your_friend and syslog(2)18:21
ubottuI'll remember that dax18:21
daxtomreyn: are R,E,I disabled on all supported ubuntu versions?18:22
tomreyndax: i would think definitely on generic kernels since 16.04, do not know about -oem (probably, too, based on how its patchset was described to me), do not know about ubuntu core.18:23
dax!-sysrq18:24
ubottusysrq aliases: reisub - added by ompaul on 2008-09-12 20:29:51 - last edited by rww on 2016-02-16 19:59:1818:24
daxubottu: sysrq =~ s/R, E, I, //18:24
ubottuI'll remember that dax18:24
dax!sysrq18:24
ubottuIn an emergency, you may be able to shutdown cleanly and reboot by holding down Alt+PrintScreen and typing slowly, in succession, S, U and B. For an explanation, see http://en.wikipedia.org/wiki/Magic_SysRq_key18:24
tomreynthank you!18:26
tomreyndax: https://www.kernel.org/doc/Documentation/admin-guide/sysrq.rst would be the 'official' (but not necessarily newbie friendly) sysrq manual and /etc/sysctl.d/10-magic-sysrq.conf defines the restrictions of which keys are supported on ubuntu systems.18:35
tomreynin addition to user space, the sysrq restrictions are also baked into kernels via CONFIGs: grep -i SYSRQ /boot/config-$(uname -r)18:39
daxyup. i'm at work and don't have an ubuntu handy, so wasn't sure which ones were enabled18:39
tomreynthe kernel restrictions are way more loose,though18:41
tomreyni won't bug you more ;)18:41

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!