Re: 2.6.29-rc8: Reported regressions from 2.6.28

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeff Chua
Date: Monday, March 16, 2009 - 6:24 am

On Mon, Mar 16, 2009 at 4:26 AM, Ingo Molnar <mingo@elte.hu> wrote:

Here's what I did, and it's repeatable.

Take the attached bisect log and replay it, and the last offending
commit is this ...
# git log
commit 71c11fb57b924c160297ccd9e1761db598d00ac2
Author: Johannes Berg <johannes@sipsolutions.net>
Date:   Tue Oct 28 18:29:48 2008 +0100

    b43/legacy: remove SSID code

Yes, this is not the real problem, but it's the last commit that cause
the problem, and I couldn't bisect further, typing the next "git
bisect bad" and the commit is

# git bisect bad
71c11fb57b924c160297ccd9e1761db598d00ac2 is first bad commit
commit 71c11fb57b924c160297ccd9e1761db598d00ac2
Author: Johannes Berg <johannes@sipsolutions.net>
Date:   Tue Oct 28 18:29:48 2008 +0100

    b43/legacy: remove SSID code


Johannes, Ok, this is not the commit causing the problem, but anything
after this commit doesn't associate with my hidden APs. I may not have
run over every single commits since, but 2.6.29-rc8 is definitely not
associating at all automatically -- only manually by specifying the
AP.

This bug is quite hard to trigger, and it doesn't shows easily in
2.6.28-rc3. May be once every 10 times you tried.



# git reset --hard 71c11fb57b924c160297ccd9e1761db598d00ac2

I've tried on two different Linksys's AP. Association with WAG354G  is
better than with WAG200G ... meaning it's harder to get association
failure on 2.6.28-rc3. 1/10 fail on WAG354G, and 9/10 fails on
WAG200G.

Here's how I associate with the AP.

# modprobe -r iwlagn
# modprobe iwlagn
# iwconfig wlan0 mode Managed
# ifconfig wlan0 up
# iwconfig wlan0 essid "myessid"
# iwconfig wlan0 key restricted "hex key"
# iwconfig wlan0 ap auto channel auto
# ... wait for association
# ping -c 3 <IP of the AP>
# shutdown the interface
# ifconfig wlan0 down
# modprobe -r iwlagn


Repeat these and it'll fail to associate. On WAG200G, can't associate
after 2nd attempt.


Next revert these two commits

commit 4607816f608b42a5379aca97ceed08378804c99f
Author: Johannes Berg <johannes@sipsolutions.net>
Date:   Tue Oct 28 18:25:43 2008 +0100

    iwlwifi: remove unused essid variable

commit a57a59f247b651e8ed6d3eeb7e2f9d83b83134c9
Author: Johannes Berg <johannes@sipsolutions.net>
Date:   Tue Oct 28 18:21:05 2008 +0100

    iwlwifi: remove implicit direct scan


With these patches reverted, associating with the APs are always
successful 10 out of 10 times with the same steps as above.

I've even used the bad modules and when it failed, I can associate
again with the patched module. Same 2.6.28-rc3 kernel.


