Re: panic: mutex em1 not owned at /usr/src/sys/dev/em/if_em.c:1608

From: Jun Kuriyama <kuriyama_at_imgsrc.co.jp>
Date: Sat, 06 Dec 2003 22:49:51 +0900
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_at_imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama_at_FreeBSD.org> // FreeBSD Project
Received on Sat Dec 06 2003 - 04:49:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:32 UTC