From: Robert Norris <robn@opera.com>
To: linux-kernel@vger.kernel.org
Subject: Re: PROBLEM: All CPUs in soft lockup
Date: Thu, 28 Mar 2013 11:22:31 +1100 [thread overview]
Message-ID: <20130328002231.GA21119@pyro.melbourne.osa> (raw)
In-Reply-To: <20130327015540.GA27623@pyro.melbourne.osa>
On Wed, Mar 27, 2013 at 12:55:41PM +1100, Robert Norris wrote:
> The console shows a new "BUG: soft lockup" line every few seconds
Looking closer, the whole thing starts with a _hard_ lockup.
2013-03-26T08:33:39.921834-04:00 imap30 kernel: [185090.090328] Watchdog detected hard LOCKUP on cpu 3
(also in the logs of the other two servers I mentioned).
Looking down to where the watchdog interrupt comes in:
2013-03-26T08:33:39.921870-04:00 imap30 kernel: [185090.090426] <<EOE>> <IRQ> [<ffffffff8112a5b1>] ? end_buffer_async_read+0x79/0xff
Disassembling:
0xffffffff8112a57a <+66>: mov %rbx,%rdi
0xffffffff8112a57d <+69>: callq 0xffffffff81129265 <buffer_io_error>
0xffffffff8112a582 <+74>: lock orb $0x2,0x0(%rbp)
0xffffffff8112a587 <+79>: mov 0x0(%rbp),%rax
0xffffffff8112a58b <+83>: test $0x8,%ah
0xffffffff8112a58e <+86>: jne 0xffffffff8112a594 <end_buffer_async_read+92>
0xffffffff8112a590 <+88>: ud2
0xffffffff8112a592 <+90>: jmp 0xffffffff8112a592 <end_buffer_async_read+90>
That lock at +74 is presumably the offender here. Which is line 275 of fs/buffer.c:
275 SetPageError(page);
So another CPU has these page flags locked right now, and isn't keen to
release that lock?
I don't know how to debug this further. What's the next step?
Thanks,
Rob.
prev parent reply other threads:[~2013-03-28 0:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-27 1:55 Robert Norris
2013-03-27 3:42 ` li guang
2013-03-27 10:40 ` Robert Norris
2013-03-28 0:22 ` Robert Norris [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=20130328002231.GA21119@pyro.melbourne.osa \
--to=robn@opera.com \
--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®