Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Dec 2003 22:49:51 +0900
From:      Jun Kuriyama <kuriyama@imgsrc.co.jp>
To:        "Daniel M. Eischen" <eischen@vigrid.com>
Cc:        pdeuskar@FreeBSD.org
Subject:   Re: panic: mutex em1 not owned at /usr/src/sys/dev/em/if_em.c:1608
Message-ID:  <7mad666oow.wl@black.imgsrc.co.jp>
In-Reply-To: <3FD09AF2.5020409@vigrid.com>
References:  <7mptf46imf.wl@black.imgsrc.co.jp> <3FD09AF2.5020409@vigrid.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <kuriyama@imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama@FreeBSD.org> // FreeBSD Project



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7mad666oow.wl>