2012-05-14 14:00:48

by Nikolay Martynov

[permalink] [raw]
Subject: iwlwifi regression: disconnections

Hi.

I have Intel 5300 card. It works fine with 3.2.16. When I try 3.3.6
or 3.4.0rc6 I get connection drops often - once 5-10 mins. With 3.2.16
such disconnects happen once-twice a day. AP - ath9k based router and
it doesn't change. I'm using kernels from ubuntu kernel ppa.

Here is what I see in logs during disconnect:

[ 1024.296004] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
[ 1259.209166] wlan1: deauthenticating from XX:XX:XX:XX:XX:XX by local
choice (reason=3)
[ 1259.277831] cfg80211: All devices are disconnected, going to
restore regulatory settings
[ 1259.277842] cfg80211: Restoring regulatory settings
[ 1259.277851] cfg80211: Calling CRDA to update world regulatory domain
[ 1259.293624] cfg80211: Ignoring regulatory request Set by core since
the driver uses its own custom regulatory domain
[ 1259.293629] cfg80211: World regulatory domain updated:
[ 1259.293632] cfg80211: (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp)
[ 1259.293636] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz),
(300 mBi, 2000 mBm)
[ 1259.293640] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz),
(300 mBi, 2000 mBm)
[ 1259.293644] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz),
(300 mBi, 2000 mBm)
[ 1259.293647] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz),
(300 mBi, 2000 mBm)
[ 1259.293651] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz),
(300 mBi, 2000 mBm)
[ 1265.296158] wlan1: authenticate with XX:XX:XX:XX:XX:XX
[ 1265.297450] wlan1: send auth to XX:XX:XX:XX:XX:XX (try 1/3)
[ 1265.500053] wlan1: send auth to XX:XX:XX:XX:XX:XX (try 2/3)
[ 1265.502380] wlan1: authenticated
[ 1265.504080] wlan1: associate with XX:XX:XX:XX:XX:XX (try 1/3)
[ 1265.507624] wlan1: RX AssocResp from XX:XX:XX:XX:XX:XX (capab=0x411
status=0 aid=1)
[ 1265.507632] wlan1: associated


I'll be happy to help with any additional information of debugging.
Thanks!

--
Truthfully yours,
Martynov Nikolay.
Email: [email protected]


2012-05-14 14:05:31

by Sedat Dilek

[permalink] [raw]
Subject: Re: iwlwifi regression: disconnections

This is a problem of Network-Manager, see Ubuntu LP-988183 [1].

[1] https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/988183

- Sedat -

On Mon, May 14, 2012 at 4:00 PM, Nikolay Martynov <[email protected]> wrote:
> Hi.
>
>  I have Intel 5300 card. It works fine with 3.2.16. When I try 3.3.6
> or 3.4.0rc6 I get connection drops often - once 5-10 mins. With 3.2.16
> such disconnects happen once-twice a day. AP - ath9k based router and
> it doesn't change. I'm using kernels from ubuntu kernel ppa.
>
>  Here is what I see in logs during disconnect:
>
> [ 1024.296004] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
> [ 1259.209166] wlan1: deauthenticating from XX:XX:XX:XX:XX:XX by local
> choice (reason=3)
> [ 1259.277831] cfg80211: All devices are disconnected, going to
> restore regulatory settings
> [ 1259.277842] cfg80211: Restoring regulatory settings
> [ 1259.277851] cfg80211: Calling CRDA to update world regulatory domain
> [ 1259.293624] cfg80211: Ignoring regulatory request Set by core since
> the driver uses its own custom regulatory domain
> [ 1259.293629] cfg80211: World regulatory domain updated:
> [ 1259.293632] cfg80211:   (start_freq - end_freq @ bandwidth),
> (max_antenna_gain, max_eirp)
> [ 1259.293636] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz),
> (300 mBi, 2000 mBm)
> [ 1259.293640] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz),
> (300 mBi, 2000 mBm)
> [ 1259.293644] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz),
> (300 mBi, 2000 mBm)
> [ 1259.293647] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz),
> (300 mBi, 2000 mBm)
> [ 1259.293651] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz),
> (300 mBi, 2000 mBm)
> [ 1265.296158] wlan1: authenticate with XX:XX:XX:XX:XX:XX
> [ 1265.297450] wlan1: send auth to XX:XX:XX:XX:XX:XX (try 1/3)
> [ 1265.500053] wlan1: send auth to XX:XX:XX:XX:XX:XX (try 2/3)
> [ 1265.502380] wlan1: authenticated
> [ 1265.504080] wlan1: associate with XX:XX:XX:XX:XX:XX (try 1/3)
> [ 1265.507624] wlan1: RX AssocResp from XX:XX:XX:XX:XX:XX (capab=0x411
> status=0 aid=1)
> [ 1265.507632] wlan1: associated
>
>
> I'll be happy to help with any additional information of debugging.
> Thanks!
>
> --
> Truthfully yours,
> Martynov Nikolay.
> Email: [email protected]
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

