From owner-freebsd-current@FreeBSD.ORG Tue Oct 19 23:39:25 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BE0A16A4CE for ; Tue, 19 Oct 2004 23:39:25 +0000 (GMT) Received: from lon-mail-3.gradwell.net (lon-mail-3.gradwell.net [193.111.201.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E67A43D2F for ; Tue, 19 Oct 2004 23:39:24 +0000 (GMT) (envelope-from cbh-freebsd-current@groups.chrishedley.com) X-Gradwell-Debug: delivering mail for [freebsd-current@freebsd.org] to mx1.freebsd.org [216.136.204.125]:25 Received: from cpc2-oxfd4-4-0-cust119.oxfd.cable.ntl.com [80.3.246.119] (helo: mail.cbhnet)1.138) id 4175a5ab.18304.37 for freebsd-current@freebsd.org; Wed, 20 Oct 2004 00:39:23 +0100 Received: from localhost (localhost [127.0.0.1]) by mail.cbhnet (Postfix) with ESMTP id AD38531B018; Wed, 20 Oct 2004 00:39:13 +0100 (BST) Received: from mail.cbhnet ([127.0.0.1]) by localhost (mail.cbhnet [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16874-03; Wed, 20 Oct 2004 00:39:13 +0100 (BST) Received: from teapot.cbhnet (teapot.cbhnet [192.168.1.1]) by mail.cbhnet (Postfix) with ESMTP id 398DD31AFF6; Wed, 20 Oct 2004 00:39:13 +0100 (BST) Date: Wed, 20 Oct 2004 00:39:13 +0100 (BST) From: Chris Hedley X-X-Sender: cbh@teapot.cbhnet To: Kris Kennaway In-Reply-To: <20041019231815.GA7266@xor.obsecurity.org> Message-ID: <20041020003333.H866@teapot.cbhnet> References: <20041018202949.J866@teapot.cbhnet> <20041019160026.GB55255@xor.obsecurity.org> <20041019212009.GA93330@xor.obsecurity.org> <20041019231815.GA7266@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at chrishedley.com cc: freebsd-current@freebsd.org Subject: Re: Crash with new bind/host cmds on -CURRENT (poss. runq_remove?) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2004 23:39:25 -0000 On Tue, 19 Oct 2004, Kris Kennaway wrote: > On Wed, Oct 20, 2004 at 12:13:46AM +0100, Chris Hedley wrote: >> Hmm, that's what I already did. The only exception was having to use >> "kgdb" instead of "gdb -k" (the latter complained that it didn't >> understand "-k" which is odd, as it used to work). I was a bit surprised >> that it didn't print the syslog buffer when I started it, too. > > If you don't use the kernel.debug, you won't get the debugging symbols. Ah, that one sneaked right under my radar! Right, now I seem to have the more descriptive bits in the function traceback, which are: #0 doadump () at pcpu.h:159 #1 0xc04ed2dd in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:385 #2 0xc04ed657 in panic (fmt=0xc06a7dd8 "from debugger") at /usr/src/sys/kern/kern_shutdown.c:541 #3 0xc0451d2d in db_panic (addr=-1068501416, have_addr=0, count=-1, modif=0xe267da94 "") at /usr/src/sys/ddb/db_command.c:435 #4 0xc0451cc2 in db_command (last_cmdp=0xc0708744, cmd_table=0x0, aux_cmd_tablep=0xc06d36f4, aux_cmd_tablep_end=0xc06d36f8) at /usr/src/sys/ddb/db_command.c:349 #5 0xc0451d8e in db_command_loop () at /usr/src/sys/ddb/db_command.c:455 #6 0xc0453abc in db_trap (type=12, code=0) at /usr/src/sys/ddb/db_main.c:221 #7 0xc0506886 in kdb_trap (type=12, code=0, tf=0xe267dc04) at /usr/src/sys/kern/subr_kdb.c:419 #8 0xc067b039 in trap_fatal (frame=0xe267dc04, eva=220) at /usr/src/sys/i386/i386/trap.c:804 #9 0xc067a78d in trap (frame= {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 0, tf_esi = 216, tf_ebp = -496509872, tf_isp =-496509904, tf_ebx = 26, tf_edx = 0, tf_ecx = -1032947760, tf_eax = -1066325112, tf_trapno = 12, tf_err = 2, tf_eip = -1068501416, tf_cs = 8, tf_eflags = 65606, tf_esp = -1032947760, tf_ss = 40}) at /usr/src/sys/i386/i386/trap.c:247 #10 0xc0668c6a in calltrap () at /usr/src/sys/i386/i386/exception.s:140 #11 0x00000018 in ?? () #12 0x00000010 in ?? () #13 0x00000010 in ?? () #14 0x00000000 in ?? () #15 0x000000d8 in ?? () #16 0xe267dc50 in ?? () #17 0xe267dc30 in ?? () #18 0x0000001a in ?? () #19 0x00000000 in ?? () #20 0xc26e77d0 in ?? () #21 0xc0712b88 in kseq_cpu () #22 0x0000000c in ?? () #23 0x00000002 in ?? () #24 0xc04ff658 in runq_remove (rq=0x0, ke=0x0) at kern_switch.c:900 #25 0xc04fdf55 in sched_prio (td=0xc26e7680, prio=40 '(') at /usr/src/sys/kern/sched_ule.c:1232 #26 0xc050e4f8 in propagate_priority (td=0xc26e7680) at /usr/src/sys/kern/subr_turnstile.c:223 #27 0xc050ed4e in turnstile_wait (lock=0xc07108a0, owner=0xc26e7680) at /usr/src/sys/kern/subr_turnstile.c:578 #28 0xc04e46ac in _mtx_lock_sleep (m=0xc07108a0, td=0xc22d0820, opts=0, file=0x0, line=0) at /usr/src/sys/kern/kern_mutex.c:558 #29 0xc05630e2 in swi_net (dummy=0x0) at /usr/src/sys/net/netisr.c:338 #30 0xc04d828a in ithread_loop (arg=0xc227c800) at /usr/src/sys/kern/kern_intr.c:547 #31 0xc04d72e9 in fork_exit (callout=0xc04d8130 , arg=0xc227c800, frame=0xe267dd48) at /usr/src/sys/kern/kern_fork.c:807 #32 0xc0668ccc in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:209 if that's any better. Is there anything else I can dig out which might be helpful? Cheers, Chris.