From owner-freebsd-current@FreeBSD.ORG Tue Aug 10 14:29:01 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5F2116A4CE; Tue, 10 Aug 2004 14:29:01 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C86943D1F; Tue, 10 Aug 2004 14:29:01 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.0.201] ([192.168.0.201]) (authenticated bits=0) by pooker.samsco.org (8.12.11/8.12.10) with ESMTP id i7AESeJ7027523; Tue, 10 Aug 2004 08:28:40 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4118DB22.8060202@samsco.org> Date: Tue, 10 Aug 2004 08:26:42 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.1) Gecko/20040801 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Simon Dick References: <1092044482.20927.35.camel@singsing.eng.demon.net> <1092143030.54231.0.camel@simon.lcn.biz> <1092147286.632.0.camel@laptop.irrelevant.org> In-Reply-To: <1092147286.632.0.camel@laptop.irrelevant.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org cc: freebsd-current@freebsd.org cc: Robert Watson Subject: Re: panic: mutex vr0 not owned at ...if_vr.c:571 when doing ifconfig X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 10 Aug 2004 14:29:01 -0000 Simon Dick wrote: > On Tue, 2004-08-10 at 14:03, Simon Dick wrote: > >>On Tue, 2004-08-10 at 08:06, Mike Bristow wrote: >> >>>On Mon, Aug 09, 2004 at 06:41:43PM -0400, Robert Watson wrote: >>> >>>>Hmm. I actually committed a slightly different patch as if_vr.c:1.93 to >>>>acquire the lock around vr_setcfg() in vr_miibus_statchg(). Could you >>>>check that that also solves the problem? >>> >>>When I tried that, it booted but paniced as soon as I ran 'ifconfig >>>vr0 media blah': >>> >>> >>># ifconfig vr0 media 100baseTX >>>panic: _mtx_lock_sleep: recursed on non-recursive mutex vr0 @ >>>+/usr/src/sys/pci/if_vr.c:506 >> >>Same here with 1.93 installed, currently backed out to 1.92 so I can use >>my network > > > Just tried the patch in PR 70189 and it works fine for me > So backing out rev 1.93 _and_ applying the patch in the PR makes everything work? If so then I'll look into this today. Scott