From owner-freebsd-current Tue Jul 20 11:50:56 1999 Delivered-To: freebsd-current@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (Postfix) with ESMTP id 44168153A2 for ; Tue, 20 Jul 1999 11:50:52 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id LAA06381; Tue, 20 Jul 1999 11:49:50 -0700 (PDT) (envelope-from dillon) Date: Tue, 20 Jul 1999 11:49:50 -0700 (PDT) From: Matthew Dillon Message-Id: <199907201849.LAA06381@apollo.backplane.com> To: "Steven G. Kargl" Cc: phk@critter.freebsd.dk (Poul-Henning Kamp), freebsd-current@FreeBSD.ORG Subject: Re: is dumpon/savecore broken? References: <199907201809.LAA04373@troutmask.apl.washington.edu> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :> > dumpon: crash dumps to /dev/da0s1b (4, 131073) :> > checking for core dump...savecore: can't find device 13/131073 :> :> >It seems that the the major device number is reset from 4 to 13. :> :> Yes, all dev_t's which make it out of the kernel have cmajor :> numbers now. :> :> Try this change to savecore: :> :> /ddname = find_dev/s/BLK/CHR/ :> : :Thanks, Poul. : :I forgot to mention that this is after a "make world" and new kernel :from today (1000 PST). : :-- :Steve A checklist for people who want kernel cores: * make sure that dumpdev is set to point to your swap partition in your /etc/rc.conf * make sure your swap partition is large enough to hold the crash dump. If you have 256MB of ram, your swap partition must be at least 256MB in size. * make sure /var/crash has sufficient space to hold the dump (note: /var/crash *can* be a softlink to a directory in some other partition if /var does not have sufficient space) /var/crash must nominally have sufficient space to hold the crash dump (a file of the same size as the amount of memory you have), *and* the kernel image. Normally you give it a lot more space so you store several crash dumps in it at once. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message