From owner-freebsd-wireless@freebsd.org Sun May 15 21:00:38 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 78E76B3CD9B for ; Sun, 15 May 2016 21:00:38 +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 60F5D1DE0 for ; Sun, 15 May 2016 21:00:38 +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 u4FL01sp037409 for ; Sun, 15 May 2016 21:00:38 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201605152100.u4FL01sp037409@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, 15 May 2016 21:00:38 +0000 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 May 2016 21:00:38 -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. 7 problems total for which you should take action. From owner-freebsd-wireless@freebsd.org Sun May 15 22:27:18 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A276B3B878; Sun, 15 May 2016 22:27:18 +0000 (UTC) (envelope-from mva@FreeBSD.org) Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de [80.67.31.41]) (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 D45591FA6; Sun, 15 May 2016 22:27:14 +0000 (UTC) (envelope-from mva@FreeBSD.org) Received: from [77.186.19.122] (helo=localhost) by smtprelay03.ispgateway.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84) (envelope-from ) id 1b24CD-0002jG-Nt; Mon, 16 May 2016 00:07:33 +0200 Date: Mon, 16 May 2016 00:07:28 +0200 From: Marcus von Appen To: current@FreeBSD.org, freebsd-wireless@FreeBSD.org Subject: rtwn(0) panics with RTL8188CE Message-ID: <20160515220728.GA954@athena.fritz.box> Reply-To: Marcus von Appen Mail-Followup-To: current@FreeBSD.org, freebsd-wireless@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.6.1 (2016-04-27) X-Df-Sender: MTEyNTc0Mg== X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 May 2016 22:27:18 -0000 Dear all, thankfully -CURRENT supports the RTL8188CE wifi chipset via rtwn(0) on the Thinkpad X230. Unfortunately the connection to the AP drops nine times out of ten after transmitting a few kb. Trying to reconnect via service netif restart will cause a panic: panic: Memory modified after free 0xfffff80005c50800(2048) val=3D19 @ 0xfff= ff80005c50800 cpuid =3D 0 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe04552ae= 540 vpanic() at vpanic+0x186/frame 0xfffffe04552ae5c0 panic() at panic+0x43/frame 0xfffffe04552ae620 trash_ctor() at trash_ctor+0x4b/frame 0xfffffe04552ae630 mb_ctor_pack() at mb_ctor_pack+0x3c/frame 0xfffffe04552ae670 uma_zalloc_arg() at uma_zalloc_arg+0x504/frame 0xfffffe04552ae6d0 m_getm2() at m_getm2+0x12d/frame 0xfffffe04552ae740 m_uiotombuf() at m_uiotombuf+0x62/frame 0xfffffe04552ae790 sosend_generic() at sosend_generic+0x356/frame 0xfffffe04552ae850 kern_sendit() at kern_sendit+0x244/frame 0xfffffe04552ae900 sendit() at sendit+0x126/frame 0xfffffe04552ae950 sys_sendto() at sys_sendto+0x4d/frame 0xfffffe04552ae9a0 amd64_syscall() at amd64_syscall+0x2db/frame 0xfffffe04552aeab0 Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe04552aeab0 --- syscall (133, FreeBSD ELF64, sys_sendto), rip =3D 0x8015aac6a, rsp =3D = 0x7fffffffd6a8, rbp =3D 0 x7fffffffe3b0 --- pciconf -lv: [...] rtwn0@pci0:3:0:0: class=3D0x028000 card=3D0x819510ec chip=3D0x817610ec rev= =3D0x01 hdr=3D0x00 vendor =3D 'Realtek Semiconductor Co., Ltd.' device =3D 'RTL8188CE 802.11b/g/n WiFi Adapter' class =3D network Any help on getting this fixed is highly appreciated.=20 Cheers Marcus From owner-freebsd-wireless@freebsd.org Mon May 16 09:38:01 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4168AB3B754; Mon, 16 May 2016 09:38:01 +0000 (UTC) (envelope-from mva@FreeBSD.org) Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de [80.67.29.7]) (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 0B0CC1E65; Mon, 16 May 2016 09:38:00 +0000 (UTC) (envelope-from mva@FreeBSD.org) Received: from [78.51.112.64] (helo=localhost) by smtprelay03.ispgateway.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84) (envelope-from ) id 1b2Ew9-00009S-3h; Mon, 16 May 2016 11:35:41 +0200 Date: Mon, 16 May 2016 11:35:35 +0200 From: Marcus von Appen To: current@FreeBSD.org, freebsd-wireless@FreeBSD.org Subject: Re: rtwn(0) panics with RTL8188CE Message-ID: <20160516093535.GA914@athena.fritz.box> Reply-To: Marcus von Appen Mail-Followup-To: current@FreeBSD.org, freebsd-wireless@FreeBSD.org References: <20160515220728.GA954@athena.fritz.box> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160515220728.GA954@athena.fritz.box> User-Agent: Mutt/1.6.1 (2016-04-27) X-Df-Sender: MTEyNTc0Mg== X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 09:38:01 -0000 On, Mon May 16, 2016, Marcus von Appen wrote: [...] this one seems to provide some more information. I have no idea, if both crash types are related or not. Unread portion of the kernel message buffer: rtwn0: can't map mbuf (error 12) panic: Duplicate free of 0xfffff800c94c1300 from zone 0xfffff800056c4900(mbuf_packet) slab 0xfffff800c94c1f90(3) cpuid = 1 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe04535f5660 vpanic() at vpanic+0x186/frame 0xfffffe04535f56e0 panic() at panic+0x43/frame 0xfffffe04535f5740 uma_dbg_free() at uma_dbg_free+0xee/frame 0xfffffe04535f5770 uma_zfree_arg() at uma_zfree_arg+0x64/frame 0xfffffe04535f57c0 mb_free_ext() at mb_free_ext+0x155/frame 0xfffffe04535f57f0 m_freem() at m_freem+0x38/frame 0xfffffe04535f5810 rtwn_raw_xmit() at rtwn_raw_xmit+0x7b/frame 0xfffffe04535f5840 ieee80211_send_probereq() at ieee80211_send_probereq+0x514/frame 0xfffffe04535f58e0 ieee80211_swscan_probe_curchan() at ieee80211_swscan_probe_curchan+0x5a/frame 0xfffffe04535f5920 scan_curchan() at scan_curchan+0x68/frame 0xfffffe04535f5960 scan_curchan_task() at scan_curchan_task+0x247/frame 0xfffffe04535f59e0 taskqueue_run_locked() at taskqueue_run_locked+0xf0/frame 0xfffffe04535f5a40 taskqueue_thread_loop() at taskqueue_thread_loop+0x88/frame 0xfffffe04535f5a70 fork_exit() at fork_exit+0x84/frame 0xfffffe04535f5ab0 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe04535f5ab0 --- trap 0, rip = 0, rsp = 0, rbp = 0 --- From owner-freebsd-wireless@freebsd.org Mon May 16 10:39:55 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AC75EB3CBFF; Mon, 16 May 2016 10:39:55 +0000 (UTC) (envelope-from s3erios@gmail.com) Received: from mail-lb0-x230.google.com (mail-lb0-x230.google.com [IPv6:2a00:1450:4010:c04::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 32798127E; Mon, 16 May 2016 10:39:55 +0000 (UTC) (envelope-from s3erios@gmail.com) Received: by mail-lb0-x230.google.com with SMTP id n11so48616689lbh.1; Mon, 16 May 2016 03:39:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:subject:references:date:cc:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=aQCp+D9VO89oijV9T8xRWXIG8s0y13BOAggPJAmJ7d0=; b=dJj+jWNij+SG8ZeVwoSAVIxnNwpfB1nL+XzjuIJrhkoxufsTLzXNh6l9HqFDW7eix5 c8E2miBc7zGWBlKq7/dIhzOde1PKYM3uCP8GO+5MsIw0MG9LDANfHFIKT69/VmJMpGGL hq/mDx+YeCwHoo/sBoXpWIyFybaxE47UMSV/KzmTk7WzrLtVJatQr/Gm7kZ1PLhPDpO9 WPAFLKe0zP479bR7UsWmSQCPYhdx53v8H15UDvCzb33TDMRXafYSUhtGLPxhSEmb3x5z Q+62q7p2+1l+QbLlWhAVvHxOEZURhy0UJq1891a1MHxaXE6GTd8zFCxEa6zyKZEUheFU hupQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:subject:references:date:cc:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=aQCp+D9VO89oijV9T8xRWXIG8s0y13BOAggPJAmJ7d0=; b=USwOVZjaybdc9Xfq3CKeGzFYlWfos/evnwJOGoDNW1PeufN1TjIapJhLOlSMoqp6Bu pevI/4EjzVu0rSTEgi4ioIBX/7MOxQ0ZsyyHcoM2Pikc4r20ZttTN3c1gMi1mzRMIIeP D989IG/mL980Xj1fvCD29/WSYecHEHgnu15YlUIXVVULyme4onFMGiXWGGWtV56nYIIa WKBEWhURToCzTUpRz6Mo/dl5iiE93XjANvky9CH/V70NmmB0tU+7G8JchgLaO640IXTV hGff7yrcjmNMKo7BMfO6vEB7UqeTusm2VDjMtNSpoY64EiimFvzP+sShFXRaWBtvQGgH ijbg== X-Gm-Message-State: AOPr4FWmQWyI6eoAU0UUVnh4JI8P9cxQY5J/qEAgj3POtov0eDpdMPaHwzcSuX63kD1CVg== X-Received: by 10.112.148.131 with SMTP id ts3mr11318953lbb.20.1463395193450; Mon, 16 May 2016 03:39:53 -0700 (PDT) Received: from localhost (host-176-37-109-22.la.net.ua. [176.37.109.22]) by smtp.gmail.com with ESMTPSA id ns2sm994754lbb.12.2016.05.16.03.39.52 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 16 May 2016 03:39:52 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Marcus von Appen" Subject: Re: rtwn(0) panics with RTL8188CE References: <20160515220728.GA954@athena.fritz.box> <20160516093535.GA914@athena.fritz.box> Date: Mon, 16 May 2016 13:39:48 +0300 Cc: "current@freebsd.org" , "freebsd-wireless@freebsd.org" MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: "Andriy Voskoboinyk" Message-ID: In-Reply-To: <20160516093535.GA914@athena.fritz.box> User-Agent: Opera Mail/12.16 (FreeBSD) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 10:39:55 -0000 Mon, 16 May 2016 12:35:35 +0300 =D0=B1=D1=83=D0=BB=D0=BE =D0=BD=D0=B0=D0= =BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE Marcus von Appen = : > m_freem() at m_freem+0x38/frame 0xfffffe04535f5810 There is double free in xmit path; I will fix it soon. From owner-freebsd-wireless@freebsd.org Mon May 16 21:43:01 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7B5CBB3847D for ; Mon, 16 May 2016 21:43:01 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from gw.catspoiler.org (unknown [IPv6:2602:304:b010:ef20::f2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gw.catspoiler.org", Issuer "gw.catspoiler.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5737511DA for ; Mon, 16 May 2016 21:43:01 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.15.2/8.15.2) with ESMTP id u4GLgs8d072880 for ; Mon, 16 May 2016 14:42:58 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <201605162142.u4GLgs8d072880@gw.catspoiler.org> Date: Mon, 16 May 2016 12:42:50 -0700 (PDT) From: Don Lewis Subject: minor array overflow in ifconfig set80211chanlist() To: freebsd-wireless@FreeBSD.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 21:43:01 -0000 I asked adrian@ privately and he sent me here ... Coverity is complaining about an array overflow in set80211chanlist(). The code in question is: if (first > IEEE80211_CHAN_MAX) errx(-1, "channel %u out of range, max %u", first, IEEE80211_CHAN_MAX); setbit(chanlist.ic_channels, first); The value of IEEE80211_CHAN_MAX is 256, so first could be as large as 256 and setbit() would still be called. The ifconfig man page says that channel numbers should be in the range 1 to 255, so I think the correct fix would be to change this test (as well as others that follow) to >= IEEE80211_CHAN_MAX. Does that look correct? Adrian suggested that maybe IEEE80211_CHAN_MAX should be 255. From owner-freebsd-wireless@freebsd.org Mon May 16 22:01:37 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 38998B389BA for ; Mon, 16 May 2016 22:01:37 +0000 (UTC) (envelope-from s3erios@gmail.com) Received: from mail-lf0-x242.google.com (mail-lf0-x242.google.com [IPv6:2a00:1450:4010:c07::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B334F1CD2; Mon, 16 May 2016 22:01:36 +0000 (UTC) (envelope-from s3erios@gmail.com) Received: by mail-lf0-x242.google.com with SMTP id y84so15662361lfc.3; Mon, 16 May 2016 15:01:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:subject:references:date:cc:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=6+w87xeImJ320jM+9etBl6FWMtwMJ++pCHMkWRVFkdQ=; b=0PC5ZcXOiaLTjJ/J1TNXDO9CUOEEzqqLl+QB2oJW5DUGcLZV1jz4m5g/puC7FeTcd8 voCIsFYLZuNXhp8nc9Ps7ehL9Z9TYaXoJC/wQm4BNg/9Rqvw4e+Cv8ACuH82yFEUdPJm aQW8w89jthit5djG8x63qsCbOj2FRQ6yU6wEIqMlj/29vScP3wAtfZRD5WoF/iPCJBqZ PsZ7BDX8ulUNdTUbtF0JO3HlSAc0FIRlpzicns7aOgbg3bA1LL+6l9duh1eOU33mARsh OmQvxvD00UvDUSfuhS+xWaQmfcEpUHu6AVui7WSTg3za1LkIWU/ESQVUlO08NmYHobOb JNKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:subject:references:date:cc:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=6+w87xeImJ320jM+9etBl6FWMtwMJ++pCHMkWRVFkdQ=; b=awM7hOyusqFj8CjbknE6g/QhQxoeJ6N1xWOe2tn2Y18B8sIWw2ImpynE76pNsGGtz1 EDtsAJmb8QcDpoT2TkATx4zCf+ndMyf3kln/3T+8CSvI39+BExqz0ceWWe4MWmqWzMPb UQywPYRIIX5KG8t8Z+R6tcqQDddiEYZ7nndlvevlHt41wpEdKw7E/dg3M2HTZZiYIGvd usIkChddY7WrXtxS11+on2r8jR49HGjZouGHCLoI7f6U+D21u+ME5DBl6bSU27tGZLDl 0pUVbpMh9g6q8SXwVBWo12AphT8jUjge1qXP7sABUsAV1I9pXL/9XTor2CtmDqi69XmV g2EQ== X-Gm-Message-State: AOPr4FVuVdgigztWXL7PYwo20VSlGI4pyhij6aNCrf5e7uM8q0gFzHz2ov86EMXGExuiGQ== X-Received: by 10.25.35.145 with SMTP id j139mr10728791lfj.55.1463436094664; Mon, 16 May 2016 15:01:34 -0700 (PDT) Received: from localhost (host-176-37-109-22.la.net.ua. [176.37.109.22]) by smtp.gmail.com with ESMTPSA id q1sm5499828lbo.4.2016.05.16.15.01.31 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 16 May 2016 15:01:33 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Don Lewis" Subject: Re: minor array overflow in ifconfig set80211chanlist() References: <201605162142.u4GLgs8d072880@gw.catspoiler.org> Date: Tue, 17 May 2016 01:01:26 +0300 Cc: "freebsd-wireless@freebsd.org" MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: "Andriy Voskoboinyk" Message-ID: In-Reply-To: <201605162142.u4GLgs8d072880@gw.catspoiler.org> User-Agent: Opera Mail/12.16 (FreeBSD) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 22:01:37 -0000 Mon, 16 May 2016 22:42:50 +0300 =D0=B1=D1=83=D0=BB=D0=BE =D0=BD=D0=B0=D0= =BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE Don Lewis = : > I asked adrian@ privately and he sent me here ... > > Coverity is complaining about an array overflow in set80211chanlist().= > > The code in question is: > if (first > IEEE80211_CHAN_MAX) > errx(-1, "channel %u out of range, max= = > %u", > first, IEEE80211_CHAN_MAX); > setbit(chanlist.ic_channels, first); > > The value of IEEE80211_CHAN_MAX is 256, so first could be as large as > 256 and setbit() would still be called. > > The ifconfig man page says that channel numbers should be in the range= > 1 to 255, so I think the correct fix would be to change this test (as > well as others that follow) to >=3D IEEE80211_CHAN_MAX. > > Does that look correct? Yes, it's correct (however, there is no driver with such big channel tab= le, so it cannot be reproduced right now). + there is an overflow in the next (last > CHAN_MAX) check too. > > Adrian suggested that maybe IEEE80211_CHAN_MAX should be 255. It is already used as channel array size and max channel number; changing it's meaning to [max array index] will require more changes (one in regdomain_addchans(), more in net80211 and drivers). > > > > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to = > "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@freebsd.org Mon May 16 22:03:04 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2EAC0B38B20 for ; Mon, 16 May 2016 22:03:04 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EFA1C1DB5; Mon, 16 May 2016 22:03:03 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-ig0-x235.google.com with SMTP id s8so301669ign.0; Mon, 16 May 2016 15:03:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=N4M+MgbehFV4WHFTfzyU2cClX4hsvDNnoS83ZPzlR4g=; b=ngtyTXmU7C6qz03ARKrNcaCcVKKIDaV0Nm1F/hh5j9hPYwzYRkwx+E7uxDJ8+zKKVQ OaoDs4fjhNdudHYExt5y6u4Z0i672sFwCgNFFx1LdB2rMZrJcy3SaPRDbtdcm84L7mG3 Smz7wAtIx42DrwNFWZlRkUrymYkiWpStHi1UMEPjNF5636O/YTwVFlLaEByAHMAR8va6 Xs0qC3WiazaK1B9prDZINHRt6P5tQLLZrXB7NQisQuISh6pxnZlJ7vZYrHQdwgbSbfm3 XCFRSWrCqDRy+H2OSluuQVQ7nrQOP9dsO1lF91iylUwVbLEuAA4DBo9T1n9RL0RqT+4X +rhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=N4M+MgbehFV4WHFTfzyU2cClX4hsvDNnoS83ZPzlR4g=; b=Wu9S8HzcyTmf4egETHI3jO/c41YxZt52/HSTDzjlCtMF2DTHtuc4fFxe+NS0ObDzbi 3OG4t0V+KkspuEsxAlmUhC+iT/zr7nEKfGN5RsmuNHgSDDbKz0Gwjbr9aqOmURuykXqv 2xQULaSaoq8cqq7i9AAzMGUnTqqTv13Pihn60hgj9nkljI80Pe8++V1XHzpN9C6Xr7e3 cQ2cHCfPAhHHCHTQoRdShzZrQ9ELxMUQHmv5onwnHSqLC0ARoaTuawVJ9xJcZ/yJD7ZJ 1BXXQCopY1HKDg7Zhh1XQiyH1sveqclbcLjsmNmWHBmu99CMiiwiR8J7JCQXPYiQfISC KM2g== X-Gm-Message-State: AOPr4FXNNeNv2FL0EUX9v6hv2oow9soZFjbmoBKCAR8S63E91qQ4zI2uOJTzUJPfxKPFUEG3CAn3IW/Xp1p7Vg== MIME-Version: 1.0 X-Received: by 10.50.3.73 with SMTP id a9mr10331595iga.22.1463436183292; Mon, 16 May 2016 15:03:03 -0700 (PDT) Received: by 10.36.113.3 with HTTP; Mon, 16 May 2016 15:03:03 -0700 (PDT) In-Reply-To: References: <201605162142.u4GLgs8d072880@gw.catspoiler.org> Date: Mon, 16 May 2016 15:03:03 -0700 Message-ID: Subject: Re: minor array overflow in ifconfig set80211chanlist() From: Adrian Chadd To: Andriy Voskoboinyk Cc: Don Lewis , "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 22:03:04 -0000 Heh, god, it's used for both maximum ieee channel number /and/ the array size? we should eventually fix that; 11ac channels will likely overflow all of the above. :( -a From owner-freebsd-wireless@freebsd.org Mon May 16 22:08:52 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ED600B38BB3 for ; Mon, 16 May 2016 22:08:52 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B8C751F9B; Mon, 16 May 2016 22:08:52 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x22d.google.com with SMTP id i75so748528ioa.3; Mon, 16 May 2016 15:08:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-transfer-encoding; bh=Gkt/2njwZT/Qucwvd91WsLamDvVaSrCqXRpW69jJFBo=; b=QVNbQaRpO9tMExng8zofuJZeuDchllP5i8A1JeVGboqmG/qVsRtQFapMAIOVifqtSt PJ7RR7ZEXOAicFC0S+n15FTHpskXnmxY+dYhsSJYY1ECG1LU4VD+bzbyl6ZPwyb1DCxs I63lbTKZ2TNvSThglYYEDK0UoYxa0nTfaMbz0cszbVX7YVQexV7frkyfszE3WGzIjtkc xVpBpwROR4aiVNJIDooNkckcfM1fbr30KW3dVwSm+GLPE30nybhA2SIvaKx+khaoQGoy 4JHnzXSbX2Joh/twrknnTbmveBwuoE1RiDzwF/XCxKGWEkekPE7JatnmDmQU7fIfZH9S yERw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-transfer-encoding; bh=Gkt/2njwZT/Qucwvd91WsLamDvVaSrCqXRpW69jJFBo=; b=i74cZZ8cwSi8ByVglUPqCkzTHD8R7nRmXhK+DNYSyqO1UPI7tbYPniyWIc03Zgip3p NEesGN1vV/kfbSJbywFPRGZeurXZoKB3RfQ99CHGQtVsjCyM48zfKOjrbymPsEr2ZT8q Dx/PezC5B+FIGFKQupZ1baH9OCHSQH1ESqZhnq7GS7yEItqpy2++Qq6pbf05pJkGt9Fv rNHONXPadaHHZ9JFJud5Nbdtt1S+p4GExTbIfD8ZmPHwgf3FTz8E48LOa7FxzzA4A+O+ XgMu0CBCSaPUeuAJuR4XUQgyua0Sjr0yzgDsN/Iq9UpFOWofWhStEFB24KUSAByO9rHt 3ovA== X-Gm-Message-State: AOPr4FVB/YnUGRLUSL1peZ4v5FwK+rKko3Hz4zxzaQJVluNEBPctctopxyZX5CGFjNWqGQHa0KilsZx9Yc0TkA== MIME-Version: 1.0 X-Received: by 10.36.81.79 with SMTP id s76mr10900889ita.71.1463436532255; Mon, 16 May 2016 15:08:52 -0700 (PDT) Received: by 10.36.113.3 with HTTP; Mon, 16 May 2016 15:08:52 -0700 (PDT) In-Reply-To: References: <201605162142.u4GLgs8d072880@gw.catspoiler.org> Date: Mon, 16 May 2016 15:08:52 -0700 Message-ID: Subject: Re: minor array overflow in ifconfig set80211chanlist() From: Adrian Chadd To: Andriy Voskoboinyk Cc: Don Lewis , "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 22:08:53 -0000 On 16 May 2016 at 15:05, Andriy Voskoboinyk wrote: > Tue, 17 May 2016 01:03:03 +0300 =D0=B1=D1=83=D0=BB=D0=BE =D0=BD=D0=B0=D0= =BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE Adrian Chadd > : > >> Heh, god, it's used for both maximum ieee channel number /and/ the >> array size? we should eventually fix that; 11ac channels will likely >> overflow all of the above. :( > > > No (yes) :) > I mean ic->ic_nchans and nitems(ic->ic_channels) > ... but you are right: ic_ieee is uint8_t, so it's limited by this number > too. Right. Well, for 11ac they still have the IEEE number, but they also have separate frequency definitions in the IEs for upper/lower 80MHz and the configuration therein. -adrian From owner-freebsd-wireless@freebsd.org Mon May 16 23:44:11 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3F354B3E976 for ; Mon, 16 May 2016 23:44:11 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: from mail-lf0-f52.google.com (mail-lf0-f52.google.com [209.85.215.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C768D1888; Mon, 16 May 2016 23:44:10 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: by mail-lf0-f52.google.com with SMTP id y84so123501773lfc.0; Mon, 16 May 2016 16:44:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:cc:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=ZCGRUDGKytY3rAEDr1hpfbKbwkFJxx+emaUXbqV4BvU=; b=ZvoHz9jfO3zLF+xoRvFUM+mNRoLuBXpXpxb/Z3rjxvB8zsAGyb305gxPNcEHifRjmu n2H58s0sD4/L9r4EZ6fjuhqPceqergL78hJ38cJfH3WdcFXP3BNewZEPKRHHO6El42DP c8SzARD8iv+t86uDGkbqQPD15sk5gvVaMevAENaTpM6hIEMvh2j2urq5Dm16txmOUKlf aJkc+3MrGislTjVYS/IMXdtQDCgb31c281LCwXy0MnOkvuDRXIeKL/5WsQz9HEtigkLu MVdU8rorMqrfZM+yLQg+MbNstvguK8DI7FZminH9FBncun+jejyXn1hFd5k1/G00q4Sg mCkQ== X-Gm-Message-State: AOPr4FVtG+gboEFMlEbRwRqqZe6Ui1c3ZfWKIX6ANIYsc1f+hrDXOHpQtYkhRu58Kf8aKg== X-Received: by 10.25.196.9 with SMTP id u9mr12646546lff.129.1463436363097; Mon, 16 May 2016 15:06:03 -0700 (PDT) Received: from localhost (host-176-37-109-22.la.net.ua. [176.37.109.22]) by smtp.gmail.com with ESMTPSA id uc8sm5447587lbb.30.2016.05.16.15.06.01 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 16 May 2016 15:06:02 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Adrian Chadd" Cc: "Don Lewis" , "freebsd-wireless@freebsd.org" Subject: Re: minor array overflow in ifconfig set80211chanlist() References: <201605162142.u4GLgs8d072880@gw.catspoiler.org> Date: Tue, 17 May 2016 01:05:57 +0300 MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: "Andriy Voskoboinyk" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.16 (FreeBSD) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 23:44:11 -0000 Tue, 17 May 2016 01:03:03 +0300 =D0=B1=D1=83=D0=BB=D0=BE =D0=BD=D0=B0=D0= =BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE Adrian Chadd = : > Heh, god, it's used for both maximum ieee channel number /and/ the > array size? we should eventually fix that; 11ac channels will likely > overflow all of the above. :( No (yes) :) I mean ic->ic_nchans and nitems(ic->ic_channels) ... but you are right: ic_ieee is uint8_t, so it's limited by this numbe= r = too. > > > > -a > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to = > "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@freebsd.org Tue May 17 01:40:43 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 20B38B3DCEC for ; Tue, 17 May 2016 01:40:43 +0000 (UTC) (envelope-from jason.w.morgan@gmail.com) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E3A3011AF for ; Tue, 17 May 2016 01:40:42 +0000 (UTC) (envelope-from jason.w.morgan@gmail.com) Received: by mail-ig0-x22a.google.com with SMTP id s8so2376937ign.0 for ; Mon, 16 May 2016 18:40:42 -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; bh=YRdG3dGRLEJz1QWdRErgNDNuf1muXusc8/uhB7+IasI=; b=y8g/OqeFfZvk351//Sgnb8e8AS+cYczGFfcaXh3XDWRJ4EK4EcLrrDw6XEw1DIqLXn pwzAKNEy8EZRXK7JszktSHIbMbWcvGgbW+ZR5BUQ0aWVy5YKE4G3TGp4T3wcWlRqO19a Lta15p5ymbWm5s7SAAAVHAIoxnvqKhUPzwr89PbMFUBeBzoWV+lGauFosvNofOGsEyBH 6O+tHxAJ98pTvsPT/Sut+lnzhQnWGlV8kYJ5UZrBusT3q36xj/QN9+9mFh0ia+wX2W0i hFsgvW6yh05YC7cBP+hHwkVQ3iXq8NoF6bFuQJaEA4g/hjhyZVUM+5ABU4NFVHjeVtsf LEeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=YRdG3dGRLEJz1QWdRErgNDNuf1muXusc8/uhB7+IasI=; b=PtbcGcHlf7+8DFGfTD2O2O9Vsxkjk3vCF/Z0ega7dLkFP+/iQ7brWlJJ1H85u1dWvR nuy+GZlD06FJ/zQEhIvvCCCs/QB0by9Co2rGZM9CnJAzNb4elL9xB/2iaf+muZBZ2w2K EeL5gMygwa50b45OtpT7V8rKLP0ryQrEkTkve2UKCa9WwgflvesxbocqIOPFKdjhZb4M UdvlqUdOh3fKnveiUARoSjnZr0czNG1V85/H6am1Jf8tw4x0iF0MXELG1kU4Zj852NwC hju9ZFdh5R9IIIQcCEY4thtKrQ4eDDuXFVBEZ9aJkstG3szgI8AvipWua6lMcGLuoa9K XGgg== X-Gm-Message-State: AOPr4FXU+8lGnkLsKJrUxBTsCUhXzGWAl+P/oeWMn71AIyQKEe7D17waMP0REQ7aDNITEl8opnyT2noIk/Xf2w== MIME-Version: 1.0 X-Received: by 10.50.180.200 with SMTP id dq8mr12865300igc.88.1463449242046; Mon, 16 May 2016 18:40:42 -0700 (PDT) Received: by 10.79.114.88 with HTTP; Mon, 16 May 2016 18:40:42 -0700 (PDT) Date: Mon, 16 May 2016 21:40:42 -0400 Message-ID: Subject: Kernel Panic with Atheros Card (TP-LINK N900) From: Jason Morgan To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2016 01:40:43 -0000 Dear List, I am experiencing multiple kernel panics a day and I believe it's related to a Atheros card I recently installed. Here is some detail I got from dmesg after the last panic. ... ath0: stuck beacon; resetting (bmiss count 0) ath0: stuck beacon; resetting (bmiss count 4) ath0: stuck beacon; resetting (bmiss count 4) ath0: stuck beacon; resetting (bmiss count 0) ath0: stuck beacon; resetting (bmiss count 4) ath0: stuck beacon; resetting (bmiss count 0) ath0: stuck beacon; resetting (bmiss count 4) ath0: stuck beacon; resetting (bmiss count 4) ath0: stuck beacon; resetting (bmiss count 0) ath0: stuck beacon; resetting (bmiss count 4) ath0: stuck beacon; resetting (bmiss count 0) ath0: stuck beacon; resetting (bmiss count 4) Fatal trap 18: integer divide fault while in kernel mode ath0: stuck beacon; resetting (bmiss count 5) cpuid = 1; apic id = 01 instruction pointer = 0x20:0xffffffff8045db0d stack pointer = 0x28:0xfffffe01a609a920 frame pointer = 0x28:0xfffffe01a609a970 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 12 (swi4: clock) trap number = 18 panic: integer divide fault cpuid = 1 KDB: stack backtrace: #0 0xffffffff80984ef0 at kdb_backtrace+0x60 #1 0xffffffff80948aa6 at vpanic+0x126 #2 0xffffffff80948973 at panic+0x43 #3 0xffffffff80d4aacb at trap_fatal+0x36b #4 0xffffffff80d4a74c at trap+0x75c #5 0xffffffff80d307e2 at calltrap+0x8 #6 0xffffffff80467738 at ar9300_ani_poll_freebsd+0x48 #7 0xffffffff804158c6 at ath_calibrate+0xf6 #8 0xffffffff8095e50b at softclock_call_cc+0x17b #9 0xffffffff8095e934 at softclock+0x94 #10 0xffffffff8091485b at intr_event_execute_handlers+0xab #11 0xffffffff80914ca6 at ithread_loop+0x96 #12 0xffffffff8091247a at fork_exit+0x9a #13 0xffffffff80d30d1e at fork_trampoline+0xe Uptime: 1h53m50s And here are some details on my system and the card: $ uname -a FreeBSD pilot.skepsi.net 10.2-RELEASE-p14 FreeBSD 10.2-RELEASE-p14 #0: Wed Mar 16 20:46:12 UTC 2016 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 $ ifconfig | grep -B3 -i wireless ath0: flags=8843 metric 0 mtu 2290 ether 30:b5:c2:05:c0:fe nd6 options=21 media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng -- ether 30:b5:c2:05:c0:fe inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255 nd6 options=29 media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng $ ifconfig wlan0 list caps drivercaps=4f85ed01 cryptocaps=1f htcaps=701ee I am happy to provide any information I can to try to get to the bottom of this. I have kernel dumps, etc, if that would help. Thanks! -- ~ Jason Morgan "Those who have had no share in the good fortunes of the mighty Often have a share in their misfortunes." -- Bertolt Brecht, "Der Kaukasische Kreidekreis" (The Caucasian Chalk Circle) From owner-freebsd-wireless@freebsd.org Tue May 17 01:44:22 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 00C78B3DE72 for ; Tue, 17 May 2016 01:44:22 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BEA9F1517 for ; Tue, 17 May 2016 01:44:21 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-ig0-x235.google.com with SMTP id s8so2409027ign.0 for ; Mon, 16 May 2016 18:44:21 -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; bh=tawArOkXWNE4fr2fUeAdw182Cd/7yca2ubR9MGLGHxs=; b=SmhSmhEZNEvIYOAgRh3QoGI/eSthHTL1PGtNxY09c3/kJp6mLBn4ymJoRhC7npwInm 4si6uMurBe0RcSzETcDIV7qH0I+vKOr3wtdDVqyNsPjvBT5BMlHkFrTo55/lzejLNFTt iw7ukKs+hPhdLBzcHp44x0f3ZlBKkHOAzRLGE0cVS8yDHEtPXX8ImWQtX7XcoqXYbPZ/ 3DysrpvRIhwV7d47WCPrRdzAkNjnoEPSV6q5mi3BlkjgmtrKmHr+ISDe7sN/wsCnDcpy kDse3XmP+a7YjWc2y3VW8zvjuJBOwdfkG4d58gcuVuGoLV16IG9EB1gVRDsS5xwLrwSB 6Jpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=tawArOkXWNE4fr2fUeAdw182Cd/7yca2ubR9MGLGHxs=; b=awFMEOipvzLyvGJi8KOlTw7seMFM+94/S1OcnpZEWukI6VQdp9RAX/TkXpqDKc3B58 AbtOmlKuEYUYQUrfdMowk9OMs4+WK/H5P/XmDo93kIVbLXfths7K70+AOCzoaOZukyrA UbxWuVo/pCKmN+5IpaWp5euiUcjSm1PLqgK+0H83jIMUaqy19FyeMd1r5iKRL6WfIRBF TFQaipVhMi6csEp2AO0wpISlC1E9MphRsMGogPVzmftpsAyEFS6qiFXZyd7t5j+lVCyH sKpPcchaAb15y65yJ3ncjiD5pgP5UJWciMpenBJxNksQlu2RMaIGhJUYkSiDT5pGHj7h BC4w== X-Gm-Message-State: AOPr4FU0pEEWZoXX9nWIyVBd5stMtFaWwsv1HqX+dfJy6nXrlhk7dx8xnJKORjCu+6tLqxOBlp/suelUY/sA1g== MIME-Version: 1.0 X-Received: by 10.50.42.132 with SMTP id o4mr13123550igl.37.1463449461216; Mon, 16 May 2016 18:44:21 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.113.3 with HTTP; Mon, 16 May 2016 18:44:20 -0700 (PDT) Received: by 10.36.113.3 with HTTP; Mon, 16 May 2016 18:44:20 -0700 (PDT) In-Reply-To: References: Date: Mon, 16 May 2016 18:44:20 -0700 X-Google-Sender-Auth: jbfK--lKCPoQ5S_U0rbp96wnaf4 Message-ID: Subject: Re: Kernel Panic with Atheros Card (TP-LINK N900) From: Adrian Chadd To: Jason Morgan Cc: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2016 01:44:22 -0000 Hi, I think I've fixed this in head. Would you mind testing that out? Thanks! A On May 16, 2016 6:40 PM, "Jason Morgan" wrote: > Dear List, > > I am experiencing multiple kernel panics a day and I believe it's > related to a Atheros card I recently installed. Here is some detail I > got from dmesg after the last panic. > > ... > ath0: stuck beacon; resetting (bmiss count 0) > ath0: stuck beacon; resetting (bmiss count 4) > ath0: stuck beacon; resetting (bmiss count 4) > ath0: stuck beacon; resetting (bmiss count 0) > ath0: stuck beacon; resetting (bmiss count 4) > ath0: stuck beacon; resetting (bmiss count 0) > ath0: stuck beacon; resetting (bmiss count 4) > ath0: stuck beacon; resetting (bmiss count 4) > ath0: stuck beacon; resetting (bmiss count 0) > ath0: stuck beacon; resetting (bmiss count 4) > ath0: stuck beacon; resetting (bmiss count 0) > ath0: stuck beacon; resetting (bmiss count 4) > Fatal trap 18: integer divide fault while in kernel mode > ath0: stuck beacon; resetting (bmiss count 5) > cpuid = 1; apic id = 01 > instruction pointer = 0x20:0xffffffff8045db0d > stack pointer = 0x28:0xfffffe01a609a920 > frame pointer = 0x28:0xfffffe01a609a970 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 12 (swi4: clock) > trap number = 18 > panic: integer divide fault > cpuid = 1 > KDB: stack backtrace: > #0 0xffffffff80984ef0 at kdb_backtrace+0x60 > #1 0xffffffff80948aa6 at vpanic+0x126 > #2 0xffffffff80948973 at panic+0x43 > #3 0xffffffff80d4aacb at trap_fatal+0x36b > #4 0xffffffff80d4a74c at trap+0x75c > #5 0xffffffff80d307e2 at calltrap+0x8 > #6 0xffffffff80467738 at ar9300_ani_poll_freebsd+0x48 > #7 0xffffffff804158c6 at ath_calibrate+0xf6 > #8 0xffffffff8095e50b at softclock_call_cc+0x17b > #9 0xffffffff8095e934 at softclock+0x94 > #10 0xffffffff8091485b at intr_event_execute_handlers+0xab > #11 0xffffffff80914ca6 at ithread_loop+0x96 > #12 0xffffffff8091247a at fork_exit+0x9a > #13 0xffffffff80d30d1e at fork_trampoline+0xe > Uptime: 1h53m50s > > And here are some details on my system and the card: > > $ uname -a > FreeBSD pilot.skepsi.net 10.2-RELEASE-p14 FreeBSD 10.2-RELEASE-p14 #0: > Wed Mar 16 20:46:12 UTC 2016 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > > $ ifconfig | grep -B3 -i wireless > ath0: flags=8843 metric 0 mtu 2290 > ether 30:b5:c2:05:c0:fe > nd6 options=21 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng > -- > ether 30:b5:c2:05:c0:fe > inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255 > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng > > $ ifconfig wlan0 list caps > > drivercaps=4f85ed01 > cryptocaps=1f > htcaps=701ee > > I am happy to provide any information I can to try to get to the > bottom of this. I have kernel dumps, etc, if that would help. > > Thanks! > > -- > ~ Jason Morgan > > "Those who have had no share in the good fortunes of the mighty > Often have a share in their misfortunes." > -- Bertolt Brecht, "Der Kaukasische Kreidekreis" > (The Caucasian Chalk Circle) > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org > " > From owner-freebsd-wireless@freebsd.org Tue May 17 01:47:33 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 96A7AB3DF61 for ; Tue, 17 May 2016 01:47:33 +0000 (UTC) (envelope-from jason.w.morgan@gmail.com) Received: from mail-ig0-x22c.google.com (mail-ig0-x22c.google.com [IPv6:2607:f8b0:4001:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 60FF116E1; Tue, 17 May 2016 01:47:33 +0000 (UTC) (envelope-from jason.w.morgan@gmail.com) Received: by mail-ig0-x22c.google.com with SMTP id m9so2417773ige.1; Mon, 16 May 2016 18:47:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=8iWMzUwyArFy2U1HRPoBtFI/2tpY6Px/Mty17zSxq68=; b=wujvAkESJWt4sa5heIWuwWCN5u1onxSS4etgqneDRoHcpWMOikWb30wZxr/37jsE3R UYotFWMNSnZkHIelemGe5HpX2Vpl+Ils/d/tCKNAWt3HTnH+54xglK8WassH/rxSUekU yvp1fqRg9FFWznC0oob1a1k4yXpK99AYxZB8uHdmHKQkH2DEe6N2orIV93USgidw/8Fp goUSN/tPnZRBi/nWrsmWQJI52xqmxKusozrOFiNpHLPkRracSO5jpBht4cT1doUxbKqX oyX3TUPXsjDcPFczV8XraVyAlXjoQKAh+1P7uSoaPa4qoJcwAzCf3Ypl7fxRbjfcXZYh WGxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=8iWMzUwyArFy2U1HRPoBtFI/2tpY6Px/Mty17zSxq68=; b=VdXgu6e7N888TpHCMLdkhLeUlenumkE9m6WcuwQyxBtzVBLIv0/FqjuaTWzLVHyaIZ Pkf5HViH03AIJDgEgw2JQ8HT6GzgkirFtHBNQszV/FjAfL9eIjoisd/oYYbbHj80dfN0 dRyLCsuqAq0t4E8q7QkfenWBn8Kb3s372Ev1m3rYSktvde7YWzy/jEnbvLjkcp7jQHI8 YLA0KXUJQBk3naJIqU+PA8JboqnLqoJf820TZEwly9N4FCTFrGkwyMuVX/MDpu0u9PID kkWXyC7BFbPfXnSnS3wpCB215+y5418gzeETYdSvl+OSgbavSh6nGqNlSDLYfzF0CxNJ LGUQ== X-Gm-Message-State: AOPr4FUZz3PpRfN3QcWmQqRvmU3v5TggW7aki4nLNg4Efu4EJDQ85x8yuovJG/MnuI3DKI7uZmrKTHuszDdMXA== MIME-Version: 1.0 X-Received: by 10.50.187.161 with SMTP id ft1mr11787326igc.65.1463449652721; Mon, 16 May 2016 18:47:32 -0700 (PDT) Received: by 10.79.114.88 with HTTP; Mon, 16 May 2016 18:47:32 -0700 (PDT) Received: by 10.79.114.88 with HTTP; Mon, 16 May 2016 18:47:32 -0700 (PDT) In-Reply-To: References: Date: Mon, 16 May 2016 21:47:32 -0400 Message-ID: Subject: Re: Kernel Panic with Atheros Card (TP-LINK N900) From: Jason Morgan To: Adrian Chadd Cc: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2016 01:47:33 -0000 Thank you, Adrian. Do I need to upgrade the whole system or just the driver? I was hoping to keep the system on RELEASE. On May 16, 2016 9:44 PM, "Adrian Chadd" wrote: > Hi, > > I think I've fixed this in head. Would you mind testing that out? > > Thanks! > > A > On May 16, 2016 6:40 PM, "Jason Morgan" wrote: > >> Dear List, >> >> I am experiencing multiple kernel panics a day and I believe it's >> related to a Atheros card I recently installed. Here is some detail I >> got from dmesg after the last panic. >> >> ... >> ath0: stuck beacon; resetting (bmiss count 0) >> ath0: stuck beacon; resetting (bmiss count 4) >> ath0: stuck beacon; resetting (bmiss count 4) >> ath0: stuck beacon; resetting (bmiss count 0) >> ath0: stuck beacon; resetting (bmiss count 4) >> ath0: stuck beacon; resetting (bmiss count 0) >> ath0: stuck beacon; resetting (bmiss count 4) >> ath0: stuck beacon; resetting (bmiss count 4) >> ath0: stuck beacon; resetting (bmiss count 0) >> ath0: stuck beacon; resetting (bmiss count 4) >> ath0: stuck beacon; resetting (bmiss count 0) >> ath0: stuck beacon; resetting (bmiss count 4) >> Fatal trap 18: integer divide fault while in kernel mode >> ath0: stuck beacon; resetting (bmiss count 5) >> cpuid = 1; apic id = 01 >> instruction pointer = 0x20:0xffffffff8045db0d >> stack pointer = 0x28:0xfffffe01a609a920 >> frame pointer = 0x28:0xfffffe01a609a970 >> code segment = base 0x0, limit 0xfffff, type 0x1b >> = DPL 0, pres 1, long 1, def32 0, gran 1 >> processor eflags = interrupt enabled, resume, IOPL = 0 >> current process = 12 (swi4: clock) >> trap number = 18 >> panic: integer divide fault >> cpuid = 1 >> KDB: stack backtrace: >> #0 0xffffffff80984ef0 at kdb_backtrace+0x60 >> #1 0xffffffff80948aa6 at vpanic+0x126 >> #2 0xffffffff80948973 at panic+0x43 >> #3 0xffffffff80d4aacb at trap_fatal+0x36b >> #4 0xffffffff80d4a74c at trap+0x75c >> #5 0xffffffff80d307e2 at calltrap+0x8 >> #6 0xffffffff80467738 at ar9300_ani_poll_freebsd+0x48 >> #7 0xffffffff804158c6 at ath_calibrate+0xf6 >> #8 0xffffffff8095e50b at softclock_call_cc+0x17b >> #9 0xffffffff8095e934 at softclock+0x94 >> #10 0xffffffff8091485b at intr_event_execute_handlers+0xab >> #11 0xffffffff80914ca6 at ithread_loop+0x96 >> #12 0xffffffff8091247a at fork_exit+0x9a >> #13 0xffffffff80d30d1e at fork_trampoline+0xe >> Uptime: 1h53m50s >> >> And here are some details on my system and the card: >> >> $ uname -a >> FreeBSD pilot.skepsi.net 10.2-RELEASE-p14 FreeBSD 10.2-RELEASE-p14 #0: >> Wed Mar 16 20:46:12 UTC 2016 >> root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >> >> $ ifconfig | grep -B3 -i wireless >> ath0: flags=8843 metric 0 mtu 2290 >> ether 30:b5:c2:05:c0:fe >> nd6 options=21 >> media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng >> -- >> ether 30:b5:c2:05:c0:fe >> inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255 >> nd6 options=29 >> media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng >> >> $ ifconfig wlan0 list caps >> >> drivercaps=4f85ed01 >> cryptocaps=1f >> htcaps=701ee >> >> I am happy to provide any information I can to try to get to the >> bottom of this. I have kernel dumps, etc, if that would help. >> >> Thanks! >> >> -- >> ~ Jason Morgan >> >> "Those who have had no share in the good fortunes of the mighty >> Often have a share in their misfortunes." >> -- Bertolt Brecht, "Der Kaukasische Kreidekreis" >> (The Caucasian Chalk Circle) >> _______________________________________________ >> freebsd-wireless@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless >> To unsubscribe, send any mail to " >> freebsd-wireless-unsubscribe@freebsd.org" >> > From owner-freebsd-wireless@freebsd.org Tue May 17 02:16:49 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8A30CB3EA41 for ; Tue, 17 May 2016 02:16:49 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x233.google.com (mail-io0-x233.google.com [IPv6:2607:f8b0:4001:c06::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 54D9016F4 for ; Tue, 17 May 2016 02:16:49 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x233.google.com with SMTP id f89so6475669ioi.0 for ; Mon, 16 May 2016 19:16:49 -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; bh=zcXG6fvfpgW8LSJL9/tf5H9U+u9cidH85WMt7dZe2hk=; b=PCiNAdhbqvAhX5daVTKtEyc+JXcdrvPlh6c4aV3hcuJUU1Ow34Q1dbjCtRvWt7WnKR tXUzDHxrOp9dA24jqSNt+9GphjZ4qsROcfsjr+umzE0k5QANAuXHnPl6ENTwCmJyLJ2k uxbKLhtdp3ntL7kEy2ZfMSpMY8j5u4EKzlVOhEl8SavEOX10vT5jDKCE45D1KSRld4IB mtUXBTHytuEKUPGt2dJKvPipB5V/qgBPutzg0nVDMnnIpMIfSVcUgsLUb8lcuWvX3w0d DhT7diQDpkZgqiqv+qcLGE7I554JuHc02hEMUnfs0RPy4zUTns+pg7X9e3pR5lLm5OZ2 03FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=zcXG6fvfpgW8LSJL9/tf5H9U+u9cidH85WMt7dZe2hk=; b=G8Q+e0h6FM1e423vkNiYOIPq+DoFO2KdbbAHxfnLZueo5BuOpCGehXbR7qkuQfLsbs 3ei9U+6rXeeU7ahhZzTcVlKqV6hRJe5ZLJyLLuBIjs8Lpagu8dZjcn2Q03vGTqvw3nu3 eXRGeS6NPS2AxXcH1gcep8M9gaCi142uK1x0ZLelGw9plsCSb+NeSMPA5o5oMjCh1O7s MQ2TZ8CXCswAZvMC0R9onUht6JS23UJ4Uqs64ngzw0lFLC7yapnOK4iN2Wp3PyVzvOkA NB2GV4EZUPwXDEJfVlJi8SqIphtdtvUvmslvSYGYy0gTXjGLRDm2Y+tffAfio3iS2ScA M2bA== X-Gm-Message-State: AOPr4FV+OCPYS61kCzNR6yCB96o3g/tYQPk3Sa2+feQg/4Wb0uPMq0DUwm+ldNciB1UdoiFuUJXY+kBW+LWScQ== MIME-Version: 1.0 X-Received: by 10.36.73.164 with SMTP id e36mr11582904itd.80.1463451408564; Mon, 16 May 2016 19:16:48 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.113.3 with HTTP; Mon, 16 May 2016 19:16:48 -0700 (PDT) In-Reply-To: References: Date: Mon, 16 May 2016 19:16:48 -0700 X-Google-Sender-Auth: 60a0NmNIzl6sz5EkmEN4ZLJP1u4 Message-ID: Subject: Re: Kernel Panic with Atheros Card (TP-LINK N900) From: Adrian Chadd To: Jason Morgan Cc: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2016 02:16:49 -0000 hi, You'll need to update the whole system. No-one currently keeps the stable branches up to date with all the wifi changes / fixes we put into -HEAD. -adrian On 16 May 2016 at 18:47, Jason Morgan wrote: > Thank you, Adrian. Do I need to upgrade the whole system or just the driver? > I was hoping to keep the system on RELEASE. > > On May 16, 2016 9:44 PM, "Adrian Chadd" wrote: >> >> Hi, >> >> I think I've fixed this in head. Would you mind testing that out? >> >> Thanks! >> >> A >> >> On May 16, 2016 6:40 PM, "Jason Morgan" wrote: >>> >>> Dear List, >>> >>> I am experiencing multiple kernel panics a day and I believe it's >>> related to a Atheros card I recently installed. Here is some detail I >>> got from dmesg after the last panic. >>> >>> ... >>> ath0: stuck beacon; resetting (bmiss count 0) >>> ath0: stuck beacon; resetting (bmiss count 4) >>> ath0: stuck beacon; resetting (bmiss count 4) >>> ath0: stuck beacon; resetting (bmiss count 0) >>> ath0: stuck beacon; resetting (bmiss count 4) >>> ath0: stuck beacon; resetting (bmiss count 0) >>> ath0: stuck beacon; resetting (bmiss count 4) >>> ath0: stuck beacon; resetting (bmiss count 4) >>> ath0: stuck beacon; resetting (bmiss count 0) >>> ath0: stuck beacon; resetting (bmiss count 4) >>> ath0: stuck beacon; resetting (bmiss count 0) >>> ath0: stuck beacon; resetting (bmiss count 4) >>> Fatal trap 18: integer divide fault while in kernel mode >>> ath0: stuck beacon; resetting (bmiss count 5) >>> cpuid = 1; apic id = 01 >>> instruction pointer = 0x20:0xffffffff8045db0d >>> stack pointer = 0x28:0xfffffe01a609a920 >>> frame pointer = 0x28:0xfffffe01a609a970 >>> code segment = base 0x0, limit 0xfffff, type 0x1b >>> = DPL 0, pres 1, long 1, def32 0, gran 1 >>> processor eflags = interrupt enabled, resume, IOPL = 0 >>> current process = 12 (swi4: clock) >>> trap number = 18 >>> panic: integer divide fault >>> cpuid = 1 >>> KDB: stack backtrace: >>> #0 0xffffffff80984ef0 at kdb_backtrace+0x60 >>> #1 0xffffffff80948aa6 at vpanic+0x126 >>> #2 0xffffffff80948973 at panic+0x43 >>> #3 0xffffffff80d4aacb at trap_fatal+0x36b >>> #4 0xffffffff80d4a74c at trap+0x75c >>> #5 0xffffffff80d307e2 at calltrap+0x8 >>> #6 0xffffffff80467738 at ar9300_ani_poll_freebsd+0x48 >>> #7 0xffffffff804158c6 at ath_calibrate+0xf6 >>> #8 0xffffffff8095e50b at softclock_call_cc+0x17b >>> #9 0xffffffff8095e934 at softclock+0x94 >>> #10 0xffffffff8091485b at intr_event_execute_handlers+0xab >>> #11 0xffffffff80914ca6 at ithread_loop+0x96 >>> #12 0xffffffff8091247a at fork_exit+0x9a >>> #13 0xffffffff80d30d1e at fork_trampoline+0xe >>> Uptime: 1h53m50s >>> >>> And here are some details on my system and the card: >>> >>> $ uname -a >>> FreeBSD pilot.skepsi.net 10.2-RELEASE-p14 FreeBSD 10.2-RELEASE-p14 #0: >>> Wed Mar 16 20:46:12 UTC 2016 >>> root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >>> >>> $ ifconfig | grep -B3 -i wireless >>> ath0: flags=8843 metric 0 mtu >>> 2290 >>> ether 30:b5:c2:05:c0:fe >>> nd6 options=21 >>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng >>> -- >>> ether 30:b5:c2:05:c0:fe >>> inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255 >>> nd6 options=29 >>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng >>> >>> $ ifconfig wlan0 list caps >>> >>> drivercaps=4f85ed01 >>> cryptocaps=1f >>> htcaps=701ee >>> >>> I am happy to provide any information I can to try to get to the >>> bottom of this. I have kernel dumps, etc, if that would help. >>> >>> Thanks! >>> >>> -- >>> ~ Jason Morgan >>> >>> "Those who have had no share in the good fortunes of the mighty >>> Often have a share in their misfortunes." >>> -- Bertolt Brecht, "Der Kaukasische Kreidekreis" >>> (The Caucasian Chalk Circle) >>> _______________________________________________ >>> freebsd-wireless@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>> To unsubscribe, send any mail to >>> "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@freebsd.org Tue May 17 02:30:13 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4148FB3EDE2 for ; Tue, 17 May 2016 02:30:13 +0000 (UTC) (envelope-from jason.w.morgan@gmail.com) Received: from mail-io0-x22a.google.com (mail-io0-x22a.google.com [IPv6:2607:f8b0:4001:c06::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0A3021AFB; Tue, 17 May 2016 02:30:13 +0000 (UTC) (envelope-from jason.w.morgan@gmail.com) Received: by mail-io0-x22a.google.com with SMTP id f89so6751097ioi.0; Mon, 16 May 2016 19:30:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=D/KbSALewMZpJg4w2yRH+0aq8bY58ds6dkUWRrmpy0s=; b=p4MZBtd/13AWwggOzrbLIWNP8Yv/0ElhJhOSp1me0FYAEjEjk9PLrtNY15jQR3WCif 7JbGJASRVMCoyEoptLv+V1dhJTsRUQxqmCZAjiwU5mtUEeNt9ciCqP5fdtDbVlfoNWil ms6EFLRTms0FBdhnjcX6j4fCMi7W6Xu42LD7wPi1xfcZHfKBv93LU6GVg+pIrvHYFRLg NFlqxqwl/FFJv9///zNvhb8azQGwgi/86DlEQSNohvZvrYapSFH5HvXNTsP9eD2g2d2T Yb0CorxERwRE9ZsFWkPzeD9QskJtuCpP5VkW8vI//hd1x5VgGuBc1H9vXlLtkJio/Odv 3DMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=D/KbSALewMZpJg4w2yRH+0aq8bY58ds6dkUWRrmpy0s=; b=jXRNzEX8kFmrHEm5xoRwAZBedFLiTgczA1BBBuo94ao+B25iAsngGi2Qtz1iVLN7cu BymBKi6PKdxfKH+i7vGmtTDAcT3tXBPP81Oq2vb1JPXE6M1+fo+uCxEfiFvT8KVJ+9Dg j6qfPQn/y3dBMgJsna+UuLoHvgJW5e3gYGGls8LM9bH6c5SUbTDMHdP8J7TXTxzdpA9s 8PVRqK9J+Wyv88nk/SM9sAS68BnAcdj5Mv2TiwsFJSEK6nvR71/Ub1DafuHo3DcaJByv 8wdFr+ChnP52U89CGvRG0/CJYsoPDObbwCbxf8uhnesLxakTmsZb9IXbZbRQ4d5peldd v0UA== X-Gm-Message-State: AOPr4FVQZ/nZODdO0x06SM8dTWOXiyWRqD1cQQvmaXhEzdRACTj/dhzrMrCtXA3bH6POlyArh7XAlYqgtCiBJA== MIME-Version: 1.0 X-Received: by 10.36.111.76 with SMTP id x73mr11212079itb.59.1463452212327; Mon, 16 May 2016 19:30:12 -0700 (PDT) Received: by 10.79.114.88 with HTTP; Mon, 16 May 2016 19:30:12 -0700 (PDT) Received: by 10.79.114.88 with HTTP; Mon, 16 May 2016 19:30:12 -0700 (PDT) In-Reply-To: References: Date: Mon, 16 May 2016 22:30:12 -0400 Message-ID: Subject: Re: Kernel Panic with Atheros Card (TP-LINK N900) From: Jason Morgan To: Adrian Chadd Cc: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2016 02:30:13 -0000 Ok. Thank you. And thanks for the quick response. On May 16, 2016 10:16 PM, "Adrian Chadd" wrote: > hi, > > You'll need to update the whole system. No-one currently keeps the > stable branches up to date with all the wifi changes / fixes we put > into -HEAD. > > > > -adrian > > > On 16 May 2016 at 18:47, Jason Morgan wrote: > > Thank you, Adrian. Do I need to upgrade the whole system or just the > driver? > > I was hoping to keep the system on RELEASE. > > > > On May 16, 2016 9:44 PM, "Adrian Chadd" wrote: > >> > >> Hi, > >> > >> I think I've fixed this in head. Would you mind testing that out? > >> > >> Thanks! > >> > >> A > >> > >> On May 16, 2016 6:40 PM, "Jason Morgan" > wrote: > >>> > >>> Dear List, > >>> > >>> I am experiencing multiple kernel panics a day and I believe it's > >>> related to a Atheros card I recently installed. Here is some detail I > >>> got from dmesg after the last panic. > >>> > >>> ... > >>> ath0: stuck beacon; resetting (bmiss count 0) > >>> ath0: stuck beacon; resetting (bmiss count 4) > >>> ath0: stuck beacon; resetting (bmiss count 4) > >>> ath0: stuck beacon; resetting (bmiss count 0) > >>> ath0: stuck beacon; resetting (bmiss count 4) > >>> ath0: stuck beacon; resetting (bmiss count 0) > >>> ath0: stuck beacon; resetting (bmiss count 4) > >>> ath0: stuck beacon; resetting (bmiss count 4) > >>> ath0: stuck beacon; resetting (bmiss count 0) > >>> ath0: stuck beacon; resetting (bmiss count 4) > >>> ath0: stuck beacon; resetting (bmiss count 0) > >>> ath0: stuck beacon; resetting (bmiss count 4) > >>> Fatal trap 18: integer divide fault while in kernel mode > >>> ath0: stuck beacon; resetting (bmiss count 5) > >>> cpuid = 1; apic id = 01 > >>> instruction pointer = 0x20:0xffffffff8045db0d > >>> stack pointer = 0x28:0xfffffe01a609a920 > >>> frame pointer = 0x28:0xfffffe01a609a970 > >>> code segment = base 0x0, limit 0xfffff, type 0x1b > >>> = DPL 0, pres 1, long 1, def32 0, gran 1 > >>> processor eflags = interrupt enabled, resume, IOPL = 0 > >>> current process = 12 (swi4: clock) > >>> trap number = 18 > >>> panic: integer divide fault > >>> cpuid = 1 > >>> KDB: stack backtrace: > >>> #0 0xffffffff80984ef0 at kdb_backtrace+0x60 > >>> #1 0xffffffff80948aa6 at vpanic+0x126 > >>> #2 0xffffffff80948973 at panic+0x43 > >>> #3 0xffffffff80d4aacb at trap_fatal+0x36b > >>> #4 0xffffffff80d4a74c at trap+0x75c > >>> #5 0xffffffff80d307e2 at calltrap+0x8 > >>> #6 0xffffffff80467738 at ar9300_ani_poll_freebsd+0x48 > >>> #7 0xffffffff804158c6 at ath_calibrate+0xf6 > >>> #8 0xffffffff8095e50b at softclock_call_cc+0x17b > >>> #9 0xffffffff8095e934 at softclock+0x94 > >>> #10 0xffffffff8091485b at intr_event_execute_handlers+0xab > >>> #11 0xffffffff80914ca6 at ithread_loop+0x96 > >>> #12 0xffffffff8091247a at fork_exit+0x9a > >>> #13 0xffffffff80d30d1e at fork_trampoline+0xe > >>> Uptime: 1h53m50s > >>> > >>> And here are some details on my system and the card: > >>> > >>> $ uname -a > >>> FreeBSD pilot.skepsi.net 10.2-RELEASE-p14 FreeBSD 10.2-RELEASE-p14 #0: > >>> Wed Mar 16 20:46:12 UTC 2016 > >>> root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > >>> > >>> $ ifconfig | grep -B3 -i wireless > >>> ath0: flags=8843 metric 0 mtu > >>> 2290 > >>> ether 30:b5:c2:05:c0:fe > >>> nd6 options=21 > >>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng > >>> -- > >>> ether 30:b5:c2:05:c0:fe > >>> inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255 > >>> nd6 options=29 > >>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng > >>> > >>> $ ifconfig wlan0 list caps > >>> > >>> > drivercaps=4f85ed01 > >>> cryptocaps=1f > >>> htcaps=701ee > >>> > >>> I am happy to provide any information I can to try to get to the > >>> bottom of this. I have kernel dumps, etc, if that would help. > >>> > >>> Thanks! > >>> > >>> -- > >>> ~ Jason Morgan > >>> > >>> "Those who have had no share in the good fortunes of the mighty > >>> Often have a share in their misfortunes." > >>> -- Bertolt Brecht, "Der Kaukasische Kreidekreis" > >>> (The Caucasian Chalk Circle) > >>> _______________________________________________ > >>> freebsd-wireless@freebsd.org mailing list > >>> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > >>> To unsubscribe, send any mail to > >>> "freebsd-wireless-unsubscribe@freebsd.org" > From owner-freebsd-wireless@freebsd.org Tue May 17 08:29:42 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BE89AB3EBEA for ; Tue, 17 May 2016 08:29:42 +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 AED211702 for ; Tue, 17 May 2016 08:29:42 +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 u4H8TgTU029459 for ; Tue, 17 May 2016 08:29:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 202501] [request] Add support for Broadcom BCM 4313 and similar devices Date: Tue, 17 May 2016 08:29:42 +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.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dch@skunkwerks.at X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- 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.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2016 08:29:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D202501 Dave Cottlehuber changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dch@skunkwerks.at --- Comment #1 from Dave Cottlehuber --- BCM4360 would be a nice addition too - very common on recent MacBooks which since 10.3R + scfb boot very nicely from UEFI & ZFS into full screen X windows. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Tue May 17 12:57:34 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C577FB3C56C for ; Tue, 17 May 2016 12:57:34 +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 B5C8E2054 for ; Tue, 17 May 2016 12:57:34 +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 u4HCvYoU004079 for ; Tue, 17 May 2016 12:57:34 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 208933] [regression] "ifconfig wlan0 ether ..." broken after r297592 Date: Tue, 17 May 2016 12:57:34 +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: 11.0-CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: avos@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status 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.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2016 12:57:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208933 Andriy Voskoboinyk changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|New |Closed --- Comment #8 from Andriy Voskoboinyk --- Should be fixed now. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Tue May 17 17:41:00 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 86DBBB3FDE1 for ; Tue, 17 May 2016 17:41:00 +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 76D631D6B for ; Tue, 17 May 2016 17:41:00 +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 u4HHf06l006757 for ; Tue, 17 May 2016 17:41:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 195042] 10.1 regression: background dhcp client, wlan, lagg, default route page fault Date: Tue, 17 May 2016 17:41:00 +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 Some People X-Bugzilla-Who: avos@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution 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.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2016 17:41:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D195042 Andriy Voskoboinyk changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed CC| |avos@freebsd.org Resolution|--- |DUPLICATE --- Comment #4 from Andriy Voskoboinyk --- The same problem as in PR 195074; fixed in r288990 but not MFCed to 10-STAB= LE yet. *** This bug has been marked as a duplicate of bug 195074 *** --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Tue May 17 17:41:00 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D436CB3FE03 for ; Tue, 17 May 2016 17:41:00 +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 C4C731D6D for ; Tue, 17 May 2016 17:41:00 +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 u4HHf06p006757 for ; Tue, 17 May 2016 17:41:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 195074] FreeBSD 10.1 regression: iwn kernel panic when starting pidgin Date: Tue, 17 May 2016 17:41:00 +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 Some People X-Bugzilla-Who: avos@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2016 17:41:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D195074 --- Comment #7 from Andriy Voskoboinyk --- *** Bug 195042 has been marked as a duplicate of this bug. *** --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Tue May 17 18:03:06 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E80DFB3F483 for ; Tue, 17 May 2016 18:03:06 +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 D883A1055 for ; Tue, 17 May 2016 18:03:06 +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 u4HI36r4042395 for ; Tue, 17 May 2016 18:03:06 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 203236] [patch] net80211: add unlisted information elements Date: Tue, 17 May 2016 18:03:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: avos@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution cc bug_status 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.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2016 18:03:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203236 Andriy Voskoboinyk changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED CC| |avos@freebsd.org Status|New |Closed --- Comment #4 from Andriy Voskoboinyk --- Committed in r296823. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Tue May 17 18:10:55 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 66745B3F7DD for ; Tue, 17 May 2016 18:10:55 +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 4E5541462 for ; Tue, 17 May 2016 18:10:55 +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 u4HIAtJ2009523 for ; Tue, 17 May 2016 18:10:55 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 202501] [request] Add support for Broadcom BCM 4313 and similar devices Date: Tue, 17 May 2016 18:10:55 +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.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: adrian@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- 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.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2016 18:10:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D202501 Adrian Chadd changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adrian@freebsd.org --- Comment #2 from Adrian Chadd --- hiya, I've started adding PHY-N NIC support to FreeBSD-HEAD's bwn(4). No, it's a substantial change, so I won't backport it to stable/10. I would love more testers. The 4360 is an 11ac softmac part and no open driver code exists for it yet = :( Sorry! --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Tue May 17 18:15:20 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8A47DB3F975 for ; Tue, 17 May 2016 18:15:20 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x242.google.com (mail-io0-x242.google.com [IPv6:2607:f8b0:4001:c06::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 580B41997 for ; Tue, 17 May 2016 18:15:20 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x242.google.com with SMTP id i75so5104527ioa.2 for ; Tue, 17 May 2016 11:15:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to; bh=4RTZvToUrUdlvYFnNwwysEuFawZcOK18+sv3SsC1/Wo=; b=iCoLWov5O4YjhgQZz413fSyU2F1bd+zHSrcz+H3TQrNOZG4kDxPq7+3feld0eOkSLL KYh6wukYul+RndMd68QGZNFzZAvfm0FIovIDJqaVB044l/5E1SMI6hU+0UWzGV5C9pkK 0+8isam6MnsTdRE8DERyrK6B/ntkJSFAqU0eQcvLO/7BXdlhYYLTsGIxEfhW0yH6Lrvn ebJ6jwu/kVik4cJbMZ32cd04uboYJ7ZwMp86aCjaZRtjrAfZahBr8r4Vy2hEHCWVSOI6 IBvMpygTxOhz7NyYV78e7fkEheqjqHkhua+6pipjiBDD9IJzhe0C/OfLWPWBW73v+lo+ DeQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:date:message-id:subject:from :to; bh=4RTZvToUrUdlvYFnNwwysEuFawZcOK18+sv3SsC1/Wo=; b=L2STIa6S+jh92OI1gDNGowR648H77jm83asF2eqCGK2tKOlO/5JnHxwnw9YK7go581 OsSEZ8VKb6Bbuz4uHJ9OKFakIYDGlAe4cC2toqGIOBvaQZMpae5zZOmM8CN5BPLJCcDr eVd3kTllgyLpddzCws3SHugA4wEt3+wBYyq+NHHuXOjiW6AJES4t9t267lwUWKmtagdq z2w7T4D7HDFx1d+lbaG6FCPwi5+LmJhLFG8Xsi+OW8kXu2rJBSAWZ3wYnkQSN4tX57n9 LqRAxhT3T5xiwXFlzK2ao69Q8i8elZ/8iaTnCFdvv7gtbqsiw+SNL7s+KaihXwXjAdcE XFTQ== X-Gm-Message-State: AOPr4FVzC/pNGFbM1UJd+4CcoPN460ZjfrbICc1Gwjr21b152mS8e4RjhrPYJRgAh5LWzT3nRBhZD51ujS4cJw== MIME-Version: 1.0 X-Received: by 10.36.51.16 with SMTP id k16mr3809602itk.80.1463508919765; Tue, 17 May 2016 11:15:19 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.113.3 with HTTP; Tue, 17 May 2016 11:15:19 -0700 (PDT) Date: Tue, 17 May 2016 11:15:19 -0700 X-Google-Sender-Auth: 4LC4RUvV_9ilxsEcOGJg1YjoVJM Message-ID: Subject: bwn(4) updates - PHY-N support, newer firmware, etc From: Adrian Chadd To: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2016 18:15:20 -0000 hiya, I've been .. fixing bwn(4) a bunch. I've fixed really badly behaved rate control code, some TX/RX handling, and I have some descriptor handling issues to fix. It's actually useful now, and I encourage people to test it. I've also added PHY-N support from Linux b43. It's GPL, so it's not included by default. Here's what you have to do: * add BWN_DEBUG and BWN_GPL_PHY to your kernel config * edit sys/modules/bwn/Makefile and uncomment the PHY-N bits * rebuild The only NIC I've tested so far is the BCM4321, which is circa 2006. The next NIC is the BCM4322 which is circa 2008 and requires a bit more work. My aim is to port the later GPL PHYs to bwn(4) so we at least have support, even if it's GPL. It's not included in the default builds and the PHY source is in sys/gnu/ so it doesn't clash with the BSD bits. The BCM4321 also works in 5GHz 11a mode, so I'm now able to fix up 5GHz operation. Here's what's outstanding: * fix rx rssi for basically everything; * add firmware revision 5xx support; * fix up some busdma / contigmalloc issues with bwn; * add the later PHYs; * abstract the PHY code out to look like the ath_hal setup, which means the PHY code doesn't know about the main driver, and we can load the GPL PHY code as a module rather than recompiling things. Once this list is done, I'll take a stab at porting over the 11n rate bits so we can at least get basic 11n TX/RX working. That requires a bunch of PHY work as well as a bunch of TX/RX work, so it's not going to happen any time soon. If anyone would like to help with the above entries then please let me know. -adrian From owner-freebsd-wireless@freebsd.org Tue May 17 21:05:44 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3EE7FB3F224 for ; Tue, 17 May 2016 21:05:44 +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 2F6DC174B for ; Tue, 17 May 2016 21:05:44 +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 u4HL5i0p076889 for ; Tue, 17 May 2016 21:05:44 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 163724] [mwl] [patch] NULL check before dereference Date: Tue, 17 May 2016 21:05:44 +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: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: avos@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution cc bug_status 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.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2016 21:05:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D163724 Andriy Voskoboinyk changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED CC| |avos@freebsd.org Status|In Progress |Closed --- Comment #2 from Andriy Voskoboinyk --- The NULL check for this pointer is not needed (because it's the address of = an array member) and was removed in r300077. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Wed May 18 19:53:29 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0EE5DB41884 for ; Wed, 18 May 2016 19:53:29 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x22c.google.com (mail-io0-x22c.google.com [IPv6:2607:f8b0:4001:c06::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CFB1718D2 for ; Wed, 18 May 2016 19:53:28 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x22c.google.com with SMTP id 190so79562217iow.1 for ; Wed, 18 May 2016 12:53:28 -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; bh=R3JC1MhsOy3Cf6+9jg1nOB4gGUv5nV1dr40aaS0dFG4=; b=uqzjMzwA2HD3Z/at1KN5HaqcSUQMuQ82QHWgkz023DM6N8WA7P8nnJ/NhBvypaprtS RX3oYPe/+MVRfzEZjoKNkcjtEF0pKVL+61EvQMXz0rS9ER8CUj+FfsEs8kJZ+RB+3vJC umWDONSq3vyL1/C2Q0oKi1kjiSf9pUU7qn4hsTocuAS7tFjgx8J63z6SWx2wQJ2Qz35w QPj/cHlbCgDaJjNRnfB3tudnMxlTszTDOhRxPcKjJuWqZh0ZwUkGIBKrhkKE2R6lt1o/ cVSkh5S1CpISMYZQIyZRAYyjkcS0ThCnpX3Sc0d6Pz+4pyaa9HDAaBDLQ31pREnR80C+ eB2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to; bh=R3JC1MhsOy3Cf6+9jg1nOB4gGUv5nV1dr40aaS0dFG4=; b=eUk9Ww59Yi0+tvSM8D0cLDJUBqNPmTcVSOevMi0WRpf92f0gTws7HjDvBcvkpfsC5y X9QVBbb/zLcsmkviwAhTqZS4xSEPrF1xGe+/IG8wYNZq6knLdrOzywP44VByQ4fc0zpY +OgBnkw+gbT0MF6CFhvRLUlEbU7Fa+V4NJw2Lc70+PM4A1pgbzpGSn98XNbYbq9mvAJL /LUynECbWmOs7q9+oDfE3rkAiS+s5TU0BG9+e1ft6EIaNE13njG4wjWV6Z9cOOzEunJU UCKXVyx6qUGF5RqpsdjPuJBFwwk0wugtAO9rHSO5rbyipg3yOaIPeOREzt2i1WH4ZpWN 7ZSA== X-Gm-Message-State: AOPr4FV23kRYdoTSCY4maGiv6HotPgPueVEPVJPuGTQb+xd1z/CmLe13jVB+mEmx0fO/PqXk7A2gkiCYKpUd0w== MIME-Version: 1.0 X-Received: by 10.107.6.218 with SMTP id f87mr6710857ioi.75.1463601208149; Wed, 18 May 2016 12:53:28 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.113.3 with HTTP; Wed, 18 May 2016 12:53:28 -0700 (PDT) In-Reply-To: References: Date: Wed, 18 May 2016 12:53:28 -0700 X-Google-Sender-Auth: jFu5lk1a9P3mhHodUqEGCeVIPhQ Message-ID: Subject: Re: bwn(4) updates - PHY-N support, newer firmware, etc From: Adrian Chadd To: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2016 19:53:29 -0000 Hi, I've fixed RX RSSI calculatinos for PHY-G, PHY-LP and PHY-N hardware. The noise/rssi is now valid, and so now net80211/wpa_supplicant makes sane(r) AP selection decisions. I've also done the firmware API 5xx support. That seems to work enough to tinker with. -adrian From owner-freebsd-wireless@freebsd.org Thu May 19 07:01:16 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4F3B5B41747 for ; Thu, 19 May 2016 07:01:16 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x233.google.com (mail-io0-x233.google.com [IPv6:2607:f8b0:4001:c06::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1CC2412AA for ; Thu, 19 May 2016 07:01:16 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x233.google.com with SMTP id i75so95701433ioa.3 for ; Thu, 19 May 2016 00:01:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to; bh=E2rTL1phnC0AYv5MXouim2bOnKIDPS6xOsRjmbOaTf8=; b=oOcDokHefYkfZmoZe1KSi7ns30fGM6UJ/jcDxxJCYfqHmOIIwGIhHlnEppBpKUZcSf JQDt5+Cks6OO7fE1yHnqzkcEyFzzCMkD7GWWzVjH/oSuRSdCFkxQPx1n+Pv76qYn2y6O iqlP8DcIgH7FwQA3CIYDhygdThenWugK8yeLW/wJx0BDjWT1oDhXwtLmbxBiCljComsN wal5aoLhtJJU5KAvdyxjsOmZsUr6VvUMeCylSsQ3iWX73LIu0jenwhvGQzcGCBvlWEBC XfQ27JH5yF5uxNR4N2c6BffO/D30BbAoCfb4xtdnLXysWQarVPkhVvGgYivZT6xbmazW Qatw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:date:message-id:subject:from :to; bh=E2rTL1phnC0AYv5MXouim2bOnKIDPS6xOsRjmbOaTf8=; b=buhV/iGSLV3uBsYaR5qxoIwgWBj8z3afIlQnVnfGJEvxx3Gf3dtYEKgZZDq0S93gYY w5oaXJjp7v/zTeJxToS9FHpcKeKNnpSeHKLk8ovIdKMHTPgzbT+3eGY6x1q1LTMC8ARo bS7vYcoAH+TwJ23cDNx0NXXrlTOkLEqk1GEYGGemRJxd1ddCyQMamc1y3o53FljkFNY9 esU2jeJzz4JXyr4R1SIfuz9HI665JDO06zoKQdX6j0DTMDtkuNG3hRDWmVb+760UPMdQ L7Zd8kXfkoSl76wVxr4+7MKlxLOcIBWu5mXF0Z9ClBz1P5wjutprXQNV6sauxGrvo1/g v0XQ== X-Gm-Message-State: AOPr4FUipszvkgq2V2EsY3BS9vvZ7zLOd8W6Hy5ord9hfVzE3uGeH8QEU9Emp4rYR7WhgXI/wYxlk1QYC8huIA== MIME-Version: 1.0 X-Received: by 10.107.15.234 with SMTP id 103mr670781iop.75.1463641275464; Thu, 19 May 2016 00:01:15 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.113.3 with HTTP; Thu, 19 May 2016 00:01:15 -0700 (PDT) Date: Thu, 19 May 2016 00:01:15 -0700 X-Google-Sender-Auth: FPHpMmUahSgsNPBHq1YG0U4muAA Message-ID: Subject: bwn updates - now BCM4321, BCM4322 From: Adrian Chadd To: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2016 07:01:16 -0000 Hiya, I managed to get the BCM4321 and BCM4322 working. You need to load bwn_v4_n_ucode for BCM4322 and then it should "just work". BCM4321 also works on bwn_v4_n_ucode - it uses the same newer ucode API. You can't load bwn_v4_n_ucode and bwn_v4_lp_ucode just yet - I need to address that. Let me know if you can test out either of these chips! -adrian From owner-freebsd-wireless@freebsd.org Thu May 19 18:03:08 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 826DEB4242A for ; Thu, 19 May 2016 18:03:08 +0000 (UTC) (envelope-from s3erios@gmail.com) Received: from mail-lf0-x244.google.com (mail-lf0-x244.google.com [IPv6:2a00:1450:4010:c07::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 07E6B17B2; Thu, 19 May 2016 18:03:08 +0000 (UTC) (envelope-from s3erios@gmail.com) Received: by mail-lf0-x244.google.com with SMTP id 78so2374949lfq.0; Thu, 19 May 2016 11:03:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:cc:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=IPOgZXmOdvxefbnOdUcx1xJzJriXO/prHweelp8oa7M=; b=pFQDeVf0bElDrKOU8KRlLHEk5hs6vuf8k6+IgT1n3Eu2CXuEzKAD3wXsjgi+7k+NxK +6mgZIJmiTmjbczjyL7jBBvg3j+n1+D9UA9ANwIqrwPIp+4znxUx4E74r1yuW4P1uZiK pgTGGbWRDG8MCTubKB/O+BcQYrOnx7TrrvGCOi6RoB51qvxzKGpVcysX05M6aSDnm7LF 6z6IqFC+Dia5gsr7JaBoLGwZT6vcriiEOinbpD2ZL/2Nq5yLXas8GhSg1pCQBhPRj1rq TbSIF1puDxahBbckTugXllWg/rFbNbB6pgWwWVT2yNdsfJVDaj4vkTm9i0nXRYeXb6Ow h8qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:cc:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=IPOgZXmOdvxefbnOdUcx1xJzJriXO/prHweelp8oa7M=; b=PaedQfgBjjnW59AE0yqBYTCjxYwS00xwU8zYWIMYz0YfPWlJl7S5cray2Fpo/1MV/G 7PK7Z0NspXoAEuby9le5OcKukXySegEnRFIbu2swcBeFHEXA+H7eTsginvvbWmBb57ms MSaU3bSJVgrp+t2lFpqDkECBT+LmdvOJdlXWZXB0pHGFywRYg2R8kgSszKiGQ3/a37Zb 0/TJ01qp8O/KeI96d7RFGE1mEkM/iDsySlr/U7P4xsf0NIzO3ePn5wdqwaCq8IGRqagM lcq4JoEYAd/HrYbOTeNcwM2gdAIfS94RPXlv2HfbgDQPjDpRgoyTGEvMUQ7cfQuMoRg2 hl7A== X-Gm-Message-State: AOPr4FXa7htWm/0Q4blOr0gmlcD5Vmilw+VO+eQ/zzJ8EB7gmxG1FXHpcj/aJAvkllJSEQ== X-Received: by 10.25.160.77 with SMTP id j74mr4689983lfe.72.1463680985015; Thu, 19 May 2016 11:03:05 -0700 (PDT) Received: from localhost (host-176-37-109-22.la.net.ua. [176.37.109.22]) by smtp.gmail.com with ESMTPSA id w17sm2604799lfd.45.2016.05.19.11.03.02 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 19 May 2016 11:03:04 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Adrian Chadd" Cc: "Don Lewis" , "freebsd-wireless@freebsd.org" Subject: Re: minor array overflow in ifconfig set80211chanlist() References: <201605162142.u4GLgs8d072880@gw.catspoiler.org> Date: Thu, 19 May 2016 21:02:56 +0300 MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: "Andriy Voskoboinyk" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.16 (FreeBSD) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2016 18:03:08 -0000 Tue, 17 May 2016 01:05:57 +0300 =D0=B1=D1=83=D0=BB=D0=BE =D0=BD=D0=B0=D0= =BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE Andriy Voskoboinyk = : > Tue, 17 May 2016 01:03:03 +0300 =D0=B1=D1=83=D0=BB=D0=BE =D0=BD=D0=B0=D0= =BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE Adrian Chadd = > : > >> Heh, god, it's used for both maximum ieee channel number /and/ the >> array size? we should eventually fix that; 11ac channels will likely >> overflow all of the above. :( > > No (yes) :) > I mean ic->ic_nchans and nitems(ic->ic_channels) > ... but you are right: ic_ieee is uint8_t, so it's limited by this = > number too. > ... but there is another macro with the same value: ieee80211_scan_sta.c: #define MAX_IEEE_CHAN 256 /* max acceptable IEEE chan # */ CTASSERT(MAX_IEEE_CHAN >=3D 256); >> >> >> >> -a >> _______________________________________________ >> freebsd-wireless@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless >> To unsubscribe, send any mail to = >> "freebsd-wireless-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to = > "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@freebsd.org Thu May 19 18:04:26 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B0B8CB42459 for ; Thu, 19 May 2016 18:04:26 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x231.google.com (mail-io0-x231.google.com [IPv6:2607:f8b0:4001:c06::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7CA4D17F7; Thu, 19 May 2016 18:04:26 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x231.google.com with SMTP id p64so26098159ioi.2; Thu, 19 May 2016 11:04:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=WEBudnVzRAkcQF/4ODLOaoLoThsA5KjyTyZEt63C5S4=; b=VWV2rsPaJhgkUZ6gGAsX0zJXnLWWuZ+HYwJpEH9IelmNWoHLcKTZK32/9iQronsp2R LPiOp6KY0I/khqYsgz7d/7PVI3PGoP3Rtp+dQp+FfbI7ZEpya6N8b4B4VlauQEWDeST/ h5htT8+eMxfNBJH2oz5SwB95Pa4DlW9oP3lmX1Pw5z7ovYFGrejBooTLs88R1/wAsF/x +x6SPy86uIC2l9u/jDBZ81VtQZsCEKMU64YWtJatTvxH7l6gqH6iEHo7aVGJJKn4PMmZ nH2hwqwApPu2j97RuHo/Olus9RqPHIyQOctVzOZs5hHMhVSAcBySq8iSm0j/ptLlYQbm 6Ncg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=WEBudnVzRAkcQF/4ODLOaoLoThsA5KjyTyZEt63C5S4=; b=l0CGxRrvZ0mKCbH2dZmkNKjH7jy13QHkdNz2PYlWhwxdqWY2ELhaiHIUjAYVPhA+Hl S3GbyWSGCx+x99mL6SiG2wvAPtS6s/vTsQIHiwuHNiRcd13kMZb3fZR1QQf0JA0Mo94L l+COxX4OTvMorJRxAUUAQQvnbNsX3J1AOC0OFZ8ajaPbzbvZEJOHXJthKAhHCiQi1d2a /I8lH9vZPebFpfJVuCwrFLsUeVO0FgPxjIUrMW27TLzlctDLSoQWJiB8NIQexLs14u/z ZP0Ur3NS0YHmQlhPyfLxyC/z3zp5PviROU/SKlcYk67y0JwK1hezakOwo7FUqVzf2NVy COew== X-Gm-Message-State: AOPr4FUTSHtlmic0RqDWXKz40MV746moKzDYCkJ2awAwpfK1UJnjz9hG71FGVcKr0VrnGrRX27xUxLvbAHBrJQ== MIME-Version: 1.0 X-Received: by 10.107.144.135 with SMTP id s129mr10588710iod.165.1463681065594; Thu, 19 May 2016 11:04:25 -0700 (PDT) Received: by 10.36.113.3 with HTTP; Thu, 19 May 2016 11:04:25 -0700 (PDT) In-Reply-To: References: <201605162142.u4GLgs8d072880@gw.catspoiler.org> Date: Thu, 19 May 2016 11:04:25 -0700 Message-ID: Subject: Re: minor array overflow in ifconfig set80211chanlist() From: Adrian Chadd To: Andriy Voskoboinyk Cc: Don Lewis , "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2016 18:04:26 -0000 Ok, let's break out the chan array from the ieee chan value (8 bit). We need that done for 11ac. -adrian From owner-freebsd-wireless@freebsd.org Thu May 19 21:51:11 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C54BB42522 for ; Thu, 19 May 2016 21:51:11 +0000 (UTC) (envelope-from astralnysledz@gmail.com) Received: from mail-oi0-x235.google.com (mail-oi0-x235.google.com [IPv6:2607:f8b0:4003:c06::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 524011985 for ; Thu, 19 May 2016 21:51:11 +0000 (UTC) (envelope-from astralnysledz@gmail.com) Received: by mail-oi0-x235.google.com with SMTP id x19so151116460oix.2 for ; Thu, 19 May 2016 14:51:11 -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; bh=i861OBchFSMeNMRXIP9UXn1togmKedCzZMmuwKeITq0=; b=B0/wEliu2lGjbeBptAVSYQ/Ayw6q6QXiYbvwi3NSbn6BIwYt5lqwJI3CTXgnKnXCLi UnfcD6Ta+hEyGbBGgFcN35dWhThLFU+umYgxC70O4IzK2zUVbP0/fRIg+0TzJLcFbxUi KQZvwqvVoGPbpOwCbDPgG5k4SzXWZTqEOc7pfKoVCdji+/CYf+WkbcMxVX1QRB4oeinx J9HpiZ9OXslPMjhPYDl7TmgntEq8LaLnOZQjnaVjZK9FpKekDhOscP8jdUL5evZRaKXA crLoyC3xlrlxFhQIZQIjh0rBCwy+yGCsOp/qVwqff/RpJEvx4trNoxaw7M/tkmjBKeMP 8b4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to; bh=i861OBchFSMeNMRXIP9UXn1togmKedCzZMmuwKeITq0=; b=KYQaK0rVW6bSfnPiobLjgI3xw30FxX1i7pAiwZ2qa6i2F+Yl1rwqXGfbw4p23i7tYX BaW7/VLpgKzdo9bAoOpp4RYrrGqnfiXtzbzViY1mDGdzMmNX8Fn11oNpr0Ss0cLhnDbd KKgcshbXR+TGT3n1/fQ7E2YIHmj498SUU69xuB3eUBWhQcyRr9wuQllXqDpvP0kJRy4O +2eQuKOJAJTWH/MszKzsn663TP0yTWkG4kpwgnBK/S+r87b7noKlWsfk3tL0bL/uMoRs qK7CZdFwF0gfSsz6x2hI7I4TIIfHBzyEp3KRVT2Hw1ZXMmiUcC7bemdtBRr/tp/kN3eF JBzA== X-Gm-Message-State: AOPr4FUmB/qIoDbxCwqlYZ2nU+CiieFm60kxcAOEJla71WpIILCeVp4u9HGjnW8Bys6RIl5ZnanIi80z8+r8vg== MIME-Version: 1.0 X-Received: by 10.202.169.131 with SMTP id s125mr8467927oie.35.1463694670712; Thu, 19 May 2016 14:51:10 -0700 (PDT) Sender: astralnysledz@gmail.com Received: by 10.157.10.231 with HTTP; Thu, 19 May 2016 14:51:10 -0700 (PDT) In-Reply-To: References: Date: Thu, 19 May 2016 23:51:10 +0200 X-Google-Sender-Auth: X6zgMHN5C9kdQvyjZcfW_M3Vs2g Message-ID: Subject: Re: freebsd-wireless Digest, Vol 255, Issue 4 From: Andrzej Bylicki To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2016 21:51:11 -0000 Dear Adrian, Thank you very much for your hard work! I will test the driver as soon as I come back from a work-related symposium I am at right now. In your last e-mail you mentioned that some of the Broadcom bcm 43xx driver code is GPL-licensed. Do you think there is any chance to re-write it somehow as to make it compatible with the FreeBSD base system license-wide? If you need some help testing the driver I am all up for it. I have a fairly working FreeBSD 10.3-RELEASE installation on a 2009 MacBook laptop with bcm 4321. It would be nice to see the driver make its way to 11-RELEASE. Probably too much wishful thinking on my side, though :). All the best, Andy On Thu, May 19, 2016 at 2:00 PM, wrote: > Send freebsd-wireless mailing list submissions to > freebsd-wireless@freebsd.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > or, via email, send a message with subject or body 'help' to > freebsd-wireless-request@freebsd.org > > You can reach the person managing the list at > freebsd-wireless-owner@freebsd.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of freebsd-wireless digest..." > > > Today's Topics: > > 1. Re: bwn(4) updates - PHY-N support, newer firmware, etc > (Adrian Chadd) > 2. bwn updates - now BCM4321, BCM4322 (Adrian Chadd) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 18 May 2016 12:53:28 -0700 > From: Adrian Chadd > To: "freebsd-wireless@freebsd.org" > Subject: Re: bwn(4) updates - PHY-N support, newer firmware, etc > Message-ID: > < > CAJ-VmonSfQ2GeRX+THUR8Vu2BEfh4qCgOhKaFu+71YgssOWFxw@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Hi, > > I've fixed RX RSSI calculatinos for PHY-G, PHY-LP and PHY-N hardware. > The noise/rssi is now valid, and so now net80211/wpa_supplicant makes > sane(r) AP selection decisions. > > I've also done the firmware API 5xx support. That seems to work enough > to tinker with. > > > > -adrian > > > ------------------------------ > > Message: 2 > Date: Thu, 19 May 2016 00:01:15 -0700 > From: Adrian Chadd > To: "freebsd-wireless@freebsd.org" > Subject: bwn updates - now BCM4321, BCM4322 > Message-ID: > JZzj3977TbwbrGOKOiAmTg6PQfTK0a4Q@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Hiya, > > I managed to get the BCM4321 and BCM4322 working. You need to load > bwn_v4_n_ucode for BCM4322 and then it should "just work". > > BCM4321 also works on bwn_v4_n_ucode - it uses the same newer ucode API. > > You can't load bwn_v4_n_ucode and bwn_v4_lp_ucode just yet - I need to > address that. > > Let me know if you can test out either of these chips! > > > -adrian > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org > " > > ------------------------------ > > End of freebsd-wireless Digest, Vol 255, Issue 4 > ************************************************ > From owner-freebsd-wireless@freebsd.org Thu May 19 23:17:39 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 29E79B4210C for ; Thu, 19 May 2016 23:17:39 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x229.google.com (mail-io0-x229.google.com [IPv6:2607:f8b0:4001:c06::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E6CAD1976 for ; Thu, 19 May 2016 23:17:38 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x229.google.com with SMTP id 190so127043715iow.1 for ; Thu, 19 May 2016 16:17:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=EaeQdsLl9Jjsk5cSIB/y2Rfm9qd4iY7Lh8YPyCy9S1g=; b=0M9G4tm7O/kLo55grWciRJLBrMJwrLov7V7S4qe4frSecaIAMzGILHg5qnXHnchSWQ AARJefw7lB1KNw7dlCU3KM4webFFEOQNB5KRpKyNR9y69bxzc79qQcoQosaablOP5HPF LRfkNsxhC5AvLqzCQTLncj3Ym5bORkij5+l4cLdPtkw3f9MQiDgamPQytuF4JEBMxvF2 oPdB6/RgdkOSVhlMLyNjLGvfPcV2M6lB+gkVvRhN4OLu1eCnbJGM3FhCAjKE2ZD84j6z smx22qcGM8lDta9aBkM7hZkvAJQwwVhDSRs6A4eM9jM+fNgszSf028wooQyS0WCfhthq iQ5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=EaeQdsLl9Jjsk5cSIB/y2Rfm9qd4iY7Lh8YPyCy9S1g=; b=Mk0e7/HOb5p9mWDr6izKof5SylKOKPZe3LYhYuoXPEuAPswAOWkKN8f1is6KTkcRiG bFCaYSVnrNfba9pfAya7pVXLgbt64lnYhDI7Nf1Xj2g1Iq0pvOVUdprdjgvL56WuLPnH 1Rl6tgNaFCmAhBvpRcflsXh9vO5Bqgu4DcPNGXLmB80CspuH1ujMJT3yHpTJyju8/pHD fuzq+WPPm90wxRyOvwzXciBpvcuWbUcXsqOFtUWVqyqysu+7jv/dI1GjMz1swIIm4fS6 6ovtAi1wl+HW0feoAgchro5A1w3sfYpHnciLtk2wb4zjLQL/0hNIsto5+tG3ru2phyHH CPQA== X-Gm-Message-State: AOPr4FW9UsFEZru44x8duBZ9vShSFPp+8pA2x9jPhb+RLUN82LbDNOouRDVoT2s1scyPz4u25S+zY5rl2a37zw== MIME-Version: 1.0 X-Received: by 10.36.81.79 with SMTP id s76mr250236ita.71.1463699858344; Thu, 19 May 2016 16:17:38 -0700 (PDT) Received: by 10.36.113.3 with HTTP; Thu, 19 May 2016 16:17:38 -0700 (PDT) Received: by 10.36.113.3 with HTTP; Thu, 19 May 2016 16:17:38 -0700 (PDT) In-Reply-To: References: Date: Thu, 19 May 2016 16:17:38 -0700 Message-ID: Subject: Re: freebsd-wireless Digest, Vol 255, Issue 4 From: Adrian Chadd To: Andrzej Bylicki Cc: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2016 23:17:39 -0000 Hi! The phy code from brcmfmac is bsd licenced and with some bwn work should be able to be dropped in. I chose the GPL code because it was easier to port. I wanted to debug one thing at a time. Now that I'm confident the basic mac bits in bwn work, then changing phy code is doable. I'll likely port phy-ht from b43 so Landon can do his bcm4331 work on head. Once that's all done and working then I'll think about the bsd licenced phy code. If someone else wants to take a crack at it then please do! A On May 19, 2016 2:51 PM, "Andrzej Bylicki" wrote: Dear Adrian, Thank you very much for your hard work! I will test the driver as soon as I come back from a work-related symposium I am at right now. In your last e-mail you mentioned that some of the Broadcom bcm 43xx driver code is GPL-licensed. Do you think there is any chance to re-write it somehow as to make it compatible with the FreeBSD base system license-wide? If you need some help testing the driver I am all up for it. I have a fairly working FreeBSD 10.3-RELEASE installation on a 2009 MacBook laptop with bcm 4321. It would be nice to see the driver make its way to 11-RELEASE. Probably too much wishful thinking on my side, though :). All the best, Andy On Thu, May 19, 2016 at 2:00 PM, wrote: > Send freebsd-wireless mailing list submissions to > freebsd-wireless@freebsd.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > or, via email, send a message with subject or body 'help' to > freebsd-wireless-request@freebsd.org > > You can reach the person managing the list at > freebsd-wireless-owner@freebsd.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of freebsd-wireless digest..." > > > Today's Topics: > > 1. Re: bwn(4) updates - PHY-N support, newer firmware, etc > (Adrian Chadd) > 2. bwn updates - now BCM4321, BCM4322 (Adrian Chadd) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 18 May 2016 12:53:28 -0700 > From: Adrian Chadd > To: "freebsd-wireless@freebsd.org" > Subject: Re: bwn(4) updates - PHY-N support, newer firmware, etc > Message-ID: > < > CAJ-VmonSfQ2GeRX+THUR8Vu2BEfh4qCgOhKaFu+71YgssOWFxw@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Hi, > > I've fixed RX RSSI calculatinos for PHY-G, PHY-LP and PHY-N hardware. > The noise/rssi is now valid, and so now net80211/wpa_supplicant makes > sane(r) AP selection decisions. > > I've also done the firmware API 5xx support. That seems to work enough > to tinker with. > > > > -adrian > > > ------------------------------ > > Message: 2 > Date: Thu, 19 May 2016 00:01:15 -0700 > From: Adrian Chadd > To: "freebsd-wireless@freebsd.org" > Subject: bwn updates - now BCM4321, BCM4322 > Message-ID: > JZzj3977TbwbrGOKOiAmTg6PQfTK0a4Q@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Hiya, > > I managed to get the BCM4321 and BCM4322 working. You need to load > bwn_v4_n_ucode for BCM4322 and then it should "just work". > > BCM4321 also works on bwn_v4_n_ucode - it uses the same newer ucode API. > > You can't load bwn_v4_n_ucode and bwn_v4_lp_ucode just yet - I need to > address that. > > Let me know if you can test out either of these chips! > > > -adrian > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org > " > > ------------------------------ > > End of freebsd-wireless Digest, Vol 255, Issue 4 > ************************************************ > _______________________________________________ freebsd-wireless@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@freebsd.org Fri May 20 08:04:56 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6077BB43F6A for ; Fri, 20 May 2016 08:04:56 +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 514111252 for ; Fri, 20 May 2016 08:04:56 +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 u4K84tkq030396 for ; Fri, 20 May 2016 08:04:56 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 209545] Heap overflows in an driver Date: Fri, 20 May 2016 08:04:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to keywords 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.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2016 08:04:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209545 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-wireless@FreeBSD.or | |g Keywords| |patch --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Sat May 21 23:22:19 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C172FB45BB9 for ; Sat, 21 May 2016 23:22:19 +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 B25C91486 for ; Sat, 21 May 2016 23:22:19 +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 u4LNMJIa043443 for ; Sat, 21 May 2016 23:22:19 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 209198] iwn sometimes loses link on dhclient start Date: Sat, 21 May 2016 23:22:19 +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: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 May 2016 23:22:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209198 --- Comment #8 from commit-hook@freebsd.org --- A commit references this bug: Author: avos Date: Sat May 21 23:21:42 UTC 2016 New revision: 300383 URL: https://svnweb.freebsd.org/changeset/base/300383 Log: net80211: send RTM_IEEE80211_SCAN event when scan was cancelled. wpa_supplicant(8) expects to see 'scan complete' event after every scan command; in case, when event is not sent it will hang for indefinite time. PR: 209198 Changes: head/sys/net80211/ieee80211_scan_sw.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Sat May 21 23:25:11 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4CFA8B45C65 for ; Sat, 21 May 2016 23:25:11 +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 3DDFD164B for ; Sat, 21 May 2016 23:25:11 +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 u4LNPAhv049189 for ; Sat, 21 May 2016 23:25:11 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 209198] iwn sometimes loses link on dhclient start Date: Sat, 21 May 2016 23:25:11 +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: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: avos@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 May 2016 23:25:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209198 --- Comment #9 from Andriy Voskoboinyk --- Now workaround should work. --=20 You are receiving this mail because: You are the assignee for the bug.=