From owner-freebsd-current@FreeBSD.ORG Thu Jun 21 08:36:22 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F347B16A468 for ; Thu, 21 Jun 2007 08:36:21 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.187]) by mx1.freebsd.org (Postfix) with ESMTP id 72C0513C4BC for ; Thu, 21 Jun 2007 08:36:21 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by mu-out-0910.google.com with SMTP id w9so429492mue for ; Thu, 21 Jun 2007 01:36:20 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=e/ItWo8R/zWgjL9S+N5+yS0bl24E1lCwl2xlZYhRCMtOLb+ZvQBOVoHCizwvch/KgQjalh5PiOEVGvvLKxijmZiuhkxwrW69j2KD8ObETYa/qX9+C0112yF4OUUzdnO2BbXjS7mt26Q14fvZ2yrDcCeyYKoy9WTds2VM9isdK14= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=CRuvJcLF+4UDu32EFhQWVPffa82Kqb2l4gPG63JJWWIpEisXhoJwyHfcvwA2TFPWlf4zLbF4cxlgTtL5xhV+RHkElHOkh+7O/xQN0gOKiyq1ttAp3CnagFvG13Od3KAOXo9bC5Tsrqan8wYeSDAMueS6K2olLtEJASZLdd8WFDw= Received: by 10.82.112.3 with SMTP id k3mr3388595buc.1182414979853; Thu, 21 Jun 2007 01:36:19 -0700 (PDT) Received: from ?172.31.5.25? ( [89.97.252.178]) by mx.google.com with ESMTP id f7sm7839421nfh.2007.06.21.01.36.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 21 Jun 2007 01:36:19 -0700 (PDT) Message-ID: <467A3869.3020706@FreeBSD.org> Date: Thu, 21 Jun 2007 10:35:53 +0200 From: Attilio Rao User-Agent: Thunderbird 1.5 (X11/20060526) MIME-Version: 1.0 To: Kevin Gerry , Jeff Roberson References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: Attilio Rao Cc: freebsd-current@freebsd.org Subject: Re: Kernel Panic in latest -CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: attilio@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jun 2007 08:36:22 -0000 Kevin Gerry wrote: > #0 doadump () at pcpu.h:195 > 195 pcpu.h: No such file or directory. > in pcpu.h > (kgdb) bt > #0 doadump () at pcpu.h:195 > #1 0xc060cb73 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 > #2 0xc060cd6f in panic (fmt=Variable "fmt" is not available. > ) at /usr/src/sys/kern/kern_shutdown.c:563 > #3 0xc086954c in trap_fatal (frame=0xe40d3b9c, eva=20) at > /usr/src/sys/i386/i386/trap.c:870 > #4 0xc0869e8c in trap (frame=0xe40d3b9c) at > /usr/src/sys/i386/i386/trap.c:276 > #5 0xc0853afb in calltrap () at /usr/src/sys/i386/i386/exception.s:139 > #6 0xc063b008 in propagate_priority (td=0xc3ab5e00) at > /usr/src/sys/kern/subr_turnstile.c:272 > #7 0xc063b989 in turnstile_wait (ts=0xc3a9e6e0, owner=0xc3ab5e00, > queue=Variable "queue" is not available. > ) at /usr/src/sys/kern/subr_turnstile.c:739 > #8 0xc060140d in _mtx_lock_sleep (m=0xc0993228, tid=3284357632, opts=0, > file=0x0, line=0) at /usr/src/sys/kern/kern_mutex.c:395 > #9 0xc04decd7 in em_handle_rxtx (context=0xc3b63000, pending=1) at > /usr/src/sys/dev/em/if_em.c:1477 > #10 0xc0639e72 in taskqueue_run (queue=0xc3be1880) at > /usr/src/sys/kern/subr_taskqueue.c:255 > #11 0xc063a04f in taskqueue_thread_loop (arg=0xc3b632ec) at > /usr/src/sys/kern/subr_taskqueue.c:374 > #12 0xc05ee896 in fork_exit (callout=0xc0639fd0 , > arg=0xc3b632ec, frame=0xe40d3d38) > at /usr/src/sys/kern/kern_fork.c:797 > #13 0xc0853b70 in fork_trampoline () at > /usr/src/sys/i386/i386/exception.s:205 > (kgdb) list *0xc063b008 > 0xc063b008 is in propagate_priority > (/usr/src/sys/kern/subr_turnstile.c:273). > 268 ts = td->td_blocked; > 269 MPASS(ts != NULL); > 270 MPASS(td->td_lock == &ts->ts_lock); > 271 /* Resort td on the list if needed. */ > 272 if (!turnstile_adjust_thread(ts, td)) { > 273 mtx_unlock_spin(&ts->ts_lock); > 274 return; > 275 } > 276 /* The thread lock is released as ts lock above. */ > 277 } Jeff can better comment on it, but for what I can see it seems that ts->ts_lock is not acquired again once the new assignment from td->td_blocked is done and I think it should be. Thanks a lot for your report, Attilio