From owner-freebsd-current Sun Mar 4 13:24:33 2001 Delivered-To: freebsd-current@freebsd.org Received: from moby.geekhouse.net (moby.geekhouse.net [64.81.6.36]) by hub.freebsd.org (Postfix) with ESMTP id 093B537B71A for ; Sun, 4 Mar 2001 13:24:20 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@dhcp152.geekhouse.net [192.168.1.152]) by moby.geekhouse.net (8.11.0/8.9.3) with ESMTP id f24LPA183719; Sun, 4 Mar 2001 13:25:10 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Sun, 04 Mar 2001 13:24:01 -0800 (PST) From: John Baldwin To: The Hermit Hacker Subject: RE: Using serial console to debug system hangs ... Cc: freebsd-current@FreeBSD.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 04-Mar-01 The Hermit Hacker wrote: > On Sat, 3 Mar 2001, John Baldwin wrote: > >> >> On 04-Mar-01 The Hermit Hacker wrote: >> > >> > Wow, that was painful ... after 2 hrs, I got as far as: >> >> Yeah, it spews out a lot of crap. :-/ You prolly want to use a 115200 >> serial >> console if at all possible. Should've mentioned that earlier.. > > Okay, I'm up to 115200, still a lot of crap ;) Any lower mask I can set > things at to get enough info, without so much flowing up the screen? I > can understand why she's so unresponsive, just wondering if there is a way > of reducing the amount of debugging without losing too much ... Well. Currnetly what 0x1200 logs is KTR_PROC and KTR_INTR, so it logs all incoming threaded interrupts as well as context switches, etc. If the machine hagns, it is very helpful to know if a) we are still getting interrupts at all (such as clock interrupts, which I can tell beecause the softclock swi thread get scheduled to execute.) and b) what processes were doing what when the machien hung. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message