From owner-freebsd-current@freebsd.org Wed Nov 25 00:18:57 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EE63AA3680E for ; Wed, 25 Nov 2015 00:18:57 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BA72B145D for ; Wed, 25 Nov 2015 00:18:57 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by iouu10 with SMTP id u10so38602168iou.0 for ; Tue, 24 Nov 2015 16:18:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=gLrOLVAJIQfTacrbGhPDbg9IvgIq2PRQnzbRwvGH960=; b=bEvWQzd3dawb6rVw7hGiULoyv/1paZgodmY5q6RyEIficZ9ekFEEb+10fkgySgKqn6 Lvvfo1jXDdHH6TXQ8v13sTG8tsxZlCE32feMPm3+86yUqptZ2THlDHZg+TTADipVXmBw IAFHPYpR6vFZCH1ACl7cHRA2ueb21gBxb0VlaRF0DIO4DuUW9B2xijFcxe10/AG5LomR f2sDw+TX1RaE4x5KUMvMj7GaxRY+8War827KGrKAZRGMVpywkK26zY2XU2qvj39XVvHk 0G8JD83namadu27GZZqdHBI29yc1v3lyF4Y1wxaaHjK3n7e+6q/I+GI4S0unI8MG90Ik 1x6A== MIME-Version: 1.0 X-Received: by 10.107.10.199 with SMTP id 68mr32154365iok.75.1448410737207; Tue, 24 Nov 2015 16:18:57 -0800 (PST) Received: by 10.36.217.196 with HTTP; Tue, 24 Nov 2015 16:18:57 -0800 (PST) In-Reply-To: References: <5725cee00ae81e93db6b0be560d10285@mail.yourbox.net> Date: Tue, 24 Nov 2015 16:18:57 -0800 Message-ID: Subject: Re: Aheros AR9565: buffer error messages from ath_edma_rxbuf_alloc and ath_edma_rxfifo_alloc From: Adrian Chadd To: =?UTF-8?B?Sm9zw6kgUMOpcmV6?= Cc: Svatopluk Kraus , freebsd-current Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Nov 2015 00:18:58 -0000 Hm, what's in your kenrel config file? Is ENABLE_11N or whatever the ath driver option there? sysctl dev.ath.0.txagg=3D1 ; then check dmesg and output me the results. Thanks! -a On 24 November 2015 at 14:50, Jos=C3=A9 P=C3=A9rez wrote: > Dear Svatopluk, > tried again with current, and I get (almost) the same: > Nov 23 18:14:47 current kernel: ath0: ath_edma_rxbuf_alloc: nothing on > rxbuf?! > Nov 23 18:14:47 current kernel: ath0: ath_edma_rxfifo_alloc: Q1: alloc > failed: i=3D0, nbufs=3D128? > Nov 23 18:14:47 current kernel: ath0: ath_edma_rxbuf_alloc: nothing on > rxbuf?! > Nov 23 18:14:47 current kernel: ath0: ath_edma_rxfifo_alloc: Q1: alloc > failed: i=3D1, nbufs=3D128? > > Ideas? Can I help? > > Thank you. > > Regards, > > > --- > Jos=C3=A9 P=C3=A9rez > > > El 2015-11-23 13:45, Svatopluk Kraus escribi=C3=B3: >> >> On Mon, Nov 23, 2015 at 1:12 PM, Jos=C3=A9 P=C3=A9rez wro= te: >>> >>> Hi, >>> I am the (happy?) owner of an Atheros AR9565 which used to work just >>> fine. >>> >>> I recently updated an old -current, and a flood of these messages bumpe= d >>> up: >>> Nov 13 17:47:16 test kernel: ath0: ath_edma_rxbuf_alloc: nothing on >>> rxbuf?! >>> Nov 13 17:47:16 test kernel: ath0: ath_edma_rxfifo_alloc: Q1: alloc >>> failed: >>> i=3D24, nb >>> ufs=3D128? >>> >>> # pciconf -lv | relevant_part >>> ath0@pci0:1:0:0: class=3D0x028000 card=3D0x064211ad chip=3D0x003= 6168c >>> rev=3D0x01 hdr=3D0x00 >>> vendor =3D 'Qualcomm Atheros' >>> device =3D 'QCA9565 / AR9565 Wireless Network Adapter' >>> class =3D network >>> >>> # dmesg | relevant_part >>> ath0: mem 0xf0800000-0xf087ffff irq 32 at >>> device >>> 0.0 on pci1 >>> ath0: WB335 2-ANT card detected >>> ar9300_attach: calling ar9300_hw_attach >>> ar9300_hw_attach: calling ar9300_eeprom_attach >>> ar9300_flash_map: unimplemented for now >>> Restoring Cal data from DRAM >>> Restoring Cal data from EEPROM >>> Restoring Cal data from Flash >>> Restoring Cal data from Flash >>> Restoring Cal data from OTP >>> ar9300_hw_attach: ar9300_eeprom_attach returned 0 >>> ath0: [HT] enabling HT modes >>> ath0: [HT] enabling short-GI in 20MHz mode >>> ath0: [HT] 1 stream STBC receive enabled >>> ath0: [HT] 1 RX streams; 1 TX streams >>> ath0: AR9565 mac 704.1 RF5110 phy 2261.3 >>> ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000 >>> >>> # ifconfig | relevant_part >>> wlan0: flags=3D8843 metric 0 mt= u >>> 1500 >>> ether a4:db:30:ab:ad:ca >>> inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255 >>> nd6 options=3D29 >>> media: IEEE 802.11 Wireless Ethernet MCS mode 11ng >>> status: associated >>> ssid myssid channel 6 (2437 MHz 11g ht/20) bssid >>> de:ad:be:ee:ee:ef >>> regdomain ETSI2 country ES indoor ecm authmode WPA2/802.11i >>> privacy ON deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit >>> txpower 30 bmiss 7 scanvalid 60 protmode CTS ampdulimit 64k >>> ampdudensity 4 shortgi wme burst roaming MANUAL >>> groups: wlan >>> >>> >>> >>> Is there anything I can help with to improve this? Thank you. >>> >> >> What revision do you use? If you use , please, try >> to update to r291193 or higher. >> >> Svatopluk Kraus >> >> >> >>> Regards, >>> >>> -- >>> Jos=C3=A9 P=C3=A9rez >>> _______________________________________________ >>> freebsd-current@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-current >>> To unsubscribe, send any mail to >>> "freebsd-current-unsubscribe@freebsd.org" >> >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.or= g" > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= "