From owner-freebsd-wireless@FreeBSD.ORG Tue Jan 14 13:44:45 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 9EF10BED for ; Tue, 14 Jan 2014 13:44:45 +0000 (UTC) Received: from denrei.darkbsd.org (denrei.darkbsd.org [IPv6:2001:41d0:1:f442::1]) by mx1.freebsd.org (Postfix) with ESMTP id 110C5161B for ; Tue, 14 Jan 2014 13:44:44 +0000 (UTC) Received: from denrei.darkbsd.org (localhost [127.0.0.1]) by denrei.darkbsd.org (Postfix) with ESMTP id 814B5742 for ; Tue, 14 Jan 2014 14:44:35 +0100 (CET) X-Virus-Scanned: amavisd-new at darkbsd.org Received: from denrei.darkbsd.org ([127.0.0.1]) by denrei.darkbsd.org (denrei.darkbsd.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id F04ghWY_CN-X for ; Tue, 14 Jan 2014 14:44:30 +0100 (CET) Received: from fusen (lns-bzn-49f-62-147-170-46.adsl.proxad.net [62.147.170.46]) (Authenticated sender: c.prevotaux@rural-networks.com) by denrei.darkbsd.org (Postfix) with ESMTPSA id ECB0C741 for ; Tue, 14 Jan 2014 14:44:28 +0100 (CET) Date: Tue, 14 Jan 2014 14:44:28 +0100 From: Christophe Prevotaux To: freebsd-wireless@freebsd.org Subject: ar9550 failures Message-ID: <20140114144428.5a5bb40b@fusen> Organization: Rural Networks X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.17; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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, 14 Jan 2014 13:44:45 -0000 Hi Everyone, I am running a FreeBSD/amd64 30/12/2013 CURRENT Snapshot on a Soekris 6501 with : options ATH_ENABLED_11N options mptable # (soekris 6501 requires it) and I get the following messages and failures : ath0: stuck beacon; resetting (bmiss count 0) ath0: stuck beacon; resetting (bmiss count 0) ath1: ath_edma_rxbuf_alloc: nothing on rxbuf?! ath0: stuck beacon; resetting (bmiss count 0) ath1: ath_edma_rxfifo_alloc: Q1: alloc failed: i=1, nbufs=128? ath1: ath_edma_rxbuf_alloc: nothing on rxbuf?! ath1: ath_edma_rxfifo_alloc: Q1: alloc failed: i=0, nbufs=128? ath1: ath_edma_rxbuf_alloc: nothing on rxbuf?! ath1: ath_edma_rxfifo_alloc: Q1: alloc failed: i=0, nbufs=128? ath1: ath_edma_rxbuf_alloc: nothing on rxbuf?! ath1: ath_edma_rxfifo_alloc: Q1: alloc failed: i=0, nbufs=128? ath0: stuck beacon; resetting (bmiss count 4) ath0: stuck beacon; resetting (bmiss count 0) The machine I am using has 2 AR9550 MiniPCIe Cards ath0 ath1 But traffic using iperf was generated on ath0 and ath1 Here is the pciconf -lv hostb0@pci0:0:0:0: class=0x060000 card=0x00000000 chip=0x41158086 rev=0x05 hdr=0x00 vendor = 'Intel Corporation' device = 'Atom Processor E6xx PCI Host Bridge' class = bridge subclass = HOST-PCI hostb1@pci0:0:1:0: class=0x060000 card=0x00000000 chip=0x81838086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'Atom Processor E6xx Configuration Unit' class = bridge subclass = HOST-PCI pcib1@pci0:0:23:0: class=0x060400 card=0x00000000 chip=0x81848086 rev=0x00 hdr=0x01 vendor = 'Intel Corporation' device = 'Atom Processor E6xx PCI Express Port 1' class = bridge subclass = PCI-PCI pcib3@pci0:0:24:0: class=0x060400 card=0x00000000 chip=0x81858086 rev=0x00 hdr=0x01 vendor = 'Intel Corporation' device = 'Atom Processor E6xx PCI Express Port 2' class = bridge subclass = PCI-PCI pcib8@pci0:0:25:0: class=0x060400 card=0x00000000 chip=0x81808086 rev=0x00 hdr=0x01 vendor = 'Intel Corporation' device = 'Atom Processor E6xx PCI Express Port 3' class = bridge subclass = PCI-PCI pcib13@pci0:0:26:0: class=0x060400 card=0x00000000 chip=0x81818086 rev=0x00 hdr=0x01 vendor = 'Intel Corporation' device = 'Atom Processor E6xx PCI Express Port 4' class = bridge subclass = PCI-PCI isab0@pci0:0:31:0: class=0x060100 card=0x00000000 chip=0x81868086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'Atom Processor E6xx LPC Bridge' class = bridge subclass = PCI-ISA pcib2@pci0:1:0:0: class=0x060400 card=0x00000000 chip=0x88008086 rev=0x01 hdr=0x01 vendor = 'Intel Corporation' device = 'Platform Controller Hub EG20T PCI Express Port' class = bridge subclass = PCI-PCI none0@pci0:2:0:0: class=0xff0000 card=0x00000000 chip=0x88018086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'Platform Controller Hub EG20T Packet Hub' none1@pci0:2:0:1: class=0x020000 card=0x00000000 chip=0x88028086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'Platform Controller Hub EG20T Gigabit Ethernet Controller' class = network subclass = ethernet none2@pci0:2:0:2: class=0xff0000 card=0x00000000 chip=0x88038086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'Platform Controller Hub EG20T General Purpose IO Controller' ohci0@pci0:2:2:0: class=0x0c0310 card=0x00000000 chip=0x88048086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'Platform Controller Hub EG20T USB OHCI Controller' class = serial bus subclass = USB ohci1@pci0:2:2:1: class=0x0c0310 card=0x00000000 chip=0x88058086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'Platform Controller Hub EG20T USB OHCI Controller' class = serial bus subclass = USB ohci2@pci0:2:2:2: class=0x0c0310 card=0x00000000 chip=0x88068086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'Platform Controller Hub EG20T USB OHCI Controller' class = serial bus subclass = USB ehci0@pci0:2:2:3: class=0x0c0320 card=0x00000000 chip=0x88078086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'Platform Controller Hub EG20T USB2 EHCI Controller' class = serial bus subclass = USB none3@pci0:2:2:4: class=0x0c03fe card=0x00000000 chip=0x88088086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'Platform Controller Hub EG20T USB Client Controller' class = serial bus subclass = USB sdhci_pci0@pci0:2:4:0: class=0x080501 card=0x00000000 chip=0x88098086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'Platform Controller Hub EG20T SDIO Controller' class = base peripheral subclass = SD host controller sdhci_pci1@pci0:2:4:1: class=0x080501 card=0x00000000 chip=0x880a8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'Platform Controller Hub EG20T SDIO Controller' class = base peripheral subclass = SD host controller ahci0@pci0:2:6:0: class=0x010601 card=0x00000000 chip=0x880b8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'Platform Controller Hub EG20T SATA AHCI Controller' class = mass storage subclass = SATA ohci3@pci0:2:8:0: class=0x0c0310 card=0x00000000 chip=0x880c8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'Platform Controller Hub EG20T USB OHCI Controller' class = serial bus subclass = USB ohci4@pci0:2:8:1: class=0x0c0310 card=0x00000000 chip=0x880d8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'Platform Controller Hub EG20T USB OHCI Controller' class = serial bus subclass = USB ohci5@pci0:2:8:2: class=0x0c0310 card=0x00000000 chip=0x880e8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'Platform Controller Hub EG20T USB OHCI Controller' class = serial bus subclass = USB ehci1@pci0:2:8:3: class=0x0c0320 card=0x00000000 chip=0x880f8086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'Platform Controller Hub EG20T USB2 EHCI Controller' class = serial bus subclass = USB none4@pci0:2:10:0: class=0xff0000 card=0x00000000 chip=0x88108086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'Platform Controller Hub EG20T DMA Controller' uart2@pci0:2:10:1: class=0x070002 card=0x00000000 chip=0x88118086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'Platform Controller Hub EG20T UART Controller 0' class = simple comms subclass = UART uart3@pci0:2:10:2: class=0x070002 card=0x00000000 chip=0x88128086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'Platform Controller Hub EG20T UART Controller 1' class = simple comms subclass = UART uart4@pci0:2:10:3: class=0x070002 card=0x00000000 chip=0x88138086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'Platform Controller Hub EG20T UART Controller 2' class = simple comms subclass = UART uart5@pci0:2:10:4: class=0x070002 card=0x00000000 chip=0x88148086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'Platform Controller Hub EG20T UART Controller 3' class = simple comms subclass = UART none5@pci0:2:12:0: class=0xff0000 card=0x00000000 chip=0x88158086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'Platform Controller Hub EG20T DMA Controller' none6@pci0:2:12:1: class=0x0c8000 card=0x00000000 chip=0x88168086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'Platform Controller Hub EG20T Serial Peripheral Interface Bus' class = serial bus none7@pci0:2:12:2: class=0x0c8000 card=0x00000000 chip=0x88178086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'Platform Controller Hub EG20T I2C Controller' class = serial bus none8@pci0:2:12:3: class=0x0c0900 card=0x00000000 chip=0x88188086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'Platform Controller Hub EG20T Controller Area Network (CAN) Controller' class = serial bus none9@pci0:2:12:4: class=0xff0000 card=0x00000000 chip=0x88198086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = 'Platform Controller Hub EG20T IEEE 1588 Hardware Assist' pcib4@pci0:3:0:0: class=0x060400 card=0x00000000 chip=0x803a111d rev=0x0e hdr=0x01 vendor = 'Integrated Device Technology, Inc.' device = 'PES4T4 PCI Express Switch' class = bridge subclass = PCI-PCI pcib5@pci0:4:2:0: class=0x060400 card=0x00000000 chip=0x803a111d rev=0x0e hdr=0x01 vendor = 'Integrated Device Technology, Inc.' device = 'PES4T4 PCI Express Switch' class = bridge subclass = PCI-PCI pcib6@pci0:4:3:0: class=0x060400 card=0x00000000 chip=0x803a111d rev=0x0e hdr=0x01 vendor = 'Integrated Device Technology, Inc.' device = 'PES4T4 PCI Express Switch' class = bridge subclass = PCI-PCI pcib7@pci0:4:4:0: class=0x060400 card=0x00000000 chip=0x803a111d rev=0x0e hdr=0x01 vendor = 'Integrated Device Technology, Inc.' device = 'PES4T4 PCI Express Switch' class = bridge subclass = PCI-PCI em0@pci0:5:0:0: class=0x020000 card=0x00008086 chip=0x10d38086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = '82574L Gigabit Network Connection' class = network subclass = ethernet em1@pci0:6:0:0: class=0x020000 card=0x00008086 chip=0x10d38086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = '82574L Gigabit Network Connection' class = network subclass = ethernet pcib9@pci0:8:0:0: class=0x060400 card=0x00000000 chip=0x803a111d rev=0x0e hdr=0x01 vendor = 'Integrated Device Technology, Inc.' device = 'PES4T4 PCI Express Switch' class = bridge subclass = PCI-PCI pcib10@pci0:9:2:0: class=0x060400 card=0x00000000 chip=0x803a111d rev=0x0e hdr=0x01 vendor = 'Integrated Device Technology, Inc.' device = 'PES4T4 PCI Express Switch' class = bridge subclass = PCI-PCI pcib11@pci0:9:3:0: class=0x060400 card=0x00000000 chip=0x803a111d rev=0x0e hdr=0x01 vendor = 'Integrated Device Technology, Inc.' device = 'PES4T4 PCI Express Switch' class = bridge subclass = PCI-PCI pcib12@pci0:9:4:0: class=0x060400 card=0x00000000 chip=0x803a111d rev=0x0e hdr=0x01 vendor = 'Integrated Device Technology, Inc.' device = 'PES4T4 PCI Express Switch' class = bridge subclass = PCI-PCI em2@pci0:10:0:0: class=0x020000 card=0x00008086 chip=0x10d38086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = '82574L Gigabit Network Connection' class = network subclass = ethernet em3@pci0:11:0:0: class=0x020000 card=0x00008086 chip=0x10d38086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = '82574L Gigabit Network Connection' class = network subclass = ethernet pcib14@pci0:13:0:0: class=0x060400 card=0x860510b5 chip=0x860510b5 rev=0xaa hdr=0x01 vendor = 'PLX Technology, Inc.' device = 'PEX 8605 PCI Express 4-port Gen2 Switch' class = bridge subclass = PCI-PCI pcib15@pci0:14:1:0: class=0x060400 card=0x860510b5 chip=0x860510b5 rev=0xaa hdr=0x01 vendor = 'PLX Technology, Inc.' device = 'PEX 8605 PCI Express 4-port Gen2 Switch' class = bridge subclass = PCI-PCI pcib16@pci0:14:2:0: class=0x060400 card=0x860510b5 chip=0x860510b5 rev=0xaa hdr=0x01 vendor = 'PLX Technology, Inc.' device = 'PEX 8605 PCI Express 4-port Gen2 Switch' class = bridge subclass = PCI-PCI pcib17@pci0:14:3:0: class=0x060400 card=0x860510b5 chip=0x860510b5 rev=0xaa hdr=0x01 vendor = 'PLX Technology, Inc.' device = 'PEX 8605 PCI Express 4-port Gen2 Switch' class = bridge subclass = PCI-PCI ath0@pci0:16:0:0: class=0x028000 card=0x3123168c chip=0x0033168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR9580 Wireless Network Adapter' class = network ath1@pci0:17:0:0: class=0x028000 card=0x3123168c chip=0x0033168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR9580 Wireless Network Adapter' class = network ath0: flags=8843 metric 0 mtu 2290 ether 04:f0:21:04:5d:7a nd6 options=21 media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng status: running ath1: flags=8843 metric 0 mtu 2290 ether 04:f0:21:04:5d:65 nd6 options=21 media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng status: running wlan0: flags=8943 metric 0 mtu 1500 ether 04:f0:21:04:5d:7a nd6 options=29 media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng status: running ssid R2 channel 11 (2462 MHz 11g ht/20) bssid 04:f0:21:04:5d:7a regdomain FCC country CA anywhere ecm authmode WPA2/802.11i -wps -tsn privacy MIXED deftxkey 2 AES-CCM 2:128-bit AES-CCM 3:128-bit powersavemode OFF powersavesleep 100 txpower 30 txpowmax 50.0 -dotd rtsthreshold 2346 fragthreshold 2346 bmiss 7 11a ucast NONE mgmt 6 Mb/s mcast 6 Mb/s maxretry 6 11b ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6 11g ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6 turboA ucast NONE mgmt 6 Mb/s mcast 6 Mb/s maxretry 6 turboG ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6 sturbo ucast NONE mgmt 6 Mb/s mcast 6 Mb/s maxretry 6 11na ucast NONE mgmt 12 MCS mcast 12 MCS maxretry 6 11ng ucast NONE mgmt 2 MCS mcast 2 MCS maxretry 6 half ucast NONE mgmt 3 Mb/s mcast 3 Mb/s maxretry 6 quarter ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6 scanvalid 60 -bgscan bgscanintvl 300 bgscanidle 250 roam:11a rssi 7dBm rate 12 Mb/s roam:11b rssi 7dBm rate 1 Mb/s roam:11g rssi 7dBm rate 5 Mb/s roam:turboA rssi 7dBm rate 12 Mb/s roam:turboG rssi 7dBm rate 12 Mb/s roam:sturbo rssi 7dBm rate 12 Mb/s roam:11na rssi 7dBm MCS 1 roam:11ng rssi 7dBm MCS 1 roam:half rssi 7dBm rate 6 Mb/s roam:quarter rssi 7dBm rate 3 Mb/s -pureg protmode CTS ht htcompat ampdu ampdulimit 64k ampdudensity 8 amsdu shortgi htprotmode RTSCTS -puren -smps -rifs wme burst -dwds -hidessid apbridge dtimperiod 1 doth -dfs inact bintval 100 AC_BE cwmin 4 cwmax 6 aifs 3 txopLimit 0 -acm ack cwmin 4 cwmax 10 aifs 3 txopLimit 0 -acm AC_BK cwmin 4 cwmax 10 aifs 7 txopLimit 0 -acm ack cwmin 4 cwmax 10 aifs 7 txopLimit 0 -acm AC_VI cwmin 3 cwmax 4 aifs 1 txopLimit 94 -acm ack cwmin 3 cwmax 4 aifs 2 txopLimit 94 -acm AC_VO cwmin 2 cwmax 3 aifs 1 txopLimit 47 -acm ack cwmin 2 cwmax 3 aifs 2 txopLimit 47 -acm groups: wlan wlan1: flags=8943 metric 0 mtu 1500 ether 04:f0:21:04:5d:65 nd6 options=29 media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng status: running ssid R1 channel 6 (2437 MHz 11g ht/20) bssid 04:f0:21:04:5d:65 regdomain FCC country CA anywhere ecm authmode WPA2/802.11i -wps -tsn privacy MIXED deftxkey 2 AES-CCM 2:128-bit AES-CCM 3:128-bit powersavemode OFF powersavesleep 100 txpower 30 txpowmax 50.0 -dotd rtsthreshold 2346 fragthreshold 2346 bmiss 7 11a ucast NONE mgmt 6 Mb/s mcast 6 Mb/s maxretry 6 11b ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6 11g ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6 turboA ucast NONE mgmt 6 Mb/s mcast 6 Mb/s maxretry 6 turboG ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6 sturbo ucast NONE mgmt 6 Mb/s mcast 6 Mb/s maxretry 6 11na ucast NONE mgmt 12 MCS mcast 12 MCS maxretry 6 11ng ucast NONE mgmt 2 MCS mcast 2 MCS maxretry 6 half ucast NONE mgmt 3 Mb/s mcast 3 Mb/s maxretry 6 quarter ucast NONE mgmt 1 Mb/s mcast 1 Mb/s maxretry 6 scanvalid 60 -bgscan bgscanintvl 300 bgscanidle 250 roam:11a rssi 7dBm rate 12 Mb/s roam:11b rssi 7dBm rate 1 Mb/s roam:11g rssi 7dBm rate 5 Mb/s roam:turboA rssi 7dBm rate 12 Mb/s roam:turboG rssi 7dBm rate 12 Mb/s roam:sturbo rssi 7dBm rate 12 Mb/s roam:11na rssi 7dBm MCS 1 roam:11ng rssi 7dBm MCS 1 roam:half rssi 7dBm rate 6 Mb/s roam:quarter rssi 7dBm rate 3 Mb/s -pureg protmode CTS ht htcompat ampdu ampdulimit 64k ampdudensity 8 amsdu shortgi htprotmode RTSCTS -puren -smps -rifs wme burst -dwds -hidessid apbridge dtimperiod 1 doth -dfs inact bintval 100 AC_BE cwmin 4 cwmax 6 aifs 3 txopLimit 0 -acm ack cwmin 4 cwmax 10 aifs 3 txopLimit 0 -acm AC_BK cwmin 4 cwmax 10 aifs 7 txopLimit 0 -acm ack cwmin 4 cwmax 10 aifs 7 txopLimit 0 -acm AC_VI cwmin 3 cwmax 4 aifs 1 txopLimit 94 -acm ack cwmin 3 cwmax 4 aifs 2 txopLimit 94 -acm AC_VO cwmin 2 cwmax 3 aifs 1 txopLimit 47 -acm ack cwmin 2 cwmax 3 aifs 2 txopLimit 47 -acm groups: wlan If anyone has an idea on what is wrong or what needs to be reported/tested to find out and fix this please let me know. -- -- ===================================================== Christophe Prevotaux Email: c.prevotaux@rural-networks.com Tel : +33 06 79 11 86 58 =====================================================