Re: panic: mutex Giant not owned

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Thu, 25 Mar 2004 15:27:27 -0500
On Thursday 25 March 2004 05:39 am, Lukas Ertl wrote:
> Hi,
>
> I was dropped into DDB after a panic and tried to save a coredump with
> "call doadump", which resulted in a:
>
> panic: mutex Giant not owned in /usr/src/sys/cam/cam_xpt.c:3970
>
> Second call to "doadump" succeeded, but savecore(8) couldn't save the core
> ('bad dump header' or something like this).

Cute.  I should fix mtx_assert() to just bail and not panic if panicstr is 
already set.

-- 
John Baldwin <jhb_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Received on Thu Mar 25 2004 - 11:26:00 UTC

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