public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@zip.com.au>
To: David Rees <dbr@greenhydrant.com>
Cc: linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org,
	ext3-users@redhat.com
Subject: Re: kupdated, bdflush and kjournald stuck in D state on RAID1 device  (deadlock?)
Date: Wed, 29 Aug 2001 14:38:23 -0700	[thread overview]
Message-ID: <3B8D60CF.A1400171@zip.com.au> (raw)
In-Reply-To: <20010829131720.A20537@greenhydrant.com> <3B8D54F3.46DC2ABB@zip.com.au>, <3B8D54F3.46DC2ABB@zip.com.au>; from akpm@zip.com.au on Wed, Aug 29, 2001 at 01:47:47PM -0700 <20010829141451.A20968@greenhydrant.com>

David Rees wrote:
> 
> On Wed, Aug 29, 2001 at 01:47:47PM -0700, Andrew Morton wrote:
> >
> > Certainly seems that way.
> >
> > Can you please send the output of
> >
> >       ps xwo pid,command,wchan
> >
> > Also, try a SYSRQ-T and, if the result makes it into the
> > logs, please pass it through `ksymoops -m System.map'.
> 
> OK, here's the ps output:
> 
> # ps xwo pid,command,wchan
>   PID COMMAND          WCHAN
>     1 init [3]         do_select
>     2 [keventd]        context_thread
>     3 [ksoftirqd_CPU0] ksoftirqd
>     4 [kswapd]         kswapd
>     5 [kreclaimd]      kreclaimd
>     6 [bdflush]        raid1_alloc_r1bh
>     7 [kupdated]       log_wait_commit
>     9 [mdrecoveryd]    md_thread
>    10 [raid1d]         md_thread
>    11 [kjournald]      kjournald
>   130 [kjournald]      kjournald
>   131 [kjournald]      wait_on_buffer
>   374 syslogd -m 0     do_select

OK, thanks.  bdflush is stuck in raid1_alloc_r1bh() and
everything else is blocked by it.  I thought we fixed 
that a couple of months ago :(

Could you send the output of `cat /proc/meminfo'?

> 18239 -bash            wait4
> 18274 umount /opt      rwsem_down_write_failed

What are we trying to do here?  Is /opt the deadlocked
filesytem?

  reply	other threads:[~2001-08-29 21:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-29 20:17 kupdated, bdflush and kjournald stuck in D state on RAID1 device (deadlock?) David Rees
2001-08-29 20:47 ` Andrew Morton
2001-08-29 21:14   ` David Rees
2001-08-29 21:38     ` Andrew Morton [this message]
2001-08-29 21:40       ` David Rees
2001-08-29 22:26         ` Andrew Morton
2001-08-29 22:38           ` David Rees
2001-08-29 22:48             ` Andrew Morton
2001-08-29 22:56               ` David Rees
2001-08-30  0:39                 ` Neil Brown
2001-08-30  0:55                   ` David Rees
2001-08-30  1:17                     ` Neil Brown
2001-08-30  1:24                       ` David Rees
2001-08-30  2:05                         ` Neil Brown
2001-08-30  2:50                           ` David Rees

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=3B8D60CF.A1400171@zip.com.au \
    --to=akpm@zip.com.au \
    --cc=dbr@greenhydrant.com \
    --cc=ext3-users@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-raid@vger.kernel.org \
    /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