From owner-freebsd-wireless@FreeBSD.ORG Fri Nov 1 04:09:03 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 62FB095E for ; Fri, 1 Nov 2013 04:09:03 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E3C95298A for ; Fri, 1 Nov 2013 04:09:02 +0000 (UTC) Received: by mail-wi0-f173.google.com with SMTP id ey11so587375wid.6 for ; Thu, 31 Oct 2013 21:09:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Ay/LGrxTJnbpDHTgUcWq59+M0oR/b0CVn2usu7uGdk4=; b=ll3KjcXEeRclZuRIpjRIFZ3hRPaY5AsM+yCw+kJxTXcjQZ8TowbTv8tGmea8sn+9kZ UWX8sGuX25q/uCiE1oUmq0jizo7Ts4+V1BDFRj360QlvKnBz+WXVmkVg5lso8QKPhznN CMmp6UCSp4dYGLxQgwQFgYiY+BwAAzKujABMITkkqIKz+++LET588WKyAnVjXhS3erp4 1tfWpKhkGNY2sDBoSvL2B86pCbgdnaAVslP0l5LMVO4who3DtvNzwHYr94fDL6nbkFUQ NvY+6+GA3JT5sAe4Y4ECvxQZ7zByne4ApO7mW64gd9O78vQS3oZlsq9XI5Ra9S4xcuY5 XUcg== MIME-Version: 1.0 X-Received: by 10.194.187.232 with SMTP id fv8mr43634wjc.56.1383278941412; Thu, 31 Oct 2013 21:09:01 -0700 (PDT) Received: by 10.194.151.98 with HTTP; Thu, 31 Oct 2013 21:09:01 -0700 (PDT) Date: Fri, 1 Nov 2013 12:09:01 +0800 Message-ID: Subject: Atheros 9285 "unable to reset channel" From: Ben Woods To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Nov 2013 04:09:03 -0000 Hi, I am trialling FreeBSD10-BETA2 in an attempt to find bugs etc. I am having a problem with my Atheros 9285 wireless driver which I think might have been around for a while (not new in 10), but I know a lot of work has been done on these drivers in 10. The symptom is I lose my wifi connection after the computer has been running for some time and I get the following errors scrolling on my terminal: *ath0: ath_chan_set: unable to reset channel X (24XX MHz, flags 0xXXX), hal status 14* It looks similar to these 2 bug reports: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/165543 http://www.freebsd.org/cgi/query-pr.cgi?pr=151198 Has anyone seen this before or have any ideas/suggestions of how I can troubleshoot further? I am using wpa_supplicant and DHCP. If I reboot my wifi works again for a few hours and then stops. # pciconf -lv ath0@pci0:1:0:0: class=0x028000 card=0x10891a3b chip=0x002b168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR9285 Wireless Network Adapter (PCI-Express)' class = network # uname -a FreeBSD sparticus.home.local 10.0-BETA2 FreeBSD 10.0-BETA2 #0 r257166: Sat Oct 26 19:23:22 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 # cat /etc/rc.conf wpa_supplicant_flags="-sd" wlans_ath0="wlan0" ifconfig_wlan0="WPA DHCP" # cat /etc/wpa_supplicant.conf network={ ssid="SSID" psk="PSK" } # cat /var/log/dmesg.today ath0: ath_chan_set: unable to reset channel 8 (2447 MHz, flags 0x480), hal status 14 ath0: ath_chan_set: unable to reset channel 9 (2452 MHz, flags 0x480), hal status 14 ath0: ath_chan_set: unable to reset channel 10 (2457 MHz, flags 0x480), hal status 14 ath0: ath_chan_set: unable to reset channel 12 (2467 MHz, flags 0x680), hal status 14 ath0: ath_chan_set: unable to reset channel 14 (2484 MHz, flags 0x2a0), hal status 14 ath0: ath_reset: unable to reset hardware; hal status 14 pid 53465 (python), uid 972: exited on signal 6 (core dumped) # cat /var/log/debug.log wpa_supplicant[490]: wlan0: Event SCAN_RESULTS (3) received wpa_supplicant[490]: Received 0 bytes of scan results (0 BSSes) wpa_supplicant[490]: wlan0: BSS: Start scan result update 5935 wpa_supplicant[490]: BSS: last_scan_res_used=0/32 last_scan_full=0 wpa_supplicant[490]: wlan0: New scan results available wpa_supplicant[490]: WPS: AP[0] 30:85:a9:e7:e4:10 type=0 tries=0 last_attempt=-1 sec ago blacklist=2 wpa_supplicant[490]: WPS: AP[1] 00:26:44:9a:d5:21 type=0 tries=0 last_attempt=-1 sec ago blacklist=0 wpa_supplicant[490]: WPS: AP[2] a4:b1:e9:9b:de:9e type=0 tries=0 last_attempt=-1 sec ago blacklist=0 wpa_supplicant[490]: wlan0: No suitable network found wpa_supplicant[490]: wlan0: Setting scan request: 5 sec 0 usec wpa_supplicant[490]: wlan0: Starting AP scan for wildcard SSID wpa_supplicant[490]: wpa_driver_bsd_set_wpa: enabled=1 wpa_supplicant[490]: wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 Thanks in advance! -Ben