From owner-freebsd-wireless@freebsd.org Sun Jun 11 21:00:14 2017 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0BF22B94A27 for ; Sun, 11 Jun 2017 21:00:14 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F2D4F76608 for ; Sun, 11 Jun 2017 21:00:13 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v5BL01xN064872 for ; Sun, 11 Jun 2017 21:00:13 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201706112100.v5BL01xN064872@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-wireless@FreeBSD.org Subject: Problem reports for freebsd-wireless@FreeBSD.org that need special attention Date: Sun, 11 Jun 2017 21:00:13 +0000 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.23 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: Sun, 11 Jun 2017 21:00:14 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- New | 206801 | iwn(4) page fault on netif restart Open | 154598 | [ath] Atheros 5424/2424 can't connect to WPA netw Open | 163312 | [panic] [ath] kernel panic: page fault with ath0 Open | 166190 | [ath] TX hangs and frames stuck in TX queue Open | 166357 | [ath] 802.11n TX stall when the first frame in th Open | 169362 | [ath] AR5416: radar pulse PHY errors sometimes in Open | 169433 | [iwn] iwn(4) doesn't support 6235 chip. Open | 211689 | panic with lagg failover wireless ath and iwm 8 problems total for which you should take action. From owner-freebsd-wireless@freebsd.org Mon Jun 12 20:19:47 2017 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9FB6EC7713E for ; Mon, 12 Jun 2017 20:19:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8369B7D147 for ; Mon, 12 Jun 2017 20:19:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v5CKJkTa016594 for ; Mon, 12 Jun 2017 20:19:47 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 194336] AR9300 pci wireless card not working Date: Mon, 12 Jun 2017 20:19:46 +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.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eli@egwynn.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.23 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2017 20:19:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194336 Eli Gwynn changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eli@egwynn.com --- Comment #27 from Eli Gwynn --- I have zero experience with wlan drivers, but this thread was the key to ma= king my hardware work, so I figured I'd add my own details here in case they are helpful to someone else. My use case involves the wlan device in hostap mode bridged with my wired nic to expand the wifi coverage in my house. --- My Hardware Rosewill RNWD-N9003PCE (Ver 1.0) - WikiDevi: https://wikidevi.com/wiki/Rosewill_N900PCE - Amazon: https://www.amazon.com/gp/product/B009VKON0S FWIW, I live in the US and didn't have any inclination that I might end up = with a non-US device. The only hint that my device might be non-US (Canadian?) is that some of the packaging is doubled up in French. --- pciconf ath0@pci0:2:0:0: class=3D0x028000 card=3D0x3112168c chip=3D0x0030168= c rev=3D0x01 hdr=3D0x00 vendor =3D 'Qualcomm Atheros' device =3D 'AR93xx Wireless Network Adapter' class =3D network --- dmesg (pre-patch) Jun 11 09:51:02 zfs kernel: pcib2: irq 17 at device 2= 8.5 on pci0 Jun 11 09:51:02 zfs kernel: pci2: on pcib2 Jun 11 09:51:02 zfs kernel: ath0: mem 0xdf100000-0xdf11ffff irq 17 at device 0.0 on pci2 Jun 11 09:51:02 zfs kernel: ar9300_attach: calling ar9300_hw_attach Jun 11 09:51:02 zfs kernel: ar9300_hw_attach: calling ar9300_eeprom_attach Jun 11 09:51:02 zfs kernel: ar9300_flash_map: unimplemented for now Jun 11 09:51:02 zfs kernel: Restoring Cal data from DRAM Jun 11 09:51:02 zfs kernel: Restoring Cal data from EEPROM Jun 11 09:51:02 zfs kernel: ar9300_hw_attach: ar9300_eeprom_attach returned= 0 Jun 11 09:51:02 zfs kernel: ath0: ath_getchannels: unable to collect channel list from hal, status 12 Jun 11 09:51:02 zfs kernel: device_attach: ath0 attach returned 22 --- Steps I took 1. I ran `make buildworld` in order to get my build tools back in sync with= my sources 2. I added `options AH_DEBUG` to my kernel's conf 3. I ran `make buildkernel`, `make installkernel`, and rebooted 4. I ran `sysctl hw.ath.hal.debug=3D1` 5. I used `devctl detach pci2` and `devctl attach pci2` to trigger the malfunction again 6. I observed that my device was also showing up as > Jun 12 14:53:41 zfs kernel: isEepromValid: invalid regulatory domain/coun= try code 0x14 7. I applied both of Jung-uk Kim's attached patches (https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D165875&action=3Ddiff= and https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D165880&action=3Ddiff) 8. I ran `make buildkernel` and `make installkernel` again 9. I rebooted and then my card worked --- PS Are the solutions presented in this thread good enough to make it into the mainline driver? I'd hate to have to do this again when next I do a freebsd-update. Thanks to everyone for all the good work! --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Thu Jun 15 13:57:02 2017 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 57419D8AF56 for ; Thu, 15 Jun 2017 13:57:02 +0000 (UTC) (envelope-from listjm@club.fr) Received: from smtp26.services.sfr.fr (smtp26.services.sfr.fr [93.17.128.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 207727628F for ; Thu, 15 Jun 2017 13:57:01 +0000 (UTC) (envelope-from listjm@club.fr) Received: from [192.168.1.51] (155.5.195.77.rev.sfr.net [77.195.5.155]) by msfrf2609.sfr.fr (SMTP Server) with ESMTP id 7C8D31C001C6E; Thu, 15 Jun 2017 15:49:42 +0200 (CEST) Received: from [192.168.1.51] (155.5.195.77.rev.sfr.net [77.195.5.155]) (Authenticated sender: juanmolina@sfr.fr) by msfrf2609.sfr.fr (SMTP Server) with ESMTPA; Thu, 15 Jun 2017 15:49:42 +0200 (CEST) Authentication-Results: sfr.fr; auth=pass (PLAIN) smtp.auth=juanmolina@sfr.fr Subject: Re: please test iwm again To: adrian.chadd@gmail.com, freebsd-wireless@freebsd.org From: Juan =?iso-8859-1?b?UmFt824=?= Molina Menor Message-ID: Date: Thu, 15 Jun 2017 15:49:40 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 X-sfr-mailing: LEGIT Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.23 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, 15 Jun 2017 13:57:02 -0000 > hiya, > > I've updated iwm some more again. It's not quite up to date with > dragonflybsd - I've hit a merge conflict set that requires a little > more thinking. > > So I'd appreciate some more iwm testing. > > I'm about 20 patches away from getting us to iwm in DFbsd circa > January, and then I'll forward things along further after that. > Hopefully the newer chipset support will come in around then too. > > > > -adrian Hi! After updating my laptop, the 7260 card works as well as before. On the other hand, my usage is very simple: connecting automatically to my home AP in g mode, no roaming involved. I’ve just surfed the web for a while and downloaded some big files at speeds equivalent to what I get in Windows (around 700 KiB/s). If there is something you want me to test, just ask. Thanks!