panic: mutex vr0 not owned at ...if_vr.c:571 when doing ifconfig
Mike Bristow
mike at urgle.com
Tue Aug 10 00:06:06 PDT 2004
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
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.
More information about the freebsd-current
mailing list