From owner-freebsd-hackers Sun Jul 8 16:27:29 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id 87F4137B403 for ; Sun, 8 Jul 2001 16:27:26 -0700 (PDT) (envelope-from mwlucas@blackhelicopters.org) Received: (from mwlucas@localhost) by blackhelicopters.org (8.9.3/8.9.3) id TAA09126 for hackers@freebsd.org; Sun, 8 Jul 2001 19:27:25 -0400 (EDT) (envelope-from mwlucas) Date: Sun, 8 Jul 2001 19:27:25 -0400 From: Michael Lucas To: hackers@freebsd.org Subject: deliberate kernel panic? Message-ID: <20010708192725.A9093@blackhelicopters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I'm writing an article on kernel panics -- specifically, how to prepare for one, how to deal with one, and a cookbook on what to do to give an admin the best possible chance of getting help with the issue. Unfortunately, I haven't built a panicing kernel in years. Is there any way to force a system to panic in such a way as to save a core? I'm sure someone out there has a little program that creates a panic. :) Also, I've found extensive information on how to set up a system, how to save a core, and so on. What I haven't found is what you folks would like from the debug kernel in a trouble report. (I know about dmesg, etc, of course!) What should a user type in kgdb to get information for the initial report? I've seen people say that they have a debug kernel, and be told what to type. Is this the accepted standard? Slightly related question: can you set a system to reboot automatically at a panic, save a core, and continue? Thanks, Michael -- Michael Lucas mwlucas@blackhelicopters.org http://www.blackhelicopters.org/~mwlucas/ Big Scary Daemons: http://www.oreillynet.com/pub/q/Big_Scary_Daemons To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message