From owner-freebsd-wireless@FreeBSD.ORG Thu Jul 17 10:34:42 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6451FDCB; Thu, 17 Jul 2014 10:34:42 +0000 (UTC) Received: from zibbi.meraka.csir.co.za (zibbi.meraka.csir.co.za [146.64.24.58]) by mx1.freebsd.org (Postfix) with ESMTP id 55FF4276F; Thu, 17 Jul 2014 10:34:40 +0000 (UTC) Received: by zibbi.meraka.csir.co.za (Postfix, from userid 3973) id A8C0CB843; Thu, 17 Jul 2014 12:34:30 +0200 (SAST) Date: Thu, 17 Jul 2014 12:34:30 +0200 From: John Hay To: Adrian Chadd Subject: Re: CAMBRIA and more than one atheros card Message-ID: <20140717103430.GA88108@zibbi.meraka.csir.co.za> References: <20140714184209.GA21922@zibbi.meraka.csir.co.za> <20140714190946.GA49930@zibbi.meraka.csir.co.za> <20140714191416.GB49930@zibbi.meraka.csir.co.za> <20140714194932.GA51947@zibbi.meraka.csir.co.za> <20140714200015.GA54311@zibbi.meraka.csir.co.za> <20140714203707.GB54311@zibbi.meraka.csir.co.za> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140714203707.GB54311@zibbi.meraka.csir.co.za> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "freebsd-wireless@freebsd.org" , "freebsd-embedded@freebsd.org" , Ian Lepore X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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: Thu, 17 Jul 2014 10:34:42 -0000 On Mon, Jul 14, 2014 at 10:37:07PM +0200, John Hay wrote: > On Mon, Jul 14, 2014 at 01:02:03PM -0700, Adrian Chadd wrote: > > > > Ah, you're not even using it in 11n mode. Ok. > > > > Well, that's 72 mbufs allocated, and up to 200 more being allocated > > during transmit. Then there's the handful of pages being used for DMA > > descriptors. So yeah, over time that may become a problem. > > > > Try doubling the number of bounce buffers available and see what happens. > > The first boot looks good, all 3 aths came up. Bounce buffers just > after login: > > tst-11-arm:~ # sysctl hw.busdma > hw.busdma.total_bpages: 128 > hw.busdma.zone0.total_bpages: 128 > hw.busdma.zone0.free_bpages: 128 > hw.busdma.zone0.reserved_bpages: 0 > hw.busdma.zone0.active_bpages: 0 > hw.busdma.zone0.total_bounced: 0 > hw.busdma.zone0.total_deferred: 0 > hw.busdma.zone0.lowaddr: 0x4000fff > hw.busdma.zone0.alignment: 4096 ... > Great! At last it seems like we are making progress. I'll leave it > till the morning and then do a few reboots and then some traffic. > > One question, should the active bounce pages keep growing or stabilize > somewhere? How do I know if I have to few or if there is a leak? > > Thanks Adrian for your help. I still ran out sometimes during a reboot, so I upped it to 512 and added a sysctl to show the max that active_bpages has been. Sometimes just after a reboot active_bpages is low and other times higher, I have seen 140. A few times during a reboot I see timeouts, which only a reboot seem to recover from. Can it be a left over config from the previous boot that does not get cleaned out? Or maybe traffic being received while the config is happening? Here is an example during the boot: #################### ... ath0: irq 28 at device 1.0 on pci0 alloc_bounce_pages: numpages 63 [ath] enabling AN_TOP2_FIXUP alloc_bounce_pages: numpages 63 alloc_bounce_pages: numpages 63 alloc_bounce_pages: numpages 63 alloc_bounce_pages: numpages 63 alloc_bounce_pages: numpages 63 alloc_bounce_pages: numpages 63 alloc_bounce_pages: numpages 63 alloc_bounce_pages: numpages 8 ath0: AR9220 mac 128.2 RF5133 phy 13.0 ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 ath1: irq 27 at device 2.0 on pci0 [ath] enabling AN_TOP2_FIXUP ath1: AR9220 mac 128.2 RF5133 phy 13.0 ath1: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 ath2: irq 26 at device 3.0 on pci0 ath2: AR5413 mac 10.5 RF5413 phy 6.1 ath2: 2GHz radio: 0x0000; 5GHz radio: 0x0063 ixpclk0: on ixp0 ixpiic0: on ixp0 ... /sbin/ifconfig.bin wlan0 create wlandev ath0 wlanmode adhoc country ZA wlan0: Ethernet address: 00:21:a4:35:70:42 /sbin/ifconfig.bin wlan0 inet6 ifdisabled /sbin/ifconfig.bin wlan0 -bgscan channel 140 ssid mesh bssid 02:8c:ca:fe:ca:00 /sbin/ifconfig.bin wlan0 inet6 -ifdisabled /sbin/ifconfig.bin wlan0 inet6 auto_linklocal /sbin/ifconfig.bin wlan0 inet6 -ifdisabled dev.ath.0.debug: 0 -> 8 /sbin/ifconfig.bin wlan0 up ath0: ath_init: if_flags 0x8803 ath0: ath_stop_locked: invalid 0 if_flags 0x8803 dev.ath.0.debug: 8 -> 0 ath0: hardware error; resetting ath0: 0x00000000 0x00000020 0x00000000, 0x00000000 0x00000000 0x00000000 ar5416StopDmaReceive: dma failed to stop in 10ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 /sbin/ifconfig.bin wlan0 inet6 fd35:ac5b:b116:10:: prefixlen 64 eui64 alias /sbin/ifconfig.bin wlan0 inet6 fd35:ac5b:b116:10:: prefixlen 64 alias anycast /sbin/ifconfig.bin wlan1 create wlandev ath1 wlanmode adhoc country ZA wlan1: Ethernet address: 00:21:a4:35:6c:96 /sbin/ifconfig.bin wlan1 inet6 ifdisabled /sbin/ifconfig.bin wlan1 -bgscan channel 136 ssid mesh bssid 02:88:ca:fe:ca:00 /sbin/ifconfig.bin wlan1 inet6 -ifdisabled /sbin/ifconfig.bin wlan1 inet6 auto_linklocal /sbin/ifconfig.bin wlan1 inet6 -ifdisabled dev.ath.1.debug: 0 -> 8 /sbin/ifconfig.bin wlan1 up ath1: ath_init: if_flags 0x8803 ath1: ath_stop_locked: invalid 0 if_flags 0x8803 R[ 0] (DS.V:0xcd027000 DS.P:0x1227000) L:01227060 D:00089000 * 00000000 00000800 0b802c2c 000000b2 0000175f 00000100 2f808080 00000000 00000000 00000000 00000003 R[ 0] (DS.V:0xcd027060 DS.P:0x1227060) L:012270c0 D:0008a000 00000000 00000800 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 dev.ath.1.debug: 8 -> 0 /sbin/ifconfig.bin wlan1 inet6 fd35:ac5b:b116:10:: prefixlen 64 eui64 alias /sbin/ifconfig.bin wlan1 inet6 fd35:ac5b:b116:10:: prefixlen 64 alias anycast ifa_add_loopback_route: insertion failed: 17 ifconfig.bin: ioctl (SIOCAIFADDR): File exists /sbin/ifconfig.bin wlan2 create wlandev ath2 wlanmode adhoc country ZA wlan2: Ethernet address: 00:21:a4:32:38:c2 /sbin/ifconfig.bin wlan2 inet6 ifdisabled ath0: device timeout ar5416StopDmaReceive: dma failed to stop in 10ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 /sbin/ifconfig.bin wlan2 -bgscan channel 13 ssid hotspot bssid 02:0d:ca:fe:ca:00 /sbin/ifconfig.bin wlan2 inet6 -ifdisabled /sbin/ifconfig.bin wlan2 inet6 auto_linklocal /sbin/ifconfig.bin wlan2 inet6 -ifdisabled dev.ath.2.debug: 0 -> 8 /sbin/ifconfig.bin wlan2 up ath2: ath_init: if_flags 0x8803 ath2: ath_stop_locked: invalid 0 if_flags 0x8803 dev.ath.2.debug: 8 -> 0 /sbin/ifconfig.bin wlan2 inet 10.56.244.1/24 alias /sbin/ifconfig.bin wlan2 inet6 fd35:ac5b:b116:38f4:: prefixlen 64 eui64 alias /sbin/ifconfig.bin wlan2 inet6 fd35:ac5b:b116:38f4:: prefixlen 64 alias anycast ... ath0: device timeout ar5416StopDmaReceive: dma failed to stop in 10ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 ... tst-11-arm:~ # uptime 9:18AM up 2 mins, 1 user, load averages: 1.63, 0.70, 0.28 tst-11-arm:~ # sysctl hw.busdma hw.busdma.total_bpages: 512 hw.busdma.zone0.total_bpages: 512 hw.busdma.zone0.free_bpages: 375 hw.busdma.zone0.reserved_bpages: 0 hw.busdma.zone0.active_bpages: 137 hw.busdma.zone0.max_active_bpages: 137 hw.busdma.zone0.total_bounced: 1739 hw.busdma.zone0.total_deferred: 0 hw.busdma.zone0.lowaddr: 0x4000fff hw.busdma.zone0.alignment: 4096 tst-11-arm:~ # ath0: device timeout ar5416StopDmaReceive: dma failed to stop in 10ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 tst-11-arm:~ # uptime 9:20AM up 4 mins, 1 user, load averages: 0.68, 0.68, 0.34 tst-11-arm:~ # sysctl hw.busdma hw.busdma.total_bpages: 512 hw.busdma.zone0.total_bpages: 512 hw.busdma.zone0.free_bpages: 326 hw.busdma.zone0.reserved_bpages: 0 hw.busdma.zone0.active_bpages: 186 hw.busdma.zone0.max_active_bpages: 190 hw.busdma.zone0.total_bounced: 6592 hw.busdma.zone0.total_deferred: 0 hw.busdma.zone0.lowaddr: 0x4000fff hw.busdma.zone0.alignment: 4096 tst-11-arm:~ # ath0: device timeout ar5416StopDmaReceive: dma failed to stop in 10ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 ath0: device timeout ar5416StopDmaReceive: dma failed to stop in 10ms AR_CR=0x00000024 AR_DIAG_SW=0x42000020 #################### The 2 other interfaces did not seem to have a problem and after a reboot ath0/wlan0 was working fine again. John -- John Hay -- jhay@meraka.csir.co.za / jhay@meraka.org.za From owner-freebsd-wireless@FreeBSD.ORG Thu Jul 17 13:09:59 2014 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9B77C801 for ; Thu, 17 Jul 2014 13:09:59 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8288324EE for ; Thu, 17 Jul 2014 13:09:59 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s6HD9xhU016688 for ; Thu, 17 Jul 2014 13:09:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 189405] [run] [wlan] hostapd, kernel panic, wlan using run device, run0: RT3071, RF RT3022 Date: Thu, 17 Jul 2014 13:09:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: gabor.simon75@gmail.com X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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: Thu, 17 Jul 2014 13:09:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189405 Gabor Simon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gabor.simon75@gmail.com --- Comment #2 from Gabor Simon --- Created attachment 144753 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=144753&action=edit Proposed patch to prevent kernel panic in hostap mode. rvp->beacon_mbuf was NULL in run_update_beacon -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-wireless@FreeBSD.ORG Thu Jul 17 19:17:20 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 E5F2BC4F; Thu, 17 Jul 2014 19:17:20 +0000 (UTC) Received: from mail-qa0-x234.google.com (mail-qa0-x234.google.com [IPv6:2607:f8b0:400d:c00::234]) (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 7DD2F274E; Thu, 17 Jul 2014 19:17:20 +0000 (UTC) Received: by mail-qa0-f52.google.com with SMTP id j15so2183644qaq.25 for ; Thu, 17 Jul 2014 12:17:19 -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=P80TVwi0E2jblqpRt6/SX8aLJsmQT2ljOVF5qrl1i4U=; b=nKyK28bdIcp243pVAMPzcZKlGgZWJnTyiodFy1p2jggeR2zrIh2iQjlPCXIJxLGZZQ 0L9QYYJdB1uB8KOtbzd8rSmozdvEMBRjjcUVK1+7xbArzByG93XF1JVJD8qC5oR64nYP w2AjNdiFYgbM30zWqLycBaRf0Fpfj7QWcg9h5UajXtd8T42GzQweoehCE0JbPt/0Htv4 bXDdHaYsFrjqcyW7TxCgSboJAqEfwhxjQI/qVoU93d/lQAsumMJnqRrVn6fo8vTzCXqx Dm9WKL8PmOTLdtyvtP8t4Jqeu21kpGSO4UC9ucH5LnzGwssE0ize+RtNj6KVNdtUEsGW typQ== MIME-Version: 1.0 X-Received: by 10.140.93.161 with SMTP id d30mr30379155qge.53.1405624639542; Thu, 17 Jul 2014 12:17:19 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.202.193 with HTTP; Thu, 17 Jul 2014 12:17:19 -0700 (PDT) In-Reply-To: <20140717103430.GA88108@zibbi.meraka.csir.co.za> References: <20140714184209.GA21922@zibbi.meraka.csir.co.za> <20140714190946.GA49930@zibbi.meraka.csir.co.za> <20140714191416.GB49930@zibbi.meraka.csir.co.za> <20140714194932.GA51947@zibbi.meraka.csir.co.za> <20140714200015.GA54311@zibbi.meraka.csir.co.za> <20140714203707.GB54311@zibbi.meraka.csir.co.za> <20140717103430.GA88108@zibbi.meraka.csir.co.za> Date: Thu, 17 Jul 2014 12:17:19 -0700 X-Google-Sender-Auth: k-ZRM9hqtyr1G8dyihnY6DYNIyA Message-ID: Subject: Re: CAMBRIA and more than one atheros card From: Adrian Chadd To: John Hay Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-wireless@freebsd.org" , "freebsd-embedded@freebsd.org" , Ian Lepore X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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: Thu, 17 Jul 2014 19:17:21 -0000 I've seen some weird cases in the past where there's just no interrupts making out after boot. I don't know why. Chances are that's what you're seeing - the frame is going out but there's no interrupts. Check vmstat -ia ; see if ath0 is generating interrupts. -a On 17 July 2014 03:34, John Hay wrote: > On Mon, Jul 14, 2014 at 10:37:07PM +0200, John Hay wrote: >> On Mon, Jul 14, 2014 at 01:02:03PM -0700, Adrian Chadd wrote: >> > >> > Ah, you're not even using it in 11n mode. Ok. >> > >> > Well, that's 72 mbufs allocated, and up to 200 more being allocated >> > during transmit. Then there's the handful of pages being used for DMA >> > descriptors. So yeah, over time that may become a problem. >> > >> > Try doubling the number of bounce buffers available and see what happens. >> >> The first boot looks good, all 3 aths came up. Bounce buffers just >> after login: >> >> tst-11-arm:~ # sysctl hw.busdma >> hw.busdma.total_bpages: 128 >> hw.busdma.zone0.total_bpages: 128 >> hw.busdma.zone0.free_bpages: 128 >> hw.busdma.zone0.reserved_bpages: 0 >> hw.busdma.zone0.active_bpages: 0 >> hw.busdma.zone0.total_bounced: 0 >> hw.busdma.zone0.total_deferred: 0 >> hw.busdma.zone0.lowaddr: 0x4000fff >> hw.busdma.zone0.alignment: 4096 > ... >> Great! At last it seems like we are making progress. I'll leave it >> till the morning and then do a few reboots and then some traffic. >> >> One question, should the active bounce pages keep growing or stabilize >> somewhere? How do I know if I have to few or if there is a leak? >> >> Thanks Adrian for your help. > > I still ran out sometimes during a reboot, so I upped it to 512 and added > a sysctl to show the max that active_bpages has been. Sometimes just > after a reboot active_bpages is low and other times higher, I have seen > 140. A few times during a reboot I see timeouts, which only a reboot > seem to recover from. Can it be a left over config from the previous boot > that does not get cleaned out? Or maybe traffic being received while the > config is happening? > > Here is an example during the boot: > > #################### > ... > ath0: irq 28 at device 1.0 on pci0 > alloc_bounce_pages: numpages 63 > [ath] enabling AN_TOP2_FIXUP > alloc_bounce_pages: numpages 63 > alloc_bounce_pages: numpages 63 > alloc_bounce_pages: numpages 63 > alloc_bounce_pages: numpages 63 > alloc_bounce_pages: numpages 63 > alloc_bounce_pages: numpages 63 > alloc_bounce_pages: numpages 63 > alloc_bounce_pages: numpages 8 > ath0: AR9220 mac 128.2 RF5133 phy 13.0 > ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 > ath1: irq 27 at device 2.0 on pci0 > [ath] enabling AN_TOP2_FIXUP > ath1: AR9220 mac 128.2 RF5133 phy 13.0 > ath1: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 > ath2: irq 26 at device 3.0 on pci0 > ath2: AR5413 mac 10.5 RF5413 phy 6.1 > ath2: 2GHz radio: 0x0000; 5GHz radio: 0x0063 > ixpclk0: on ixp0 > ixpiic0: on ixp0 > ... > /sbin/ifconfig.bin wlan0 create wlandev ath0 wlanmode adhoc country ZA > wlan0: Ethernet address: 00:21:a4:35:70:42 > /sbin/ifconfig.bin wlan0 inet6 ifdisabled > /sbin/ifconfig.bin wlan0 -bgscan channel 140 ssid mesh bssid 02:8c:ca:fe:ca:00 > /sbin/ifconfig.bin wlan0 inet6 -ifdisabled > /sbin/ifconfig.bin wlan0 inet6 auto_linklocal > /sbin/ifconfig.bin wlan0 inet6 -ifdisabled > dev.ath.0.debug: 0 -> 8 > /sbin/ifconfig.bin wlan0 up > ath0: ath_init: if_flags 0x8803 > ath0: ath_stop_locked: invalid 0 if_flags 0x8803 > dev.ath.0.debug: 8 -> 0 > ath0: hardware error; resetting > ath0: 0x00000000 0x00000020 0x00000000, 0x00000000 0x00000000 0x00000000 > ar5416StopDmaReceive: dma failed to stop in 10ms > AR_CR=0x00000024 > AR_DIAG_SW=0x42000020 > /sbin/ifconfig.bin wlan0 inet6 fd35:ac5b:b116:10:: prefixlen 64 eui64 alias > /sbin/ifconfig.bin wlan0 inet6 fd35:ac5b:b116:10:: prefixlen 64 alias anycast > /sbin/ifconfig.bin wlan1 create wlandev ath1 wlanmode adhoc country ZA > wlan1: Ethernet address: 00:21:a4:35:6c:96 > /sbin/ifconfig.bin wlan1 inet6 ifdisabled > /sbin/ifconfig.bin wlan1 -bgscan channel 136 ssid mesh bssid 02:88:ca:fe:ca:00 > /sbin/ifconfig.bin wlan1 inet6 -ifdisabled > /sbin/ifconfig.bin wlan1 inet6 auto_linklocal > /sbin/ifconfig.bin wlan1 inet6 -ifdisabled > dev.ath.1.debug: 0 -> 8 > /sbin/ifconfig.bin wlan1 up > ath1: ath_init: if_flags 0x8803 > ath1: ath_stop_locked: invalid 0 if_flags 0x8803 > R[ 0] (DS.V:0xcd027000 DS.P:0x1227000) L:01227060 D:00089000 * > 00000000 00000800 0b802c2c 000000b2 > 0000175f 00000100 2f808080 00000000 00000000 00000000 00000003 > R[ 0] (DS.V:0xcd027060 DS.P:0x1227060) L:012270c0 D:0008a000 > 00000000 00000800 00000000 00000000 > 00000000 00000000 00000000 00000000 00000000 00000000 00000000 > dev.ath.1.debug: 8 -> 0 > /sbin/ifconfig.bin wlan1 inet6 fd35:ac5b:b116:10:: prefixlen 64 eui64 alias > /sbin/ifconfig.bin wlan1 inet6 fd35:ac5b:b116:10:: prefixlen 64 alias anycast > ifa_add_loopback_route: insertion failed: 17 > ifconfig.bin: ioctl (SIOCAIFADDR): File exists > /sbin/ifconfig.bin wlan2 create wlandev ath2 wlanmode adhoc country ZA > wlan2: Ethernet address: 00:21:a4:32:38:c2 > /sbin/ifconfig.bin wlan2 inet6 ifdisabled > ath0: device timeout > ar5416StopDmaReceive: dma failed to stop in 10ms > AR_CR=0x00000024 > AR_DIAG_SW=0x42000020 > /sbin/ifconfig.bin wlan2 -bgscan channel 13 ssid hotspot bssid 02:0d:ca:fe:ca:00 > /sbin/ifconfig.bin wlan2 inet6 -ifdisabled > /sbin/ifconfig.bin wlan2 inet6 auto_linklocal > /sbin/ifconfig.bin wlan2 inet6 -ifdisabled > dev.ath.2.debug: 0 -> 8 > /sbin/ifconfig.bin wlan2 up > ath2: ath_init: if_flags 0x8803 > ath2: ath_stop_locked: invalid 0 if_flags 0x8803 > dev.ath.2.debug: 8 -> 0 > /sbin/ifconfig.bin wlan2 inet 10.56.244.1/24 alias > /sbin/ifconfig.bin wlan2 inet6 fd35:ac5b:b116:38f4:: prefixlen 64 eui64 alias > /sbin/ifconfig.bin wlan2 inet6 fd35:ac5b:b116:38f4:: prefixlen 64 alias anycast > ... > ath0: device timeout > ar5416StopDmaReceive: dma failed to stop in 10ms > AR_CR=0x00000024 > AR_DIAG_SW=0x42000020 > ... > tst-11-arm:~ # uptime > 9:18AM up 2 mins, 1 user, load averages: 1.63, 0.70, 0.28 > tst-11-arm:~ # sysctl hw.busdma > hw.busdma.total_bpages: 512 > hw.busdma.zone0.total_bpages: 512 > hw.busdma.zone0.free_bpages: 375 > hw.busdma.zone0.reserved_bpages: 0 > hw.busdma.zone0.active_bpages: 137 > hw.busdma.zone0.max_active_bpages: 137 > hw.busdma.zone0.total_bounced: 1739 > hw.busdma.zone0.total_deferred: 0 > hw.busdma.zone0.lowaddr: 0x4000fff > hw.busdma.zone0.alignment: 4096 > tst-11-arm:~ # ath0: device timeout > ar5416StopDmaReceive: dma failed to stop in 10ms > AR_CR=0x00000024 > AR_DIAG_SW=0x42000020 > > tst-11-arm:~ # uptime > 9:20AM up 4 mins, 1 user, load averages: 0.68, 0.68, 0.34 > tst-11-arm:~ # sysctl hw.busdma > hw.busdma.total_bpages: 512 > hw.busdma.zone0.total_bpages: 512 > hw.busdma.zone0.free_bpages: 326 > hw.busdma.zone0.reserved_bpages: 0 > hw.busdma.zone0.active_bpages: 186 > hw.busdma.zone0.max_active_bpages: 190 > hw.busdma.zone0.total_bounced: 6592 > hw.busdma.zone0.total_deferred: 0 > hw.busdma.zone0.lowaddr: 0x4000fff > hw.busdma.zone0.alignment: 4096 > tst-11-arm:~ # ath0: device timeout > ar5416StopDmaReceive: dma failed to stop in 10ms > AR_CR=0x00000024 > AR_DIAG_SW=0x42000020 > ath0: device timeout > ar5416StopDmaReceive: dma failed to stop in 10ms > AR_CR=0x00000024 > AR_DIAG_SW=0x42000020 > #################### > > The 2 other interfaces did not seem to have a problem and after a reboot > ath0/wlan0 was working fine again. > > John > -- > John Hay -- jhay@meraka.csir.co.za / jhay@meraka.org.za From owner-freebsd-wireless@FreeBSD.ORG Thu Jul 17 19:24:37 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 73FFCE8C; Thu, 17 Jul 2014 19:24:37 +0000 (UTC) Received: from zibbi.meraka.csir.co.za (zibbi.meraka.csir.co.za [IPv6:2001:4200:7000:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 7DAC62849; Thu, 17 Jul 2014 19:24:36 +0000 (UTC) Received: by zibbi.meraka.csir.co.za (Postfix, from userid 3973) id 7F721B843; Thu, 17 Jul 2014 21:24:33 +0200 (SAST) Date: Thu, 17 Jul 2014 21:24:33 +0200 From: John Hay To: Adrian Chadd Subject: Re: CAMBRIA and more than one atheros card Message-ID: <20140717192433.GA35445@zibbi.meraka.csir.co.za> References: <20140714190946.GA49930@zibbi.meraka.csir.co.za> <20140714191416.GB49930@zibbi.meraka.csir.co.za> <20140714194932.GA51947@zibbi.meraka.csir.co.za> <20140714200015.GA54311@zibbi.meraka.csir.co.za> <20140714203707.GB54311@zibbi.meraka.csir.co.za> <20140717103430.GA88108@zibbi.meraka.csir.co.za> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "freebsd-wireless@freebsd.org" , "freebsd-embedded@freebsd.org" , Ian Lepore X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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: Thu, 17 Jul 2014 19:24:37 -0000 On Thu, Jul 17, 2014 at 12:17:19PM -0700, Adrian Chadd wrote: > I've seen some weird cases in the past where there's just no > interrupts making out after boot. I don't know why. > > Chances are that's what you're seeing - the frame is going out but > there's no interrupts. > > Check vmstat -ia ; see if ath0 is generating interrupts. I don't think vmstat -ia work properly. On a boot where ath works, this is what I see: tst-11-arm:~ # vmstat -ia interrupt total rate irq0: npe1 0 0 irq2: npe0 0 0 irq3: ixpqmgr0 0 0 irq4: ixpqmgr0 0 0 irq5: ixpclk0 0 0 Total 3520443 172 Ath0-2 do not pitch up and npe0 stays 0 even though packets have been sent and received on it. John > > > > -a > > > On 17 July 2014 03:34, John Hay wrote: > > On Mon, Jul 14, 2014 at 10:37:07PM +0200, John Hay wrote: > >> On Mon, Jul 14, 2014 at 01:02:03PM -0700, Adrian Chadd wrote: > >> > > >> > Ah, you're not even using it in 11n mode. Ok. > >> > > >> > Well, that's 72 mbufs allocated, and up to 200 more being allocated > >> > during transmit. Then there's the handful of pages being used for DMA > >> > descriptors. So yeah, over time that may become a problem. > >> > > >> > Try doubling the number of bounce buffers available and see what happens. > >> > >> The first boot looks good, all 3 aths came up. Bounce buffers just > >> after login: > >> > >> tst-11-arm:~ # sysctl hw.busdma > >> hw.busdma.total_bpages: 128 > >> hw.busdma.zone0.total_bpages: 128 > >> hw.busdma.zone0.free_bpages: 128 > >> hw.busdma.zone0.reserved_bpages: 0 > >> hw.busdma.zone0.active_bpages: 0 > >> hw.busdma.zone0.total_bounced: 0 > >> hw.busdma.zone0.total_deferred: 0 > >> hw.busdma.zone0.lowaddr: 0x4000fff > >> hw.busdma.zone0.alignment: 4096 > > ... > >> Great! At last it seems like we are making progress. I'll leave it > >> till the morning and then do a few reboots and then some traffic. > >> > >> One question, should the active bounce pages keep growing or stabilize > >> somewhere? How do I know if I have to few or if there is a leak? > >> > >> Thanks Adrian for your help. > > > > I still ran out sometimes during a reboot, so I upped it to 512 and added > > a sysctl to show the max that active_bpages has been. Sometimes just > > after a reboot active_bpages is low and other times higher, I have seen > > 140. A few times during a reboot I see timeouts, which only a reboot > > seem to recover from. Can it be a left over config from the previous boot > > that does not get cleaned out? Or maybe traffic being received while the > > config is happening? > > > > Here is an example during the boot: > > > > #################### > > ... > > ath0: irq 28 at device 1.0 on pci0 > > alloc_bounce_pages: numpages 63 > > [ath] enabling AN_TOP2_FIXUP > > alloc_bounce_pages: numpages 63 > > alloc_bounce_pages: numpages 63 > > alloc_bounce_pages: numpages 63 > > alloc_bounce_pages: numpages 63 > > alloc_bounce_pages: numpages 63 > > alloc_bounce_pages: numpages 63 > > alloc_bounce_pages: numpages 63 > > alloc_bounce_pages: numpages 8 > > ath0: AR9220 mac 128.2 RF5133 phy 13.0 > > ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 > > ath1: irq 27 at device 2.0 on pci0 > > [ath] enabling AN_TOP2_FIXUP > > ath1: AR9220 mac 128.2 RF5133 phy 13.0 > > ath1: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 > > ath2: irq 26 at device 3.0 on pci0 > > ath2: AR5413 mac 10.5 RF5413 phy 6.1 > > ath2: 2GHz radio: 0x0000; 5GHz radio: 0x0063 > > ixpclk0: on ixp0 > > ixpiic0: on ixp0 > > ... > > /sbin/ifconfig.bin wlan0 create wlandev ath0 wlanmode adhoc country ZA > > wlan0: Ethernet address: 00:21:a4:35:70:42 > > /sbin/ifconfig.bin wlan0 inet6 ifdisabled > > /sbin/ifconfig.bin wlan0 -bgscan channel 140 ssid mesh bssid 02:8c:ca:fe:ca:00 > > /sbin/ifconfig.bin wlan0 inet6 -ifdisabled > > /sbin/ifconfig.bin wlan0 inet6 auto_linklocal > > /sbin/ifconfig.bin wlan0 inet6 -ifdisabled > > dev.ath.0.debug: 0 -> 8 > > /sbin/ifconfig.bin wlan0 up > > ath0: ath_init: if_flags 0x8803 > > ath0: ath_stop_locked: invalid 0 if_flags 0x8803 > > dev.ath.0.debug: 8 -> 0 > > ath0: hardware error; resetting > > ath0: 0x00000000 0x00000020 0x00000000, 0x00000000 0x00000000 0x00000000 > > ar5416StopDmaReceive: dma failed to stop in 10ms > > AR_CR=0x00000024 > > AR_DIAG_SW=0x42000020 > > /sbin/ifconfig.bin wlan0 inet6 fd35:ac5b:b116:10:: prefixlen 64 eui64 alias > > /sbin/ifconfig.bin wlan0 inet6 fd35:ac5b:b116:10:: prefixlen 64 alias anycast > > /sbin/ifconfig.bin wlan1 create wlandev ath1 wlanmode adhoc country ZA > > wlan1: Ethernet address: 00:21:a4:35:6c:96 > > /sbin/ifconfig.bin wlan1 inet6 ifdisabled > > /sbin/ifconfig.bin wlan1 -bgscan channel 136 ssid mesh bssid 02:88:ca:fe:ca:00 > > /sbin/ifconfig.bin wlan1 inet6 -ifdisabled > > /sbin/ifconfig.bin wlan1 inet6 auto_linklocal > > /sbin/ifconfig.bin wlan1 inet6 -ifdisabled > > dev.ath.1.debug: 0 -> 8 > > /sbin/ifconfig.bin wlan1 up > > ath1: ath_init: if_flags 0x8803 > > ath1: ath_stop_locked: invalid 0 if_flags 0x8803 > > R[ 0] (DS.V:0xcd027000 DS.P:0x1227000) L:01227060 D:00089000 * > > 00000000 00000800 0b802c2c 000000b2 > > 0000175f 00000100 2f808080 00000000 00000000 00000000 00000003 > > R[ 0] (DS.V:0xcd027060 DS.P:0x1227060) L:012270c0 D:0008a000 > > 00000000 00000800 00000000 00000000 > > 00000000 00000000 00000000 00000000 00000000 00000000 00000000 > > dev.ath.1.debug: 8 -> 0 > > /sbin/ifconfig.bin wlan1 inet6 fd35:ac5b:b116:10:: prefixlen 64 eui64 alias > > /sbin/ifconfig.bin wlan1 inet6 fd35:ac5b:b116:10:: prefixlen 64 alias anycast > > ifa_add_loopback_route: insertion failed: 17 > > ifconfig.bin: ioctl (SIOCAIFADDR): File exists > > /sbin/ifconfig.bin wlan2 create wlandev ath2 wlanmode adhoc country ZA > > wlan2: Ethernet address: 00:21:a4:32:38:c2 > > /sbin/ifconfig.bin wlan2 inet6 ifdisabled > > ath0: device timeout > > ar5416StopDmaReceive: dma failed to stop in 10ms > > AR_CR=0x00000024 > > AR_DIAG_SW=0x42000020 > > /sbin/ifconfig.bin wlan2 -bgscan channel 13 ssid hotspot bssid 02:0d:ca:fe:ca:00 > > /sbin/ifconfig.bin wlan2 inet6 -ifdisabled > > /sbin/ifconfig.bin wlan2 inet6 auto_linklocal > > /sbin/ifconfig.bin wlan2 inet6 -ifdisabled > > dev.ath.2.debug: 0 -> 8 > > /sbin/ifconfig.bin wlan2 up > > ath2: ath_init: if_flags 0x8803 > > ath2: ath_stop_locked: invalid 0 if_flags 0x8803 > > dev.ath.2.debug: 8 -> 0 > > /sbin/ifconfig.bin wlan2 inet 10.56.244.1/24 alias > > /sbin/ifconfig.bin wlan2 inet6 fd35:ac5b:b116:38f4:: prefixlen 64 eui64 alias > > /sbin/ifconfig.bin wlan2 inet6 fd35:ac5b:b116:38f4:: prefixlen 64 alias anycast > > ... > > ath0: device timeout > > ar5416StopDmaReceive: dma failed to stop in 10ms > > AR_CR=0x00000024 > > AR_DIAG_SW=0x42000020 > > ... > > tst-11-arm:~ # uptime > > 9:18AM up 2 mins, 1 user, load averages: 1.63, 0.70, 0.28 > > tst-11-arm:~ # sysctl hw.busdma > > hw.busdma.total_bpages: 512 > > hw.busdma.zone0.total_bpages: 512 > > hw.busdma.zone0.free_bpages: 375 > > hw.busdma.zone0.reserved_bpages: 0 > > hw.busdma.zone0.active_bpages: 137 > > hw.busdma.zone0.max_active_bpages: 137 > > hw.busdma.zone0.total_bounced: 1739 > > hw.busdma.zone0.total_deferred: 0 > > hw.busdma.zone0.lowaddr: 0x4000fff > > hw.busdma.zone0.alignment: 4096 > > tst-11-arm:~ # ath0: device timeout > > ar5416StopDmaReceive: dma failed to stop in 10ms > > AR_CR=0x00000024 > > AR_DIAG_SW=0x42000020 > > > > tst-11-arm:~ # uptime > > 9:20AM up 4 mins, 1 user, load averages: 0.68, 0.68, 0.34 > > tst-11-arm:~ # sysctl hw.busdma > > hw.busdma.total_bpages: 512 > > hw.busdma.zone0.total_bpages: 512 > > hw.busdma.zone0.free_bpages: 326 > > hw.busdma.zone0.reserved_bpages: 0 > > hw.busdma.zone0.active_bpages: 186 > > hw.busdma.zone0.max_active_bpages: 190 > > hw.busdma.zone0.total_bounced: 6592 > > hw.busdma.zone0.total_deferred: 0 > > hw.busdma.zone0.lowaddr: 0x4000fff > > hw.busdma.zone0.alignment: 4096 > > tst-11-arm:~ # ath0: device timeout > > ar5416StopDmaReceive: dma failed to stop in 10ms > > AR_CR=0x00000024 > > AR_DIAG_SW=0x42000020 > > ath0: device timeout > > ar5416StopDmaReceive: dma failed to stop in 10ms > > AR_CR=0x00000024 > > AR_DIAG_SW=0x42000020 > > #################### > > > > The 2 other interfaces did not seem to have a problem and after a reboot > > ath0/wlan0 was working fine again. > > > > John > > -- > > John Hay -- jhay@meraka.csir.co.za / jhay@meraka.org.za From owner-freebsd-wireless@FreeBSD.ORG Thu Jul 17 19:30:54 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7EA9C2E8; Thu, 17 Jul 2014 19:30:54 +0000 (UTC) Received: from mail-qg0-x234.google.com (mail-qg0-x234.google.com [IPv6:2607:f8b0:400d:c04::234]) (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 167CE2903; Thu, 17 Jul 2014 19:30:54 +0000 (UTC) Received: by mail-qg0-f52.google.com with SMTP id f51so2446646qge.11 for ; Thu, 17 Jul 2014 12:30:53 -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=4twzPreickY8kuyo3Kn0IbYgcBWI2Sm8sPq0BLqUXIQ=; b=hnG0JiqIQOpq3iCw+sCYvZxdCb3aq40qUfPWCChC3cvc33MexTH9Xk6nIF+GwFE0Cs T69Ig4lEaTcgUUobzY8SxgGh+LWjPAaun6VnRhui+S7EnkQE6Y4cbJ2b5ZgpAtSSr5z2 if8uLpnFXL86k+4+crTFz8Ob+bGPgjN7tAScjFA7pFXcbMwbavuHAikzdfLBTNpvD1GJ WDsBu1RYusOhoJ/X58gSoQ8vrrxKPH0jktNX5hDE3zCeOjio7pKkYZ7NVfio2odKt5FC Xj1Yz+ezskJnnsacwcrsVEDN2+V8RuhHxObI3SxFqDMzxfRgQIufSdpegZGRaBlsNshv rFQw== MIME-Version: 1.0 X-Received: by 10.229.174.70 with SMTP id s6mr6999708qcz.29.1405625453172; Thu, 17 Jul 2014 12:30:53 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.202.193 with HTTP; Thu, 17 Jul 2014 12:30:53 -0700 (PDT) In-Reply-To: <20140717192433.GA35445@zibbi.meraka.csir.co.za> References: <20140714190946.GA49930@zibbi.meraka.csir.co.za> <20140714191416.GB49930@zibbi.meraka.csir.co.za> <20140714194932.GA51947@zibbi.meraka.csir.co.za> <20140714200015.GA54311@zibbi.meraka.csir.co.za> <20140714203707.GB54311@zibbi.meraka.csir.co.za> <20140717103430.GA88108@zibbi.meraka.csir.co.za> <20140717192433.GA35445@zibbi.meraka.csir.co.za> Date: Thu, 17 Jul 2014 12:30:53 -0700 X-Google-Sender-Auth: Yki6lzc7FAHF020S9K5DmvHHfLw Message-ID: Subject: Re: CAMBRIA and more than one atheros card From: Adrian Chadd To: John Hay Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-wireless@freebsd.org" , "freebsd-embedded@freebsd.org" , Ian Lepore X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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: Thu, 17 Jul 2014 19:30:54 -0000 okay, I think that needs to be fixed first. I can't debug it otherwise. :) -a On 17 July 2014 12:24, John Hay wrote: > On Thu, Jul 17, 2014 at 12:17:19PM -0700, Adrian Chadd wrote: >> I've seen some weird cases in the past where there's just no >> interrupts making out after boot. I don't know why. >> >> Chances are that's what you're seeing - the frame is going out but >> there's no interrupts. >> >> Check vmstat -ia ; see if ath0 is generating interrupts. > > I don't think vmstat -ia work properly. On a boot where ath works, this > is what I see: > > tst-11-arm:~ # vmstat -ia > interrupt total rate > irq0: npe1 0 0 > irq2: npe0 0 0 > irq3: ixpqmgr0 0 0 > irq4: ixpqmgr0 0 0 > irq5: ixpclk0 0 0 > Total 3520443 172 > > Ath0-2 do not pitch up and npe0 stays 0 even though packets have been > sent and received on it. > > John > >> >> >> >> -a >> >> >> On 17 July 2014 03:34, John Hay wrote: >> > On Mon, Jul 14, 2014 at 10:37:07PM +0200, John Hay wrote: >> >> On Mon, Jul 14, 2014 at 01:02:03PM -0700, Adrian Chadd wrote: >> >> > >> >> > Ah, you're not even using it in 11n mode. Ok. >> >> > >> >> > Well, that's 72 mbufs allocated, and up to 200 more being allocated >> >> > during transmit. Then there's the handful of pages being used for DMA >> >> > descriptors. So yeah, over time that may become a problem. >> >> > >> >> > Try doubling the number of bounce buffers available and see what happens. >> >> >> >> The first boot looks good, all 3 aths came up. Bounce buffers just >> >> after login: >> >> >> >> tst-11-arm:~ # sysctl hw.busdma >> >> hw.busdma.total_bpages: 128 >> >> hw.busdma.zone0.total_bpages: 128 >> >> hw.busdma.zone0.free_bpages: 128 >> >> hw.busdma.zone0.reserved_bpages: 0 >> >> hw.busdma.zone0.active_bpages: 0 >> >> hw.busdma.zone0.total_bounced: 0 >> >> hw.busdma.zone0.total_deferred: 0 >> >> hw.busdma.zone0.lowaddr: 0x4000fff >> >> hw.busdma.zone0.alignment: 4096 >> > ... >> >> Great! At last it seems like we are making progress. I'll leave it >> >> till the morning and then do a few reboots and then some traffic. >> >> >> >> One question, should the active bounce pages keep growing or stabilize >> >> somewhere? How do I know if I have to few or if there is a leak? >> >> >> >> Thanks Adrian for your help. >> > >> > I still ran out sometimes during a reboot, so I upped it to 512 and added >> > a sysctl to show the max that active_bpages has been. Sometimes just >> > after a reboot active_bpages is low and other times higher, I have seen >> > 140. A few times during a reboot I see timeouts, which only a reboot >> > seem to recover from. Can it be a left over config from the previous boot >> > that does not get cleaned out? Or maybe traffic being received while the >> > config is happening? >> > >> > Here is an example during the boot: >> > >> > #################### >> > ... >> > ath0: irq 28 at device 1.0 on pci0 >> > alloc_bounce_pages: numpages 63 >> > [ath] enabling AN_TOP2_FIXUP >> > alloc_bounce_pages: numpages 63 >> > alloc_bounce_pages: numpages 63 >> > alloc_bounce_pages: numpages 63 >> > alloc_bounce_pages: numpages 63 >> > alloc_bounce_pages: numpages 63 >> > alloc_bounce_pages: numpages 63 >> > alloc_bounce_pages: numpages 63 >> > alloc_bounce_pages: numpages 8 >> > ath0: AR9220 mac 128.2 RF5133 phy 13.0 >> > ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 >> > ath1: irq 27 at device 2.0 on pci0 >> > [ath] enabling AN_TOP2_FIXUP >> > ath1: AR9220 mac 128.2 RF5133 phy 13.0 >> > ath1: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 >> > ath2: irq 26 at device 3.0 on pci0 >> > ath2: AR5413 mac 10.5 RF5413 phy 6.1 >> > ath2: 2GHz radio: 0x0000; 5GHz radio: 0x0063 >> > ixpclk0: on ixp0 >> > ixpiic0: on ixp0 >> > ... >> > /sbin/ifconfig.bin wlan0 create wlandev ath0 wlanmode adhoc country ZA >> > wlan0: Ethernet address: 00:21:a4:35:70:42 >> > /sbin/ifconfig.bin wlan0 inet6 ifdisabled >> > /sbin/ifconfig.bin wlan0 -bgscan channel 140 ssid mesh bssid 02:8c:ca:fe:ca:00 >> > /sbin/ifconfig.bin wlan0 inet6 -ifdisabled >> > /sbin/ifconfig.bin wlan0 inet6 auto_linklocal >> > /sbin/ifconfig.bin wlan0 inet6 -ifdisabled >> > dev.ath.0.debug: 0 -> 8 >> > /sbin/ifconfig.bin wlan0 up >> > ath0: ath_init: if_flags 0x8803 >> > ath0: ath_stop_locked: invalid 0 if_flags 0x8803 >> > dev.ath.0.debug: 8 -> 0 >> > ath0: hardware error; resetting >> > ath0: 0x00000000 0x00000020 0x00000000, 0x00000000 0x00000000 0x00000000 >> > ar5416StopDmaReceive: dma failed to stop in 10ms >> > AR_CR=0x00000024 >> > AR_DIAG_SW=0x42000020 >> > /sbin/ifconfig.bin wlan0 inet6 fd35:ac5b:b116:10:: prefixlen 64 eui64 alias >> > /sbin/ifconfig.bin wlan0 inet6 fd35:ac5b:b116:10:: prefixlen 64 alias anycast >> > /sbin/ifconfig.bin wlan1 create wlandev ath1 wlanmode adhoc country ZA >> > wlan1: Ethernet address: 00:21:a4:35:6c:96 >> > /sbin/ifconfig.bin wlan1 inet6 ifdisabled >> > /sbin/ifconfig.bin wlan1 -bgscan channel 136 ssid mesh bssid 02:88:ca:fe:ca:00 >> > /sbin/ifconfig.bin wlan1 inet6 -ifdisabled >> > /sbin/ifconfig.bin wlan1 inet6 auto_linklocal >> > /sbin/ifconfig.bin wlan1 inet6 -ifdisabled >> > dev.ath.1.debug: 0 -> 8 >> > /sbin/ifconfig.bin wlan1 up >> > ath1: ath_init: if_flags 0x8803 >> > ath1: ath_stop_locked: invalid 0 if_flags 0x8803 >> > R[ 0] (DS.V:0xcd027000 DS.P:0x1227000) L:01227060 D:00089000 * >> > 00000000 00000800 0b802c2c 000000b2 >> > 0000175f 00000100 2f808080 00000000 00000000 00000000 00000003 >> > R[ 0] (DS.V:0xcd027060 DS.P:0x1227060) L:012270c0 D:0008a000 >> > 00000000 00000800 00000000 00000000 >> > 00000000 00000000 00000000 00000000 00000000 00000000 00000000 >> > dev.ath.1.debug: 8 -> 0 >> > /sbin/ifconfig.bin wlan1 inet6 fd35:ac5b:b116:10:: prefixlen 64 eui64 alias >> > /sbin/ifconfig.bin wlan1 inet6 fd35:ac5b:b116:10:: prefixlen 64 alias anycast >> > ifa_add_loopback_route: insertion failed: 17 >> > ifconfig.bin: ioctl (SIOCAIFADDR): File exists >> > /sbin/ifconfig.bin wlan2 create wlandev ath2 wlanmode adhoc country ZA >> > wlan2: Ethernet address: 00:21:a4:32:38:c2 >> > /sbin/ifconfig.bin wlan2 inet6 ifdisabled >> > ath0: device timeout >> > ar5416StopDmaReceive: dma failed to stop in 10ms >> > AR_CR=0x00000024 >> > AR_DIAG_SW=0x42000020 >> > /sbin/ifconfig.bin wlan2 -bgscan channel 13 ssid hotspot bssid 02:0d:ca:fe:ca:00 >> > /sbin/ifconfig.bin wlan2 inet6 -ifdisabled >> > /sbin/ifconfig.bin wlan2 inet6 auto_linklocal >> > /sbin/ifconfig.bin wlan2 inet6 -ifdisabled >> > dev.ath.2.debug: 0 -> 8 >> > /sbin/ifconfig.bin wlan2 up >> > ath2: ath_init: if_flags 0x8803 >> > ath2: ath_stop_locked: invalid 0 if_flags 0x8803 >> > dev.ath.2.debug: 8 -> 0 >> > /sbin/ifconfig.bin wlan2 inet 10.56.244.1/24 alias >> > /sbin/ifconfig.bin wlan2 inet6 fd35:ac5b:b116:38f4:: prefixlen 64 eui64 alias >> > /sbin/ifconfig.bin wlan2 inet6 fd35:ac5b:b116:38f4:: prefixlen 64 alias anycast >> > ... >> > ath0: device timeout >> > ar5416StopDmaReceive: dma failed to stop in 10ms >> > AR_CR=0x00000024 >> > AR_DIAG_SW=0x42000020 >> > ... >> > tst-11-arm:~ # uptime >> > 9:18AM up 2 mins, 1 user, load averages: 1.63, 0.70, 0.28 >> > tst-11-arm:~ # sysctl hw.busdma >> > hw.busdma.total_bpages: 512 >> > hw.busdma.zone0.total_bpages: 512 >> > hw.busdma.zone0.free_bpages: 375 >> > hw.busdma.zone0.reserved_bpages: 0 >> > hw.busdma.zone0.active_bpages: 137 >> > hw.busdma.zone0.max_active_bpages: 137 >> > hw.busdma.zone0.total_bounced: 1739 >> > hw.busdma.zone0.total_deferred: 0 >> > hw.busdma.zone0.lowaddr: 0x4000fff >> > hw.busdma.zone0.alignment: 4096 >> > tst-11-arm:~ # ath0: device timeout >> > ar5416StopDmaReceive: dma failed to stop in 10ms >> > AR_CR=0x00000024 >> > AR_DIAG_SW=0x42000020 >> > >> > tst-11-arm:~ # uptime >> > 9:20AM up 4 mins, 1 user, load averages: 0.68, 0.68, 0.34 >> > tst-11-arm:~ # sysctl hw.busdma >> > hw.busdma.total_bpages: 512 >> > hw.busdma.zone0.total_bpages: 512 >> > hw.busdma.zone0.free_bpages: 326 >> > hw.busdma.zone0.reserved_bpages: 0 >> > hw.busdma.zone0.active_bpages: 186 >> > hw.busdma.zone0.max_active_bpages: 190 >> > hw.busdma.zone0.total_bounced: 6592 >> > hw.busdma.zone0.total_deferred: 0 >> > hw.busdma.zone0.lowaddr: 0x4000fff >> > hw.busdma.zone0.alignment: 4096 >> > tst-11-arm:~ # ath0: device timeout >> > ar5416StopDmaReceive: dma failed to stop in 10ms >> > AR_CR=0x00000024 >> > AR_DIAG_SW=0x42000020 >> > ath0: device timeout >> > ar5416StopDmaReceive: dma failed to stop in 10ms >> > AR_CR=0x00000024 >> > AR_DIAG_SW=0x42000020 >> > #################### >> > >> > The 2 other interfaces did not seem to have a problem and after a reboot >> > ath0/wlan0 was working fine again. >> > >> > John >> > -- >> > John Hay -- jhay@meraka.csir.co.za / jhay@meraka.org.za From owner-freebsd-wireless@FreeBSD.ORG Thu Jul 17 19:44:16 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 B6687499; Thu, 17 Jul 2014 19:44:16 +0000 (UTC) Received: from zibbi.meraka.csir.co.za (zibbi.meraka.csir.co.za [146.64.24.58]) by mx1.freebsd.org (Postfix) with ESMTP id A494E29E6; Thu, 17 Jul 2014 19:44:15 +0000 (UTC) Received: by zibbi.meraka.csir.co.za (Postfix, from userid 3973) id 958B6B843; Thu, 17 Jul 2014 21:44:12 +0200 (SAST) Date: Thu, 17 Jul 2014 21:44:12 +0200 From: John Hay To: Adrian Chadd Subject: Re: CAMBRIA and more than one atheros card Message-ID: <20140717194412.GA37369@zibbi.meraka.csir.co.za> References: <20140714194932.GA51947@zibbi.meraka.csir.co.za> <20140714200015.GA54311@zibbi.meraka.csir.co.za> <20140714203707.GB54311@zibbi.meraka.csir.co.za> <20140717103430.GA88108@zibbi.meraka.csir.co.za> <20140717192433.GA35445@zibbi.meraka.csir.co.za> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "freebsd-wireless@freebsd.org" , "freebsd-embedded@freebsd.org" , Ian Lepore X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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: Thu, 17 Jul 2014 19:44:16 -0000 On Thu, Jul 17, 2014 at 12:30:53PM -0700, Adrian Chadd wrote: > okay, I think that needs to be fixed first. I can't debug it otherwise. :) vmstat -ia output looks the same on an Avila board, so it isn't Cambria specific. John > > > > -a > > > On 17 July 2014 12:24, John Hay wrote: > > On Thu, Jul 17, 2014 at 12:17:19PM -0700, Adrian Chadd wrote: > >> I've seen some weird cases in the past where there's just no > >> interrupts making out after boot. I don't know why. > >> > >> Chances are that's what you're seeing - the frame is going out but > >> there's no interrupts. > >> > >> Check vmstat -ia ; see if ath0 is generating interrupts. > > > > I don't think vmstat -ia work properly. On a boot where ath works, this > > is what I see: > > > > tst-11-arm:~ # vmstat -ia > > interrupt total rate > > irq0: npe1 0 0 > > irq2: npe0 0 0 > > irq3: ixpqmgr0 0 0 > > irq4: ixpqmgr0 0 0 > > irq5: ixpclk0 0 0 > > Total 3520443 172 > > > > Ath0-2 do not pitch up and npe0 stays 0 even though packets have been > > sent and received on it. > > > > John > > > >> > >> > >> > >> -a > >> > >> > >> On 17 July 2014 03:34, John Hay wrote: > >> > On Mon, Jul 14, 2014 at 10:37:07PM +0200, John Hay wrote: > >> >> On Mon, Jul 14, 2014 at 01:02:03PM -0700, Adrian Chadd wrote: > >> >> > > >> >> > Ah, you're not even using it in 11n mode. Ok. > >> >> > > >> >> > Well, that's 72 mbufs allocated, and up to 200 more being allocated > >> >> > during transmit. Then there's the handful of pages being used for DMA > >> >> > descriptors. So yeah, over time that may become a problem. > >> >> > > >> >> > Try doubling the number of bounce buffers available and see what happens. > >> >> > >> >> The first boot looks good, all 3 aths came up. Bounce buffers just > >> >> after login: > >> >> > >> >> tst-11-arm:~ # sysctl hw.busdma > >> >> hw.busdma.total_bpages: 128 > >> >> hw.busdma.zone0.total_bpages: 128 > >> >> hw.busdma.zone0.free_bpages: 128 > >> >> hw.busdma.zone0.reserved_bpages: 0 > >> >> hw.busdma.zone0.active_bpages: 0 > >> >> hw.busdma.zone0.total_bounced: 0 > >> >> hw.busdma.zone0.total_deferred: 0 > >> >> hw.busdma.zone0.lowaddr: 0x4000fff > >> >> hw.busdma.zone0.alignment: 4096 > >> > ... > >> >> Great! At last it seems like we are making progress. I'll leave it > >> >> till the morning and then do a few reboots and then some traffic. > >> >> > >> >> One question, should the active bounce pages keep growing or stabilize > >> >> somewhere? How do I know if I have to few or if there is a leak? > >> >> > >> >> Thanks Adrian for your help. > >> > > >> > I still ran out sometimes during a reboot, so I upped it to 512 and added > >> > a sysctl to show the max that active_bpages has been. Sometimes just > >> > after a reboot active_bpages is low and other times higher, I have seen > >> > 140. A few times during a reboot I see timeouts, which only a reboot > >> > seem to recover from. Can it be a left over config from the previous boot > >> > that does not get cleaned out? Or maybe traffic being received while the > >> > config is happening? > >> > > >> > Here is an example during the boot: > >> > > >> > #################### > >> > ... > >> > ath0: irq 28 at device 1.0 on pci0 > >> > alloc_bounce_pages: numpages 63 > >> > [ath] enabling AN_TOP2_FIXUP > >> > alloc_bounce_pages: numpages 63 > >> > alloc_bounce_pages: numpages 63 > >> > alloc_bounce_pages: numpages 63 > >> > alloc_bounce_pages: numpages 63 > >> > alloc_bounce_pages: numpages 63 > >> > alloc_bounce_pages: numpages 63 > >> > alloc_bounce_pages: numpages 63 > >> > alloc_bounce_pages: numpages 8 > >> > ath0: AR9220 mac 128.2 RF5133 phy 13.0 > >> > ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 > >> > ath1: irq 27 at device 2.0 on pci0 > >> > [ath] enabling AN_TOP2_FIXUP > >> > ath1: AR9220 mac 128.2 RF5133 phy 13.0 > >> > ath1: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 > >> > ath2: irq 26 at device 3.0 on pci0 > >> > ath2: AR5413 mac 10.5 RF5413 phy 6.1 > >> > ath2: 2GHz radio: 0x0000; 5GHz radio: 0x0063 > >> > ixpclk0: on ixp0 > >> > ixpiic0: on ixp0 > >> > ... > >> > /sbin/ifconfig.bin wlan0 create wlandev ath0 wlanmode adhoc country ZA > >> > wlan0: Ethernet address: 00:21:a4:35:70:42 > >> > /sbin/ifconfig.bin wlan0 inet6 ifdisabled > >> > /sbin/ifconfig.bin wlan0 -bgscan channel 140 ssid mesh bssid 02:8c:ca:fe:ca:00 > >> > /sbin/ifconfig.bin wlan0 inet6 -ifdisabled > >> > /sbin/ifconfig.bin wlan0 inet6 auto_linklocal > >> > /sbin/ifconfig.bin wlan0 inet6 -ifdisabled > >> > dev.ath.0.debug: 0 -> 8 > >> > /sbin/ifconfig.bin wlan0 up > >> > ath0: ath_init: if_flags 0x8803 > >> > ath0: ath_stop_locked: invalid 0 if_flags 0x8803 > >> > dev.ath.0.debug: 8 -> 0 > >> > ath0: hardware error; resetting > >> > ath0: 0x00000000 0x00000020 0x00000000, 0x00000000 0x00000000 0x00000000 > >> > ar5416StopDmaReceive: dma failed to stop in 10ms > >> > AR_CR=0x00000024 > >> > AR_DIAG_SW=0x42000020 > >> > /sbin/ifconfig.bin wlan0 inet6 fd35:ac5b:b116:10:: prefixlen 64 eui64 alias > >> > /sbin/ifconfig.bin wlan0 inet6 fd35:ac5b:b116:10:: prefixlen 64 alias anycast > >> > /sbin/ifconfig.bin wlan1 create wlandev ath1 wlanmode adhoc country ZA > >> > wlan1: Ethernet address: 00:21:a4:35:6c:96 > >> > /sbin/ifconfig.bin wlan1 inet6 ifdisabled > >> > /sbin/ifconfig.bin wlan1 -bgscan channel 136 ssid mesh bssid 02:88:ca:fe:ca:00 > >> > /sbin/ifconfig.bin wlan1 inet6 -ifdisabled > >> > /sbin/ifconfig.bin wlan1 inet6 auto_linklocal > >> > /sbin/ifconfig.bin wlan1 inet6 -ifdisabled > >> > dev.ath.1.debug: 0 -> 8 > >> > /sbin/ifconfig.bin wlan1 up > >> > ath1: ath_init: if_flags 0x8803 > >> > ath1: ath_stop_locked: invalid 0 if_flags 0x8803 > >> > R[ 0] (DS.V:0xcd027000 DS.P:0x1227000) L:01227060 D:00089000 * > >> > 00000000 00000800 0b802c2c 000000b2 > >> > 0000175f 00000100 2f808080 00000000 00000000 00000000 00000003 > >> > R[ 0] (DS.V:0xcd027060 DS.P:0x1227060) L:012270c0 D:0008a000 > >> > 00000000 00000800 00000000 00000000 > >> > 00000000 00000000 00000000 00000000 00000000 00000000 00000000 > >> > dev.ath.1.debug: 8 -> 0 > >> > /sbin/ifconfig.bin wlan1 inet6 fd35:ac5b:b116:10:: prefixlen 64 eui64 alias > >> > /sbin/ifconfig.bin wlan1 inet6 fd35:ac5b:b116:10:: prefixlen 64 alias anycast > >> > ifa_add_loopback_route: insertion failed: 17 > >> > ifconfig.bin: ioctl (SIOCAIFADDR): File exists > >> > /sbin/ifconfig.bin wlan2 create wlandev ath2 wlanmode adhoc country ZA > >> > wlan2: Ethernet address: 00:21:a4:32:38:c2 > >> > /sbin/ifconfig.bin wlan2 inet6 ifdisabled > >> > ath0: device timeout > >> > ar5416StopDmaReceive: dma failed to stop in 10ms > >> > AR_CR=0x00000024 > >> > AR_DIAG_SW=0x42000020 > >> > /sbin/ifconfig.bin wlan2 -bgscan channel 13 ssid hotspot bssid 02:0d:ca:fe:ca:00 > >> > /sbin/ifconfig.bin wlan2 inet6 -ifdisabled > >> > /sbin/ifconfig.bin wlan2 inet6 auto_linklocal > >> > /sbin/ifconfig.bin wlan2 inet6 -ifdisabled > >> > dev.ath.2.debug: 0 -> 8 > >> > /sbin/ifconfig.bin wlan2 up > >> > ath2: ath_init: if_flags 0x8803 > >> > ath2: ath_stop_locked: invalid 0 if_flags 0x8803 > >> > dev.ath.2.debug: 8 -> 0 > >> > /sbin/ifconfig.bin wlan2 inet 10.56.244.1/24 alias > >> > /sbin/ifconfig.bin wlan2 inet6 fd35:ac5b:b116:38f4:: prefixlen 64 eui64 alias > >> > /sbin/ifconfig.bin wlan2 inet6 fd35:ac5b:b116:38f4:: prefixlen 64 alias anycast > >> > ... > >> > ath0: device timeout > >> > ar5416StopDmaReceive: dma failed to stop in 10ms > >> > AR_CR=0x00000024 > >> > AR_DIAG_SW=0x42000020 > >> > ... > >> > tst-11-arm:~ # uptime > >> > 9:18AM up 2 mins, 1 user, load averages: 1.63, 0.70, 0.28 > >> > tst-11-arm:~ # sysctl hw.busdma > >> > hw.busdma.total_bpages: 512 > >> > hw.busdma.zone0.total_bpages: 512 > >> > hw.busdma.zone0.free_bpages: 375 > >> > hw.busdma.zone0.reserved_bpages: 0 > >> > hw.busdma.zone0.active_bpages: 137 > >> > hw.busdma.zone0.max_active_bpages: 137 > >> > hw.busdma.zone0.total_bounced: 1739 > >> > hw.busdma.zone0.total_deferred: 0 > >> > hw.busdma.zone0.lowaddr: 0x4000fff > >> > hw.busdma.zone0.alignment: 4096 > >> > tst-11-arm:~ # ath0: device timeout > >> > ar5416StopDmaReceive: dma failed to stop in 10ms > >> > AR_CR=0x00000024 > >> > AR_DIAG_SW=0x42000020 > >> > > >> > tst-11-arm:~ # uptime > >> > 9:20AM up 4 mins, 1 user, load averages: 0.68, 0.68, 0.34 > >> > tst-11-arm:~ # sysctl hw.busdma > >> > hw.busdma.total_bpages: 512 > >> > hw.busdma.zone0.total_bpages: 512 > >> > hw.busdma.zone0.free_bpages: 326 > >> > hw.busdma.zone0.reserved_bpages: 0 > >> > hw.busdma.zone0.active_bpages: 186 > >> > hw.busdma.zone0.max_active_bpages: 190 > >> > hw.busdma.zone0.total_bounced: 6592 > >> > hw.busdma.zone0.total_deferred: 0 > >> > hw.busdma.zone0.lowaddr: 0x4000fff > >> > hw.busdma.zone0.alignment: 4096 > >> > tst-11-arm:~ # ath0: device timeout > >> > ar5416StopDmaReceive: dma failed to stop in 10ms > >> > AR_CR=0x00000024 > >> > AR_DIAG_SW=0x42000020 > >> > ath0: device timeout > >> > ar5416StopDmaReceive: dma failed to stop in 10ms > >> > AR_CR=0x00000024 > >> > AR_DIAG_SW=0x42000020 > >> > #################### > >> > > >> > The 2 other interfaces did not seem to have a problem and after a reboot > >> > ath0/wlan0 was working fine again. > >> > > >> > John > >> > -- > >> > John Hay -- jhay@meraka.csir.co.za / jhay@meraka.org.za From owner-freebsd-wireless@FreeBSD.ORG Fri Jul 18 01:01:32 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 1A1EE8BA for ; Fri, 18 Jul 2014 01:01:32 +0000 (UTC) Received: from mail-ie0-x22a.google.com (mail-ie0-x22a.google.com [IPv6:2607:f8b0:4001:c03::22a]) (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 E03BE24BC for ; Fri, 18 Jul 2014 01:01:31 +0000 (UTC) Received: by mail-ie0-f170.google.com with SMTP id rl12so3972810iec.1 for ; Thu, 17 Jul 2014 18:01:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=1KFQFBqnmNBJe7ZhT2hapFCcecxRv+xl2s8MiLBAtGo=; b=GCNVttOO/iJmWT+FTHaPTC22D8EO84YZheh5UdcBm61mhnnb3+O3of3CV5ej2w4/c/ OGS9UOzmhrMXo2wg34dnRMpjAaWKR5BFZuJmB24TRsrhGN3b+jx/gmro0Nyo8LcgCPPh ft+AUDwOo04o4+DS049VuoQJqxurnC5hyN2hV1UqYilAna1uFvqg1UbsYKAUfmyYx+0i AB3n3hzRouH2JQiTFuTzs4PAyLPgbosB3LWddXsv2egp9IDLNDNZSNYwgcKsc20kcNPQ qTfQxX7DbuKe38cf21koDSi82LD4rgCbY/+cq2bxcmda6qAmAQMe0IyxDRsXuQoOzsPi QtOw== MIME-Version: 1.0 X-Received: by 10.42.76.139 with SMTP id e11mr2389938ick.77.1405645291270; Thu, 17 Jul 2014 18:01:31 -0700 (PDT) Received: by 10.64.20.1 with HTTP; Thu, 17 Jul 2014 18:01:31 -0700 (PDT) Date: Thu, 17 Jul 2014 21:01:31 -0400 Message-ID: Subject: Ralink RT2860 Frame retransmission From: Ramanujan Seshadri To: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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: Fri, 18 Jul 2014 01:01:32 -0000 Hello, I'm trying to reset the number of re-transmissions for data frames in Ralink RT2860 driver. Can anyone please tell me where i should be looking at. Thanks ram From owner-freebsd-wireless@FreeBSD.ORG Fri Jul 18 02:30:14 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 2FFC5536 for ; Fri, 18 Jul 2014 02:30:14 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B42C42AD8 for ; Fri, 18 Jul 2014 02:30:13 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X7xvv-0001h1-Sz for freebsd-wireless@freebsd.org; Fri, 18 Jul 2014 04:30:03 +0200 Received: from dynamic34-29.dynamic.dal.ca ([129.173.34.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Jul 2014 04:30:03 +0200 Received: from jrm by dynamic34-29.dynamic.dal.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Jul 2014 04:30:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-wireless@freebsd.org From: Joseph Mingrone Subject: iwn / Intel Centrino Advanced-N 6205 / WPA2-Enterprise Date: Thu, 17 Jul 2014 23:17:57 -0300 Lines: 79 Message-ID: <8661ivif56.fsf@gly.ftfl.ca> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dynamic34-29.dynamic.dal.ca User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) Cancel-Lock: sha1:LpaUr2RQ0sprNsfae/N+5X2lb6Q= X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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: Fri, 18 Jul 2014 02:30:14 -0000 Hello, I'm running 9.2-STABLE (r264631: Thu Apr 17 23:48:34 ADT 2014) amd64. The Intel Centrino Advanced-N 6205 wireless card works fine with the iwn driver on WPA2-Personal networks, but it's a different story with WPA2-Enterprise [1]. The problem is that the connection drops frequently, even when I'm only a few metres from the access point. This is what the entry looks like in /etc/wpa_supplicant.conf. network={ ssid="Dal-WPA2" scan_ssid=1 key_mgmt=WPA-EAP identity="me" password="my_password" eap=PEAP phase1="peaplabel=0" phase2="auth=MSCHAPV2" } Pasted at the end, is a sample of what I see in /var/log/messages. What else should I be looking at to debug the issue? Is this a known problem, perhaps related to some commits to current in the last few months (e.g., http://svnweb.freebsd.org/base?view=revision&revision=258829)? Is there any other debugging information I can provide to shed some light? Joseph [1] At least I think the problem is related to WPA2-Enterprise. I've only used WPA2-Enterprise with one network, but it's one I connect to daily and the problem is consistent. Jul 11 10:56:54 phe wpa_supplicant[374]: CTRL-EVENT-DISCONNECTED bssid=00:24:6c:be:4b:02 reason=0 Jul 11 10:56:54 phe kernel: wlan0: link state changed to DOWN Jul 11 10:56:54 phe wpa_supplicant[374]: Trying to associate with 00:24:6c:be:4b:02 (SSID='Dal-WPA2' freq=2412 MHz) Jul 11 10:57:04 phe wpa_supplicant[374]: Authentication with 00:24:6c:be:4b:02 timed out. Jul 11 10:57:07 phe wpa_supplicant[374]: Trying to associate with 00:24:6c:be:4b:12 (SSID='Dal-WPA2' freq=5180 MHz) Jul 11 10:57:17 phe wpa_supplicant[374]: Authentication with 00:24:6c:be:4b:12 timed out. Jul 11 10:57:17 phe wpa_supplicant[374]: Trying to associate with 00:24:6c:be:4b:12 (SSID='Dal-WPA2' freq=5180 MHz) Jul 11 10:57:17 phe wpa_supplicant[374]: Associated with 00:24:6c:be:4b:12 Jul 11 10:57:17 phe kernel: wlan0: link state changed to UP Jul 11 10:57:20 phe wpa_supplicant[374]: CTRL-EVENT-EAP-STARTED EAP authentication started Jul 11 10:57:20 phe wpa_supplicant[374]: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25 Jul 11 10:57:20 phe wpa_supplicant[374]: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected Jul 11 10:57:20 phe wpa_supplicant[374]: CTRL-EVENT-EAP-PEER-CERT depth=1 subject='/C=US/O=GeoTrust, Inc./CN=GeoTrust SSL CA' Jul 11 10:57:20 phe wpa_supplicant[374]: CTRL-EVENT-EAP-PEER-CERT depth=1 subject='/C=US/O=GeoTrust, Inc./CN=GeoTrust SSL CA' Jul 11 10:57:20 phe wpa_supplicant[374]: CTRL-EVENT-EAP-PEER-CERT depth=0 subject='/serialNumber=Nj2rTKIwnBBchbQSNCGG0zJhqiNNea-L/C=CA/ST=Nova Scotia/L=Halifax/O=Dalhousie University/OU=Networks and Systems/CN=network-authentication.dal.ca' Jul 11 10:57:20 phe wpa_supplicant[374]: EAP-MSCHAPV2: Authentication succeeded Jul 11 10:57:20 phe wpa_supplicant[374]: EAP-TLV: TLV Result - Success - EAP-TLV/Phase2 Completed Jul 11 10:57:20 phe wpa_supplicant[374]: CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully Jul 11 10:57:20 phe wpa_supplicant[374]: WPA: Key negotiation completed with 00:24:6c:be:4b:12 [PTK=CCMP GTK=CCMP] Jul 11 10:57:20 phe wpa_supplicant[374]: CTRL-EVENT-CONNECTED - Connection to 00:24:6c:be:4b:12 completed (reauth) [id=2 id_str=] Jul 11 11:17:22 phe wpa_supplicant[374]: Trying to associate with 00:24:6c:bd:0a:e2 (SSID='Dal-WPA2' freq=2437 MHz) Jul 11 11:17:22 phe wpa_supplicant[374]: CTRL-EVENT-DISCONNECTED bssid=00:24:6c:bd:0a:e2 reason=0 Jul 11 11:17:22 phe kernel: wlan0: link state changed to DOWN Jul 11 11:17:32 phe wpa_supplicant[374]: Authentication with 00:00:00:00:00:00 timed out. Jul 11 11:17:32 phe wpa_supplicant[374]: Trying to associate with 00:24:6c:bd:0a:e2 (SSID='Dal-WPA2' freq=2437 MHz) Jul 11 11:17:32 phe wpa_supplicant[374]: Associated with 00:24:6c:bd:0a:e2 Jul 11 11:17:32 phe kernel: wlan0: link state changed to UP Jul 11 11:17:35 phe wpa_supplicant[374]: CTRL-EVENT-EAP-STARTED EAP authentication started Jul 11 11:17:35 phe wpa_supplicant[374]: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25 Jul 11 11:17:35 phe wpa_supplicant[374]: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected Jul 11 11:17:35 phe wpa_supplicant[374]: CTRL-EVENT-EAP-PEER-CERT depth=1 subject='/C=US/O=GeoTrust, Inc./CN=GeoTrust SSL CA' Jul 11 11:17:35 phe wpa_supplicant[374]: CTRL-EVENT-EAP-PEER-CERT depth=1 subject='/C=US/O=GeoTrust, Inc./CN=GeoTrust SSL CA' Jul 11 11:17:35 phe wpa_supplicant[374]: CTRL-EVENT-EAP-PEER-CERT depth=0 subject='/serialNumber=Nj2rTKIwnBBchbQSNCGG0zJhqiNNea-L/C=CA/ST=Nova Scotia/L=Halifax/O=Dalhousie University/OU=Networks and Systems/CN=network-authentication.dal.ca' Jul 11 11:17:35 phe wpa_supplicant[374]: EAP-MSCHAPV2: Authentication succeeded Jul 11 11:17:35 phe wpa_supplicant[374]: EAP-TLV: TLV Result - Success - EAP-TLV/Phase2 Completed Jul 11 11:17:35 phe wpa_supplicant[374]: CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully Jul 11 11:17:35 phe wpa_supplicant[374]: WPA: Key negotiation completed with 00:24:6c:bd:0a:e2 [PTK=CCMP GTK=CCMP] Jul 11 11:17:35 phe wpa_supplicant[374]: CTRL-EVENT-CONNECTED - Connection to 00:24:6c:bd:0a:e2 completed (reauth) [id=2 id_str=] Jul 11 11:18:34 phe dhclient: New IP Address (wlan0): 134.190.131.203 Jul 11 11:18:34 phe dhclient: New Subnet Mask (wlan0): 255.255.254.0 Jul 11 11:18:34 phe dhclient: New Broadcast Address (wlan0): 134.190.131.255 Jul 11 11:18:34 phe dhclient: New Routers (wlan0): 134.190.130.1 Jul 11 11:53:53 phe wpa_supplicant[374]: CTRL-EVENT-DISCONNECTED bssid=00:24:6c:bd:0a:e2 reason=0 From owner-freebsd-wireless@FreeBSD.ORG Fri Jul 18 02:31:58 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B94AA568 for ; Fri, 18 Jul 2014 02:31:58 +0000 (UTC) Received: from mail-qa0-x22f.google.com (mail-qa0-x22f.google.com [IPv6:2607:f8b0:400d:c00::22f]) (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 7B8102AE4 for ; Fri, 18 Jul 2014 02:31:58 +0000 (UTC) Received: by mail-qa0-f47.google.com with SMTP id i13so2589149qae.34 for ; Thu, 17 Jul 2014 19:31:57 -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=a5DZBDIONdJvH2GqRMGveskkQgTc0ysYSjw7VETgxZ4=; b=pH3BWSH3C9KZFjkmM5035WpUM4qD1D+iLpM3Rciv57kWtSAxokDLzXPUvVna8as7qz Q/ajIuFMDrRphWTcnt54qj7mx6hRJSYKSd2mmapCQaoMSZcATVHs7SgPIrD5/Ikdxnn2 yMRbOZ5xnZHc371+vMu8hcDEtE+QLTySCwF4Nl16hOrJIU1AstSx8vW7DCBsNmEjnC+Y gAli5PJv9bp5IRXtQoihCgZecCGHzRVEIWjtcvWam6jclzPl7OPDQlOslKZ8N7j1XD46 sdy7gP083ucDo+jBOl91LdJdfScllQFPPugb1nudH+LescMEdc6NxbntNnsJlDH7I3CH AcFQ== MIME-Version: 1.0 X-Received: by 10.229.184.9 with SMTP id ci9mr2499688qcb.11.1405650717319; Thu, 17 Jul 2014 19:31:57 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.202.193 with HTTP; Thu, 17 Jul 2014 19:31:57 -0700 (PDT) In-Reply-To: <8661ivif56.fsf@gly.ftfl.ca> References: <8661ivif56.fsf@gly.ftfl.ca> Date: Thu, 17 Jul 2014 19:31:57 -0700 X-Google-Sender-Auth: dKxcq4bC9_5IdgTFWzL7wtLTORA Message-ID: Subject: Re: iwn / Intel Centrino Advanced-N 6205 / WPA2-Enterprise From: Adrian Chadd To: Joseph Mingrone Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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: Fri, 18 Jul 2014 02:31:58 -0000 Hi, Please try it with an -11 snapshot - some extra work was done on the intel iwn driver since 9.x and now. -a On 17 July 2014 19:17, Joseph Mingrone wrote: > Hello, > > I'm running 9.2-STABLE (r264631: Thu Apr 17 23:48:34 ADT 2014) amd64. > The Intel Centrino Advanced-N 6205 wireless card works fine with the iwn > driver on WPA2-Personal networks, but it's a different story with > WPA2-Enterprise [1]. > > The problem is that the connection drops frequently, even when I'm only > a few metres from the access point. > > This is what the entry looks like in /etc/wpa_supplicant.conf. > > network={ > ssid="Dal-WPA2" > scan_ssid=1 > key_mgmt=WPA-EAP > identity="me" > password="my_password" > eap=PEAP > phase1="peaplabel=0" > phase2="auth=MSCHAPV2" > } > > Pasted at the end, is a sample of what I see in /var/log/messages. What > else should I be looking at to debug the issue? Is this a known > problem, perhaps related to some commits to current in the last few > months (e.g., > http://svnweb.freebsd.org/base?view=revision&revision=258829)? Is there > any other debugging information I can provide to shed some light? > > Joseph > > [1] At least I think the problem is related to WPA2-Enterprise. I've > only used WPA2-Enterprise with one network, but it's one I connect to > daily and the problem is consistent. > > Jul 11 10:56:54 phe wpa_supplicant[374]: CTRL-EVENT-DISCONNECTED bssid=00:24:6c:be:4b:02 reason=0 > Jul 11 10:56:54 phe kernel: wlan0: link state changed to DOWN > Jul 11 10:56:54 phe wpa_supplicant[374]: Trying to associate with 00:24:6c:be:4b:02 (SSID='Dal-WPA2' freq=2412 MHz) > Jul 11 10:57:04 phe wpa_supplicant[374]: Authentication with 00:24:6c:be:4b:02 timed out. > Jul 11 10:57:07 phe wpa_supplicant[374]: Trying to associate with 00:24:6c:be:4b:12 (SSID='Dal-WPA2' freq=5180 MHz) > Jul 11 10:57:17 phe wpa_supplicant[374]: Authentication with 00:24:6c:be:4b:12 timed out. > Jul 11 10:57:17 phe wpa_supplicant[374]: Trying to associate with 00:24:6c:be:4b:12 (SSID='Dal-WPA2' freq=5180 MHz) > Jul 11 10:57:17 phe wpa_supplicant[374]: Associated with 00:24:6c:be:4b:12 > Jul 11 10:57:17 phe kernel: wlan0: link state changed to UP > Jul 11 10:57:20 phe wpa_supplicant[374]: CTRL-EVENT-EAP-STARTED EAP authentication started > Jul 11 10:57:20 phe wpa_supplicant[374]: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25 > Jul 11 10:57:20 phe wpa_supplicant[374]: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected > Jul 11 10:57:20 phe wpa_supplicant[374]: CTRL-EVENT-EAP-PEER-CERT depth=1 subject='/C=US/O=GeoTrust, Inc./CN=GeoTrust SSL CA' > Jul 11 10:57:20 phe wpa_supplicant[374]: CTRL-EVENT-EAP-PEER-CERT depth=1 subject='/C=US/O=GeoTrust, Inc./CN=GeoTrust SSL CA' > Jul 11 10:57:20 phe wpa_supplicant[374]: CTRL-EVENT-EAP-PEER-CERT depth=0 subject='/serialNumber=Nj2rTKIwnBBchbQSNCGG0zJhqiNNea-L/C=CA/ST=Nova Scotia/L=Halifax/O=Dalhousie University/OU=Networks and Systems/CN=network-authentication.dal.ca' > Jul 11 10:57:20 phe wpa_supplicant[374]: EAP-MSCHAPV2: Authentication succeeded > Jul 11 10:57:20 phe wpa_supplicant[374]: EAP-TLV: TLV Result - Success - EAP-TLV/Phase2 Completed > Jul 11 10:57:20 phe wpa_supplicant[374]: CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully > Jul 11 10:57:20 phe wpa_supplicant[374]: WPA: Key negotiation completed with 00:24:6c:be:4b:12 [PTK=CCMP GTK=CCMP] > Jul 11 10:57:20 phe wpa_supplicant[374]: CTRL-EVENT-CONNECTED - Connection to 00:24:6c:be:4b:12 completed (reauth) [id=2 id_str=] > Jul 11 11:17:22 phe wpa_supplicant[374]: Trying to associate with 00:24:6c:bd:0a:e2 (SSID='Dal-WPA2' freq=2437 MHz) > Jul 11 11:17:22 phe wpa_supplicant[374]: CTRL-EVENT-DISCONNECTED bssid=00:24:6c:bd:0a:e2 reason=0 > Jul 11 11:17:22 phe kernel: wlan0: link state changed to DOWN > Jul 11 11:17:32 phe wpa_supplicant[374]: Authentication with 00:00:00:00:00:00 timed out. > Jul 11 11:17:32 phe wpa_supplicant[374]: Trying to associate with 00:24:6c:bd:0a:e2 (SSID='Dal-WPA2' freq=2437 MHz) > Jul 11 11:17:32 phe wpa_supplicant[374]: Associated with 00:24:6c:bd:0a:e2 > Jul 11 11:17:32 phe kernel: wlan0: link state changed to UP > Jul 11 11:17:35 phe wpa_supplicant[374]: CTRL-EVENT-EAP-STARTED EAP authentication started > Jul 11 11:17:35 phe wpa_supplicant[374]: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25 > Jul 11 11:17:35 phe wpa_supplicant[374]: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected > Jul 11 11:17:35 phe wpa_supplicant[374]: CTRL-EVENT-EAP-PEER-CERT depth=1 subject='/C=US/O=GeoTrust, Inc./CN=GeoTrust SSL CA' > Jul 11 11:17:35 phe wpa_supplicant[374]: CTRL-EVENT-EAP-PEER-CERT depth=1 subject='/C=US/O=GeoTrust, Inc./CN=GeoTrust SSL CA' > Jul 11 11:17:35 phe wpa_supplicant[374]: CTRL-EVENT-EAP-PEER-CERT depth=0 subject='/serialNumber=Nj2rTKIwnBBchbQSNCGG0zJhqiNNea-L/C=CA/ST=Nova Scotia/L=Halifax/O=Dalhousie University/OU=Networks and Systems/CN=network-authentication.dal.ca' > Jul 11 11:17:35 phe wpa_supplicant[374]: EAP-MSCHAPV2: Authentication succeeded > Jul 11 11:17:35 phe wpa_supplicant[374]: EAP-TLV: TLV Result - Success - EAP-TLV/Phase2 Completed > Jul 11 11:17:35 phe wpa_supplicant[374]: CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully > Jul 11 11:17:35 phe wpa_supplicant[374]: WPA: Key negotiation completed with 00:24:6c:bd:0a:e2 [PTK=CCMP GTK=CCMP] > Jul 11 11:17:35 phe wpa_supplicant[374]: CTRL-EVENT-CONNECTED - Connection to 00:24:6c:bd:0a:e2 completed (reauth) [id=2 id_str=] > Jul 11 11:18:34 phe dhclient: New IP Address (wlan0): 134.190.131.203 > Jul 11 11:18:34 phe dhclient: New Subnet Mask (wlan0): 255.255.254.0 > Jul 11 11:18:34 phe dhclient: New Broadcast Address (wlan0): 134.190.131.255 > Jul 11 11:18:34 phe dhclient: New Routers (wlan0): 134.190.130.1 > Jul 11 11:53:53 phe wpa_supplicant[374]: CTRL-EVENT-DISCONNECTED bssid=00:24:6c:bd:0a:e2 reason=0 > > _______________________________________________ > 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" From owner-freebsd-wireless@FreeBSD.ORG Fri Jul 18 18:29:51 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 B6A48A18 for ; Fri, 18 Jul 2014 18:29:51 +0000 (UTC) Received: from n1plwbeout07-02.prod.ams1.secureserver.net (n1plsmtp07-02-02.prod.ams1.secureserver.net [188.121.52.107]) by mx1.freebsd.org (Postfix) with ESMTP id 305982115 for ; Fri, 18 Jul 2014 18:29:49 +0000 (UTC) Received: from localhost ([188.121.52.246]) by n1plwbeout07-02.prod.ams1.secureserver.net with bizsmtp id TuTi1o0015JjJNs01uTi6h; Fri, 18 Jul 2014 11:27:42 -0700 X-SID: TuTi1o0015JjJNs01 Received: (qmail 20679 invoked by uid 99); 18 Jul 2014 18:27:42 -0000 MIME-Version: 1.0 To: freebsd-wireless@freebsd.org From: s@familjenberger.com Subject: Support for Intel Dual-Band Wireless-N7260 Date: Fri, 18 Jul 2014 11:27:42 -0700 Message-Id: <20140718112742.86c7ed9a8a91cac4d19dcf816ccd588e.e8ceb5707c.mailapi@email07.europe.secureserver.net> X-Originating-IP: 80.244.92.231 User-Agent: MailAPI X-Sender: s@familjenberger.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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: Fri, 18 Jul 2014 18:29:51 -0000 Hello! First of all: I'm quiet new to the world of BSD. So if this is the wrong wa= y to do things, please forgive me. I have bough a shining new laptop, but neither FreeBSD 10 nor OpenBSD suppo= rt the wireless chip. >From what I gather the chip is an Intel Dual-Band Wireless-N7260. The lapto= p is a Sony Vaio Pro SVP1321M2EB.EC1. =20 pciconf -lv http://pastebin.com/m7W7pLqR dmesg http://pastebin.com/gfFaXHHd uname -a http://pastebin.com/S40JJ0EJ =20 I have no access to the Internet on my FreeBSD installation. But I can tran= sfer patches via my Ubuntu partition or a USB stick. =20 Samuel From owner-freebsd-wireless@FreeBSD.ORG Fri Jul 18 18:33:28 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2914EAAE for ; Fri, 18 Jul 2014 18:33:28 +0000 (UTC) Received: from mail-qc0-x232.google.com (mail-qc0-x232.google.com [IPv6:2607:f8b0:400d:c01::232]) (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 DD67121C4 for ; Fri, 18 Jul 2014 18:33:27 +0000 (UTC) Received: by mail-qc0-f178.google.com with SMTP id x3so3651594qcv.37 for ; Fri, 18 Jul 2014 11:33:27 -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=swTnAaRXNlcjKu0R50ctB3pwWdhApM/OZcP+UF9DIlg=; b=fTvS+H3ho1NjygT77XBUM3cuEKX4tj51Pf00U7j11fNrImQyDf68NOmsq63wIyIBoY zIJHcW68wEkkfJ3Hxu23PWt3lZCa05o9uHLSV1nLNZ0tToV8o4lJ02r+2Wwt1kIs679g 55+4hPza2pl3pme/SYLCMzE4wBECmm3Ub5DDHyCEQ3RUaxz+nDDYmwcygSTtQYWWL1yE dof4mURqc0ejsmBMWJr6CJWGqgWYS/rGkvUiwPqYWJw7U62Hd/9uaVANYLPnG8Wn+Paz 9piV/cmQBV/2hAQfwdDPcVhDoRhl9upWPz0D8soAmDl4WlCa+O09K3bb1OKhcIb1nVYl Xh2g== MIME-Version: 1.0 X-Received: by 10.224.223.135 with SMTP id ik7mr11689237qab.26.1405708406940; Fri, 18 Jul 2014 11:33:26 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.1.6 with HTTP; Fri, 18 Jul 2014 11:33:26 -0700 (PDT) In-Reply-To: <20140718112742.86c7ed9a8a91cac4d19dcf816ccd588e.e8ceb5707c.mailapi@email07.europe.secureserver.net> References: <20140718112742.86c7ed9a8a91cac4d19dcf816ccd588e.e8ceb5707c.mailapi@email07.europe.secureserver.net> Date: Fri, 18 Jul 2014 11:33:26 -0700 X-Google-Sender-Auth: G8AB_ry94A7C3TMZ3nB_K4P65ys Message-ID: Subject: Re: Support for Intel Dual-Band Wireless-N7260 From: Adrian Chadd To: s@familjenberger.com Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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: Fri, 18 Jul 2014 18:33:28 -0000 Hi! I'm sorry, I'm the nominal person who would do it but I'm just too burnt out to add this to the "things I'll do for free" pile. -a On 18 July 2014 11:27, wrote: > Hello! > > First of all: I'm quiet new to the world of BSD. So if this is the wrong way to do things, please forgive me. > > I have bough a shining new laptop, but neither FreeBSD 10 nor OpenBSD support the wireless chip. > From what I gather the chip is an Intel Dual-Band Wireless-N7260. The laptop is a Sony Vaio Pro SVP1321M2EB.EC1. > > pciconf -lv http://pastebin.com/m7W7pLqR > dmesg http://pastebin.com/gfFaXHHd > uname -a http://pastebin.com/S40JJ0EJ > > I have no access to the Internet on my FreeBSD installation. But I can transfer patches via my Ubuntu partition or a USB stick. > > Samuel > _______________________________________________ > 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" From owner-freebsd-wireless@FreeBSD.ORG Sat Jul 19 09:28: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 26823FD9 for ; Sat, 19 Jul 2014 09:28:12 +0000 (UTC) Received: from smtp.smtpout.orange.fr (smtp12.smtpout.orange.fr [80.12.242.134]) by mx1.freebsd.org (Postfix) with ESMTP id C2FC329D5 for ; Sat, 19 Jul 2014 09:28:10 +0000 (UTC) Received: from [192.168.1.10] ([2.2.66.194]) by mwinf5d35 with ME id U9U11o0024BUT9u039U15q; Sat, 19 Jul 2014 11:28:02 +0200 X-ME-Helo: [192.168.1.10] X-ME-Date: Sat, 19 Jul 2014 11:28:02 +0200 X-ME-IP: 2.2.66.194 Message-ID: <53CA39A3.1040605@scribot.fr> Date: Sat, 19 Jul 2014 11:25:55 +0200 From: alain User-Agent: Mozilla/5.0 (X11; Linux i686; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26 MIME-Version: 1.0 To: "freebsd-wireless@freebsd.org" Subject: Ralink RT2500 X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18 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: Sat, 19 Jul 2014 09:28:12 -0000 Hi I'm looking for an RT2500 PCM driver. Anybody got one or knows where to find one ? Thanx**10, A.