From owner-freebsd-current@FreeBSD.ORG Tue Aug 10 14:16:46 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 3BCE416A4CE; Tue, 10 Aug 2004 14:16:46 +0000 (GMT) Received: from home.irrelevant.org (dsl-217-155-238-245.zen.co.uk [217.155.238.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A20543D2D; Tue, 10 Aug 2004 14:16:45 +0000 (GMT) (envelope-from simond@irrelevant.org) Received: from telivo.cust.hastwood.com ([62.244.179.195] helo=[192.168.195.53]) by home.irrelevant.org with asmtp (TLSv1:AES256-SHA:256) (Exim 4.30; FreeBSD) id 1BuXQg-000Ii2-Ny; Tue, 10 Aug 2004 15:16:42 +0100 From: Simon Dick To: Mike Bristow In-Reply-To: <1092143030.54231.0.camel@simon.lcn.biz> References: <1092044482.20927.35.camel@singsing.eng.demon.net> <1092143030.54231.0.camel@simon.lcn.biz> Content-Type: text/plain Message-Id: <1092147286.632.0.camel@laptop.irrelevant.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 10 Aug 2004 15:14:46 +0100 Content-Transfer-Encoding: 7bit X-Spam-Score: -4.6 (----) X-Spam-Report: Content analysis details: (-4.6 points, 5.0 required) pts rule name description --------------------------------------------------1% [score: 0.0000] 0.3 AWL AWL: Auto-whitelist adjustment 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:16:46 -0000 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