Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: Gentoo Users List <gentoo-user@l.g.o>
Subject: [gentoo-user] How cam I get system to recognize MagicSysReq while in X gui?
Date: Tue, 18 Dec 2007 04:25:59
Message-Id: 20071218041959.GA17619@waltdnes.org
1 I've figured out how to force a hard lockup on my system, by trying to
2 log on to my ADSL service when the modem is switched off. Yeah, I know...
3 Patient: Doctor, it hurts when I do that.
4 Doctor: In that case... *DON'T DO THAT*.
5
6 During one such lockup, I discovered that Magic SysRq doesn't work in
7 X. For those of you who haven't heard of it...
8 less /usr/src/linux/Documentation/sysrq.txt
9
10 The feature that I wanted to access was the ability to force an
11 emergency sync of the disks before powering off the system. This would
12 require simultaneously pressing {ALT}{SysRq}s after which I want to
13 force a boot with {ALT}{SysRq}b
14
15 This does work in a true textmode, but not in X. Fortunately,
16 Reiserfs' journalling saved my neck, but I'd rather not have to shut
17 down a machine that hasn't been synced. Is there a way to tell X to
18 pass through the {ALT}{SysRq}<random key> combo?
19
20 --
21 Walter Dnes <waltdnes@××××××××.org>
22 I'm not repeating myself
23 I'm an X Window user... I'm an ex-Windows-user
24 --
25 gentoo-user@g.o mailing list

Replies