From owner-freebsd-stable Mon Sep 2 14:33:45 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF5F037B400 for ; Mon, 2 Sep 2002 14:33:40 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A43F43E6A for ; Mon, 2 Sep 2002 14:33:39 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id RAA04276; Mon, 2 Sep 2002 17:33:33 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g82LX3A53639; Mon, 2 Sep 2002 17:33:03 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15731.55567.174393.782218@grasshopper.cs.duke.edu> Date: Mon, 2 Sep 2002 17:33:03 -0400 (EDT) To: "Marc G. Fournier" Cc: Matthew Dillon , freebsd-stable@FreeBSD.ORG Subject: Re: Crash with KVM monitoring in place ... In-Reply-To: <20020901153933.S27764-100000@hub.org> References: <200209011829.g81ITRWK014499@apollo.backplane.com> <20020901153933.S27764-100000@hub.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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