From owner-freebsd-stable Thu Nov 28 10: 7: 6 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC84237B401 for ; Thu, 28 Nov 2002 10:07:04 -0800 (PST) Received: from ion.gank.org (ion.gank.org [198.78.66.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37E8C43EA9 for ; Thu, 28 Nov 2002 10:07:04 -0800 (PST) (envelope-from craig@meoqu.gank.org) Received: from aldaris2.auir.gank.org (dsl081-113-221.dfw1.dsl.speakeasy.net [64.81.113.221]) by ion.gank.org (GankMail) with ESMTP id D185E2BF65 for ; Thu, 28 Nov 2002 12:04:04 -0600 (CST) Subject: Re: Help needed debugging hard lock (SMP-related) From: Craig Boston To: stable@freebsd.org In-Reply-To: <1038441616.816.41.camel@aldaris2.auir.gank.org> References: <1038441616.816.41.camel@aldaris2.auir.gank.org> Content-Type: text/plain Organization: Message-Id: <1038506825.12779.26.camel@aldaris2.auir.gank.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 28 Nov 2002 12:07:05 -0600 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG (kgdb) print pidhashtbl[73508 & pidhash].lh_first->p_pid $21 = 73508 (kgdb) proc pidhashtbl[73508 & pidhash].lh_first #0 mi_switch () at machine/globals.h:119 #1 0xc02b53f0 in Xfastintr4 () #2 0xc02c8989 in syscall2 (frame={tf_fs = -1078001617, tf_es = 47, tf_ds = -1078001617, tf_edi = -1077938496, tf_esi = 0, tf_ebp = -1077938368, tf_isp = -565383212, tf_ebx = -1077938624, tf_edx = 0, tf_ecx = 3, tf_eax = 93, tf_trapno = 0, tf_err = 2, tf_eip = 672351408, tf_cs = 31, tf_eflags = 515, tf_esp = -1077938844, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1175 #3 0xc02b4e0b in Xint0x80_syscall () #4 0x804a3d3 in ?? () #5 0x804a21b in ?? () #6 0x8049795 in ?? () I'm guessing the the Xfastintr4 and mi_switch are from me breaking into the debugger, so that would leave the process "running" somewhere in syscall2... (kgdb) up 2 #2 0xc02c8989 in syscall2 (frame={tf_fs = -1078001617, tf_es = 47, tf_ds = -1078001617, tf_edi = -1077938496, tf_esi = 0, tf_ebp = -1077938368, tf_isp = -565383212, tf_ebx = -1077938624, tf_edx = 0, tf_ecx = 3, tf_eax = 93, tf_trapno = 0, tf_err = 2, tf_eip = 672351408, tf_cs = 31, tf_eflags = 515, tf_esp = -1077938844, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1175 1175 error = (*callp->sy_call)(p, args); (kgdb) print *callp $22 = {sy_narg = 5, sy_call = 0xc01982e0