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

Jun Kuriyama kuriyama at imgsrc.co.jp
Sat Dec 6 05:49:57 PST 2003


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


More information about the freebsd-current mailing list