Bug 11476 - failure to associate after resume from suspend to ram
failure to associate after resume from suspend to ram
Status: CLOSED INSUFFICIENT_DATA
Product: Networking
Classification: Unclassified
Component: Wireless
All Linux
: P1 normal
Assigned To: Zhu Yi
:
Depends on:
Blocks: 7216 Regressions-2.6.26
  Show dependency treegraph
 
Reported: 2008-09-01 13:33 UTC by Michael S. Tsirkin
Modified: 2008-11-16 10:50 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.25-rc5
Tree: Mainline
Regression: Yes


Attachments
my kernel .config (66.93 KB, application/octet-stream)
2008-09-01 13:35 UTC, Michael S. Tsirkin
Details
wpa_supplicant conf (213 bytes, text/plain)
2008-09-01 13:37 UTC, Michael S. Tsirkin
Details
wpa_supplicant -dd log (101.11 KB, text/plain)
2008-09-02 05:54 UTC, Michael S. Tsirkin
Details
dmesg output (debug enabled) (8.54 KB, text/plain)
2008-09-02 05:57 UTC, Michael S. Tsirkin
Details

Description Michael S. Tsirkin 2008-09-01 13:33:47 UTC
Latest working kernel version: 2.6.25-rc4
Earliest failing kernel version: 2.6.25-rc5
Distribution: ubuntu gutsy
Hardware Environment: T60p
Software Environment: self-built kernel, .config attached
Problem Description:

Starting with 2.6.27-rc5, my T60p sometimes fails to associate
with an access point after suspend to ram/resume.

This does not seem to happen on 2.6.27-rc4.

Steps to reproduce:
suspend and resume several times.
At some point the card fails to associate with
the AP.
Comment 1 Michael S. Tsirkin 2008-09-01 13:35:23 UTC
Created attachment 17565 [details]
my kernel .config
Comment 2 Michael S. Tsirkin 2008-09-01 13:37:20 UTC
Created attachment 17566 [details]
wpa_supplicant conf
Comment 3 Anonymous Emailer 2008-09-01 17:18:21 UTC
Reply-To: akpm@linux-foundation.org


(switched to email.  Please respond via emailed reply-to-all, not via the
bugzilla web interface).

On Mon,  1 Sep 2008 13:33:47 -0700 (PDT) bugme-daemon@bugzilla.kernel.org wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=11476
> 
>            Summary: failure to associate after resume from suspend to ram
>            Product: Networking
>            Version: 2.5
>      KernelVersion: 2.6.25-rc5
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: normal
>           Priority: P1
>          Component: Wireless
>         AssignedTo: networking_wireless@kernel-bugs.osdl.org
>         ReportedBy: m.s.tsirkin@gmail.com
> 
> 
> Latest working kernel version: 2.6.25-rc4
> Earliest failing kernel version: 2.6.25-rc5

A very recent regression.

> Distribution: ubuntu gutsy
> Hardware Environment: T60p
> Software Environment: self-built kernel, .config attached
> Problem Description:
> 
> Starting with 2.6.27-rc5, my T60p sometimes fails to associate
> with an access point after suspend to ram/resume.
> 
> This does not seem to happen on 2.6.27-rc4.
> 
> Steps to reproduce:
> suspend and resume several times.
> At some point the card fails to associate with
> the AP.

Which device driver is that machine using?

Comment 4 Michael S. Tsirkin 2008-09-02 05:54:39 UTC
Created attachment 17574 [details]
wpa_supplicant -dd log
Comment 5 Michael S. Tsirkin 2008-09-02 05:57:25 UTC
Created attachment 17575 [details]
dmesg output (debug enabled)
Comment 6 Michael S. Tsirkin 2008-09-02 05:59:31 UTC
On Mon, Sep 01, 2008 at 05:18:17PM -0700, Andrew Morton wrote:
> 
> (switched to email.  Please respond via emailed reply-to-all, not via the
> bugzilla web interface).
> 
> On Mon,  1 Sep 2008 13:33:47 -0700 (PDT) bugme-daemon@bugzilla.kernel.org wrote:
> 
> > http://bugzilla.kernel.org/show_bug.cgi?id=11476
> > 
> >            Summary: failure to associate after resume from suspend to ram
> >            Product: Networking
> >            Version: 2.5
> >      KernelVersion: 2.6.25-rc5
> >           Platform: All
> >         OS/Version: Linux
> >               Tree: Mainline
> >             Status: NEW
> >           Severity: normal
> >           Priority: P1
> >          Component: Wireless
> >         AssignedTo: networking_wireless@kernel-bugs.osdl.org
> >         ReportedBy: m.s.tsirkin@gmail.com
> > 
> > 
> > Latest working kernel version: 2.6.25-rc4
> > Earliest failing kernel version: 2.6.25-rc5
> 
> A very recent regression.

Seems so.

> > Distribution: ubuntu gutsy
> > Hardware Environment: T60p
> > Software Environment: self-built kernel, .config attached
> > Problem Description:
> > 
> > Starting with 2.6.27-rc5, my T60p sometimes fails to associate
> > with an access point after suspend to ram/resume.
> > 
> > This does not seem to happen on 2.6.27-rc4.
> > 
> > Steps to reproduce:
> > suspend and resume several times.
> > At some point the card fails to associate with
> > the AP.
> 
> Which device driver is that machine using?

iwl3945

Comment 7 Rafael J. Wysocki 2008-09-02 13:55:07 UTC
Handled-By : Zhu Yi <yi.zhu@intel.com>
Handled-By : Dan Williams <dcbw@redhat.com>
Handled-By : Jouni Malinen <j@w1.fi>

References : http://marc.info/?l=linux-kernel&m=122028529415108&w=4
Comment 8 Zhu Yi 2008-09-07 23:30:03 UTC
Do you use hwcrypto? Can you try the other way around?
Comment 9 Michael S. Tsirkin 2008-09-08 10:34:47 UTC
> ------- Comment #8 from yi.zhu@intel.com  2008-09-07 23:30 -------
> Do you use hwcrypto?

No

> Can you try the other way around?

just set hwcrypto=1, right?

Comment 10 Zhu Yi 2008-09-21 19:44:33 UTC
(In reply to comment #9)
> just set hwcrypto=1, right?

Yes.

It looks like wpa_supplicant authentication timeouts 10 seconds after association. So the STA decides to disassociate itself. I'm not 100% sure it is wpa_supplicant authentication related. Could you configure the AP to open mode (and also change your wpa_supplicant.conf setting to reflect that) and retest?

Comment 11 Rafael J. Wysocki 2008-11-16 10:50:45 UTC
The reporter has not responded for almost two months.  Closing.

Note You need to log in before you can comment on or make changes to this bug.