Re: spin lock sched lock held by 0xc25a8640 for > 5 seconds

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Thu, 20 Nov 2003 15:17:29 -0500 (EST)
On 20-Nov-2003 Craig Rodrigues wrote:
> On Thu, Nov 20, 2003 at 11:03:42AM -0800, Kris Kennaway wrote:
>> c052e000 t propagate_priority
>> c052e360 T init_turnstiles
> 
> Is your crash similar to the one I saw on my system yesterday?

No, your real panic was earlier.  The pp was a later panic during the
buffer sync.

> Script started on Thu Nov 20 14:50:14 2003
> [root_at_dibbler /opt/crash]% gdb -k /usr/obj/usr/src/sys/MYKERNEL1/kernel.debug vmcore. 
> 0
> GNU gdb 5.2.1 (FreeBSD)
> Copyright 2002 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i386-undermydesk-freebsd"...
> panic: page fault
> panic messages:
> ---
> Fatal trap 12: page fault while in kernel mode
> cpuid = 0; apic id = 00
> fault virtual address = 0x6300040
> fault code            = supervisor read, page not present
> instruction pointer   = 0x8:0xc083611e

Can you do a 'l *0xc083611e' on in gdb on your kernel.debug

> stack pointer         = 0x10:0xd3383a24
> frame pointer         = 0x10:0xd3383a34
> code segment          = base 0x0, limit 0xfffff, type 0x1b
>                       = DPL 0, pres 1, def32 1, gran 1
> processor eflags      = interrupt enabled, resume, IOPL = 0
> current process               = 75969 (tcpdump)
> trap number           = 12
> panic: page fault
> cpuid = 0; 
> 
> syncing disks, buffers remaining... panic: sleeping thread (pid 75969) owns a non-sleepable lock

This is where pp panic'd.

-- 

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 Nov 20 2003 - 11:17:36 UTC

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