mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@linux-foundation.org>
To: Alistair John Strachan <alistair@devzero.co.uk>
Cc: Jens Axboe <jens.axboe@oracle.com>,
	xfs@oss.sgi.com, Neil Brown <neilb@suse.de>,
	Nick Piggin <npiggin@suse.de>,
	linux-kernel@vger.kernel.org
Subject: Re: XFS/md/blkdev warning (was Re: Linux 2.6.26-rc2)
Date: Sat, 17 May 2008 11:37:35 -0700 (PDT)	[thread overview]
Message-ID: <alpine.LFD.1.10.0805171131000.3020@woody.linux-foundation.org> (raw)
In-Reply-To: <200805171922.56272.alistair@devzero.co.uk>



On Sat, 17 May 2008, Alistair John Strachan wrote:
>
> My guess is that when the kernel runs out of MemFree and starts reclaiming the 
> cache, something is deadlocking somewhere. Just doing a:
> 
> cat /dev/zero >/path/to/file

Do this on the console (and having a serial console or working netconsole 
is a wonderful thing to log it, because otherwise it will generally just 
scroll off the screen), and trigger SysRQ-w. That dumps all blocked tasks 
to the screen.

You may need to do

	echo 1 > /proc/sys/kernel/sysrq 

before that to enable it.

(Or if you have some things still running because they haevn't hit the 
lock that causes the deadlock, you can try

	echo w > /proc/sysrq-trigger

rather than the key combination).

			Linus

  reply	other threads:[~2008-05-17 18:38 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-12 14:55 Linux 2.6.26-rc2 Linus Torvalds
2008-05-12 19:32 ` Bart Van Assche
2008-05-12 19:55   ` Linus Torvalds
2008-05-12 23:22     ` Kasper Sandberg
2008-05-13  1:49 ` Oops on -rc2-git1, possibly md_raid1 or xfs related. (Was: Re: Linux 2.6.26-rc2) Kasper Sandberg
2008-05-13  1:55   ` Kasper Sandberg
2008-05-13  2:19   ` Neil Brown
     [not found] ` <200805121726.15576.alistair@devzero.co.uk>
     [not found]   ` <alpine.LFD.1.10.0805120933310.3019@woody.linux-foundation.org>
     [not found]     ` <20080512164920.GE16217@kernel.dk>
2008-05-13  1:05       ` [PATCH] Remove blkdev warning triggered by using md Neil Brown
2008-05-17 18:22       ` XFS/md/blkdev warning (was Re: Linux 2.6.26-rc2) Alistair John Strachan
2008-05-17 18:37         ` Linus Torvalds [this message]
2008-05-17 18:41           ` Linus Torvalds
2008-05-17 20:09           ` Alistair John Strachan
2008-05-17 21:17             ` Linus Torvalds
2008-05-17 23:12               ` Alistair John Strachan
2008-05-17 23:39               ` Christoph Hellwig
2008-05-18 14:12                 ` Alistair John Strachan

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=alpine.LFD.1.10.0805171131000.3020@woody.linux-foundation.org \
    --to=torvalds@linux-foundation.org \
    --cc=alistair@devzero.co.uk \
    --cc=jens.axboe@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neilb@suse.de \
    --cc=npiggin@suse.de \
    --cc=xfs@oss.sgi.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®