Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Sep 2004 10:23:55 -0400
From:      John Baldwin <jhb@FreeBSD.org>
To:        Maxim Maximov <mcsi@mcsi.pp.ru>
Cc:        Nate Lawson <nate@root.org>
Subject:   Re: panic on shutdown
Message-ID:  <200409031023.55561.jhb@FreeBSD.org>
In-Reply-To: <4137EA5C.30606@mcsi.pp.ru>
References:  <4137EA5C.30606@mcsi.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 02 September 2004 11:51 pm, Maxim Maximov wrote:
> Hello.
>
> 	I just got this panic on shutdown using Power button, hand transcribed:
>
> Syncing disks: <numbers>
> No buffers busy after final sync
> Uptime: 21m53s
> Powering system off using ACPI
>
> panic: lock (sleep mutex) Giant not locked @
> /usr/src/sys/kern/kern_timeout.c:279
>
> cpuid = 0
> KDB: enter: panic
> ACPI power-off failed - timeout
>
> Rebooting...
> cpu_reset: called on cpu#1
> cpu_reset: Stopping other CPUs
>
> Here it hung until I pressed Power button again. Then it shut down.

Looks like the timeout/callout routine dropped Giant more than it acquired it.

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



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