From owner-freebsd-hackers Mon Aug 21 09:13:27 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id JAA27543 for hackers-outgoing; Mon, 21 Aug 1995 09:13:27 -0700 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id JAA27537 for ; Mon, 21 Aug 1995 09:13:23 -0700 Received: (from julian@localhost) by ref.tfs.com (8.6.11/8.6.9) id JAA23746; Mon, 21 Aug 1995 09:12:38 -0700 From: Julian Elischer Message-Id: <199508211612.JAA23746@ref.tfs.com> Subject: Re: How do I save panic messages?! To: henrich@crh.cl.msu.edu (Charles Henrich) Date: Mon, 21 Aug 1995 09:12:38 -0700 (PDT) Cc: freebsd-hackers@freebsd.org In-Reply-To: <199508201502.LAA01118@crh.cl.msu.edu> from "Charles Henrich" at Aug 20, 95 11:02:04 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1062 Sender: hackers-owner@freebsd.org Precedence: bulk The best way is to switch back to an non-X console (CTL-ALT-F1) before testing your change! then you should be able to see what comes up when you do your test.. if it doesn't crash, use ALT-F4 to switch back to X and keep working.. in adition, you can save a corefile of the crash if you've config'd the kernel correctly and dump out the command buffer in it when you've rebooted.. not to mention running gdb on the saved corefile to get a stack-trace and other nice goodies.. (see man savecore, man gdb etc.) julian > > This is getting tedious, Im attempting to work on significant port of kernel > level code, but if Im not sitting on virtual console 0, whenever the system > panics, Im screwed. I cant switch out of X, or kill the screen blanker, or > switch to the virtual console to see what the hell went wrong, nor is any > information logged anywhere :(. Any help is most gratefully appreciated. > > -Crh > > Charles Henrich Michigan State University henrich@crh.cl.msu.edu > > http://rs560.msu.edu/~henrich/ >