From owner-freebsd-wireless@FreeBSD.ORG Tue Apr 8 22:29:12 2014 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 ESMTPS id D061467E for ; Tue, 8 Apr 2014 22:29:12 +0000 (UTC) Received: from mail-qc0-x22c.google.com (mail-qc0-x22c.google.com [IPv6:2607:f8b0:400d:c01::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8F5461CD5 for ; Tue, 8 Apr 2014 22:29:12 +0000 (UTC) Received: by mail-qc0-f172.google.com with SMTP id i8so1910949qcq.31 for ; Tue, 08 Apr 2014 15:29:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=xnkGbdRV9rPfoDSupyT+9biA7mPFeAnFTOuk9N52jVU=; b=G+rY0E5eDj6crI9k20XN2+rZP2QQfdsbfVN03ZQtlQzBsIcZEVSZPdL5z000XHnmjr MNjibataXoi96XOXR4iMMJoikfSQS5RSsUJpR4KxXqK13skGjQ3Nin/ePsL90ihHczDq JY9acCSTO0TzMJWFVBBliv2oYvfNh0+qG+xEGJRiaLRvk33RR8aZu7OBiviMtenTzKyy XIw8YxLFjvuFEEv4m+REL4N624fsIcqym/oQiD5Vm2m08qeWMyHC1fv3isI3b8J1rCv8 Z3j+aLsxtkX9E/DiI1jaNz+La1xAblLr79I8pOAWYV78m9DTUOE7xh1P6udoLH6zYkXj RH4Q== MIME-Version: 1.0 X-Received: by 10.140.41.200 with SMTP id z66mr4270189qgz.102.1396996151752; Tue, 08 Apr 2014 15:29:11 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.50.206 with HTTP; Tue, 8 Apr 2014 15:29:11 -0700 (PDT) In-Reply-To: <53445E39.7080706@gmail.com> References: <53441FFF.3090308@gmail.com> <534441DC.7050800@gmail.com> <53444C34.5060709@gmail.com> <53445E39.7080706@gmail.com> Date: Tue, 8 Apr 2014 15:29:11 -0700 X-Google-Sender-Auth: j-BE70DJTF4ftFS1zJBityKFELU Message-ID: Subject: Re: Atheros AR9565 From: Adrian Chadd To: tzoi516 Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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: Tue, 08 Apr 2014 22:29:13 -0000 hi, ok. Can you please do a pciconf -lv and attach it here? Oh. Erm, did you compile a kernel from source? is ATH_ENABLE_11N in your kernel? Do a 'sysctl dev.ath.0.txagg=1' and then paste the output in dmesg here. -a On 8 April 2014 13:38, tzoi516 wrote: > OK, killed wpa_supplicant and downed wlan0 and ath0. After ifconfig ath0 > up I received a ton of these: > > ath0: ath_edma_rxbuf_alloc: nothing on rxbuf?! > ath0: ath_edma_rxfifo_alloc: Q1: alloc failed: i=0, nbufs=128? > > received those about 20 times then this: > > ath0: ath_edma_recv_proc_queue: Q1: NULL bf? > > And now the top 2 are slowly scrolling. > > Mike > > > On 04/08/14 16:03, Adrian Chadd wrote: >> Right. It sounds like it's not associated. >> >> Try wlandebug +assoc and then run wpa_supplicant >> >> >> -a >> >> >> On 8 April 2014 12:21, tzoi516 wrote: >>> Sorry for another email, the errors are sporadic. I'm trying to find the >>> ioctl errors that I get on shutdown. >>> These are after logging in: >>> >>> ath0: ath_edma_recv_tasklet: sc_inreset_cnt > 0; skipping >>> dhclient[1001]: send_packet: Invalid argument >>> dhclient[1001]: send_packet: No buffer space available >>> ath0: ath_edma_recv_tasklet: sc_inreset_cnt > 0; skipping >>> dhclient[1001]: send_packet: No buffer space available >>> dhclient[1001]: send_packet: Invalid argument >>> dhclient[1001]: send_packet: Network is down >>> >>> Mike >>> >>> On 04/08/14 14:38, Adrian Chadd wrote: >>>> Ah. Can you post the buffer errors you're seeing? >>>> >>>> >>>> -a >>>> >>>> >>>> On 8 April 2014 11:37, tzoi516 wrote: >>>>> On 04/08/14 14:23, Adrian Chadd wrote: >>>>>> It should work fine on -10 and HEAD. Is it not working fine? >>>>>> >>>>>> >>>>>> -a >>>>>> >>>>>> >>>>>> On 8 April 2014 09:12, tzoi516 wrote: >>>>>>> I have a Toshiba Satellite S55-A5169 >>>>>>> This specific one: >>>>>>> http://www.bhphotovideo.com/c/product/1024074-REG/toshiba_pskk6u_08c08t_s55_i7_4700mq_12gb_1tb_windows_8_1_15_6_silver.html) >>>>>>> >>>>>>> It has the Atheros combo Wi-Fi/NIC, and the Wi-Fi uses the AR9565. For >>>>>>> it to work I have to change the SATA Controller Mode in the BIOS from >>>>>>> "AHCI" to "Compatibility". I don't know if this information helps, and >>>>>>> it's the only AHCI setting I can tweak. >>>>>>> >>>>>>> Mike >>>>>>> _______________________________________________ >>>>>>> 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" >>>>> With SATA controller mode set to Compatibility then it works, but a >>>>> little wonky at startup - sometimes I'll have to run wpa_supplicant -i >>>>> wlan0 -c /etc/wpa_supplicant.conf. Infrequently a buffer error appears. >>>>> With SATA controller mode set to AHCI then I can ifconfig wlan0 list >>>>> scan and see available networks but I can't connect to any except for >>>>> unprotected networks. >>>>> >>>>> I'm currently running FreeBSD 10.0-STABLE >>>>> >>>>> Mike >