From owner-freebsd-current@FreeBSD.ORG Mon Aug 2 21:42:27 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 CC32F16A4CE; Mon, 2 Aug 2004 21:42:27 +0000 (GMT) Received: from anchor-post-35.mail.demon.net (anchor-post-35.mail.demon.net [194.217.242.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BC4F43D31; Mon, 2 Aug 2004 21:42:27 +0000 (GMT) (envelope-from mike@urgle.com) Received: from guylian.urgle.com ([80.177.40.54]) by anchor-post-35.mail.demon.net with esmtp (Exim 3.35 #1) id 1BrkZe-000Kzu-0Z; Mon, 02 Aug 2004 21:42:26 +0000 Received: from mike by guylian.urgle.com with local (Exim 4.32; FreeBSD) id 1BrkZe-0009gW-0G; Mon, 02 Aug 2004 21:42:26 +0000 Date: Mon, 2 Aug 2004 22:42:25 +0100 From: Mike Bristow To: freebsd-current@freebsd.org Message-ID: <20040802214225.GA35626@urgle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i cc: bms@freebsd.org Subject: panic: vr_setcfg 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: Mon, 02 Aug 2004 21:42:27 -0000 Hi, I updated my machine at home to -current over the weekend, and it panics just after the rc scripts configure vr0 (I think): vr0: flags=8843 mtu 1500 inet ... inet6 .... ether .... panic: mutex vr0 not owned at /usr/src/sys/pci/if_vr.c:571 cpuid=1; KDB: enter: panic [thread 100077] Stopped at kdb_enter+0x30: leave db> trace kdb_enter(...) panic(...) _mtx_assert(...) vr_setcfg(...) vr_miibus_statchg(...) miibus_statchg(...) mii_phy_update(...) amphy_service(...) mii_pollstat(...) vr_ifmedia_sts(...) ifmedia_ioctl(...) vr_ioctl(...) ifhwioctl(...) ifioctl(...) soo_ioctl(...) ioctl(...) syscakk(...) Xint0x80_syscall(...) db> the usual excuses of "I copied the panic by hand" apply; it doesn't Just Give me a crashdumnp, I'll try and figure out how to get a crashdump & more useful debugging but that might take me a while; I thought I'd throw the above out in the hope that it'd be enough for people to work out what's going on - I /think/ I can sorta follow it, but I don't know where the mutex should be aquired - yet :) The version of if_vr.c that I moved from is 1.85; I haven't done any investigation as to when the problem was introduced. I'm running SMP: I suspect that matters. Cheers, Mike -- You dont have to be illiterate to use the Internet, but it help's.