From owner-freebsd-current@FreeBSD.ORG Sun Feb 1 22:26:24 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8783C106566C; Sun, 1 Feb 2009 22:26:24 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 1F4018FC20; Sun, 1 Feb 2009 22:26:23 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n11MQNvk062375 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 1 Feb 2009 14:26:23 -0800 (PST) (envelope-from sam@freebsd.org) Message-ID: <4986218F.5060408@freebsd.org> Date: Sun, 01 Feb 2009 14:26:23 -0800 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (X11/20081209) MIME-Version: 1.0 To: Lars Engels References: <20090129192241.GZ60948@e.0x20.net> <20090129192830.GE73709@citylink.fud.org.nz> <20090129194826.GA60948@e.0x20.net> <49820EAC.5090400@freebsd.org> <20090129204323.GB60948@e.0x20.net> <3a142e750901291328w537b2070t216e393a0fd5b8ba@mail.gmail.com> <20090129215424.GC60948@e.0x20.net> <49853423.9050208@freebsd.org> <20090201095721.GE60948@e.0x20.net> In-Reply-To: <20090201095721.GE60948@e.0x20.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-sonic.net-Metrics: ebb.errno.com; whitelist Cc: current@freebsd.org Subject: Re: ath cannot find my wireless network any more X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Feb 2009 22:26:24 -0000 Lars Engels wrote: > On Sat, Jan 31, 2009 at 09:33:23PM -0800, Sam Leffler wrote: > >> Lars Engels wrote: >> >>> Ahhh, thanks for the hint. There's a lot of scanning going on in >>> /var/log/messages but no sign of my own network. >>> >> Unfortunately you haven't shown what this output is. I asked you to do >> it to be sure the scan visited the channel w/ your ap and/or whether it >> sent a probe request frame or saw a beacon from the ap. The hal changes >> should not have altered anything for you because your eeprom setup >> appears to have default settings. I've been running these changes for a >> while but I'm likely testing different things than you. >> >> If you can send me the debug output it might help (feel free to send it >> directly). Otherwise you might try reverting the change. Since you >> still haven't sent me the mac+phy revs for your card I can't try to >> reproduce your setup. >> > > Sorry, I thought you wanted to see the scan results only when my network shows up. > Here are two rounds of scanning: > > Feb 1 10:48:19 maggie kernel: ath0: mem 0x88000000-0x8800ffff irq 20 at device 0.0 on cardbus0 > Feb 1 10:48:19 maggie kernel: ath0: [ITHREAD] > Feb 1 10:48:19 maggie kernel: ath0: WARNING: using obsoleted if_watchdog interface > Feb 1 10:48:19 maggie kernel: ath0: mac 5.9 phy 4.3 radio 3.6 > Feb 1 10:48:19 maggie kernel: wlan0: Ethernet address: 00:0f:b5:9a:47:47 > Feb 1 10:49:23 maggie kernel: wlan0: scan_next: chan 36a -> 40a [active, dwell min 20 max 200] > Feb 1 10:49:24 maggie kernel: wlan0: scan_next: chan 40a -> 44a [active, dwell min 20 max 200] > Feb 1 10:49:24 maggie kernel: wlan0: scan_next: chan 44a -> 48a [active, dwell min 20 max 200] > Feb 1 10:49:24 maggie kernel: wlan0: scan_next: chan 48a -> 2g [active, dwell min 20 max 200] > Feb 1 10:49:24 maggie kernel: wlan0: scan_next: chan 2g -> 3g [active, dwell min 20 max 200] > Feb 1 10:49:24 maggie kernel: wlan0: scan_next: chan 3g -> 4g [active, dwell min 20 max 200] > Feb 1 10:49:25 maggie kernel: wlan0: scan_next: chan 4g -> 5g [active, dwell min 20 max 200] > Feb 1 10:49:25 maggie kernel: wlan0: scan_next: chan 5g -> 8g [active, dwell min 20 max 200] > Feb 1 10:49:25 maggie kernel: wlan0: scan_next: chan 8g -> 9g [active, dwell min 20 max 200] > Feb 1 10:49:25 maggie kernel: wlan0: scan_next: chan 9g -> 10g [active, dwell min 20 max 200] > Feb 1 10:49:26 maggie kernel: wlan0: scan_next: chan 10g -> 149a [active, dwell min 20 max 200] > Feb 1 10:49:26 maggie kernel: wlan0: scan_next: chan 149a -> 153a [active, dwell min 20 max 200] > Feb 1 10:49:26 maggie kernel: wlan0: scan_next: chan 153a -> 157a [active, dwell min 20 max 200] > Feb 1 10:49:26 maggie kernel: wlan0: scan_next: chan 157a -> 161a [active, dwell min 20 max 200] > Feb 1 10:49:26 maggie kernel: wlan0: scan_next: chan 161a -> 165a [active, dwell min 20 max 200] > Feb 1 10:49:27 maggie kernel: wlan0: scan_next: chan 165a -> 50S [active, dwell min 20 max 200] > Feb 1 10:49:27 maggie kernel: wlan0: scan_next: chan 50S -> 58S [active, dwell min 20 max 200] > Feb 1 10:49:27 maggie kernel: wlan0: scan_next: chan 58S -> 152S [active, dwell min 20 max 200] > Feb 1 10:49:27 maggie kernel: wlan0: scan_next: chan 152S -> 160S [active, dwell min 20 max 200] > Feb 1 10:49:27 maggie kernel: wlan0: macaddr bssid chan rssi rate flag wep essid > Feb 1 10:49:27 maggie kernel: - 00:03:c9:54:18:bb 00:03:c9:54:18:bb 8 3! 54M ess wep 0x000000000000 > Feb 1 10:49:27 maggie kernel: - 00:1a:2a:c6:de:56 00:1a:2a:c6:de:56 9 4! 54M ess wep "Arcor-C6DE58" > Feb 1 10:49:27 maggie kernel: wlan0: scan_next: done, [ticks 284189, dwell min 20 scanend 2147762094] > Feb 1 10:49:27 maggie kernel: wlan0: notify scan done > Feb 1 10:49:32 maggie kernel: wlan0: ieee80211_ioctl_scanreq: flags 0x20052 duration 0x7fffffff mindwell 0 maxdwell 0 nssid 1 > Feb 1 10:49:32 maggie kernel: wlan0: ieee80211_check_scan: active scan, append, nojoin, once > Feb 1 10:49:32 maggie kernel: wlan0: macaddr bssid chan rssi rate flag wep essid > > > And here is the output of sysctl: > > lars@pts/6 > sysctl dev.ath.0 > dev.ath.0.%desc: Atheros 5212 > dev.ath.0.%driver: ath > dev.ath.0.%location: slot=0 function=0 > dev.ath.0.%pnpinfo: vendor=0x168c device=0x0013 subvendor=0x1385 subdevice=0x4610 class=0x020000 > dev.ath.0.%parent: cardbus0 > dev.ath.0.smoothing_rate: 95 > dev.ath.0.sample_rate: 10 > dev.ath.0.sample_stats: 0 > dev.ath.0.countrycode: 0 > dev.ath.0.regdomain: 0 > dev.ath.0.slottime: 9 > dev.ath.0.acktimeout: 22 > dev.ath.0.ctstimeout: 22 > dev.ath.0.softled: 0 > dev.ath.0.ledpin: 0 > dev.ath.0.ledon: 0 > dev.ath.0.ledidle: 2700 > dev.ath.0.txantenna: 0 > dev.ath.0.rxantenna: 1 > dev.ath.0.diversity: 1 > dev.ath.0.txintrperiod: 5 > dev.ath.0.diag: 0 > dev.ath.0.tpscale: 0 > dev.ath.0.tpc: 0 > dev.ath.0.tpack: 63 > dev.ath.0.tpcts: 63 > dev.ath.0.fftxqmin: 2 > dev.ath.0.fftxqmax: 50 > dev.ath.0.intmit: 1 > dev.ath.0.monpass: 24 > > Feb 1 10:49:32 maggie kernel: - 00:03:c9:54:18:bb 00:03:c9:54:18:bb 8 3! 54M ess wep 0x000000000000! > Feb 1 10:49:32 maggie kernel: - 00:1a:2a:c6:de:56 00:1a:2a:c6:de:56 9 4! 54M ess wep "Arcor-C6DE58"! > Feb 1 10:49:32 maggie kernel: wlan0: start_scan_locked: active scan, duration 2147483647 mindwell 0 maxdwell 0, desired mode auto, append, nojoin, once > Feb 1 10:49:32 maggie kernel: wlan0: scan set 1g, 6G, 11g, 7g, 52a, 56a, 60a, 64a, 36a, 40a, 44a, 48a, 2g, 3g, 4g, 5g, 8g, 9g, 10g, 149a, 153a, 157a, 161a, 165a, 50S, 58S, 152S, 160S dwell min 20 max 200 > The scan list used 6G (Dynamic Turbo G aka 108G) for channel 6; this was why you never saw ap's operating on channel 6. > Feb 1 10:49:32 maggie kernel: wlan0: scan_next: chan 160S -> 1g [active, dwell min 20 max 200] > Feb 1 10:49:33 maggie kernel: wlan0: scan_next: chan 1g -> 6G [active, dwell min 20 max 200] > Feb 1 10:49:33 maggie kernel: wlan0: scan_next: chan 6G -> 11g [active, dwell min 20 max 200] > Feb 1 10:49:33 maggie kernel: wlan0: scan_next: chan 11g -> 7g [active, dwell min 20 max 200] > Feb 1 10:49:33 maggie kernel: wlan0: scan_next: chan 7g -> 52a [active, dwell min 20 max 200] > Feb 1 10:49:33 maggie kernel: wlan0: scan_next: chan 52a -> 56a [active, dwell min 20 max 200] > Feb 1 10:49:34 maggie kernel: wlan0: scan_next: chan 56a -> 60a [active, dwell min 20 max 200] > Feb 1 10:49:34 maggie kernel: wlan0: scan_next: chan 60a -> 64a [active, dwell min 20 max 200] > Feb 1 10:49:34 maggie kernel: wlan0: scan_next: chan 64a -> 36a [active, dwell min 20 max 200] > Feb 1 10:49:34 maggie kernel: wlan0: scan_next: chan 36a -> 40a [active, dwell min 20 max 200] > Feb 1 10:49:34 maggie kernel: wlan0: scan_next: chan 40a -> 44a [active, dwell min 20 max 200] > Feb 1 10:49:35 maggie kernel: wlan0: scan_next: chan 44a -> 48a [active, dwell min 20 max 200] > Feb 1 10:49:35 maggie kernel: wlan0: scan_next: chan 48a -> 2g [active, dwell min 20 max 200] > Feb 1 10:49:35 maggie kernel: wlan0: scan_next: chan 2g -> 3g [active, dwell min 20 max 200] > Feb 1 10:49:35 maggie kernel: wlan0: scan_next: chan 3g -> 4g [active, dwell min 20 max 200] > Feb 1 10:49:35 maggie kernel: wlan0: scan_next: chan 4g -> 5g [active, dwell min 20 max 200] > Feb 1 10:49:36 maggie kernel: wlan0: scan_next: chan 5g -> 8g [active, dwell min 20 max 200] > Feb 1 10:49:36 maggie kernel: [00:03:c9:54:18:bb] new beacon on chan 8 (bss chan 8) 0x000000000000 rssi 3 > Feb 1 10:49:36 maggie kernel: [00:03:c9:54:18:bb] caps 0x411 bintval 100 erp 0x100 > Feb 1 10:49:36 maggie kernel: wlan0: ieee80211_add_scan: chan 8g min dwell met (292559 > 292497) > Feb 1 10:49:36 maggie kernel: wlan0: scan_next: chan 8g -> 9g [active, dwell min 20 max 200] > Feb 1 10:49:36 maggie kernel: [00:1a:2a:c6:de:56] new beacon on chan 9 (bss chan 9) "Arcor-C6DE58" rssi 4 > Feb 1 10:49:36 maggie kernel: [00:1a:2a:c6:de:56] caps 0x431 bintval 100 erp 0x100 > Feb 1 10:49:36 maggie kernel: wlan0: ieee80211_add_scan: chan 9g min dwell met (292590 > 292585) > Feb 1 10:49:36 maggie kernel: wlan0: scan_next: chan 9g -> 10g [active, dwell min 20 max 200] > Feb 1 10:49:36 maggie kernel: wlan0: scan_next: chan 10g -> 149a [active, dwell min 20 max 200] > Feb 1 10:49:36 maggie kernel: wlan0: scan_next: chan 149a -> 153a [active, dwell min 20 max 200] > Feb 1 10:49:36 maggie kernel: wlan0: scan_next: chan 153a -> 157a [active, dwell min 20 max 200] > Feb 1 10:49:37 maggie kernel: wlan0: scan_next: chan 157a -> 161a [active, dwell min 20 max 200] > Feb 1 10:49:37 maggie kernel: wlan0: scan_next: chan 161a -> 165a [active, dwell min 20 max 200] > Feb 1 10:49:37 maggie kernel: wlan0: scan_next: chan 165a -> 50S [active, dwell min 20 max 200] > Feb 1 10:49:37 maggie kernel: wlan0: scan_next: chan 50S -> 58S [active, dwell min 20 max 200] > Feb 1 10:49:37 maggie kernel: wlan0: scan_next: chan 58S -> 152S [active, dwell min 20 max 200] > Feb 1 10:49:38 maggie kernel: wlan0: scan_next: chan 152S -> 160S [active, dwell min 20 max 200] > Feb 1 10:49:38 maggie kernel: wlan0: macaddr bssid chan rssi rate flag wep essid > Feb 1 10:49:38 maggie kernel: - 00:03:c9:54:18:bb 00:03:c9:54:18:bb 8 3! 54M ess wep 0x000000000000! > Feb 1 10:49:38 maggie kernel: - 00:1a:2a:c6:de:56 00:1a:2a:c6:de:56 9 4! 54M ess wep "Arcor-C6DE58"! > Feb 1 10:49:38 maggie kernel: wlan0: scan_next: done, [ticks 294642, dwell min 20 scanend 2147772838] > Feb 1 10:49:38 maggie kernel: wlan0: notify scan done > Should be fixed by r187991. Sam