2012-05-14 14:26:10

by Nikolay Martynov

[permalink] [raw]
Subject: Re: iwlwifi regression: disconnections

Hi.

Thanks for pointing this out! I'll try to disable ipv6 on the
interface and see if I still experience the problem. I'll post my
results on the list.

2012/5/14 Sedat Dilek <[email protected]>:
> This is a problem of Network-Manager, see Ubuntu LP-988183 [1].
>
> [1] https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/988183
>
> - Sedat -
>
> On Mon, May 14, 2012 at 4:00 PM, Nikolay Martynov <[email protected]> wrote:
>> Hi.
>>
>> ?I have Intel 5300 card. It works fine with 3.2.16. When I try 3.3.6
>> or 3.4.0rc6 I get connection drops often - once 5-10 mins. With 3.2.16
>> such disconnects happen once-twice a day. AP - ath9k based router and
>> it doesn't change. I'm using kernels from ubuntu kernel ppa.
>>
>> ?Here is what I see in logs during disconnect:
>>
>> [ 1024.296004] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
>> [ 1259.209166] wlan1: deauthenticating from XX:XX:XX:XX:XX:XX by local
>> choice (reason=3)
>> [ 1259.277831] cfg80211: All devices are disconnected, going to
>> restore regulatory settings
>> [ 1259.277842] cfg80211: Restoring regulatory settings
>> [ 1259.277851] cfg80211: Calling CRDA to update world regulatory domain
>> [ 1259.293624] cfg80211: Ignoring regulatory request Set by core since
>> the driver uses its own custom regulatory domain
>> [ 1259.293629] cfg80211: World regulatory domain updated:
>> [ 1259.293632] cfg80211: ? (start_freq - end_freq @ bandwidth),
>> (max_antenna_gain, max_eirp)
>> [ 1259.293636] cfg80211: ? (2402000 KHz - 2472000 KHz @ 40000 KHz),
>> (300 mBi, 2000 mBm)
>> [ 1259.293640] cfg80211: ? (2457000 KHz - 2482000 KHz @ 20000 KHz),
>> (300 mBi, 2000 mBm)
>> [ 1259.293644] cfg80211: ? (2474000 KHz - 2494000 KHz @ 20000 KHz),
>> (300 mBi, 2000 mBm)
>> [ 1259.293647] cfg80211: ? (5170000 KHz - 5250000 KHz @ 40000 KHz),
>> (300 mBi, 2000 mBm)
>> [ 1259.293651] cfg80211: ? (5735000 KHz - 5835000 KHz @ 40000 KHz),
>> (300 mBi, 2000 mBm)
>> [ 1265.296158] wlan1: authenticate with XX:XX:XX:XX:XX:XX
>> [ 1265.297450] wlan1: send auth to XX:XX:XX:XX:XX:XX (try 1/3)
>> [ 1265.500053] wlan1: send auth to XX:XX:XX:XX:XX:XX (try 2/3)
>> [ 1265.502380] wlan1: authenticated
>> [ 1265.504080] wlan1: associate with XX:XX:XX:XX:XX:XX (try 1/3)
>> [ 1265.507624] wlan1: RX AssocResp from XX:XX:XX:XX:XX:XX (capab=0x411
>> status=0 aid=1)
>> [ 1265.507632] wlan1: associated
>>
>>
>> I'll be happy to help with any additional information of debugging.
>> Thanks!
>>
>> --
>> Truthfully yours,
>> Martynov Nikolay.
>> Email: [email protected]
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
>> the body of a message to [email protected]
>> More majordomo info at ?http://vger.kernel.org/majordomo-info.html



--
Truthfully yours,
Martynov Nikolay.
Email: [email protected]

2012-05-14 14:07:55

by Johannes Berg

[permalink] [raw]
Subject: Re: iwlwifi regression: disconnections

On Mon, 2012-05-14 at 10:00 -0400, Nikolay Martynov wrote:

> Here is what I see in logs during disconnect:
>
> [ 1024.296004] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
> [ 1259.209166] wlan1: deauthenticating from XX:XX:XX:XX:XX:XX by local
> choice (reason=3)

> I'll be happy to help with any additional information of debugging.

Hmm, this is interesting. Can you check syslog for anything from
wpa_supplicant and/or network manager or whatever you use? This just
means userspace decided to disconnect, but doesn't give a clue as to
why.

johannes


2012-05-15 08:09:10

by Sedat Dilek

[permalink] [raw]
Subject: Re: iwlwifi regression: disconnections

On Tue, May 15, 2012 at 2:59 AM, Nikolay Martynov <[email protected]> wrote:
> Hi
>
>  Looks like the problem I was seeing is indeed related to
> Network-Manager and newer kernel.
>  After I set ipv6 to 'ignore' in Network-Manager there are not more
> disconnections and I still have ipv6.
>  Thanks!
>

Can you please add your experiences to LP #988183 as the issue seems
to affect also older Ubuntu releases/kernels with NM + IPv6 - not only
affected to Ubuntu/precise (with its kernel and shipped NM).
So, NM needs to be fixed in older Ubuntu releases, too.
Thanks.

- Sedat -

[1] https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/988183

> 2012/5/14 Nikolay Martynov <[email protected]>:
>> Hi.
>>
>>  Thanks for pointing this out! I'll try to disable ipv6 on the
>> interface and see if I still experience the problem. I'll post my
>> results on the list.
>>
>> 2012/5/14 Sedat Dilek <[email protected]>:
>>> This is a problem of Network-Manager, see Ubuntu LP-988183 [1].
>>>
>>> [1] https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/988183
>>>
>>> - Sedat -
>>>
>>> On Mon, May 14, 2012 at 4:00 PM, Nikolay Martynov <[email protected]> wrote:
>>>> Hi.
>>>>
>>>>  I have Intel 5300 card. It works fine with 3.2.16. When I try 3.3.6
>>>> or 3.4.0rc6 I get connection drops often - once 5-10 mins. With 3.2.16
>>>> such disconnects happen once-twice a day. AP - ath9k based router and
>>>> it doesn't change. I'm using kernels from ubuntu kernel ppa.
>>>>
>>>>  Here is what I see in logs during disconnect:
>>>>
>>>> [ 1024.296004] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
>>>> [ 1259.209166] wlan1: deauthenticating from XX:XX:XX:XX:XX:XX by local
>>>> choice (reason=3)
>>>> [ 1259.277831] cfg80211: All devices are disconnected, going to
>>>> restore regulatory settings
>>>> [ 1259.277842] cfg80211: Restoring regulatory settings
>>>> [ 1259.277851] cfg80211: Calling CRDA to update world regulatory domain
>>>> [ 1259.293624] cfg80211: Ignoring regulatory request Set by core since
>>>> the driver uses its own custom regulatory domain
>>>> [ 1259.293629] cfg80211: World regulatory domain updated:
>>>> [ 1259.293632] cfg80211:   (start_freq - end_freq @ bandwidth),
>>>> (max_antenna_gain, max_eirp)
>>>> [ 1259.293636] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz),
>>>> (300 mBi, 2000 mBm)
>>>> [ 1259.293640] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz),
>>>> (300 mBi, 2000 mBm)
>>>> [ 1259.293644] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz),
>>>> (300 mBi, 2000 mBm)
>>>> [ 1259.293647] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz),
>>>> (300 mBi, 2000 mBm)
>>>> [ 1259.293651] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz),
>>>> (300 mBi, 2000 mBm)
>>>> [ 1265.296158] wlan1: authenticate with XX:XX:XX:XX:XX:XX
>>>> [ 1265.297450] wlan1: send auth to XX:XX:XX:XX:XX:XX (try 1/3)
>>>> [ 1265.500053] wlan1: send auth to XX:XX:XX:XX:XX:XX (try 2/3)
>>>> [ 1265.502380] wlan1: authenticated
>>>> [ 1265.504080] wlan1: associate with XX:XX:XX:XX:XX:XX (try 1/3)
>>>> [ 1265.507624] wlan1: RX AssocResp from XX:XX:XX:XX:XX:XX (capab=0x411
>>>> status=0 aid=1)
>>>> [ 1265.507632] wlan1: associated
>>>>
>>>>
>>>> I'll be happy to help with any additional information of debugging.
>>>> Thanks!
>>>>
>>>> --
>>>> Truthfully yours,
>>>> Martynov Nikolay.
>>>> Email: [email protected]
>>>> --
>>>> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
>>>> the body of a message to [email protected]
>>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>>
>>
>> --
>> Truthfully yours,
>> Martynov Nikolay.
>> Email: [email protected]
>
>
>
> --
> Truthfully yours,
> Martynov Nikolay.
> Email: [email protected]

2012-05-15 00:59:36

by Nikolay Martynov

[permalink] [raw]
Subject: Re: iwlwifi regression: disconnections

Hi

Looks like the problem I was seeing is indeed related to
Network-Manager and newer kernel.
After I set ipv6 to 'ignore' in Network-Manager there are not more
disconnections and I still have ipv6.
Thanks!

2012/5/14 Nikolay Martynov <[email protected]>:
> Hi.
>
> ?Thanks for pointing this out! I'll try to disable ipv6 on the
> interface and see if I still experience the problem. I'll post my
> results on the list.
>
> 2012/5/14 Sedat Dilek <[email protected]>:
>> This is a problem of Network-Manager, see Ubuntu LP-988183 [1].
>>
>> [1] https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/988183
>>
>> - Sedat -
>>
>> On Mon, May 14, 2012 at 4:00 PM, Nikolay Martynov <[email protected]> wrote:
>>> Hi.
>>>
>>> ?I have Intel 5300 card. It works fine with 3.2.16. When I try 3.3.6
>>> or 3.4.0rc6 I get connection drops often - once 5-10 mins. With 3.2.16
>>> such disconnects happen once-twice a day. AP - ath9k based router and
>>> it doesn't change. I'm using kernels from ubuntu kernel ppa.
>>>
>>> ?Here is what I see in logs during disconnect:
>>>
>>> [ 1024.296004] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
>>> [ 1259.209166] wlan1: deauthenticating from XX:XX:XX:XX:XX:XX by local
>>> choice (reason=3)
>>> [ 1259.277831] cfg80211: All devices are disconnected, going to
>>> restore regulatory settings
>>> [ 1259.277842] cfg80211: Restoring regulatory settings
>>> [ 1259.277851] cfg80211: Calling CRDA to update world regulatory domain
>>> [ 1259.293624] cfg80211: Ignoring regulatory request Set by core since
>>> the driver uses its own custom regulatory domain
>>> [ 1259.293629] cfg80211: World regulatory domain updated:
>>> [ 1259.293632] cfg80211: ? (start_freq - end_freq @ bandwidth),
>>> (max_antenna_gain, max_eirp)
>>> [ 1259.293636] cfg80211: ? (2402000 KHz - 2472000 KHz @ 40000 KHz),
>>> (300 mBi, 2000 mBm)
>>> [ 1259.293640] cfg80211: ? (2457000 KHz - 2482000 KHz @ 20000 KHz),
>>> (300 mBi, 2000 mBm)
>>> [ 1259.293644] cfg80211: ? (2474000 KHz - 2494000 KHz @ 20000 KHz),
>>> (300 mBi, 2000 mBm)
>>> [ 1259.293647] cfg80211: ? (5170000 KHz - 5250000 KHz @ 40000 KHz),
>>> (300 mBi, 2000 mBm)
>>> [ 1259.293651] cfg80211: ? (5735000 KHz - 5835000 KHz @ 40000 KHz),
>>> (300 mBi, 2000 mBm)
>>> [ 1265.296158] wlan1: authenticate with XX:XX:XX:XX:XX:XX
>>> [ 1265.297450] wlan1: send auth to XX:XX:XX:XX:XX:XX (try 1/3)
>>> [ 1265.500053] wlan1: send auth to XX:XX:XX:XX:XX:XX (try 2/3)
>>> [ 1265.502380] wlan1: authenticated
>>> [ 1265.504080] wlan1: associate with XX:XX:XX:XX:XX:XX (try 1/3)
>>> [ 1265.507624] wlan1: RX AssocResp from XX:XX:XX:XX:XX:XX (capab=0x411
>>> status=0 aid=1)
>>> [ 1265.507632] wlan1: associated
>>>
>>>
>>> I'll be happy to help with any additional information of debugging.
>>> Thanks!
>>>
>>> --
>>> Truthfully yours,
>>> Martynov Nikolay.
>>> Email: [email protected]
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
>>> the body of a message to [email protected]
>>> More majordomo info at ?http://vger.kernel.org/majordomo-info.html
>
>
>
> --
> Truthfully yours,
> Martynov Nikolay.
> Email: [email protected]



