* garbaged AP mac address in dmesg in wireless-testing? @ 2009-01-16 17:07 Hin-Tak Leung 2009-01-16 18:38 ` John W. Linville 0 siblings, 1 reply; 7+ messages in thread From: Hin-Tak Leung @ 2009-01-16 17:07 UTC (permalink / raw) To: linux-wireless Since a few days ago, my dmesg is looking like this - instead of the older AA:BB:CC:DD:EE:FF form with the mac address of the AP. That ffff88* looks like a pointer/address to me? Is this change intentional? -------------- wlan2 direct probe responded wlan2: authenticate with AP ffff880070995aa0 wlan2: authenticated wlan2: associate with AP ffff880070995aa0 wlan2: RX ReassocResp from ffff88001431f01a (capab=0x431 status=0 aid=1) wlan2: associated ------------- ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: garbaged AP mac address in dmesg in wireless-testing? 2009-01-16 17:07 garbaged AP mac address in dmesg in wireless-testing? Hin-Tak Leung @ 2009-01-16 18:38 ` John W. Linville 2009-01-16 18:59 ` Kalle Valo 0 siblings, 1 reply; 7+ messages in thread From: John W. Linville @ 2009-01-16 18:38 UTC (permalink / raw) To: Hin-Tak Leung; +Cc: linux-wireless On Fri, Jan 16, 2009 at 05:07:50PM +0000, Hin-Tak Leung wrote: > Since a few days ago, my dmesg is looking like this - instead of the > older AA:BB:CC:DD:EE:FF form > with the mac address of the AP. > That ffff88* looks like a pointer/address to me? Is this change intentional? > > -------------- > wlan2 direct probe responded > wlan2: authenticate with AP ffff880070995aa0 > wlan2: authenticated > wlan2: associate with AP ffff880070995aa0 > wlan2: RX ReassocResp from ffff88001431f01a (capab=0x431 status=0 aid=1) > wlan2: associated Odd...some problem with the "%pM" printk conversion? What kernel are you running? John -- John W. Linville Someday the world will need a hero, and you linville@tuxdriver.com might be all we have. Be ready. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: garbaged AP mac address in dmesg in wireless-testing? 2009-01-16 18:38 ` John W. Linville @ 2009-01-16 18:59 ` Kalle Valo 2009-01-16 19:13 ` Hauke Mehrtens 0 siblings, 1 reply; 7+ messages in thread From: Kalle Valo @ 2009-01-16 18:59 UTC (permalink / raw) To: John W. Linville; +Cc: Hin-Tak Leung, linux-wireless "John W. Linville" <linville@tuxdriver.com> writes: > On Fri, Jan 16, 2009 at 05:07:50PM +0000, Hin-Tak Leung wrote: >> Since a few days ago, my dmesg is looking like this - instead of the >> older AA:BB:CC:DD:EE:FF form >> with the mac address of the AP. >> That ffff88* looks like a pointer/address to me? Is this change intentional? >> >> -------------- >> wlan2 direct probe responded >> wlan2: authenticate with AP ffff880070995aa0 >> wlan2: authenticated >> wlan2: associate with AP ffff880070995aa0 >> wlan2: RX ReassocResp from ffff88001431f01a (capab=0x431 status=0 aid=1) >> wlan2: associated Works for me: [37125.111672] wlan0: authenticate with AP 00:12:17:e7:98:de [37125.113509] wlan0: authenticated [37125.113514] wlan0: associate with AP 00:12:17:e7:98:de [37125.115875] wlan0: RX AssocResp from 00:12:17:e7:98:de (capab=0x11 status=0 aid=1) [37125.115881] wlan0: associated This is on x86 32bit with iwl3945 and latest wireless-testing. > Odd...some problem with the "%pM" printk conversion? What kernel > are you running? And on what architecture? -- Kalle Valo ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: garbaged AP mac address in dmesg in wireless-testing? 2009-01-16 18:59 ` Kalle Valo @ 2009-01-16 19:13 ` Hauke Mehrtens 2009-01-16 19:20 ` John W. Linville 0 siblings, 1 reply; 7+ messages in thread From: Hauke Mehrtens @ 2009-01-16 19:13 UTC (permalink / raw) To: Kalle Valo; +Cc: John W. Linville, Hin-Tak Leung, linux-wireless [-- Attachment #1: Type: text/plain, Size: 1564 bytes --] Kalle Valo wrote: > "John W. Linville" <linville@tuxdriver.com> writes: > >> On Fri, Jan 16, 2009 at 05:07:50PM +0000, Hin-Tak Leung wrote: >>> Since a few days ago, my dmesg is looking like this - instead of the >>> older AA:BB:CC:DD:EE:FF form >>> with the mac address of the AP. >>> That ffff88* looks like a pointer/address to me? Is this change intentional? >>> >>> -------------- >>> wlan2 direct probe responded >>> wlan2: authenticate with AP ffff880070995aa0 >>> wlan2: authenticated >>> wlan2: associate with AP ffff880070995aa0 >>> wlan2: RX ReassocResp from ffff88001431f01a (capab=0x431 status=0 aid=1) >>> wlan2: associated > > Works for me: > > [37125.111672] wlan0: authenticate with AP 00:12:17:e7:98:de > [37125.113509] wlan0: authenticated > [37125.113514] wlan0: associate with AP 00:12:17:e7:98:de > [37125.115875] wlan0: RX AssocResp from 00:12:17:e7:98:de (capab=0x11 status=0 aid=1) > [37125.115881] wlan0: associated > > This is on x86 32bit with iwl3945 and latest wireless-testing. > >> Odd...some problem with the "%pM" printk conversion? What kernel >> are you running? > > And on what architecture? > I have got the same problem on x86_64 with rtl8187, kernel 2.6.27 and compat-wireless-2008-01-16. [ 3064.480766] wlan0: authenticate with AP ffff8801291dfa20 [ 3064.482271] wlan0: authenticated [ 3064.482275] wlan0: associate with AP ffff8801291dfa20 [ 3064.485021] wlan0: RX AssocResp from ffff88011128c01a (capab=0x411 status=0 aid=1) [ 3064.485025] wlan0: associated Hauke [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 898 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: garbaged AP mac address in dmesg in wireless-testing? 2009-01-16 19:13 ` Hauke Mehrtens @ 2009-01-16 19:20 ` John W. Linville 2009-01-16 22:06 ` Hin-Tak Leung 0 siblings, 1 reply; 7+ messages in thread From: John W. Linville @ 2009-01-16 19:20 UTC (permalink / raw) To: Hauke Mehrtens; +Cc: Kalle Valo, Hin-Tak Leung, linux-wireless On Fri, Jan 16, 2009 at 08:13:28PM +0100, Hauke Mehrtens wrote: > Kalle Valo wrote: > > "John W. Linville" <linville@tuxdriver.com> writes: > > > >> On Fri, Jan 16, 2009 at 05:07:50PM +0000, Hin-Tak Leung wrote: > >>> Since a few days ago, my dmesg is looking like this - instead of the > >>> older AA:BB:CC:DD:EE:FF form > >>> with the mac address of the AP. > >>> That ffff88* looks like a pointer/address to me? Is this change intentional? > >>> > >>> -------------- > >>> wlan2 direct probe responded > >>> wlan2: authenticate with AP ffff880070995aa0 > >>> wlan2: authenticated > >>> wlan2: associate with AP ffff880070995aa0 > >>> wlan2: RX ReassocResp from ffff88001431f01a (capab=0x431 status=0 aid=1) > >>> wlan2: associated > > > > Works for me: > > > > [37125.111672] wlan0: authenticate with AP 00:12:17:e7:98:de > > [37125.113509] wlan0: authenticated > > [37125.113514] wlan0: associate with AP 00:12:17:e7:98:de > > [37125.115875] wlan0: RX AssocResp from 00:12:17:e7:98:de (capab=0x11 status=0 aid=1) > > [37125.115881] wlan0: associated > > > > This is on x86 32bit with iwl3945 and latest wireless-testing. > > > >> Odd...some problem with the "%pM" printk conversion? What kernel > >> are you running? > > > > And on what architecture? > > > > I have got the same problem on x86_64 with rtl8187, kernel 2.6.27 and > compat-wireless-2008-01-16. > > [ 3064.480766] wlan0: authenticate with AP ffff8801291dfa20 > [ 3064.482271] wlan0: authenticated > [ 3064.482275] wlan0: associate with AP ffff8801291dfa20 > [ 3064.485021] wlan0: RX AssocResp from ffff88011128c01a (capab=0x411 > status=0 aid=1) > [ 3064.485025] wlan0: associated compat-wireless users are probably using kernels that have printk implementations that do not understand "%pM". QED. :-) -- John W. Linville Someday the world will need a hero, and you linville@tuxdriver.com might be all we have. Be ready. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: garbaged AP mac address in dmesg in wireless-testing? 2009-01-16 19:20 ` John W. Linville @ 2009-01-16 22:06 ` Hin-Tak Leung 2009-01-16 22:15 ` Hin-Tak Leung 0 siblings, 1 reply; 7+ messages in thread From: Hin-Tak Leung @ 2009-01-16 22:06 UTC (permalink / raw) To: John W. Linville; +Cc: Hauke Mehrtens, Kalle Valo, linux-wireless On Fri, Jan 16, 2009 at 7:20 PM, John W. Linville <linville@tuxdriver.com> wrote: > On Fri, Jan 16, 2009 at 08:13:28PM +0100, Hauke Mehrtens wrote: >> Kalle Valo wrote: >> > "John W. Linville" <linville@tuxdriver.com> writes: >> > >> >> On Fri, Jan 16, 2009 at 05:07:50PM +0000, Hin-Tak Leung wrote: >> >>> Since a few days ago, my dmesg is looking like this - instead of the >> >>> older AA:BB:CC:DD:EE:FF form >> >>> with the mac address of the AP. >> >>> That ffff88* looks like a pointer/address to me? Is this change intentional? >> >>> >> >>> -------------- >> >>> wlan2 direct probe responded >> >>> wlan2: authenticate with AP ffff880070995aa0 >> >>> wlan2: authenticated >> >>> wlan2: associate with AP ffff880070995aa0 >> >>> wlan2: RX ReassocResp from ffff88001431f01a (capab=0x431 status=0 aid=1) >> >>> wlan2: associated >> > >> > Works for me: >> > >> > [37125.111672] wlan0: authenticate with AP 00:12:17:e7:98:de >> > [37125.113509] wlan0: authenticated >> > [37125.113514] wlan0: associate with AP 00:12:17:e7:98:de >> > [37125.115875] wlan0: RX AssocResp from 00:12:17:e7:98:de (capab=0x11 status=0 aid=1) >> > [37125.115881] wlan0: associated >> > >> > This is on x86 32bit with iwl3945 and latest wireless-testing. >> > >> >> Odd...some problem with the "%pM" printk conversion? What kernel >> >> are you running? >> > >> > And on what architecture? >> > >> >> I have got the same problem on x86_64 with rtl8187, kernel 2.6.27 and >> compat-wireless-2008-01-16. >> >> [ 3064.480766] wlan0: authenticate with AP ffff8801291dfa20 >> [ 3064.482271] wlan0: authenticated >> [ 3064.482275] wlan0: associate with AP ffff8801291dfa20 >> [ 3064.485021] wlan0: RX AssocResp from ffff88011128c01a (capab=0x411 >> status=0 aid=1) >> [ 3064.485025] wlan0: associated > > compat-wireless users are probably using kernels that have printk > implementations that do not understand "%pM". QED. :-) > > -- > John W. Linville Someday the world will need a hero, and you > linville@tuxdriver.com might be all we have. Be ready. > 2.6.28.1-9.rc2.fc10.x86_64 and yes, I am using compat-wireless ... what puzzles me is that the as-shipped modules have the mac addresses correctly. Okay, sorry for the noise. I did look at git blame and, when I saw the date of the lines with the %pM commits was two months ago, I didn't bother to look further, since the problem is very recent... I was looking in the right direction but just didn't look far enough. commit 0c68ae2605dbcf67414d8d1f19af93be44b355fb Author: Johannes Berg <johannes@sipsolutions.net> Date: Mon Oct 27 15:56:10 2008 -0700 mac80211: convert to %pM away from print_mac Also remove a few stray DECLARE_MAC_BUF that were no longer used at all. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: David S. Miller <davem@davemloft.net> -------------------------------- commit dd45c9cf687682c9ce256ab14bd8914db77410bb Author: Harvey Harrison <harvey.harrison@gmail.com> Date: Mon Oct 27 15:47:12 2008 -0700 printk: add %pM format specifier for MAC addresses -------------- and it is in lib/vsprintf.c ... But I guess ideally compat-wireless should patch this in to somewhere under net/mac80211? (that's the whole point of compat-wireless, to run with older kernels?) ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: garbaged AP mac address in dmesg in wireless-testing? 2009-01-16 22:06 ` Hin-Tak Leung @ 2009-01-16 22:15 ` Hin-Tak Leung 0 siblings, 0 replies; 7+ messages in thread From: Hin-Tak Leung @ 2009-01-16 22:15 UTC (permalink / raw) To: John W. Linville; +Cc: Hauke Mehrtens, Kalle Valo, linux-wireless On Fri, Jan 16, 2009 at 10:06 PM, Hin-Tak Leung <hintak.leung@gmail.com> wrote: > On Fri, Jan 16, 2009 at 7:20 PM, John W. Linville > <linville@tuxdriver.com> wrote: >> On Fri, Jan 16, 2009 at 08:13:28PM +0100, Hauke Mehrtens wrote: >>> Kalle Valo wrote: >>> > "John W. Linville" <linville@tuxdriver.com> writes: >>> > >>> >> On Fri, Jan 16, 2009 at 05:07:50PM +0000, Hin-Tak Leung wrote: >>> >>> Since a few days ago, my dmesg is looking like this - instead of the >>> >>> older AA:BB:CC:DD:EE:FF form >>> >>> with the mac address of the AP. >>> >>> That ffff88* looks like a pointer/address to me? Is this change intentional? >>> >>> >>> >>> -------------- >>> >>> wlan2 direct probe responded >>> >>> wlan2: authenticate with AP ffff880070995aa0 >>> >>> wlan2: authenticated >>> >>> wlan2: associate with AP ffff880070995aa0 >>> >>> wlan2: RX ReassocResp from ffff88001431f01a (capab=0x431 status=0 aid=1) >>> >>> wlan2: associated >>> > >>> > Works for me: >>> > >>> > [37125.111672] wlan0: authenticate with AP 00:12:17:e7:98:de >>> > [37125.113509] wlan0: authenticated >>> > [37125.113514] wlan0: associate with AP 00:12:17:e7:98:de >>> > [37125.115875] wlan0: RX AssocResp from 00:12:17:e7:98:de (capab=0x11 status=0 aid=1) >>> > [37125.115881] wlan0: associated >>> > >>> > This is on x86 32bit with iwl3945 and latest wireless-testing. >>> > >>> >> Odd...some problem with the "%pM" printk conversion? What kernel >>> >> are you running? >>> > >>> > And on what architecture? >>> > >>> >>> I have got the same problem on x86_64 with rtl8187, kernel 2.6.27 and >>> compat-wireless-2008-01-16. >>> >>> [ 3064.480766] wlan0: authenticate with AP ffff8801291dfa20 >>> [ 3064.482271] wlan0: authenticated >>> [ 3064.482275] wlan0: associate with AP ffff8801291dfa20 >>> [ 3064.485021] wlan0: RX AssocResp from ffff88011128c01a (capab=0x411 >>> status=0 aid=1) >>> [ 3064.485025] wlan0: associated >> >> compat-wireless users are probably using kernels that have printk >> implementations that do not understand "%pM". QED. :-) >> >> -- >> John W. Linville Someday the world will need a hero, and you >> linville@tuxdriver.com might be all we have. Be ready. >> > > 2.6.28.1-9.rc2.fc10.x86_64 and yes, I am using compat-wireless ... > what puzzles me is > that the as-shipped modules have the mac addresses correctly. > > Okay, sorry for the noise. I did look at git blame and, when I saw the > date of the lines with the > %pM commits was two months ago, I didn't bother to look further, since > the problem is very recent... > I was looking in the right direction but just didn't look far enough. > > commit 0c68ae2605dbcf67414d8d1f19af93be44b355fb > Author: Johannes Berg <johannes@sipsolutions.net> > Date: Mon Oct 27 15:56:10 2008 -0700 > > mac80211: convert to %pM away from print_mac > > Also remove a few stray DECLARE_MAC_BUF that were no longer > used at all. > > Signed-off-by: Johannes Berg <johannes@sipsolutions.net> > Signed-off-by: David S. Miller <davem@davemloft.net> > > -------------------------------- > commit dd45c9cf687682c9ce256ab14bd8914db77410bb > Author: Harvey Harrison <harvey.harrison@gmail.com> > Date: Mon Oct 27 15:47:12 2008 -0700 > > printk: add %pM format specifier for MAC addresses > -------------- > > and it is in lib/vsprintf.c ... > > But I guess ideally compat-wireless should patch this in to somewhere > under net/mac80211? (that's the whole point > of compat-wireless, to run with older kernels?) > Argh, a few days ago I went from kernel-2.6.27.10-169.fc10 (heavily wireless-testing patched from John) to kernel-2.6.28-X.fc10 (mostly vanilla), as a routine tracking of what's on koji... ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-01-16 22:15 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-01-16 17:07 garbaged AP mac address in dmesg in wireless-testing? Hin-Tak Leung 2009-01-16 18:38 ` John W. Linville 2009-01-16 18:59 ` Kalle Valo 2009-01-16 19:13 ` Hauke Mehrtens 2009-01-16 19:20 ` John W. Linville 2009-01-16 22:06 ` Hin-Tak Leung 2009-01-16 22:15 ` Hin-Tak Leung
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).