diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-18 14:15:05 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-18 14:15:05 -0500 |
commit | 4092762aebfe55c1f8e31440b80a053c2dbe519b (patch) | |
tree | 8fb9fd14131194174c12daf5d8195afd3b62bc3e /Documentation/sysrq.txt | |
parent | 745b1626dd71ce9661a05ea4db57859ed5c773d2 (diff) | |
parent | 1de9e8e70f5acc441550ca75433563d91b269bbe (diff) |
Merge branch 'tracing/ftrace'; commit 'v2.6.29-rc2' into tracing/core
Diffstat (limited to 'Documentation/sysrq.txt')
-rw-r--r-- | Documentation/sysrq.txt | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/Documentation/sysrq.txt b/Documentation/sysrq.txt index 56b53e005d18..535aeb936dbc 100644 --- a/Documentation/sysrq.txt +++ b/Documentation/sysrq.txt | |||
@@ -1,6 +1,5 @@ | |||
1 | Linux Magic System Request Key Hacks | 1 | Linux Magic System Request Key Hacks |
2 | Documentation for sysrq.c | 2 | Documentation for sysrq.c |
3 | Last update: 2007-AUG-04 | ||
4 | 3 | ||
5 | * What is the magic SysRq key? | 4 | * What is the magic SysRq key? |
6 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 5 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
@@ -213,6 +212,24 @@ within a function called by handle_sysrq, you must be aware that you are in | |||
213 | a lock (you are also in an interrupt handler, which means don't sleep!), so | 212 | a lock (you are also in an interrupt handler, which means don't sleep!), so |
214 | you must call __handle_sysrq_nolock instead. | 213 | you must call __handle_sysrq_nolock instead. |
215 | 214 | ||
215 | * When I hit a SysRq key combination only the header appears on the console? | ||
216 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
217 | Sysrq output is subject to the same console loglevel control as all | ||
218 | other console output. This means that if the kernel was booted 'quiet' | ||
219 | as is common on distro kernels the output may not appear on the actual | ||
220 | console, even though it will appear in the dmesg buffer, and be accessible | ||
221 | via the dmesg command and to the consumers of /proc/kmsg. As a specific | ||
222 | exception the header line from the sysrq command is passed to all console | ||
223 | consumers as if the current loglevel was maximum. If only the header | ||
224 | is emitted it is almost certain that the kernel loglevel is too low. | ||
225 | Should you require the output on the console channel then you will need | ||
226 | to temporarily up the console loglevel using alt-sysrq-8 or: | ||
227 | |||
228 | echo 8 > /proc/sysrq-trigger | ||
229 | |||
230 | Remember to return the loglevel to normal after triggering the sysrq | ||
231 | command you are interested in. | ||
232 | |||
216 | * I have more questions, who can I ask? | 233 | * I have more questions, who can I ask? |
217 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 234 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
218 | And I'll answer any questions about the registration system you got, also | 235 | And I'll answer any questions about the registration system you got, also |