From owner-freebsd-current@FreeBSD.ORG Tue Aug 10 13:03:57 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 8306416A4CE; Tue, 10 Aug 2004 13:03:57 +0000 (GMT) Received: from smtp.lcn.biz (smtp.lcn.biz [195.82.107.155]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBCBC43D41; Tue, 10 Aug 2004 13:03:56 +0000 (GMT) (envelope-from simond@irrelevant.org) Received: from telivo.cust.hastwood.com ([62.244.179.195] helo=[192.168.195.5]) by smtp.lcn.biz with asmtp (Exim 4.30; FreeBSD) id 1BuWIF-000K1G-Dc; Tue, 10 Aug 2004 14:03:55 +0100 From: Simon Dick To: Mike Bristow In-Reply-To: <20040810070603.GA27291@urgle.com> References: <1092044482.20927.35.camel@singsing.eng.demon.net> <20040810070603.GA27291@urgle.com> Content-Type: text/plain Message-Id: <1092143030.54231.0.camel@simon.lcn.biz> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 10 Aug 2004 14:03:51 +0100 Content-Transfer-Encoding: 7bit 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 13:03:57 -0000 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