From owner-freebsd-current Tue Mar 28 3: 2:34 2000 Delivered-To: freebsd-current@freebsd.org Received: from lucifer.bart.nl (lucifer.bart.nl [194.158.168.74]) by hub.freebsd.org (Postfix) with ESMTP id 2957737BE0E; Tue, 28 Mar 2000 03:02:19 -0800 (PST) (envelope-from asmodai@lucifer.bart.nl) Received: (from asmodai@localhost) by lucifer.bart.nl (8.9.3/8.9.3) id NAA96623; Tue, 28 Mar 2000 13:02:06 +0200 (CEST) (envelope-from asmodai) Date: Tue, 28 Mar 2000 13:02:06 +0200 From: Jeroen Ruigrok van der Werven To: Sheldon Hearn Cc: Soren Schmidt , Brian Fundakowski Feldman , current@FreeBSD.ORG Subject: Re: DDB and dumping disk Message-ID: <20000328130206.D94986@lucifer.bart.nl> References: <20000327145012.H77375@lucifer.bart.nl> <35413.954240795@axl.ops.uunet.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <35413.954240795@axl.ops.uunet.co.za>; from sheldonh@uunet.co.za on Tue, Mar 28, 2000 at 12:53:15PM +0200 Organisation: bART Internet Services B.V. Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -On [20000328 12:55], Sheldon Hearn (sheldonh@uunet.co.za) wrote: >On Mon, 27 Mar 2000 14:50:12 +0200, Jeroen Ruigrok van der Werven wrote: > >> I wasn't complaining, on the contrary! >> >> I was happily surprised it was way faster than the SCSI dump. =) > >So now the only question is whether our existing bootstrapping >infrastructure already has some way to use your ddb magic to set >dumpdev. :-) Well, I can set dumpdev in ddb, but the problem is that when I reboot that savecore doesn't detect a dump. If I boot the system completely and manually panic and let it dump savecore will detect the dump and put it in /var/crash. So I wonder what I forgot in DDB. I do: db> show disk/ad0s1b 0xc0NNNNNN I then use this value to: db> write dumpdev 0xc0NNNNNN dumpdev = ffffffff -> 0x0cNNNNNN I can then dump when typing: db> panic But after the reboot savecore doesn't recognise the dump. savecore: no coredump Hope this makes it a bit more clear. -- Jeroen Ruigrok van der Werven Network- and systemadministrator VIA NET.WORKS The Netherlands BSD: Technical excellence at its best http://www.bart.nl To desire immortality is to desire the eternal perpetuation of a great mistake... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message