mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: foo@porto.bmb.uga.edu
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: processes hung in D (raid5/dm/ext3)
Date: Tue, 15 Jun 2004 22:03:12 -0400	[thread overview]
Message-ID: <20040616020312.GA13672@porto.bmb.uga.edu> (raw)
In-Reply-To: <20040615162607.5805a97e.akpm@osdl.org>

On Tue, Jun 15, 2004 at 04:26:07PM -0700, Andrew Morton wrote:
> > dump          D 000017f4796ce9b2     0  1887   1853                     (NOTLB)
> > 000001001ae8dbb8 0000000000000006 000001003ffd5948 000001006a6f96f0 
> >        0000000000009235 ffffffff803e23a0 000001006a6f9a08 ffffffff802fd643 
> >        0000000000000212 0000000000000001 
> > Call Trace:<ffffffff802fd643>{raid5_unplug_device+291} <ffffffff80377d0b>{io_schedule+43} 
> >        <ffffffff80155f6a>{__lock_page+250} <ffffffff80155c40>{page_wake_function+0} 
> >        <ffffffff80155c40>{page_wake_function+0} <ffffffff801567f6>{do_generic_mapping_read+502} 
> >        <ffffffff80156a70>{file_read_actor+0} <ffffffff80156d14>{__generic_file_aio_read+372} 
> >        <ffffffff80156dfb>{generic_file_read+123} <ffffffff80169994>{handle_mm_fault+292} 
> >        <ffffffff80122ad8>{do_page_fault+440} <ffffffff80130948>{recalc_task_prio+424} 
> >        <ffffffff8037748c>{thread_return+41} <ffffffff8017bca7>{vfs_read+199} 
> >        <ffffffff8017bf19>{sys_read+73} <ffffffff80123f81>{ia32_sysret+0} 
> >        
> 
> OK, well I'd be suspecting that either devicemapper or raid5 lost an I/O
> completion, causing that page to never be unlocked.
> 
> Please try the latest -mm kernel, which has a few devicemapper changes,
> although they are unlikely to fix this.

Yeah, the changes I've seen recently don't look too promising as far as
this goes, but I'll try to give -mm a whirl tonight, since it seems easy
to reproduce.

> If it's possible to remove either raid5 or devicemapper from the picture,
> that would help us find the problem.

I don't see a way to do this, unfortunately...  It's just this one mount
point that's giving me trouble.

> Other than that, the chances of getting this fixed are proportional to your
> skill in finding us a way of reproducing it.  A good start would be to tell
> us exactly which commands were used to set up the LVM and the raid array. 
> That way a raid/LVM ignoramus like me can take a look ;)

I can give you the exact commands I used.  For the raid5 array:

mdadm -C /dev/md0 -c 128 -l 5 -n 5 /dev/sdg1 /dev/sdh1 /dev/sdi1
/dev/sdj1 /dev/sdk1

There were more disks in the box when I created it... Hopefully you
don't need 5x146GB SCSI disks to reproduce...

For LVM:

pvcreate -M2 /dev/md0
vgcreate vg0 /dev/md0

There's only one PV and one VG involved.  The LVs were created like so:

lvcreate -L 25G -n home vg0

I don't know if it's a coincidence, but the "home" LV that's giving me
trouble is the first one I created, just as above.  The filesystems were
created with:

mke2fs -j -b 4096 -R stride=32 /dev/vg0/home

Thanks for your help,
-ryan

  parent reply	other threads:[~2004-06-16  2:03 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-15  6:22 foo
2004-06-15 10:09 ` Andrew Morton
2004-06-15 15:00   ` foo
2004-06-15 23:26     ` Andrew Morton
2004-06-15 23:44       ` Evaldo Gardenali
2004-06-16  2:03       ` foo [this message]
2004-06-16  2:16       ` foo
2004-06-16 12:57         ` Alasdair G Kergon
2004-06-16 19:00           ` foo
2004-06-16 19:15             ` Alasdair G Kergon
2004-06-17  2:28           ` foo
2004-06-16  2:48       ` foo
2004-06-16  2:58         ` Andrew Morton
2004-06-16  3:55           ` foo
2004-06-16  4:13           ` foo
2004-06-16  4:25             ` Andrew Morton
2004-06-16  4:41               ` foo
2004-06-16  4:53               ` linux-kernel-owner
2004-06-16  7:22               ` tg3 wrong speed foo

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=20040616020312.GA13672@porto.bmb.uga.edu \
    --to=foo@porto.bmb.uga.edu \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®