From owner-freebsd-net Tue May 2 23:13:54 2000 Delivered-To: freebsd-net@freebsd.org Received: from mokimaki.ethereal.net (mokimaki.ethereal.net [209.228.7.140]) by hub.freebsd.org (Postfix) with ESMTP id 480BB37B8B3 for ; Tue, 2 May 2000 23:13:48 -0700 (PDT) (envelope-from jkb@mokimaki.ethereal.net) Received: (from jkb@localhost) by mokimaki.ethereal.net (8.10.0.Beta10/8.10.0.Beta10) id e436CTZ64698; Tue, 2 May 2000 23:12:29 -0700 (PDT) Date: Tue, 2 May 2000 23:12:29 -0700 From: Jan Koum To: "G.B.Naidu" Cc: freebsd-net@FreeBSD.ORG Subject: Re: How to take a dump... Message-ID: <20000502231229.A96610@ethereal.net> Reply-To: jkb@ethereal.net References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.11i In-Reply-To: ; from gbnaidu@sasi.com on Wed, May 03, 2000 at 11:20:09AM +0530 X-Operating-System: FreeBSD mokimaki.ethereal.net 3.4-RELEASE FreeBSD 3.4-RELEASE X-Unix-Uptime: 11:01AM up 11 days, 5 hrs, 21 users, load averages: 0.27, 0.26, 0.20 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org this really belongs on -questions, but.. in /etc/rc.conf you put: dumpdev="/dev/ad0s1b" or /dev/da0s1b or whatever your swap partition is. swapon (not "swap on") is for setting up swap. you probably want dumpon. if you have dumpon alread enabled, try this and check the output: $ sysctl kern.dumpdev no dumpon turned on -> kern.dumpdev: { major = 255, minor = -65281 } dumpon turned on -> kern.dumpdev: { major = 116, minor = 131073 } soooooo, first command you want to type is: $ man dumpon swapon savecore -- yan On Wed, May 03, 2000 at 11:20:09AM +0530, "G.B.Naidu" wrote: > > HI, > > I need to take a dump of my kernel whenm it panics. How do I enable this? > Do I need to add "swap on " in the configuration file? what > else do I need to do? > > > thanks > --gb > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message