public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Marc Haber <mh+linux-kernel@zugschlus.de>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.26.3 mount process looping on ext3 rw remount
Date: Fri, 5 Sep 2008 11:22:21 -0700	[thread overview]
Message-ID: <20080905112221.8be36263.akpm@linux-foundation.org> (raw)
In-Reply-To: <20080905113901.GA2756@torres.zugschlus.de>

On Fri, 5 Sep 2008 13:39:02 +0200 Marc Haber <mh+linux-kernel@zugschlus.de> wrote:

> On Mon, Aug 25, 2008 at 06:35:28PM -0700, Andrew Morton wrote:
> > Please try to get a kernel profile while it's happening.  oprofile
> > maybe, or just the plain old timer-based profiler.  There's some info
> > in Documentation/basic_profiling.txt.
> 
> I'll boot my next kernel with profile=2.
> 
> > Actually, a simple alternative is to hit sysrq-P five or ten times. 
> > Most of the resulting stack traces will point back at where the CPU is
> > stuck.
> 
> Where are they written to? "P" in a sysrqd telnet session does not
> result in anything being written to the kernel log or to dmesg.

alt-sysrq-p from the attached keyboard.

When operating remotely, use `echo p > /proc/sysrq-trigger'.

The output will be in /var/log/messages and is accessible via
`dmesg -s 1000000'.

Please avoid email client wordwrapping when sending these logs.  99% of
people do this and it makes the text very hard to read.

> > This gets a bit hit-or-miss if you have multiple CPUs, because the
> > sysrq-p trace can land on the wrong CPU.  We recently added a sysrq-l
> > which will generate a trace on all CPUS.
> 
> "l" results in the SysRq HELP being written to the kernel log, so I
> guess that "recently" means "not yet in 2.6.26.3".

ok

      reply	other threads:[~2008-09-05 18:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-23  8:42 2.6.26.3 mount process looping on ext3 rw remount Marc Haber
2008-08-26  1:35 ` Andrew Morton
2008-09-05 11:39   ` Marc Haber
2008-09-05 18:22     ` Andrew Morton [this message]

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=20080905112221.8be36263.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mh+linux-kernel@zugschlus.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox