* 3.0.0-rc1: dmesg shows 'wlan%d' instead of 'wlan0'
@ 2011-06-05 17:10 Sergei Trofimovich
2011-06-06 4:43 ` Mohammed Shafi
0 siblings, 1 reply; 4+ messages in thread
From: Sergei Trofimovich @ 2011-06-05 17:10 UTC (permalink / raw)
To: linux-wireless; +Cc: netdev, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1228 bytes --]
Recently I've noticed small discrepancy in dmesg:
$ { zcat messages.2.gz messages.1.gz; cat messages; } | egrep "(deauthen|Linux version)"
...
May 21 22:01:31 sf kernel: [ 0.000000] Linux version 2.6.39-00004-g29c77fa (slyfox@sf) (gcc version 4.4.5 (Gentoo 4.4.5 p1.2, pie-0.4.5) ) #116 SMP PREEMPT Thu May 19 22:46:16 EEST 2011
May 24 05:37:54 sf kernel: [81845.885094] wlan0: deauthenticated from ...
Jun 1 22:38:38 sf kernel: [ 0.000000] Linux version 3.0.0-rc1-00035-g79f3f61 (slyfox@sf) (gcc version 4.4.5 (Gentoo 4.4.5 p1.2, pie-0.4.5) ) #118 SMP PREEMPT Wed Jun 1 22:14:46 EEST 2011
Jun 1 23:41:23 sf kernel: [ 3877.773727] wlan%d: deauthenticating from ...
Jun 1 23:42:16 sf kernel: [ 0.000000] Linux version 3.0.0-rc1-00035-g79f3f61-dirty (slyfox@sf) (gcc version 4.4.5 (Gentoo 4.4.5 p1.2, pie-0.4.5) ) #119 SMP PREEMPT Wed Jun 1 23:35:43 EEST 2011
Jun 2 07:35:10 sf kernel: [ 5972.879970] wlan%d: deauthenticated from ...
Here we see 'wlan0' -> 'wlan%d' switch. I presume those lines go from firmware
(and not from userspace).
The card is an iwl4965
10:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)
--
Sergei
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 3.0.0-rc1: dmesg shows 'wlan%d' instead of 'wlan0'
2011-06-05 17:10 3.0.0-rc1: dmesg shows 'wlan%d' instead of 'wlan0' Sergei Trofimovich
@ 2011-06-06 4:43 ` Mohammed Shafi
2011-06-06 17:32 ` Sergei Trofimovich
0 siblings, 1 reply; 4+ messages in thread
From: Mohammed Shafi @ 2011-06-06 4:43 UTC (permalink / raw)
To: Sergei Trofimovich; +Cc: linux-wireless, netdev, linux-kernel
On Sun, Jun 5, 2011 at 10:40 PM, Sergei Trofimovich <slyich@gmail.com> wrote:
> Recently I've noticed small discrepancy in dmesg:
>
> $ { zcat messages.2.gz messages.1.gz; cat messages; } | egrep "(deauthen|Linux version)"
> ...
> May 21 22:01:31 sf kernel: [ 0.000000] Linux version 2.6.39-00004-g29c77fa (slyfox@sf) (gcc version 4.4.5 (Gentoo 4.4.5 p1.2, pie-0.4.5) ) #116 SMP PREEMPT Thu May 19 22:46:16 EEST 2011
> May 24 05:37:54 sf kernel: [81845.885094] wlan0: deauthenticated from ...
>
> Jun 1 22:38:38 sf kernel: [ 0.000000] Linux version 3.0.0-rc1-00035-g79f3f61 (slyfox@sf) (gcc version 4.4.5 (Gentoo 4.4.5 p1.2, pie-0.4.5) ) #118 SMP PREEMPT Wed Jun 1 22:14:46 EEST 2011
> Jun 1 23:41:23 sf kernel: [ 3877.773727] wlan%d: deauthenticating from ...
>
> Jun 1 23:42:16 sf kernel: [ 0.000000] Linux version 3.0.0-rc1-00035-g79f3f61-dirty (slyfox@sf) (gcc version 4.4.5 (Gentoo 4.4.5 p1.2, pie-0.4.5) ) #119 SMP PREEMPT Wed Jun 1 23:35:43 EEST 2011
> Jun 2 07:35:10 sf kernel: [ 5972.879970] wlan%d: deauthenticated from ...
>
> Here we see 'wlan0' -> 'wlan%d' switch. I presume those lines go from firmware
> (and not from userspace).
>
> The card is an iwl4965
>
> 10:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)
this seems to be fixed by the following commit which was recently
merged in wireless-testing
commit 59e7e7078d6c2c6294caf454c6e3695f9d3e46a2
Author: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Date: Thu Jun 2 17:28:37 2011 -0300
mac80211: call dev_alloc_name before copying name to sdata
This partially reverts 1c5cae815d19ffe02bdfda1260949ef2b1806171, because
the netdev name is copied into sdata->name, which is used for debugging
messages, for example. Otherwise, we get messages like this:
wlan%d: authenticated
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Cc: Jiri Pirko <jpirko@redhat.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: "John W. Linville" <linville@tuxdriver.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
are we still getting it?
>
> --
>
> Sergei
>
--
shafi
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 3.0.0-rc1: dmesg shows 'wlan%d' instead of 'wlan0'
2011-06-06 4:43 ` Mohammed Shafi
@ 2011-06-06 17:32 ` Sergei Trofimovich
2011-06-06 21:25 ` julie Sullivan
0 siblings, 1 reply; 4+ messages in thread
From: Sergei Trofimovich @ 2011-06-06 17:32 UTC (permalink / raw)
To: Mohammed Shafi; +Cc: linux-wireless, netdev, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 557 bytes --]
> > Here we see 'wlan0' -> 'wlan%d' switch. I presume those lines go from firmware
> > (and not from userspace).
> this seems to be fixed by the following commit which was recently
> merged in wireless-testing
>
> commit 59e7e7078d6c2c6294caf454c6e3695f9d3e46a2
> Author: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
> Date: Thu Jun 2 17:28:37 2011 -0300
> are we still getting it?
I never ran 'wireless-testing' before.
Applied this commit on top of 3.0-rc2 and wlan%d switched to wlan0 back.
Thanks!
--
Sergei
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 3.0.0-rc1: dmesg shows 'wlan%d' instead of 'wlan0'
2011-06-06 17:32 ` Sergei Trofimovich
@ 2011-06-06 21:25 ` julie Sullivan
0 siblings, 0 replies; 4+ messages in thread
From: julie Sullivan @ 2011-06-06 21:25 UTC (permalink / raw)
To: Sergei Trofimovich; +Cc: Mohammed Shafi, linux-wireless, netdev, linux-kernel
>
> Applied this commit on top of 3.0-rc2 and wlan%d switched to wlan0 back.
>
> Thanks!
>
> --
>
> Sergei
>
Yes, with me too:
before patch application (3.0-rc2):
[ 63.837522] wlan%d: authenticate with 00:18:f6:aa:6e:25 (try 1)
[ 63.843805] wlan%d: authenticated
[ 63.844282] wlan%d: associate with 00:18:f6:aa:6e:25 (try 1)
[ 63.846887] wlan%d: RX AssocResp from 00:18:f6:aa:6e:25
(capab=0x411 status=0 aid=2)
[ 63.846891] wlan%d: associated
after patch application:
[ 69.472955] wlan0: authenticate with 00:18:f6:aa:6e:25 (try 1)
[ 69.479356] wlan0: authenticated
[ 69.479863] wlan0: associate with 00:18:f6:aa:6e:25 (try 1)
[ 69.482425] wlan0: RX AssocResp from 00:18:f6:aa:6e:25 (capab=0x411
status=0 aid=2)
[ 69.482428] wlan0: associated
Thanks for the pointer, Shafi.
Cheers
Julie
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-06-06 21:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-05 17:10 3.0.0-rc1: dmesg shows 'wlan%d' instead of 'wlan0' Sergei Trofimovich
2011-06-06 4:43 ` Mohammed Shafi
2011-06-06 17:32 ` Sergei Trofimovich
2011-06-06 21:25 ` julie Sullivan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).