Here's part of the dmesg
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
        (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
        (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
        (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks
iwlagn: Copyright(c) 2003-2008 Intel Corporation
iwlagn 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
iwlagn 0000:03:00.0: setting latency timer to 64
iwlagn: Detected Intel Wireless WiFi Link 4965AGN REV=0x4
iwlagn: Tunable channels: 11 802.11bg, 13 802.11a channels
iwlagn 0000:03:00.0: PCI INT A disabled
wmaster0 (iwlagn): not using net_device_ops yet
phy0: Selected rate control algorithm 'iwl-agn-rs'
wlan0 (iwlagn): not using net_device_ops yet
iwlagn 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
iwlagn 0000:03:00.0: restoring config space at offset 0x1 (was
0x100102, writing 0
x100106)
iwlagn 0000:03:00.0: irq 28 for MSI/MSI-X
iwlagn 0000:03:00.0: firmware: requesting iwlwifi-4965-2.ucode
iwlagn loaded firmware version 228.57.2.23
Registered led device: iwl-phy0:radio
Registered led device: iwl-phy0:assoc
Registered led device: iwl-phy0:RX
Registered led device: iwl-phy0:TX
iwlagn: TX Power requested while scanning!

Anything I can help to debug further, just let me know.

Thanks,
Jeff.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.29-rc8: Reported regressions from 2.6.28, Rafael J. Wysocki, (Sat Mar 14, 12:01 pm)
[Bug #12805] QinQ vlan trunking regression, Rafael J. Wysocki, (Sat Mar 14, 12:05 pm)
Re: [Bug #12805] QinQ vlan trunking regression, David Miller, (Sat Mar 14, 3:04 pm)
Re: [Bug #12805] QinQ vlan trunking regression, Rafael J. Wysocki, (Sat Mar 14, 3:26 pm)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Jeff Chua, (Sat Mar 14, 7:58 pm)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Jeff Chua, (Sat Mar 14, 8:06 pm)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Rafael J. Wysocki, (Sun Mar 15, 3:41 am)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Johannes Berg, (Sun Mar 15, 11:11 am)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Linus Torvalds, (Sun Mar 15, 11:44 am)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Johannes Berg, (Sun Mar 15, 12:01 pm)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Ingo Molnar, (Sun Mar 15, 1:26 pm)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Zhang Rui, (Sun Mar 15, 6:02 pm)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Jeff Chua, (Mon Mar 16, 6:24 am)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Linus Torvalds, (Mon Mar 16, 12:57 pm)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Jeff Chua, (Mon Mar 16, 4:55 pm)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Johannes Berg, (Tue Mar 17, 12:50 am)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, John W. Linville, (Tue Mar 17, 7:48 am)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, John W. Linville, (Tue Mar 17, 8:28 am)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Ingo Molnar, (Tue Mar 17, 8:39 am)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, John W. Linville, (Tue Mar 17, 9:05 am)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Jeff Chua, (Tue Mar 17, 9:24 am)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, John W. Linville, (Tue Mar 17, 10:10 am)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Jeff Chua, (Tue Mar 17, 10:21 am)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Jeff Chua, (Tue Mar 17, 10:27 am)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Jeff Chua, (Tue Mar 17, 10:31 am)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Jeff Chua, (Tue Mar 17, 11:26 am)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Johannes Berg, (Tue Mar 17, 12:22 pm)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Jeff Chua, (Wed Mar 18, 7:58 pm)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Jeff Chua, (Wed Mar 18, 8:25 pm)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Jeff Chua, (Wed Mar 18, 9:23 pm)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Jeff Chua, (Wed Mar 18, 9:49 pm)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Johannes Berg, (Thu Mar 19, 2:38 am)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, John W. Linville, (Thu Mar 19, 7:13 am)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Johannes Berg, (Thu Mar 19, 9:59 am)
Re: Required sequence to set wireless parameters?, Frans Pop, (Thu Mar 19, 12:24 pm)
Re: Required sequence to set wireless parameters?, Johannes Berg, (Thu Mar 19, 12:27 pm)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Jeff Chua, (Thu Mar 19, 9:55 pm)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Jeff Chua, (Thu Mar 19, 10:20 pm)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Johannes Berg, (Fri Mar 20, 1:32 am)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Jeff Chua, (Fri Mar 20, 3:04 am)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Johannes Berg, (Fri Mar 20, 3:13 am)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Jeff Chua, (Fri Mar 20, 9:14 am)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Jeff Chua, (Fri Mar 20, 10:19 am)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Johannes Berg, (Sat Mar 21, 5:09 am)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Jeff Chua, (Sat Mar 21, 8:08 am)
Re: 2.6.29-rc8: Reported regressions from 2.6.28, Johannes Berg, (Sat Mar 21, 8:11 am)