From owner-freebsd-stable@FreeBSD.ORG Thu Aug 11 07:12:04 2011 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5ED1106566B for ; Thu, 11 Aug 2011 07:12:04 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 3C98B8FC14 for ; Thu, 11 Aug 2011 07:12:03 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id KAA06402; Thu, 11 Aug 2011 10:12:01 +0300 (EEST) (envelope-from avg@FreeBSD.org) Message-ID: <4E4380C0.7070908@FreeBSD.org> Date: Thu, 11 Aug 2011 10:12:00 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110705 Thunderbird/5.0 MIME-Version: 1.0 To: Steven Hartland References: <47F0D04ADF034695BC8B0AC166553371@multiplay.co.uk> In-Reply-To: X-Enigmail-Version: 1.2pre Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-stable@FreeBSD.org Subject: Re: debugging frequent kernel panics on 8.2-RELEASE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2011 07:12:05 -0000 on 10/08/2011 18:35 Steven Hartland said the following: > Fatal double fault > rip = 0xffffffff8052f6f1 > rsp = 0xffffff86ce600fb0 > rbp = 0xffffff86ce601210 > cpuid = 0; apic id = 00 > panic: double fault > cpuid = 0 > KDB: stack backtrace: > #0 0xffffffff803af91e at kdb_backtrace+0x5e > #1 0xffffffff8037d817 at panic+0x187 > #2 0xffffffff80574316 at dblfault_handler+0x96 > #3 0xffffffff8055d06d at Xdblfault+0xad [snip] > #0 sched_switch (td=0xffffffff80830bc0, newtd=0xffffff000a73f8c0, flags=Variable > "flags" is not available.) > at /usr/src/sys/kern/sched_ule.c:1858 > 1858 cpuid = PCPU_GET(cpuid); > (kgdb) > #0 sched_switch (td=0xffffffff80830bc0, newtd=0xffffff000a73f8c0, flags=Variable > "flags" is not available.) > at /usr/src/sys/kern/sched_ule.c:1858 > #1 0xffffffff80385c86 in mi_switch (flags=260, newtd=0x0) > at /usr/src/sys/kern/kern_synch.c:449 > #2 0xffffffff803b92d2 in sleepq_timedwait (wchan=0xffffffff80830760, pri=68) > at /usr/src/sys/kern/subr_sleepqueue.c:644 > #3 0xffffffff803861e1 in _sleep (ident=0xffffffff80830760, lock=0x0, > priority=Variable "priority" is not available. > ) at /usr/src/sys/kern/kern_synch.c:230 > #4 0xffffffff80532c29 in scheduler (dummy=Variable "dummy" is not available. > ) at /usr/src/sys/vm/vm_glue.c:807 > #5 0xffffffff80335d67 in mi_startup () at /usr/src/sys/kern/init_main.c:254 > #6 0xffffffff8016efac in btext () at /usr/src/sys/amd64/amd64/locore.S:81 > #7 0xffffffff808556e0 in sleepq_chains () > #8 0xffffffff8083b1e0 in cpu_top () > #9 0x0000000000000000 in ?? () > #10 0xffffffff80830bc0 in proc0 () > #11 0xffffffff80ba4b90 in ?? () > #12 0xffffffff80ba4b38 in ?? () > #13 0xffffff000a73f8c0 in ?? () > #14 0xffffffff803a2cc9 in sched_switch (td=0x0, newtd=0x0, flags=Variable "flags" > is not available. > ) > at /usr/src/sys/kern/sched_ule.c:1852 > Previous frame inner to this frame (corrupt stack?) > (kgdb) Looks like this is just the first thread in the kernel. Perhaps 'thread apply all bt' could help to find the culprit. -- Andriy Gapon