You are not logged in.

#1 2009-07-11 02:17:05

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

[Solved] "Magic" SysKeys Dont Work

Ever since I started using arch about a year ago Ive never gotten the "Magic Syskeys" to work, even if theyre enabled in the kernel. If my system locks up I would try the RISUB sequence but it never seems to do anything so in the end I just end up hitting the reset button. Anyone know how to resolve this?

Last edited by brando56894 (2009-07-15 06:53:21)

Offline

#2 2009-07-11 02:47:30

droog
Member
Registered: 2004-11-18
Posts: 877

Re: [Solved] "Magic" SysKeys Dont Work

did you enable it in /etc/sysctl.conf?

Offline

#3 2009-07-11 08:03:49

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: [Solved] "Magic" SysKeys Dont Work

what's the output of sysctl -a | grep sysrq?

If 0, you can set with sysctl -w kernel.sysrq=1.

Permanently settings in /etc/sysctl.conf.

man sysctl
man sysctl.conf

Offline

#4 2009-07-15 00:42:48

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

Re: [Solved] "Magic" SysKeys Dont Work

[bran@ra ~]$ cls; sudo sysctl -a | grep sysrq
error: "Bad address" reading key "net.netfilter.nf_log.0"
error: "Bad address" reading key "net.netfilter.nf_log.1"
error: "Bad address" reading key "net.netfilter.nf_log.2"
error: "Bad address" reading key "net.netfilter.nf_log.3"
error: "Bad address" reading key "net.netfilter.nf_log.4"
error: "Bad address" reading key "net.netfilter.nf_log.5"
error: "Bad address" reading key "net.netfilter.nf_log.6"
error: "Bad address" reading key "net.netfilter.nf_log.7"
error: "Bad address" reading key "net.netfilter.nf_log.8"
error: "Bad address" reading key "net.netfilter.nf_log.9"
error: "Bad address" reading key "net.netfilter.nf_log.10"
error: "Bad address" reading key "net.netfilter.nf_log.11"
error: "Bad address" reading key "net.netfilter.nf_log.12"
error: permission denied on key 'net.ipv4.route.flush'
error: permission denied on key 'net.ipv6.route.flush'
kernel.sysrq = 0

I didnt know you had to turn it on, whenever I used a debian based distro it was always on by default. wouldnt setting kernel.sysrq=1 disable it since the comment says

# Disable the magic-sysrq key (console security issues)
kernel.sysrq=0

Ive always known a value of 0 to be off and 1 to be on, after looking again I think I understand it, its just bad wording. correct?

Last edited by brando56894 (2009-07-15 01:16:40)

Offline

#5 2009-07-15 01:32:01

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: [Solved] "Magic" SysKeys Dont Work

Yeah it should probably say "Enable sysrq key (disabled by default)"


neutral

Offline

#6 2009-07-15 01:34:53

brando56894
Member
From: NYC
Registered: 2008-08-03
Posts: 681

Re: [Solved] "Magic" SysKeys Dont Work

Thanks, thats what I figured.

Offline

Board footer

Powered by FluxBB