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

From: Mike Bristow <mike_at_urgle.com>
Date: Tue, 10 Aug 2004 08:06:03 +0100
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
cpuid = 1
KDB: enter: panic
[thread 100089]
Stopped at      kdb_enter+0x30: leave
db> trace
kdb_enter(...
panic(...
_mtx_lock_sleep
_mtx_lock_flags
vr_miibus_statchg
miibus_statchg
mii_phy_update
amphy_service
mii_mediachg
vr_init_locked
vr_init
vr_ifmdia_upd
ifmedia_ioctl
vr_ioctl
ifhwioctl
ifioctl
syscall
Xint0x80_syscall

-- 
You dont have to be illiterate to use the Internet, but it help's.
Received on Tue Aug 10 2004 - 05:06:06 UTC

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