mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thilo-Alexander Ginkel <thilo@ginkel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Soft lockup during suspend since ~2.6.36
Date: Mon, 4 Apr 2011 17:02:54 +0200	[thread overview]
Message-ID: <BANLkTim4Ro+u-9jfLPV1-+tM88xtvN-VTg@mail.gmail.com> (raw)
In-Reply-To: <201104041640.15578.arnd@arndb.de>

On Mon, Apr 4, 2011 at 16:40, Arnd Bergmann <arnd@arndb.de> wrote:
> On Monday 04 April 2011, Thilo-Alexander Ginkel wrote:
>> The result is available in these pictures:
>>   https://secure.tgbyte.de/dropbox/IeZalo4t-1.jpg
>>   https://secure.tgbyte.de/dropbox/IeZalo4t-2.jpg
>>
>> For both traces, the printed error message reads: "BUG: soft lockup -
>> CPU#3 stuck for 67s! [kblockd:28]"
>>
>> (After a bit of Googling I understand that a soft lockup is probably
>> different from a deadlock - please correct me if that assumption is
>> wrong)
>
> My interpretation is that some process tries to use
> kblockd_schedule_work() after the CPU for that workqueue has been
> disabled. The work queue functions (worker_maybe_bind_and_lock)
> is waiting for the CPU to become available, which it doesn't do.

Thanks for your help so far!

Is there a way to figure out which process that may be?

> You see different outputs every time the softlockup detection finds
> this because the loop is in different states here. The reason why
> the spin_unlock shows up here is because that is when the interrupts
> get enabled and the softlockup detection notices the timeout.

OK, that make sense.

> I'm pretty sure that this has nothing to do with the bisected bug
> that you initially found, but maybe somebody else can try analysing
> this better.

ACK. I see two possibilities:
a) The bug was introduced after the bisected bug was fixed
b) The bug was already present earlier, but was masked by the bug from
the bisected change

I hope for a) as that would open the possibility to bisect this new bug.

Regards,
Thilo

  reply	other threads:[~2011-04-04 15:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-03  2:03 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
2011-04-04 13:57         ` Thilo-Alexander Ginkel
2011-04-04 14:40           ` Arnd Bergmann
2011-04-04 15:02             ` Thilo-Alexander Ginkel [this message]
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=BANLkTim4Ro+u-9jfLPV1-+tM88xtvN-VTg@mail.gmail.com \
    --to=thilo@ginkel.com \
    --cc=arnd@arndb.de \
    --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

Powered by JetHome