Date: Tue, 10 Aug 2004 08:06:03 +0100 From: Mike Bristow <mike@urgle.com> To: Robert Watson <rwatson@freebsd.org> Cc: freebsd-current@freebsd.org Subject: Re: panic: mutex vr0 not owned at ...if_vr.c:571 when doing ifconfig Message-ID: <20040810070603.GA27291@urgle.com> In-Reply-To: <Pine.NEB.3.96L.1040809184050.54392D-100000@fledge.watson.org> References: <1092044482.20927.35.camel@singsing.eng.demon.net> <Pine.NEB.3.96L.1040809184050.54392D-100000@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040810070603.GA27291>