From owner-freebsd-stable@FreeBSD.ORG Tue May 13 02:03:44 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 013FD106564A for ; Tue, 13 May 2008 02:03:44 +0000 (UTC) (envelope-from alex.kovalenko@verizon.net) Received: from vms173003pub.verizon.net (vms173003pub.verizon.net [206.46.173.3]) by mx1.freebsd.org (Postfix) with ESMTP id D00A18FC0C for ; Tue, 13 May 2008 02:03:43 +0000 (UTC) (envelope-from alex.kovalenko@verizon.net) Received: from [10.0.3.231] ([70.111.2.75]) by vms173003.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0K0S0022584HWCN0@vms173003.mailsrvcs.net> for stable@freebsd.org; Mon, 12 May 2008 20:00:19 -0500 (CDT) Date: Mon, 12 May 2008 21:02:22 -0400 From: "Alexandre \"Sunny\" Kovalenko" To: stable@freebsd.org Message-id: <1210640542.1008.33.camel@RabbitsDen> MIME-version: 1.0 X-Mailer: Evolution 2.22.1.1 FreeBSD GNOME Team Port Content-type: multipart/mixed; boundary="Boundary_(ID_UsNYKDm2UnlTuceC8ZYJfQ)" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Hard(?) lock when reassociating ath with wpa_supplicant on RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2008 02:03:44 -0000 --Boundary_(ID_UsNYKDm2UnlTuceC8ZYJfQ) Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 8BIT I seem to be able to lock my machine by going into wpa_cli and asking it to 'reassoc'. The reason for question mark after "hard" is that debug information (caused by wlandebug and athdebug) is being printed on the console. The only way to get machine's attention is to hold power button for 8 seconds. Note: manual reassociation is just the handy way to reproduce the problem -- I have had machine locking up on me the whole day long completely on its own. Below are, what I think, relevant pieces of information. If anything is missing, please, chastise me appropriately and will do my best to provide. I have rigged firewire console, but am unable to break into the debugger locally or remotely. While I am on the subject, I would appreciate couple of the troubleshooting suggestions: * is there any way to get sysctl dev.ath.0.debug to appear, other then defining ATH_DEBUG in something like /usr/src/sys/dev/ath/ah_osdep.h? * is there minimal, but still usable mask for athdebug and wlandebug? I have started with 0xFFFFFFFF and kept trimming likely high-volume settings until output slowed down to the reasonable pace. * what facility does wpa_supplicant use, when forced to syslog by -s switch? ======================================================================= * OS: RELENG_7 cvsup'ed on May 11th @ 15:30EST, if_ath is loaded as the module * HW: ath0@pci0:3:0:0: class=0x020000 card=0x058a1014 chip=0x1014168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR5212 Atheros AR5212 802.11abg wireless' class = network subclass = ethernet ath0: mem 0xedf00000-0xedf0ffff irq 17 at device 0.0 on pci3 ath0: [ITHREAD] ath0: using obsoleted if_watchdog interface ath0: Ethernet address: xx:xx:xx:xx:xx:xx ath0: mac 10.3 phy 6.1 radio 10.2 * Debug settings: net.wlan.0.debug: 0xdfffffff<11n,debug,crypto,input,xrate,elemid,node,assoc,auth,scan,output,state,power,dot1x,dot1xsm,radius,raddump,radkeys,wpa,acl,wme,superg,doth,inact,roam,rate> dev.ath.0.debug: 0xffef8ff0 * Console output (somewhat trimmed) is attached -- last group of messages keeps repeating until I power down the machine. * Output of 'wpa_supplicant -Dbsd -iath0 -d -d -K -c/etc/wpa_supplicant.conf' (hand transcribed) is: Starting AP scan (specific SSID) Scan SSID = hexdump_ascii (len = NN) xx xx xx xx xx xx * /etc/wpa_supplicant.conf is attached * Setup: two stations with the identical SSID: Linksys WRT54Gv8 (running dd-wrt micro) at about 50' and Zyxel P-330W at about 20'. -- Alexandre "Sunny" Kovalenko (Олександр Коваленко) --Boundary_(ID_UsNYKDm2UnlTuceC8ZYJfQ) Content-type: text/plain; name=wpa_supplicant.conf; charset=UTF-8 Content-transfer-encoding: 7BIT Content-disposition: attachment; filename=wpa_supplicant.conf # # $Log$ # ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel network={ ssid="xxxxxxxxxxx" scan_ssid=1 priority=1 key_mgmt=WPA-PSK psk="xxxxxxxxxxxxxxxxxxxxxxxxxx" } --Boundary_(ID_UsNYKDm2UnlTuceC8ZYJfQ)--