From owner-freebsd-current@FreeBSD.ORG Tue Mar 27 12:00:03 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9CA4D16A404 for ; Tue, 27 Mar 2007 12:00:03 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id 67FC313C45B for ; Tue, 27 Mar 2007 12:00:03 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 4C57520D111; Tue, 27 Mar 2007 08:00:03 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Tue, 27 Mar 2007 08:00:03 -0400 X-Sasl-enc: 7osUSkPz2QejxgM7CYlhOY9ysYl4ug/vYSjA3Ikxj031 1174996802 Received: from [192.168.123.18] (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTP id C31471A0BB; Tue, 27 Mar 2007 08:00:02 -0400 (EDT) Message-ID: <46090741.1060007@FreeBSD.org> Date: Tue, 27 Mar 2007 13:00:01 +0100 From: "Bruce M. Simpson" User-Agent: Thunderbird 1.5.0.9 (X11/20070125) MIME-Version: 1.0 To: Tom Uffner References: <4607893B.3080409@uffner.com> <4607F3EA.30902@FreeBSD.org> <46083AE6.2020600@uffner.com> <46086850.1060505@FreeBSD.org> <46087A8F.9000606@uffner.com> In-Reply-To: <46087A8F.9000606@uffner.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org Subject: Re: current panics when Netgear WG511T ejected (and other NICs too) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Mar 2007 12:00:03 -0000 Tom Uffner wrote: > > thank you very much. You're welcome. > that appears to have fixed it for the Netgear card, and presumably any > other well-behaved cardbus NIC that had the same problem. Thanks. This fix should go in to -current shortly; it looks like rt_newmaddrmsg() does not check NULL pointers for situations where ifp has been nulled out. Andre reported a problem with multi refcounting on an SMP machine. The ifma instances in that case are protocol, not link layer, ifma instances. I am currently investigating. > > my Linksys Etherfast card which previously had the same panic, no longer > panics on eject, but it still does some weird stuff when inserted & > ejected: I think this may be related to the recent cardbus / pci / bus_alloc_resource changes. Regards, BMS