linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Chua <jeff.chua.linux@gmail.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: Johannes Berg <johannes@sipsolutions.net>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	"Rafael J. Wysocki" <rjw@sisk.pl>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Adrian Bunk <bunk@kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Kernel Testers List <kernel-testers@vger.kernel.org>,
	Network Development <netdev@vger.kernel.org>,
	"John W. Linville" <linville@tuxdriver.com>
Subject: Re: 2.6.29-rc8: Reported regressions from 2.6.28
Date: Mon, 16 Mar 2009 21:24:14 +0800	[thread overview]
Message-ID: <b6a2187b0903160624gb9d207dv301506e589d93ed4@mail.gmail.com> (raw)
In-Reply-To: <20090315202603.GA9077@elte.hu>

[-- Attachment #1: Type: text/plain, Size: 4430 bytes --]

On Mon, Mar 16, 2009 at 4:26 AM, Ingo Molnar <mingo@elte.hu> wrote:
> * Johannes Berg <johannes@sipsolutions.net> wrote:
>> that the commit he quotes doesn't even change the driver he's
>> working with.

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.

[-- Attachment #2: bisect.log --]
[-- Type: application/octet-stream, Size: 2095 bytes --]

git bisect start
# bad: [0191b625ca5a46206d2fb862bb08f36f2fcb3b31] Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6
git bisect bad 0191b625ca5a46206d2fb862bb08f36f2fcb3b31
# good: [1d248b2593e92db6c51ca07235985a95c625a93f] Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband
git bisect good 1d248b2593e92db6c51ca07235985a95c625a93f
# bad: [7d359daafe12b36b6da7ec6247caddf534183aed] apne: convert to net_device_ops
git bisect bad 7d359daafe12b36b6da7ec6247caddf534183aed
# bad: [0a888fd1f6320d1d9318c58de9bca3cef41546d6] virtio_net: Recycle some more rx buffer pages
git bisect bad 0a888fd1f6320d1d9318c58de9bca3cef41546d6
# good: [c354e1246348e25c714e6b2973f3257183d06e2c] net: clean up net/ipv4/ipmr.c
git bisect good c354e1246348e25c714e6b2973f3257183d06e2c
# good: [f21f237cf55494c3a4209de323281a3b0528da10] Merge branch 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
git bisect good f21f237cf55494c3a4209de323281a3b0528da10
# bad: [05a1e2d111c98340fb17ec702cf09450eec3a947] ath9k: Enable interrupts at the proper place
git bisect bad 05a1e2d111c98340fb17ec702cf09450eec3a947
# good: [4bab0ea1d42dd1927af9df6fbf0003fc00617c50] Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
git bisect good 4bab0ea1d42dd1927af9df6fbf0003fc00617c50
# good: [0a95f56323ce93dac354c1b2d54bf959a985cf7d] sfc: Clean up non-volatile memory partitioning
git bisect good 0a95f56323ce93dac354c1b2d54bf959a985cf7d
# good: [1239cd58d237fa6ad501acaec8776262a5784ec8] wireless: move mesh config length constant
git bisect good 1239cd58d237fa6ad501acaec8776262a5784ec8
# bad: [17683c65c8a5f3f29f5408334992986b996d8205] ath5k: fix keytable type buglet in ath5k_hw_reset_key
git bisect bad 17683c65c8a5f3f29f5408334992986b996d8205
# bad: [71c11fb57b924c160297ccd9e1761db598d00ac2] b43/legacy: remove SSID code
git bisect bad 71c11fb57b924c160297ccd9e1761db598d00ac2
# good: [430cfe95a401baa0dc2022deaad02cb75d63c73c] iwl3945: remove dead code
git bisect good 430cfe95a401baa0dc2022deaad02cb75d63c73c

  reply	other threads:[~2009-03-16 13:24 UTC|newest]

Thread overview: 106+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-14 19:01 2.6.29-rc8: Reported regressions from 2.6.28 Rafael J. Wysocki
2009-03-14 19:01 ` [Bug #12414] iwl4965 cannot use "ap auto" on latest 2.6.28/29? Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12418] Repeated ioctl(4, 0x40046445, ..) loop in glxgears Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12444] X hangs following switch from radeonfb console - Bisected Rafael J. Wysocki
2009-03-15 10:08   ` Graham Murray
2009-03-15 10:45     ` Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12419] possible circular locking dependency on i915 dma Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12490] ath5k related kernel panic in 2.6.29-rc1 Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12667] Badness at kernel/time/timekeeping.c:98 in pmud (timekeeping_suspended) Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12668] USB flash disk surprise disconnect Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12499] Problem with using bluetooth adaper connected to usb port Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12574] possible circular locking dependency detected Rafael J. Wysocki
2009-03-16  0:24   ` Michael S. Tsirkin
2009-03-19 13:03     ` Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12671] uvc_status_cleanup(): undefined reference to `input_unregister_device' Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12681] s2ram: fails to wake up on Acer Extensa 4220 (SMP disabled) Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12670] BUG: unable to handle kernel paging request at pin_to_kill+0x21 Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12680] Entropy pool problem Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12705] X200: Brightness broken since 2.6.29-rc4-58-g4c098bc Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12763] Different cpu MHz values for processor0 and processor1 Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12758] ACPI exception with 2.6.29-rc6 Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12778] suspend regression from 29rc5 to 29rc6 Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12765] i915 VT switch with AIGLX causes X lock up Rafael J. Wysocki
2009-03-16 17:54   ` Sitsofe Wheeler
2009-03-19 13:02     ` Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12771] Oops in i915_gem_flush Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12800] x86 PAT invalid vm_insert_pfn assumptions Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12792] 2.6.29-rc6-git4 boot failure Rafael J. Wysocki
2009-03-15  8:32   ` Sachin Sant
2009-03-15 10:48     ` Rafael J. Wysocki
2009-03-15 11:51       ` Sachin Sant
2009-03-14 19:05 ` [Bug #12805] QinQ vlan trunking regression Rafael J. Wysocki
2009-03-14 22:04   ` David Miller
2009-03-14 22:26     ` Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12808] Suspend regression with 2.6.29-rc Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12806] i915 broken STR Rafael J. Wysocki
2009-03-15  3:35   ` Harvey Harrison
2009-03-15 10:35     ` Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12831] Hot/Fn Keys do not work EEEPC 1000HE (eeepc_laptop) Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12809] iozone regression with 2.6.29-rc6 Rafael J. Wysocki
2009-03-15  0:27   ` Linus Torvalds
2009-03-15  7:55     ` Wu Fengguang
2009-03-16  5:03     ` Lin Ming
2009-03-16  7:30       ` Wu Fengguang
2009-03-14 19:05 ` [Bug #12836] 2.6.29-rc breaks STD using Intel 945 Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12846] Regression issue with kernel 2.6.29-rc6-git1: high power consumption during sleep Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12856] Thinkpad freezes with X.org and acpi=rsdt Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12842] CCMP: replay detected Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12867] 2.6.29-rc7 broke r8169 MAC on Thecus n2100 ARM board Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12861] Xorg fails to start "Failed to allocate space for kernel memory manager" Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12869] BUG when disabled ipv6 module is unloaded Rafael J. Wysocki
2009-03-14 22:04   ` Thomas Backlund
2009-03-14 22:05     ` David Miller
2009-03-14 19:05 ` [Bug #12870] 2.6.29-rc "TKIP: replay detected" regression Rafael J. Wysocki
2009-03-16 21:53   ` Hugh Dickins
2009-03-16 21:57     ` Rafael J. Wysocki
2009-03-17  0:11       ` John W. Linville
2009-03-14 19:05 ` [Bug #12871] usb bluetooth crashes system Rafael J. Wysocki
2009-03-15  5:01   ` Greg KH
2009-03-14 19:05 ` [Bug #12872] pwc mmap always fails with EAGAIN Rafael J. Wysocki
2009-03-15  2:58 ` 2.6.29-rc8: Reported regressions from 2.6.28 Jeff Chua
2009-03-15  3:06   ` Jeff Chua
2009-03-15 10:41     ` Rafael J. Wysocki
2009-03-15 18:11     ` Johannes Berg
2009-03-15 18:44       ` Linus Torvalds
2009-03-15 19:01         ` Johannes Berg
2009-03-15 20:26           ` Ingo Molnar
2009-03-16 13:24             ` Jeff Chua [this message]
2009-03-16 19:57               ` Linus Torvalds
2009-03-16 23:55                 ` Jeff Chua
2009-03-17  7:50                   ` Johannes Berg
2009-03-17 17:21                     ` Jeff Chua
2009-03-17 14:48                   ` John W. Linville
2009-03-17 15:28                     ` John W. Linville
2009-03-17 15:39                       ` Ingo Molnar
2009-03-17 16:05                         ` John W. Linville
2009-03-17 16:24                           ` Jeff Chua
2009-03-17 17:10                             ` John W. Linville
2009-03-17 17:27                               ` Jeff Chua
2009-03-17 17:31                                 ` Jeff Chua
2009-03-17 18:26                                   ` Jeff Chua
2009-03-17 19:22               ` Johannes Berg
2009-03-19  2:58                 ` Jeff Chua
2009-03-19  3:25                   ` Jeff Chua
2009-03-19  4:23                     ` Jeff Chua
2009-03-19 16:59                       ` Johannes Berg
2009-03-20 17:19                         ` Jeff Chua
2009-03-19  4:49                   ` Jeff Chua
2009-03-19  9:38                     ` Johannes Berg
2009-03-19 14:13                       ` John W. Linville
2009-03-19 15:02                         ` Required sequence to set wireless parameters? (was: 2.6.29-rc8: Reported regressions from 2.6.28) Frans Pop
2009-03-19 15:24                           ` John W. Linville
2009-03-19 16:45                             ` Jeff Chua
2009-03-19 16:53                           ` Johannes Berg
2009-03-19 19:24                             ` Required sequence to set wireless parameters? Frans Pop
2009-03-19 19:27                               ` Johannes Berg
2009-03-20  4:55                       ` 2.6.29-rc8: Reported regressions from 2.6.28 Jeff Chua
2009-03-20  5:20                         ` Jeff Chua
2009-03-20  8:32                         ` Johannes Berg
2009-03-20 10:04                           ` Jeff Chua
2009-03-20 10:13                             ` Johannes Berg
2009-03-20 16:14                               ` Jeff Chua
2009-03-21 12:09                                 ` Johannes Berg
2009-03-21 15:08                                   ` Jeff Chua
2009-03-21 15:11                                     ` Johannes Berg
2009-03-16  1:02 ` Zhang Rui

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b6a2187b0903160624gb9d207dv301506e589d93ed4@mail.gmail.com \
    --to=jeff.chua.linux@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=bunk@kernel.org \
    --cc=johannes@sipsolutions.net \
    --cc=kernel-testers@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=mingo@elte.hu \
    --cc=netdev@vger.kernel.org \
    --cc=rjw@sisk.pl \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).