--
Truthfully yours,
Martynov Nikolay.
Email: [email protected]

2012-05-14 14:18:29

by Nikolay Martynov

[permalink] [raw]
Subject: Re: iwlwifi regression: disconnections

2012/5/14 Johannes Berg <[email protected]>:
> On Mon, 2012-05-14 at 10:00 -0400, Nikolay Martynov wrote:
>
>> ? Here is what I see in logs during disconnect:
>>
>> [ 1024.296004] ICMPv6 RA: ndisc_router_discovery() failed to add default route.
>> [ 1259.209166] wlan1: deauthenticating from XX:XX:XX:XX:XX:XX by local
>> choice (reason=3)
>
>> I'll be happy to help with any additional information of debugging.
>
> Hmm, this is interesting. Can you check syslog for anything from
> wpa_supplicant and/or network manager or whatever you use? This just
> means userspace decided to disconnect, but doesn't give a clue as to
> why.

Not sure is this is relevant, but it looks like that this is all I have in logs:

May 14 10:10:03 laptop kernel: [ 2223.292056] ICMPv6 RA:
ndisc_router_discovery() failed to add default route.
May 14 10:14:35 laptop NetworkManager[1003]: <info> (wlan1): device
state change: 8 -> 9 (reason 5)
May 14 10:14:35 laptop NetworkManager[1003]: <warn> Activation (wlan1)
failed for access point (nowhere)
May 14 10:14:35 laptop NetworkManager[1003]: <warn> Activation (wlan1) failed.
May 14 10:14:35 laptop NetworkManager[1003]: <info> (wlan1): device
state change: 9 -> 3 (reason 0)
May 14 10:14:35 laptop NetworkManager[1003]: <info> (wlan1):
deactivating device (reason: 0).
May 14 10:14:35 laptop NetworkManager[1003]: <info> (wlan1): canceled
DHCP transaction, DHCP client pid 3484
May 14 10:14:35 laptop kernel: [ 2495.208887] wlan1: deauthenticating
from XX:XX:XX:XX:XX:XX by local choice (reason=3)
May 14 10:14:35 laptop kernel: [ 2495.292334] cfg80211: All devices
are disconnected, going to restore regulatory settings
May 14 10:14:35 laptop kernel: [ 2495.292345] cfg80211: Restoring
regulatory settings
May 14 10:14:35 laptop kernel: [ 2495.292355] cfg80211: Calling CRDA
to update world regulatory domain
May 14 10:14:35 laptop wpa_supplicant[1103]: CTRL-EVENT-DISCONNECTED
bssid=00:00:00:00:00:00 reason=0

Some additional info than might be useful: I'm using ubuntu 11.04,
Network Manager has this version:
0.8.4~git.20110319t175609.d14809b-0ubuntu3
Thanks!


--
Truthfully yours,
Martynov Nikolay.
Email: [email protected]