Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Sep 2002 17:33:03 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        "Marc G. Fournier" <scrappy@hub.org>
Cc:        Matthew Dillon <dillon@apollo.backplane.com>, freebsd-stable@FreeBSD.ORG
Subject:   Re: Crash with KVM monitoring in place ...
Message-ID:  <15731.55567.174393.782218@grasshopper.cs.duke.edu>
In-Reply-To: <20020901153933.S27764-100000@hub.org>
References:  <200209011829.g81ITRWK014499@apollo.backplane.com> <20020901153933.S27764-100000@hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Marc G. Fournier writes:
 > Awhile back, someone posted this to the lists:
 > 
 > http://www.cs.duke.edu/~anderson/freebsd/netdump/readme.html
 > 
 > To do dumps to a 'dump server' ... i tried it on a 4.4 kernel, I believe
 > it was, and altho it looked like it was dumping, I got zero bits on the
 > remote server, so I'm figuring changes in the kernel itself ...
 > 
 > Any chance on getting such working (and maybe into) the latest source
 > trees?  It seems to be it would be most valuable, especially as more and

I had a spare hour this afternoon, and I just got it working again on
an SMP PIII running a -stable that's only a few weeks old.  I think it
was failing due to changes in the ip_fw_chk_ptr() interface.  Sorry I
didn't have time to debug it when you tried it earlier.

I've left a tarball at:
http://people.freebsd.org/~gallatin/netdump.tgz

Its still something of a hack -- you must be running an fxp or a de
interface for it to work.  You also need to have ipfw compiled into
the kernel... I'm using:

options         IPFIREWALL              #firewall
options         IPFIREWALL_FORWARD      #enable transparent proxy support
options         IPFIREWALL_DEFAULT_TO_ACCEPT    #allow everything by default

For some reason, automatic sysctl installation no longer works, so if
you want to disable partial dumps, you'll need to manually do it at
compile time (or via ddb or gdb).

Cheers,

Drew

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15731.55567.174393.782218>