From owner-freebsd-smp Sun Sep 17 6:30:22 2000 Delivered-To: freebsd-smp@freebsd.org Received: from ns.plaut.de (ns.plaut.de [194.99.75.166]) by hub.freebsd.org (Postfix) with ESMTP id 8423137B422; Sun, 17 Sep 2000 06:30:15 -0700 (PDT) Received: (from uucp@localhost) by ns.plaut.de (8.9.3/8.9.3) with UUCP id PAA01098; Sun, 17 Sep 2000 15:29:54 +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 e8HETkm00847; Sun, 17 Sep 2000 16:29:46 +0200 (CEST) (envelope-from root@nihil.plaut.de) Date: Sun, 17 Sep 2000 16:29:41 +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: <20000917102824.C42114@wantadilla.lemis.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, ... > The frames above are what the system went to as the result of your > debugger request. I'd also be interested to see the output of the > 'icnt' macro (if this is UP machine) or 'icnt1' (if it's SMP), and > 'ps' (the macro I promised above). (kgdb) icnt 1215544* 566* 0 0* 0 0 1 0 1555964* 0* 0* 0* 0 0* 22636* 11 1 0 0 0 0 0 441031 imen: 6f0b (kgdb) ps pid proc addr uid pri ppid pgrp flag stat comm wchan 37 c7874a00 c9665000 0 32 6 36 004086 3 tar piperd c9663f20 36 c7874bc0 c960a000 0 32 6 36 004006 3 tar FFS node c02f4220 35 c7874d80 c9607000 0 32 6 35 004006 3 tar inode c1d2fa00 6 c7874f40 c9604000 0 32 1 6 004086 3 sh wait c7874f40 5 c7875100 c8295000 0 4 0 0 000204 3 syncer syncer c03236e8 4 c78752c0 c8293000 0 4 0 0 100204 3 bufdaemon psleep c03072f0 3 c7875480 c8291000 0 4 0 0 000204 3 vmdaemon psleep c0317a00 2 c7875640 c828f000 0 4 0 0 100204 3 pagedaemon psleep c02f5938 21 c7875800 c78d4000 0 1* 0 0 000204 2 irq8: rtc 20 c78759c0 c78d2000 0 1* 0 0 000204 2 irq0: clk 19 c7875b80 c78b0000 0 7* 0 0 000204 6 irq5: pcm0 18 c7875d40 c788e000 0 7* 0 0 000204 6 irq7: ppc0 17 c7875f00 c788c000 0 7* 0 0 000204 6 irq12: psm0 16 c78760c0 c788a000 0 7* 0 0 000204 2 irq1: atkbd0 15 c7876280 c7887000 0 6* 0 0 000204 6 irq6: fdc0 14 c7876440 c7885000 0 6* 0 0 000204 6 irq15: ata1 13 c7876600 c7883000 0 6* 0 0 000204 2 irq14: ata0 12 c78767c0 c7881000 0 4 0 0 000204 3 random rndslp c0322934 11 c7876980 c787f000 0 15* 0 0 008204 6 softinterrupt 10 c7876b40 c787d000 0 4 0 0 008204 2 idle 1 c7876d00 c787b000 0 4 0 1 004284 3 init wait c7876d00 0 c0322960 c03c0000 0 4 0 0 000204 3 swapper sched c0322960 ... > handler. At this point, it would be very interesting to see the value > of p->p_comm, which is the process name at the end of the ps listing. > > > (kgdb) proc 35 > > Why are you interested in this process? It was one of the tar's which I grabbed by hand (without your ps macro) ... Whats next to show :-) Bye! ---- Michael Reifenberger ^.*Plaut.*$, IT, R/3 Basis, GPS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message