Re: panic: mutex Giant not owned at src/sys/security/mac/mac_net.c:355

From: Simon L. Nielsen <simon_at_FreeBSD.org>
Date: Fri, 23 Apr 2004 21:24:28 +0200
On 2004.04.22 18:19:03 -0400, Robert Watson wrote:

> Indeed, if_sis is showed as GIANT-LOCKED, which means the interrupt
> handler is running with Giant.  However, on re-reading your stack trace,

Ah, OK.

> it's not actually the if_sis interrupt: it's the callout/timeout that
> if_sis schedules, and it's marked as unconditionally CALLOUT_MPSAFE.  Try
> this patch:

With the patch the panic is gone, so that must be the problem.  Thanks!

-- 
Simon L. Nielsen
FreeBSD Documentation Team

Received on Fri Apr 23 2004 - 10:24:31 UTC

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