All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stanislaw Gruszka <sgruszka@redhat.com>
To: "Ortwin Glück" <odi@odi.ch>
Cc: Arend van Spriel <arend@broadcom.com>,
	linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org
Subject: Re: [BUG] 3.10 regression: hang on suspend
Date: Wed, 17 Jul 2013 14:29:45 +0200	[thread overview]
Message-ID: <20130717122944.GA25894@redhat.com> (raw)
In-Reply-To: <51E58FA5.4000804@odi.ch>

On Tue, Jul 16, 2013 at 08:23:33PM +0200, Ortwin Glück wrote:
> Without NetworkManager, no X, on console and with plain jane wpa_supplicant I do
> echo mem > /sys/power state
> 
> After that, it still responds to keyboard events: I can switch VT
> and type on the consoles, but I can not login on a different VT
> (pressing Enter after the username doesn't return). So I guess tasks
> have been frozen, but it hangs in stopping devices.
> 
> settings for pm_test:
> devices: same behviour as above
> freezer: works as expected (stops tasks; sleeps; resumes tasks)
> 
> Nothing in the logs. How can I enable more log?

This looks like livelock, i.e. kernel wait for mutex to be released
but that never happen , for example because of deadlock. Enabling 
CONFIG_LOCKDEP=y could help to diagnose this. Other than that
sysreq key w (show blocked task) could help, see
Documentation/sysrq.txt for instructions how to use this key.
Also please remember set no_console_suspend boot option to
allow print messages on tty during suspend.

Stanislaw


  reply	other threads:[~2013-07-17 12:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-15 19:40 [BUG] 3.10 regression: hang on suspend Ortwin Glück
2013-07-16  6:56 ` Stanislaw Gruszka
2013-07-16  7:34   ` Ortwin Glück
2013-07-16  9:49     ` Arend van Spriel
2013-07-16 18:23       ` Ortwin Glück
2013-07-17 12:29         ` Stanislaw Gruszka [this message]
     [not found]           ` <51E6E1AB.5010300@odi.ch>
2013-07-18 10:55             ` Stanislaw Gruszka
     [not found]               ` <51E83AB7.6020002@odi.ch>
2013-07-19 12:08                 ` Stanislaw Gruszka
2013-07-19 12:11                   ` Stanislaw Gruszka
2013-07-19 12:15                   ` Ortwin Glück
2013-07-19 18:46                   ` Ortwin Glück
2013-07-22 11:22                     ` Stanislaw Gruszka
2013-07-22 19:05                       ` Ortwin Glück

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=20130717122944.GA25894@redhat.com \
    --to=sgruszka@redhat.com \
    --cc=arend@broadcom.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=odi@odi.ch \
    /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.