From owner-freebsd-hackers Thu Feb 6 16:21:24 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA17360 for hackers-outgoing; Thu, 6 Feb 1997 16:21:24 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id QAA17354; Thu, 6 Feb 1997 16:21:18 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id BAA13648; Fri, 7 Feb 1997 01:21:12 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.6.9) id AAA10513; Fri, 7 Feb 1997 00:56:33 +0100 (MET) Message-ID: Date: Fri, 7 Feb 1997 00:56:33 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: jin@george.lbl.gov (Jin Guojun[ITG]) Cc: hackers@freebsd.org, bugs@freebsd.org Subject: Re: how to find where system hanging? References: <199702062302.PAA04566@george.lbl.gov> X-Mailer: Mutt 0.55-PL10 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199702062302.PAA04566@george.lbl.gov>; from Jin Guojun[ITG] on Feb 6, 1997 15:02:39 -0800 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Jin Guojun[ITG] wrote: > Is there any way to force coredump when the system is hanging? > Or is there a mechanism to trace where it is hanging. Configure DDB, and see whether the hotkey will still work. If it doesn't, it's probably jamming the system with interrupts disabled. (You could hook a pushbutton to the IOCHCK signal on the ISA bus, which will generate an NMI. That should be a condition fatal enough to go into DDB.) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)