From owner-freebsd-current Sun Sep 17 15:24: 2 2000 Delivered-To: freebsd-current@freebsd.org Received: from ns.plaut.de (ns.plaut.de [194.99.75.166]) by hub.freebsd.org (Postfix) with ESMTP id D06E037B422; Sun, 17 Sep 2000 15:23:56 -0700 (PDT) Received: (from uucp@localhost) by ns.plaut.de (8.9.3/8.9.3) with UUCP id AAA02625; Mon, 18 Sep 2000 00:23:36 +0200 (CEST) (envelope-from root@nihil.plaut.de) Received: from localhost (root@localhost) by nihil.plaut.de (8.11.0/8.8.8) with ESMTP id e8HNNZr01576; Mon, 18 Sep 2000 01:23:35 +0200 (CEST) (envelope-from root@nihil.plaut.de) Date: Mon, 18 Sep 2000 01:23:30 +0200 (CEST) From: Michael Reifenberger To: Greg Lehey Cc: FreeBSD-Current , FreeBSD-SMP Subject: Re: Debugging -current SMPNG HANG on heavy disk-io In-Reply-To: <20000918074021.E67912@wantadilla.lemis.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 18 Sep 2000, Greg Lehey wrote: ... > You could also show the content of p->p_pid. If you don't have a p > pointer in the frame you're looking at, use ((struct > *proc)gd_curproc)->p_pid and ((struct *proc)gd_curproc)->p_comm. We > need to know what is hanging. Sorry doesn't seem to work: (kgdb) p p->p_comm No symbol "p" in current context. (kgdb) p ((struct*proc)gd_curproc)->p_pid A syntax error in expression, near `proc)gd_curproc)->p_pid'. (kgdb) p ((struct *proc)gd_curproc)->p_comm A syntax error in expression, near `proc)gd_curproc)->p_comm'. (kgdb) p gd_curproc $1 = 0xc78760c0 Bye! ---- Michael Reifenberger ^.*Plaut.*$, IT, R/3 Basis, GPS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message