From owner-freebsd-wireless@FreeBSD.ORG Mon Feb 11 19:43:50 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 80522F85 for ; Mon, 11 Feb 2013 19:43:50 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-we0-x22a.google.com (we-in-x022a.1e100.net [IPv6:2a00:1450:400c:c03::22a]) by mx1.freebsd.org (Postfix) with ESMTP id 1CCB29E8 for ; Mon, 11 Feb 2013 19:43:49 +0000 (UTC) Received: by mail-we0-f170.google.com with SMTP id z53so5399707wey.1 for ; Mon, 11 Feb 2013 11:43:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=CjjNqddLWIFNyN2hKbxxLRRFrW4wllGDoBWe/07m97Q=; b=yymXrvKSOSaoVS+b5NHVpNtlfJ6WPdrB99IX6lNCfmBTeN1Ywzz4w3Vb0WQ/z/dB6y qX17tua3ZXzdTsh4Rw6WDlwkkf75Z2A4OLQC0p67WS545Bs8rS+fFI2b6zpiwLkTf83J rZI/MEKSSW8P01by/scFAA9o24n6rPklWdJKieAt9f4ZFW79ffwvY9fmE/OSgX8HgfWy PTGsJeb5lR9Wd+rU7oDmGiA7wsJYdsdqtyFDjZ68fox1kANDphVtzTuzClmK+ToUwFIg GJ9SA3sz2J/Siz2W45lviT833Ud4XyLfc9oR+C2j4HmXKfeLxuu5WxJFOM3Y5KRwLmWH ywGg== MIME-Version: 1.0 X-Received: by 10.180.93.234 with SMTP id cx10mr13255033wib.34.1360611829352; Mon, 11 Feb 2013 11:43:49 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.236.88 with HTTP; Mon, 11 Feb 2013 11:43:49 -0800 (PST) In-Reply-To: <51194795.5070500@gmx.net> References: <51175C69.6050003@gmx.net> <51189E1E.70206@gmx.net> <51194795.5070500@gmx.net> Date: Mon, 11 Feb 2013 11:43:49 -0800 X-Google-Sender-Auth: eTmQW74RzF7Gu4E-xxdPzY4Rr4E Message-ID: Subject: Re: ath0: device timeout on 9.1-RELEASE From: Adrian Chadd To: Kamil Szczesny Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org 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: Mon, 11 Feb 2013 19:43:50 -0000 Ok.. On 11 February 2013 11:33, Kamil Szczesny wrote: > Still with 9.0-RELEASE: > > gomorrha% vmstat -i > interrupt total rate > irq1: atkbd0 6 0 > irq16: ath0 ehci0 1367 13 .. I can't tell here whether there's any interrupts making it to the ath0 device or not. The driver in -HEAD logs the TX and RX interrupt counts in a ath sysctl which I can track. Can you please compile up athstats and recompile your kernel with: ATH_DEBUG AH_DEBUG ATH_DIAGAPI .. as we will need to establish whether you're actually queuing frames to the hardware, whether they're going out, whether the hardware is actually completing them, and whether the interrupt is being generated. Thanks, Adrian > irq23: ehci1 250 2 > cpu0:timer 8014 77 > irq256: em0 523 5 > irq258: ahci0 15444 149 > cpu1:timer 2797 27 > cpu2:timer 3743 36 > cpu3:timer 3053 29 > Total 35197 341 > > > > Am 11.02.13 19:59, schrieb Adrian Chadd: > >> Hi, >> >> Would you please look at the output of vmstat -i, see if the ath0 >> device is receiving interrupts? >> >> Thanks, >> >> >> >> Adrian >> >> >> On 10 February 2013 23:30, Kamil Szczesny wrote: >>> >>> Hi, >>> >>> after a downgrade to 9.0-RELEASE the issue remains the same. >>> /var/log/messages is spamed by equal authentication timeout entries. >>> >>> regards, >>> Kamil >>> >>> Am 10.02.13 20:10, schrieb Adrian Chadd: >>> >>>> Hi, >>>> >>>> Would you please try 9.0-RELEASE too? >>>> >>>> >>>> >>>> Adrian >>>> >>>> >>>> On 10 February 2013 00:38, Kamil Szczesny wrote: >>>>> >>>>> Hello, >>>>> >>>>> I'm facing a problem with ath0 on FreeBSD 9.1-RELEASE, that was not >>>>> existent >>>>> on 8.x-RELEASE. >>>>> >>>>> The issue seems to be the similar to this one: >>>>> >>>>> >>>>> http://lists.freebsd.org/pipermail/freebsd-stable/2012-January/065667.html >>>>> >>>>> I do have the same NIC. pciconf -lv output is equal: >>>>> >>>>> ath0@pci0:2:0:0: class=0x028000 card=0x3a701186 chip=0x0024168c >>>>> rev=0x01 >>>>> hdr=0x00 >>>>> vendor = 'Atheros Communications Inc.' >>>>> device = 'AR5008 Wireless Network Adapter' >>>>> class = network >>>>> >>>>> /etc/rc.conf: >>>>> wlans_ath0="wlan0" >>>>> ifconfig_wlan0="WPA DHCP" >>>>> >>>>> /etc/wpa_supplicant.conf: >>>>> network={ >>>>> ssid="home" >>>>> psk="123" >>>>> } >>>>> >>>>> However, it is not starting to work. >>>>> >>>>> I do not have /usr/src/tools/ath so that I can not provide the output. >>>>> >>>>> /var/log/messages is spammed with: >>>>> >>>>> Feb 10 09:08:26 gomorrha wpa_supplicant[1500]: Trying to associate with >>>>> xx:xx:xx:xx:xx:xx (SSID='home' freq=2422 MHz) >>>>> Feb 10 09:08:30 gomorrha kernel: ath0: device timeout >>>>> Feb 10 09:08:36 gomorrha wpa_supplicant[1500]: Authentication with >>>>> xx:xx:xx:xx:xx:xx timed out. >>>>> >>>>> Any idea what might be wrong or how I could fix this? >>>>> >>>>> regards, >>>>> Kamil >>>>> _______________________________________________ >>>>> freebsd-wireless@freebsd.org mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>>> To unsubscribe, send any mail to >>>>> "freebsd-wireless-unsubscribe@freebsd.org" >>> >>> >