From owner-freebsd-hackers Thu May 11 12:19:24 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from sofia.csl.sri.com (sofia.csl.sri.com [130.107.19.127]) by hub.freebsd.org (Postfix) with ESMTP id D0FFE37B5E2 for ; Thu, 11 May 2000 12:19:20 -0700 (PDT) (envelope-from molter@sofia.csl.sri.com) Received: (from molter@localhost) by sofia.csl.sri.com (8.9.3/8.9.3) id MAA99415 for freebsd-hackers@freebsd.org; Thu, 11 May 2000 12:20:38 -0700 (PDT) (envelope-from molter) From: Marco Molteni Date: Thu, 11 May 2000 12:20:38 -0700 To: freebsd-hackers@freebsd.org Subject: kernel panics at boot, how to specify dump device? Message-ID: <20000511122038.A99408@sofia.csl.sri.com> Mail-Followup-To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre4i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all, I have a 4-STABLE kernel that panics at boot. How do I force the kernel to core dump? I know that the handbook says to build a debug kernel and to set the dump device via (dumpon + /etc/rc.conf) but in this case the kernel panics during booting. The handbook says that, if the kernel panics at boot, one can specify the dump device in the kernel configuration file, with the "config kernel" line. I tried something like config kernel dump on /dev/wd0s3b (and variations thereof) but I get a syntax error from /usr/sbin/config. I thought maybe it is possible to specify the dump device at the loader prompt? Am I correct that once you specify the boot device the kernel will automatically dump at panics? Thanks for your help Marco -- Marco Molteni "rough consensus and running code" SRI International, System Design Laboratory To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message