From owner-freebsd-current@FreeBSD.ORG Sat Dec 6 05:49:57 2003 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 0913316A4CE; Sat, 6 Dec 2003 05:49:57 -0800 (PST) Received: from white.imgsrc.co.jp (ns.imgsrc.co.jp [210.226.20.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3540543F85; Sat, 6 Dec 2003 05:49:54 -0800 (PST) (envelope-from kuriyama@imgsrc.co.jp) Received: from localhost (localhost [127.0.0.1]) by white.imgsrc.co.jp (Postfix) with ESMTP id 23B9428409F; Sat, 6 Dec 2003 22:49:53 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2::130]) by white.imgsrc.co.jp (Postfix) with ESMTP id 14E99284095; Sat, 6 Dec 2003 22:49:52 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2::130]) by black.imgsrc.co.jp (Postfix) with ESMTP id DFF5C1E4A62; Sat, 6 Dec 2003 22:49:51 +0900 (JST) Date: Sat, 06 Dec 2003 22:49:51 +0900 Message-ID: <7mad666oow.wl@black.imgsrc.co.jp> From: Jun Kuriyama To: "Daniel M. Eischen" In-Reply-To: <3FD09AF2.5020409@vigrid.com> References: <7mptf46imf.wl@black.imgsrc.co.jp> <3FD09AF2.5020409@vigrid.com> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS snapshot-20020531 cc: Current cc: pdeuskar@FreeBSD.org Subject: Re: panic: mutex em1 not owned at /usr/src/sys/dev/em/if_em.c:1608 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: Sat, 06 Dec 2003 13:49:57 -0000 At Fri, 5 Dec 2003 14:50:09 +0000 (UTC), Daniel M. Eischen wrote: > > I got an panic when playing with net/freevrrpd. I forgot to specify > > $dumpdev in /etc/rc.conf on this new test box, so I cannot get kernel > > core at this time... > > Try removing line 771 of dev/em/if_em.c. The call to em_stop() requires > the mutex to be locked, but it's not necessary because em_init() calls > em_stop() with the mutex held. Seems good! I have not got that panic since I applied your suggestion. Should this be merge to 5.2-RELEASE candidate? -- Jun Kuriyama // IMG SRC, Inc. // FreeBSD Project