All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rddunlap@osdl.org>
To: "Eric W. Biederman" <ebiederman@lnxi.com>
Cc: Linus Torvalds <torvalds@transmeta.com>, linux-kernel@vger.kernel.org
Subject: Re: 2.4.14-pre8 Alt-SysRq-[TM] failure during lockup...
Date: Mon, 05 Nov 2001 10:37:10 -0800	[thread overview]
Message-ID: <3BE6DC56.5A0984A4@osdl.org> (raw)
In-Reply-To: <m3wv15n5c9.fsf@DLT.linuxnetworx.com>

"Eric W. Biederman" wrote:
> 
> Summary:  I triggered a condition in 2.4.14-pre8 where SysRq triggered
> but would not print reports.  I managed to unstick the condition but
> had played to much to determine the root cause.  My guess is that
> somehow my default loglevel was messed up.  Full information is
> provided just case I did not muddy the waters too much.

Do you know what the console loglevel was when you tried
to use Alt-SysRq-M (show_mem) or Alt-SysRq-T (show tasks ==
show_state)?  (first value listed in /proc/sys/kernel/printk file)

show_mem() and show_state() don't modify the current value of
console_loglevel; they depend on the sysrq handler to do that.
That value could be too low/small.

E.g., if console_loglevel is 4, show_mem and show_state don't
show me anything on the console either, but they are added
to the log file.

[rubout]

> I then tried playing with sysrq and this is where I got worried.
> Alt-SysRq-Space gave the menu as normal.
> Alt-SysRq-M (showMem) printed just: "SysRq: Show Memory"
> Alt-SysRq-T (showTasks) printed just: "Sysrq: Show State"
> 
> Which is extremely strange the reports which should be at a higher
> loglevel were not displayed.
> 
> Then I typoed and pressed. Alt-SysRq-E (tErm) and I started getting the
> reports back.

Aye, sysrq_handle_term sets console_loglevel to 8 and leaves it there.

[rubout]

~Randy

  reply	other threads:[~2001-11-05 18:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-05  5:40 2.4.14-pre8 Alt-SysRq-[TM] failure during lockup Eric W. Biederman
2001-11-05 18:37 ` Randy.Dunlap [this message]
2001-11-06  2:41   ` Eric W. Biederman
2001-11-06 19:10     ` Randy.Dunlap
2001-11-07  3:49       ` Keith Owens
2001-11-12 17:55         ` rddunlap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3BE6DC56.5A0984A4@osdl.org \
    --to=rddunlap@osdl.org \
    --cc=ebiederman@lnxi.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.