From: Arnd Bergmann <arnd@arndb.de>
To: "Thilo-Alexander Ginkel" <thilo@ginkel.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Soft lockup during suspend since ~2.6.36
Date: Mon, 4 Apr 2011 05:02:52 +0200 [thread overview]
Message-ID: <201104040502.52526.arnd@arndb.de> (raw)
In-Reply-To: <AANLkTi=Yusq1TicVCPN9CY2UCZ6jmcp+bw_CunG7uSFh@mail.gmail.com>
On Sunday 03 April 2011, Thilo-Alexander Ginkel wrote:
> Transcript:
> | RIP: _raw_spin_unlock_irqrestore
> | Call Stack:
> | _set_cpus_allowed_ptr
> | worker_maybe_bind_and_lock
> | rescuer_thread
> | rescuer_thread
> | kernel_thread_helper
> | kthread
> | kernel_thread_helper
> | kthread
>
> After some more time, the following backtrace is printed:
> https://secure.tgbyte.de/dropbox/ueph3Ohm-3.jpg
>
> Transcript:
> | RIP: worker_maybe_bind_and_lock
> | Call Stack:
> | rescuer_thread
> | rescuer_thread
> | kernel_thread_helper
> | kthread
> | kernel_thread_helper
> | kthread
>
> From then on these two backtraces are printed in an alternating fashion.
>
> Unfortunately, the top of the output is missing as it does not fit on
> screen (does someone know an even smaller console font?), but I assume
> it's the deadlock detection.
The interesting thing is that the backtrace is from unlock, not from lock,
so it can't really be a deadlock. However, the _raw_spin_unlock_irqrestore
function calls debug_spin_unlock(), which does a few sanity check. Maybe
one of those got triggered.
The easiest way to get the full output is usually to attach a serial
NULL modem cable and redirect the console to that, so you can get the
output on another machine. Another idea would be to modify the
show_registers function in arch/x86/kernel/dumpstack_64.c so that
it prints less data.
Yet another idea would be to set /sys/kernel/printk_delay so that the
oops gets printed slower.
Arnd
next prev parent reply other threads:[~2011-04-04 3:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-03 2:03 Soft lockup during suspend since ~2.6.36 Thilo-Alexander Ginkel
2011-04-03 6:18 ` Mike Galbraith
2011-04-03 17:32 ` Thilo-Alexander Ginkel
2011-04-03 21:08 ` Thilo-Alexander Ginkel
2011-04-04 3:02 ` Arnd Bergmann [this message]
2011-04-04 13:57 ` Thilo-Alexander Ginkel
2011-04-04 14:40 ` Arnd Bergmann
2011-04-04 15:02 ` Thilo-Alexander Ginkel
2011-04-04 15:32 ` Arnd Bergmann
2011-04-09 16:37 ` Pavel Machek
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=201104040502.52526.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=linux-kernel@vger.kernel.org \
--cc=thilo@ginkel.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