From owner-freebsd-wireless@freebsd.org Mon Jul 18 07:40:51 2016 Return-Path: Delivered-To: freebsd-wireless@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 B98F3B9B0D1 for ; Mon, 18 Jul 2016 07:40:51 +0000 (UTC) (envelope-from Willem@Offermans.Rompen.nl) Received: from cpsmtpb-ews02.kpnxchange.com (cpsmtpb-ews02.kpnxchange.com [213.75.39.5]) by mx1.freebsd.org (Postfix) with ESMTP id 1192A1E10 for ; Mon, 18 Jul 2016 07:40:49 +0000 (UTC) (envelope-from Willem@Offermans.Rompen.nl) Received: from cpsps-ews02.kpnxchange.com ([10.94.84.169]) by cpsmtpb-ews02.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Mon, 18 Jul 2016 09:39:41 +0200 Received: from CPSMTPM-CMT102.kpnxchange.com ([195.121.3.18]) by cpsps-ews02.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Mon, 18 Jul 2016 09:39:41 +0200 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline DKIM-Signature: v=1; a=rsa-sha256; d=kpnmail.nl; s=kpnmail01; c=relaxed/relaxed; t=1468827581; h=mime-version:date:message-id:subject:from:to:content-type; bh=4YonSmEYU7hDgPk9E+Mq6zCXkn8thIM/c+t3KLKsO9E=; b=RK2362OjkjgzP2YPdR2AsuEgBDaQk5SaBK+NAct7abUtjZR2nFTIPQuSl0NXwyoGexJ0PhrarIk Jbhu7lZFcWVOjUNtiq2froAl6h9nE8nm3Ie74iymM9p5CESPTBjeGoMokTRplpVd4jW2iahLGGgmY /mWle7l9QZWP7C5UFGY= Received: from donald.offrom.nl ([77.164.21.27]) by CPSMTPM-CMT102.kpnxchange.com over TLS secured channel with Microsoft SMTPSVC(7.0.6002.18264); Mon, 18 Jul 2016 09:39:41 +0200 Received: from squid (squid.vpn.offrom.nl [10.168.0.72]) by donald.offrom.nl (8.15.2/8.14.9) with ESMTPS id u6I7dXqS080875 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 18 Jul 2016 09:39:34 +0200 (CEST) (envelope-from Willem@Offermans.Rompen.nl) Received: from willy by squid with local (Exim 4.80) (envelope-from ) id 1bP39D-0001Q1-Qs; Mon, 18 Jul 2016 09:39:28 +0200 Date: Mon, 18 Jul 2016 09:39:27 +0200 From: Willem Offermans To: Adrian Chadd Cc: Andrew Stevenson , "freebsd-wireless@freebsd.org" Subject: Re: bf_next not NULL! Message-ID: <20160718073926.GA5176@vpn.offrom.nl> Reply-To: Willem@Offermans.Rompen.nl References: <2DEF8DBE-1444-435C-B48C-FEAB71CA60E5@ugh.net.au> <20160716105843.GA5832@vpn.offrom.nl> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on donald.offrom.nl X-OriginalArrivalTime: 18 Jul 2016 07:39:41.0366 (UTC) FILETIME=[8B7AF560:01D1E0C7] X-RcptDomain: freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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, 18 Jul 2016 07:40:51 -0000 Hello Adrian and FreeBSD friends, Great news, I cannot wait till stable/11 is out. Thank you for all your effort. On Sat, Jul 16, 2016 at 08:51:04AM -0700, Adrian Chadd wrote: > hi! > > both of these should be fixed in stable/11 :) > > > -adrian > > > On 16 July 2016 at 03:58, Willem Offermans wrote: > > Hello FreeBSD friends, > > > > On Sat, Jul 16, 2016 at 12:12:40PM +0200, Andrew Stevenson wrote: > >> Hi, > >> > >> I have an Atheros 9227 card in AP mode. It looks like there is some packet loss at the wireless layer, resulting in large delays at the IP layer. Also, every few days, nothing seems to be able to associate. Restarting the interface (/etc/rc.d/netif restart wlan0) fixes that but the possible packet loss remains. > >> > >> I notice quite numerous errors in dmesg. Bursts of: > >> > >> ath0: ath_tx_default_comp: bf 0xfffffe0000826aa0: seqno 550: bf_next not NULL! > >> ath0: ath_tx_default_comp: bf 0xfffffe0000831d20: seqno 551: bf_next not NULL! > >> ath0: ath_tx_default_comp: bf 0xfffffe0000827298: seqno 552: bf_next not NULL! > >> ath0: ath_tx_default_comp: bf 0xfffffe0000815bb0: seqno 553: bf_next not NULL! > >> ath0: ath_tx_default_comp: bf 0xfffffe0000821160: seqno 554: bf_next not NULL! > >> > >> That can go on for about 20 lines, plus the ubiquitous: > >> > >> ath0: stuck beacon; resetting (bmiss count 4) > >> ath0: stuck beacon; resetting (bmiss count 4) > >> ath0: stuck beacon; resetting (bmiss count 4) > >> > >> that seems to be pretty regular. > >> > >> My card from dmesg: > >> > >> ath0: mem 0x48100000-0x4810ffff irq 21 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: Enabling register serialisation > >> ath0: AR9227 mac 384.2 RF5133 phy 15.15 > >> ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 > >> > >> And ifconfig output: > >> > >> wlan0: flags=8843 metric 0 mtu 1500 > >> ether 64:70:02:f0:c8:03 > >> inet 10.0.1.1 netmask 0xffffff00 broadcast 10.0.1.255 > >> inet6 fe80::6670:2ff:fef0:c803%wlan0 prefixlen 64 scopeid 0x6 > >> nd6 options=61 > >> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > >> status: running > >> ssid UgH channel 11 (2462 MHz 11g) bssid 64:70:02:f0:c8:03 > >> regdomain ETSI country DE indoor ecm authmode WPA2/802.11i > >> privacy MIXED deftxkey 3 AES-CCM 2:128-bit AES-CCM 3:128-bit > >> txpower 30 scanvalid 60 protmode CTS wme burst dtimperiod 1 -dfs > >> > >> I had previously been using 11ng but have just tried switching to see if 11g had the same problems (it seems to). > >> > >> I'm running 10.3-STABLE r302736. > >> > >> Any ideas? > >> > >> Thanks, > >> > > > > Maybe it is not related, maybe it is..... I tried to use an Atheros AR938x > > card in AP mode on FreeBSD 10.3, r302295 and 11.0, r297415 for quite some > > time now. Of course I got the ``ath0: stuck beacon; resetting (bmiss count > > 4)`` over and over again. Beside this, I also observed the following > > messages: > > > > Jul 12 11:15:47 kwik kernel: ath0: ath_edma_tx_processq: Q3: empty? > > Jul 12 11:15:47 kwik kernel: ath0: ath_edma_tx_processq: Q3: empty? > > Jul 12 12:13:33 kwik kernel: ath0: ath_edma_recv_tasklet: sc_inreset_cnt > 0; skipping > > Jul 12 15:10:19 kwik kernel: ath0: ath_edma_recv_tasklet: sc_inreset_cnt > 0; skipping > > Jul 12 16:10:32 kwik kernel: ath0: ath_edma_recv_tasklet: sc_inreset_cnt > 0; skipping > > Jul 12 18:40:01 kwik kernel: ath0: ath_edma_recv_tasklet: sc_inreset_cnt > 0; skipping > > Jul 12 18:42:36 kwik kernel: ath0: ath_edma_recv_tasklet: sc_inreset_cnt > 0; skipping > > Jul 12 19:52:05 kwik kernel: ath0: ath_edma_recv_tasklet: sc_inreset_cnt > 0; skipping > > Jul 12 20:11:45 kwik kernel: ath0: ath_edma_recv_tasklet: sc_inreset_cnt > 0; skipping > > > > and > > > > Jun 9 07:37:57 kwik kernel: ath0: stuck beacon; resetting (bmiss count 4) > > Jun 9 22:21:35 kwik kernel: ath0: hardware error; resetting > > Jun 9 22:21:35 kwik kernel: ath0: 0x00000000 0x00000000 0x00000000, 0x00000000 0x00000000 0x00000000 > > Jun 9 22:21:35 kwik kernel: ath0: hardware error; resetting > > Jun 9 22:21:35 kwik kernel: ath0: 0x00000000 0x00000000 0x00000000, 0x00000000 0x00000000 0x00000000 > > Jun 9 23:07:35 kwik kernel: ath0: stuck beacon; resetting (bmiss count 4) > > > > The Wifi was so unstable that I looked for a different solution. > > > > > > My card from dmesg: > > > > ath0: mem 0xfbfe0000-0xfbffffff irq 16 at device 0.0 on pci1 > > 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 > > 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 stream STBC transmit enabled > > ath0: [HT] 3 RX streams; 3 TX streams > > ath0: AR9380 mac 448.3 RF5110 phy 3779.2 > > ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000 > > > > wlan0: flags=8c43 metric 0 mtu 1500 > > ether c4:6e:1f:1e:b6:32 > > inet 192.168.5.1 netmask 0xffffff00 broadcast 192.168.5.255 > > nd6 options=29 > > media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng (autoselect) > > status: no carrier > > ssid MyWirelessSSID channel 108 (5540 MHz 11a) > > regdomain ETSI country indoor ecm authmode OPEN privacy OFF > > txpower 23 bmiss 7 mcastrate 6 mgmtrate 6 scanvalid 60 wme burst > > bintval 0 > > groups: wlan > > > > > > _______________________________________________ > > freebsd-wireless@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" -- Met vriendelijke groeten, With kind regards, Mit freundlichen Gruessen, De jrus wah, Will ************************************* W.K. Offermans Powered by .... (__) \\\'',) \/ \ ^ .\._/_) www.FreeBSD.org