From owner-freebsd-stable@FreeBSD.ORG Sat Nov 22 17:26:20 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7AAC0780 for ; Sat, 22 Nov 2014 17:26:20 +0000 (UTC) Received: from nm35-vm3.bullet.mail.bf1.yahoo.com (nm35-vm3.bullet.mail.bf1.yahoo.com [72.30.238.75]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2F2AEBA6 for ; Sat, 22 Nov 2014 17:26:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.br; s=s2048; t=1416677000; bh=qrn4lzRKdkb83aK1GOuiFdq+Qo+OcEl/luF96i0Xtvs=; h=Date:From:To:Subject:References:In-Reply-To:From:Subject; b=WdBn9LpmDV1qfdfgEjwse5Eglf2ehBAumTZ3k6tdBUk04/rj39aWds3WZY1Rgjn3zJWmmuMFXjZjYTrcJZRPyMhizSaLINOTCwDY0hgkk4VyYasPmOAd5WfmJrsz382Q0aJrqJgfIuShTIsvaB3EUO5KFY3NkJDFxiJv+ktGSE8yZlVWG6k72PV6X/CIS/OLiMoRXL+rKTI2PqCBvyOtsFE6X0jYvlNjn/ExyK1h/aF2JRBGwp1ihtSxlet0jUuJTuR7ft72Ijo9oemv0RFTroFqnylUdFlg9MDRyBX7JcufdAd7+p+DKuhbljGZKAbGGV5ElyYCAFkkqGSLr+qVNQ== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.com.br; b=cnMFIPIe3XEtsWZG1rjqQXRdff3iE998szh2rJBcelGigPpfke/QIwSdcEmi5zjn1noRfCwAtLcCzicuZYGI8DUXPJVj3/BBTTqUllnqJTQuhFkqZYHEhIRm6rHZjDh6lhn/3MWJ3WFE8UX8Q/Pt5TIJcr0oDyhtL2CJZRP6Kx+4Y/BNRsFsidCj9bKPnt2IhN9U8osXwOPpfRnHTYiB0ZN+EWa/CH4eXrAmU/YxdDR63FiF7qVB1OWDftD8gE60MudFBWXDbCoRpKBPdPQ27NaKzQp95FA1EwsziC1ZJAHklNnG8wRAfnCpEakLPWwtQ/I2jtBuZn+FdWakdPc7CQ==; Received: from [98.139.214.32] by nm35.bullet.mail.bf1.yahoo.com with NNFMP; 22 Nov 2014 17:23:20 -0000 Received: from [68.142.230.71] by tm15.bullet.mail.bf1.yahoo.com with NNFMP; 22 Nov 2014 17:23:20 -0000 Received: from [127.0.0.1] by smtp228.mail.bf1.yahoo.com with NNFMP; 22 Nov 2014 17:23:20 -0000 X-Yahoo-Newman-Id: 524574.96185.bm@smtp228.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: anRhLIkVM1mg9aldhc0TEPlShDWchv6r0C1NgvNsY_qDRxp Gs5.bD9v5jA9zvPtiwY6bGKFANAj83d9b4eYrPU4_T_SRe.KNRQLem3eXnbD zasjGrN1cx.0mvqdQpTPaN.VV.Ciz3sphY0_77HXlX1natmduc6cjA_iAacb sq4hqVTmYCqMtfAIvMvNu1wYqh2vKDeeIQkiewupAH4gT7yV_N39wqVP9uHS CdcDxHuYGCeqFMvNmcNRLhEIYeyNHbpKitRgShjC6.NZYOZ5DUdqL3kTzDKn h9ZDTRUJZEnv.jBdYrgY5PJp0BwItzMEKX8NEcrsnPpp1942sI2urHDPGI7g Ip3gJsHX_uyGtMcH.UuEXQzA09ndUg_Hexyozs6IfdQUXzdlCXN7aTraN4ho 8pLckMv6TsLQucMqX0f5tmhkxJ0oy0tyUR1dsnKbI2_9lRqMmmfHORgQJjkG 9RAkRHReLGMfKmiYfjyMN2uMwRT75xqxrxU5PjNGclZ8CWFgGDtJZLzTjBSg ihSuuyk9scT50I4Peogs9epoD211fpW9yWKQ3XFqfcYbS418aEMRYut4iMPK 8QMXwJnGNt7iw9FE- X-Yahoo-SMTP: 51p0rh2swBCh3zxf6sJkNseoFwQzw1o- Message-ID: <5470C695.3040204@yahoo.com.br> Date: Sat, 22 Nov 2014 15:23:33 -0200 From: Danilo Egea Gondolfo User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: ath(4) device timeout -> reboot necessary References: <20141122171734.GA4600@marvin2011.fritz.box> In-Reply-To: <20141122171734.GA4600@marvin2011.fritz.box> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2014 17:26:20 -0000 On 11/22/14 15:17, Thomas Zander wrote: > Hi, > > regularly[1] I get those on my workstation: > > Nov 22 10:52:15 marvin2011 kernel: ath0: device timeout > Nov 22 13:31:43 marvin2011 kernel: ath0: device timeout > Nov 22 13:52:54 marvin2011 kernel: ath0: device timeout > Nov 22 16:50:05 marvin2011 kernel: ath0: device timeout > > Weren't there logs, most of the time I would not even notice, but > sometimes the machine loses connection to the AP, and when that > happens, I first try to disable wpa_supplicant and restart the > interface. Rarely[2] this works, but most of the time, this happens: > > Nov 22 16:53:37 marvin2011 kernel: wlan0: link state changed to DOWN > Nov 22 16:53:37 marvin2011 dhclient[339]: connection closed > Nov 22 16:53:37 marvin2011 dhclient[339]: exiting. > Nov 22 16:53:37 marvin2011 wpa_supplicant[327]: ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Device not configured > Nov 22 16:53:37 marvin2011 last message repeated 3 times > Nov 22 16:53:37 marvin2011 wpa_supplicant[327]: ioctl[SIOCS80211, op=25, val=0, arg_len=0]: Device not configured > Nov 22 16:53:37 marvin2011 wpa_supplicant[327]: ioctl[SIOCS80211, op=95, val=208, arg_len=0]: Device not configured > Nov 22 16:53:37 marvin2011 wpa_supplicant[327]: ioctl[SIOCS80211, op=17, val=0, arg_len=0]: Device not configured > Nov 22 16:53:37 marvin2011 wpa_supplicant[327]: ioctl[SIOCS80211, op=26, val=0, arg_len=0]: Device not configured > Nov 22 16:53:37 marvin2011 wpa_supplicant[327]: ioctl[SIOCS80211, op=95, val=208, arg_len=0]: Device not configured > Nov 22 16:53:37 marvin2011 wpa_supplicant[327]: ioctl[SIOCS80211, op=17, val=0, arg_len=0]: Device not configured > Nov 22 16:53:37 marvin2011 wpa_supplicant[327]: ioctl[SIOCS80211, op=26, val=0, arg_len=0]: Device not configured > Nov 22 16:53:37 marvin2011 wpa_supplicant[327]: ioctl[SIOCS80211, op=16, val=1, arg_len=0]: Device not configured > Nov 22 16:53:37 marvin2011 wpa_supplicant[327]: wlan0: CTRL-EVENT-TERMINATING > Nov 22 16:53:37 marvin2011 riggs: /etc/rc.d/netif: WARNING: wlan0 does not exist. Skipped. > Nov 22 16:54:27 marvin2011 kernel: wlan0: Ethernet address: > Nov 22 16:54:27 marvin2011 devd: Executing '/etc/pccard_ether wlan0 start' > Nov 22 16:54:27 marvin2011 wpa_supplicant[92697]: Successfully initialized wpa_supplicant > Nov 22 16:54:27 marvin2011 wpa_supplicant[92712]: Successfully initialized wpa_supplicant > Nov 22 16:54:27 marvin2011 dhclient[92732]: dhclient already running, pid: 92731. > Nov 22 16:54:27 marvin2011 dhclient[92732]: exiting. > Nov 22 16:54:27 marvin2011 riggs: /etc/rc.d/dhclient: WARNING: failed to start dhclient > Nov 22 16:54:27 marvin2011 wpa_supplicant[92714]: ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress > Nov 22 16:54:27 marvin2011 kernel: ath0: ath_reset_grablock: didn't finish after 10 iterations > Nov 22 16:54:27 marvin2011 kernel: ath0: ath_reset_grablock: warning, recursive reset path! > Nov 22 16:54:27 marvin2011 kernel: ath0: oath_reset: concurrent reset! Danger! > Nov 22 16:54:27 marvin2011 wpa_supplicant[92714]: wlan0: Failed to initiate AP scan > Nov 22 16:54:28 marvin2011 wpa_supplicant[92713]: ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress > Nov 22 16:54:28 marvin2011 wpa_supplicant[92713]: wlan0: Failed to initiate AP scan > Nov 22 16:54:29 marvin2011 wpa_supplicant[92714]: ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress > Nov 22 16:54:29 marvin2011 wpa_supplicant[92714]: wlan0: Failed to initiate AP scan > > > After this, the console gets flooded with the same error messages from > ath(4) (grablog, recursive reset, danger) and wpa_supplicant over and > over. > > Machine is 10.1-STABLE amd64, this is the dmesg output from the wlan > adapter: > ath0: mem 0xf7c00000-0xf7c0ffff irq 16 at device 0.0 on pci4 > ath0: [HT] enabling HT modes > ath0: [HT] enabling short-GI in 20MHz mode > ath0: [HT] 1 stream STBC receive enabled > ath0: [HT] 1 stream STBC transmit enabled > ath0: [HT] 2 RX streams; 2 TX streams > ath0: AR9287 mac 384.2 RF5133 phy 15.15 > ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 > > So far, I have been unable to find a solution other than > rebooting the machine, and I am looking for better options. > > The favourite option, obviously, is a patch that resolves it, but > recommending an adapter that just works[tm] out of the box on 10.1 is > acceptable as well, as long as > - it is PCIe, and > - currently, as of today, available at one of the usual dealers in > Germany, e.g. amazon.de, mindfactory, etc. > > Of course I am happy to do whatever I can to debug the problem, but in > lack of expert knowledge on wlan drivers, I'd need some help here. > > Best regards > Riggs > > [1] statistically about once every three hours > [2] roughly in 10% of the cases > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > +1 My card is a AR9285 and I'm running HEAD (274171).