From: David Chinner <dgc@sgi.com>
To: Christian Kujau <lists@nerdbynature.de>
Cc: LKML <linux-kernel@vger.kernel.org>, xfs@oss.sgi.com
Subject: Re: INFO: task mount:11202 blocked for more than 120 seconds
Date: Sat, 8 Mar 2008 09:40:40 +1100 [thread overview]
Message-ID: <20080307224040.GV155259@sgi.com> (raw)
In-Reply-To: <alpine.DEB.1.00.0803072116420.7723@sheep.housecafe.de>
On Fri, Mar 07, 2008 at 09:32:57PM +0100, Christian Kujau wrote:
> Hi,
>
> after upgrading from 2.6.24.1 to 2.6.25-rc3, I came across[0]. This
> warning seems to be gone now. With 2.6.25-rc4 (and the fix from [1])
> the box was running fine for 20 hours or so (doing its usual jobs plus
> a "make randconfig && make" loop).
>
> After this, I noticed that /bin/sync would not exit anymore and
> remains stuck in D state. Looking around I noticed that the rsync
> backup jobs (rsync'ing to an xfs partition) from earlier this
> morning did not exit either and hung in D state. With sync hung, the
> following messages started to appear:
>
> [75377.756985] INFO: task sync:2697 blocked for more than 120 seconds.
> [75377.757579] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables
> this message.
> [75377.758211] sync D c013835c 0 2697 16457
> [75377.758216] f59506c0 00000082 f4c34000 c013835c fffeffff f6c1bcb0
> f5dd0000 f4c34000 [75377.758223] c04405d7 f53f7e98 f6c1bcb4 f6c1bcd0
> 00000000 f6c1bcb0 00000000 f7ca1090 [75377.758230] f4c34000 c044070a
> f6c1bcd0 f6c1bcd0 f5dd0000 00000001 f6c1bcb0 c044074b [75377.758237] Call
> Trace:
> [75377.758253] [<c013835c>] trace_hardirqs_on+0x9c/0x110
> [75377.758269] [<c04405d7>] rwsem_down_failed_common+0x67/0x150
> [75377.758279] [<c044070a>] rwsem_down_read_failed+0x1a/0x24
> [75377.758286] [<c044074b>] call_rwsem_down_read_failed+0x7/0xc
> [75377.758291] [<c012fd7c>] down_read_nested+0x4c/0x60
> [75377.758295] [<c027a64b>] xfs_ilock+0x5b/0xb0
> [75377.758301] [<c027a64b>] xfs_ilock+0x5b/0xb0
> [75377.758306] [<c029693d>] xfs_sync_inodes+0x3dd/0x6b0
> [75377.758314] [<c0440b14>] _spin_unlock+0x14/0x20
> [75377.758325] [<c0296d9b>] xfs_syncsub+0x18b/0x300
> [75377.758330] [<c0440b14>] _spin_unlock+0x14/0x20
> [75377.758335] [<c02a7c2b>] xfs_fs_sync_super+0x2b/0xd0
> [75377.758342] [<c016a124>] sync_filesystems+0xa4/0x100
> [75377.758351] [<c043fdd8>] down_read+0x38/0x50
> [75377.758356] [<c016a13f>] sync_filesystems+0xbf/0x100
> [75377.758361] [<c01872b3>] do_sync+0x33/0x70
> [75377.758366] [<c0102ed7>] restore_nocheck+0x12/0x15
> [75377.758371] [<c01872fa>] sys_sync+0xa/0x10
> [75377.758375] [<c0102dee>] sysenter_past_esp+0x5f/0xa5
> [75377.758402] =======================
> [75377.758405] 3 locks held by sync/2697:
> [75377.758407] #0: (mutex){--..}, at: [<c016a091>]
> sync_filesystems+0x11/0x100
> [75377.758414] #1: (&type->s_umount_key#22){----}, at: [<c016a124>]
> sync_filesystems+0xa4/0x100
> [75377.758422] #2: (&(&ip->i_iolock)->mr_lock){----}, at: [<c027a64b>]
> xfs_ilock+0x5b/0xb0
Well, if that is hung there, something else must be holding on to
the iolock it's waiting on. What are the other D state processes in the
machine?
Also, the iolock can be held across I/O so it's possible you've lost an I/O.
Any I/O errors in the syslog?
Cheers,
Dave.
--
Dave Chinner
Principal Engineer
SGI Australian Software Group
next prev parent reply other threads:[~2008-03-07 22:40 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-07 20:32 INFO: task mount:11202 blocked for more than 120 seconds Christian Kujau
2008-03-07 22:40 ` David Chinner [this message]
2008-03-07 23:46 ` Christian Kujau
2008-03-08 1:54 ` Christian Kujau
2008-03-09 6:15 ` 2.6.25-rc hangs (was: INFO: task mount:11202 blocked for more than 120 seconds) Christian Kujau
2008-03-09 16:44 ` 2.6.25-rc hangs Eric Sandeen
2008-03-09 18:05 ` Christian Kujau
[not found] ` <47D42AD6.10500@sandeen.net>
2008-03-09 18:49 ` Christian Kujau
2008-03-12 18:06 ` Samuel Tardieu
2008-03-12 21:02 ` Christian Kujau
2008-03-09 21:34 ` INFO: task mount:11202 blocked for more than 120 seconds David Chinner
2008-03-09 21:34 ` David Chinner
2008-03-10 1:46 ` Christian Kujau
2008-03-12 18:03 ` Samuel Tardieu
2008-03-12 18:03 ` Samuel Tardieu
2008-03-12 19:53 ` Chr
2008-03-12 23:07 ` Christian Kujau
2008-03-13 13:45 ` Christian Kujau
2008-03-13 21:33 ` Chr
2008-03-13 21:33 ` Chr
2008-03-13 21:54 ` Christian Kujau
2008-03-14 0:15 ` Chr
2008-03-14 9:27 ` Milan Broz
2008-03-14 9:27 ` Milan Broz
2008-03-14 23:58 ` Christian Kujau
2008-03-16 20:33 ` David Chinner
2008-03-16 20:33 ` David Chinner
2008-03-15 0:08 ` Chr
2008-03-15 13:32 ` [dm-crypt] " Chr
2008-03-15 21:34 ` Chr
2008-03-16 13:08 ` Christian Kujau
2008-03-17 17:36 ` Alasdair G Kergon
2008-03-17 17:36 ` Alasdair G Kergon
2008-03-17 18:36 ` Chr
[not found] ` <200803171936.22260.chunkeey-S0/GAf8tV78@public.gmane.org>
2008-03-18 17:46 ` Christian Kujau
2008-03-18 17:46 ` [dm-crypt] " Christian Kujau
2008-03-18 0:56 ` Herbert Xu
2008-03-18 0:56 ` Herbert Xu
2008-03-18 4:07 ` Milan Broz
2008-03-18 4:07 ` Milan Broz
2008-03-22 2:52 ` Christian Kujau
2008-03-27 8:21 ` Christian Kujau
2008-03-26 16:57 ` Chr
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=20080307224040.GV155259@sgi.com \
--to=dgc@sgi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lists@nerdbynature.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 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.