From owner-freebsd-net@FreeBSD.ORG Mon Aug 23 07:10:03 2010 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38A17106566C for ; Mon, 23 Aug 2010 07:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 09BC08FC16 for ; Mon, 23 Aug 2010 07:10:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7N7A2QO025365 for ; Mon, 23 Aug 2010 07:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7N7A250025364; Mon, 23 Aug 2010 07:10:02 GMT (envelope-from gnats) Date: Mon, 23 Aug 2010 07:10:02 GMT Message-Id: <201008230710.o7N7A250025364@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Bernhard Schmidt Cc: Subject: Re: kern/144898: [wpi] [panic] wpi panics system X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bernhard Schmidt List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Aug 2010 07:10:03 -0000 The following reply was made to PR kern/144898; it has been noted by GNATS. From: Bernhard Schmidt To: Dominic Fandrey Cc: bug-followup@freebsd.org Subject: Re: kern/144898: [wpi] [panic] wpi panics system Date: Mon, 23 Aug 2010 09:06:46 +0200 On Sun, Aug 22, 2010 at 19:48, Dominic Fandrey wrote: > On 22/08/2010 15:38, Bernhard Schmidt wrote: >> Hi, >> >> please give attached patch a shot, it should fix the issues with the >> RFKill button. >> >> Currently I'm not able to reproduce the other issues, I don't have 8 >> GB RAM though. > > I have now both your patch an Alex's patch applied and everything > seems to be working. I hope both patches make it into RELENG_8. > > I'll get back to you once I've used it for a time. Alex's patch > already fixed the panic when turning the radio switch off, but > with your patch I can also connect to a network more than once. Alex's patch addresses a different issue, there is a race with wpa_supplicant (/etc/rc.d/netif restart) which might free a node while one of the wpi functions is using it. It shouldn't make any difference in your case, though, it's nice to fix this now and I probably going to commit it anyways. Please let me know if there a any stability issues left, it made a pretty good impressions over this weekend while I did run some tests. Thanks. -- Bernhard