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: Fri, 19 Jul 2013 14:08:43 +0200	[thread overview]
Message-ID: <20130719120842.GA1570@redhat.com> (raw)
In-Reply-To: <51E83AB7.6020002@odi.ch>

On Thu, Jul 18, 2013 at 08:57:59PM +0200, Ortwin Glück wrote:
> On 07/18/2013 12:55 PM, Stanislaw Gruszka wrote:
> >objdump -r -d --prefix-addresses net/mac80211/mac80211.ko > mac80211.txt
> >objdump -r -d --prefix-addresses drivers/net/wireless/iwlwifi/dvm/iwldvm.ko > iwldvm.txt
> 
> Here you go. Please note, that the offsets have changed due to
> .config changes. New trace attached. Transcript:
> 
> iwlagn_mac_remove_interface+0x5f/0x160
> __ieee80211_suspend+0x4a1/0xb30
> ieee80211_suspend+0x1a/0x20

Crash happen because we call iwlagn_mac_remove_interface with
vif_priv->ctx NULL. I do not see any possibility of that other than
doing ->remove_interface without previous ->add_interface, but I do
not see how that possible. 

Does crash happen on any suspend or on second one ?  

I'm attaching patch, which should prevent crash (but not fix the issue,
just workaround it), plese apply it. If it make suspend work, please then
reload iwlwifi module with debug=0x3 option, suspend/resume machine and
provide dmesg output after that.

Thanks
Stanislaw
 

  parent reply	other threads:[~2013-07-19 12:05 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
     [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 [this message]
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=20130719120842.GA1570@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.