From owner-freebsd-arch@FreeBSD.ORG Fri Dec 21 09:42:27 2007 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73B9A16A41A; Fri, 21 Dec 2007 09:42:27 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 4D3F613C46E; Fri, 21 Dec 2007 09:42:27 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id BD2D948AC4; Fri, 21 Dec 2007 04:42:26 -0500 (EST) Date: Fri, 21 Dec 2007 09:42:26 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Nikolay Pavlov In-Reply-To: <200712210432.58751.qpadla@gmail.com> Message-ID: <20071221093923.W67327@fledge.watson.org> References: <20071218120359.E15521@fledge.watson.org> <200712201532.41123.qpadla@gmail.com> <20071220134033.T94754@fledge.watson.org> <200712210432.58751.qpadla@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: arch@freebsd.org, current@freebsd.org Subject: Re: DDB scripting, output capture, and textdumps X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2007 09:42:27 -0000 On Fri, 21 Dec 2007, Nikolay Pavlov wrote: > On Thursday 20 December 2007 15:42:21 Robert Watson wrote: >> On Thu, 20 Dec 2007, Nikolay Pavlov wrote: >>> It looks like some files is not included in the patch. I have this error: >> >> Unfortunately, p4 doesn't include a -N argument to its diff2 command, so I >> attached the new files directly in the tarball (including the kernel ones). >> Could you check and see if they are there? If you untar the tarball in >> your top-level src directory, it should extract one man page into >> share/man/man4, a few files into src/sbin/ddb (note: I have not updated the >> sbin Makefile so you'll need to build it by hand), three files into >> src/sys/ddb, and then a patch which you apply. > > Thanks. I've figure this out, but still see some problems. I've created a > panic during the manual kernel debuging session and after reboot found a > textdump file in a /var/crash directory, but unexpectedly i can not untar > it: Sounds like a problem. Could you send me, via private e-mail, the output of uname -a, the approximate script you ran, and a copy of the textdump (gzip'd and attached, or via a URL or such)? The dump file looks quite large, larger than I'd really expect, so it could be there's an extraction problem. Robert N M Watson Computer Laboratory University of Cambridge > > root@orion-vm:/var/crash# bsdtar -xf textdump.tar.0 > bsdtar: Unrecognized archive format: Inappropriate file type or format > bsdtar: Error exit delayed from previous errors. > root@orion-vm:/var/crash# file textdump.tar.0 > textdump.tar.0: data > root@orion-vm:/var/crash# ls -la textdump.tar.0 > -rw------- 1 root wheel 35483648 Dec 21 02:17 textdump.tar.0 > > > -- > ====================================================================== > - Best regards, Nikolay Pavlov. <<<----------------------------------- > ====================================================================== > >