From owner-freebsd-current  Fri May 17 19:13: 7 2002
Delivered-To: freebsd-current@freebsd.org
Received: from earth.hub.org (earth.hub.org [64.49.215.11])
	by hub.freebsd.org (Postfix) with ESMTP
	id 54CCC37B421; Fri, 17 May 2002 19:12:37 -0700 (PDT)
Received: from localhost.localdomain (earth.hub.org [64.49.215.11])
	by localhost (Postfix) with ESMTP
	id BA4991036AD; Fri, 17 May 2002 23:12:31 -0300 (ADT)
Received: from earth.hub.org (earth.hub.org [64.49.215.11])
	by earth.hub.org (Postfix) with ESMTP
	id 12CDB103694; Fri, 17 May 2002 23:12:31 -0300 (ADT)
Date: Fri, 17 May 2002 23:12:31 -0300 (ADT)
From: "Marc G. Fournier" <scrappy@hub.org>
To: Andrew Gallatin <gallatin@cs.duke.edu>
Cc: freebsd-current@freebsd.org, <freebsd-hackers@freebsd.org>
Subject: Re: How to dump a 4gig system on panic ?
In-Reply-To: <15589.13737.302689.294546@grasshopper.cs.duke.edu>
Message-ID: <20020517210219.P41731-100000@mail1.hub.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-current@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-current.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-current>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-current>
X-Loop: FreeBSD.ORG


Okay, seem to be about halfway there ... client kldload's no problem,
server runs ... do a ctl-alt-esc to get into DDB and type panic, and it
gives a message that its looking for the server and it finds it on the
right IP ... then it prints out a '1023' and finishes the panic ...

On the 'dump server', a vmcore gets created, but its zero length ...

thoughts?

On Fri, 17 May 2002, Andrew Gallatin wrote:

>
> Marc G. Fournier writes:
>  >
>  > Well, downloaded the files (a .tar.gz would be nice? *grin*) and the
>  > client built perfectly, and kldload worked fine ... is there some way
>  > someone can suggest of 'simulating a crash'?  Some way to test to make
>  > sure that it is working as expected?  I have a 4.6-PRE machine on my desk
>  > that I'd like to test with before I try it on "the real thing", if at all
>  > possible?
>
> break into ddb & do:
>       ddb > call dumpsys()
>
> Unless you're running a savecore which supports partial dumps, you
> need to disable partial dumps (sysctl net.net_dump.partial=0).
>
> And remember, you'll be spewing the contents of your ram (possibly
> passwords, etc) across the network in clear text.
>
> Drew
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message