From owner-freebsd-current@FreeBSD.ORG Tue Aug 10 14:34:54 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 E7D1816A4CE; Tue, 10 Aug 2004 14:34:54 +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 6F18943D1D; Tue, 10 Aug 2004 14:34:54 +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 1BuXiC-000IkS-Q9; Tue, 10 Aug 2004 15:34:48 +0100 From: Simon Dick To: Scott Long In-Reply-To: <4118DB22.8060202@samsco.org> References: <1092044482.20927.35.camel@singsing.eng.demon.net> <1092143030.54231.0.camel@simon.lcn.biz> <1092147286.632.0.camel@laptop.irrelevant.org> <4118DB22.8060202@samsco.org> Content-Type: text/plain Message-Id: <1092148372.632.4.camel@laptop.irrelevant.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 10 Aug 2004 15:32:52 +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:34:55 -0000 On Tue, 2004-08-10 at 15:26, Scott Long wrote: > 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. Yes, that's exactly what I found, thanks Mike