Re: panic: mutex vr0 not owned at ...if_vr.c:571 when doing ifconfig

From: Simon Dick <simond_at_irrelevant.org>
Date: Tue, 10 Aug 2004 15:32:52 +0100
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 _at_
> >>>+/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
Received on Tue Aug 10 2004 - 12:34:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:05 UTC