From owner-freebsd-stable@FreeBSD.ORG Thu Feb 22 14:13:35 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C92216A400 for ; Thu, 22 Feb 2007 14:13:35 +0000 (UTC) (envelope-from minotaur@padonki.org.ua) Received: from crow.padonki.org.ua (crow.padonki.org.ua [213.186.192.71]) by mx1.freebsd.org (Postfix) with ESMTP id 07B7813C46B for ; Thu, 22 Feb 2007 14:13:34 +0000 (UTC) (envelope-from minotaur@padonki.org.ua) Received: from minotaur by crow.padonki.org.ua with local (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HKEhR-000Fg3-M4; Thu, 22 Feb 2007 16:13:33 +0200 Date: Thu, 22 Feb 2007 16:13:33 +0200 From: Alexander Shikoff To: freebsd-stable@freebsd.org Message-ID: <20070222141333.GA60026@crete.org.ua> References: <20070222115644.GA55416@crete.org.ua> <20070222132224.GA14615@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-u Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20070222132224.GA14615@icarus.home.lan> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: Alexander Shikoff Subject: Re: Cannot obtain kernel dump in /var/crash X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Shikoff List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2007 14:13:35 -0000 Hello, funny questions for me as I'm not a newbie in FreeBSD... ;) But I'll answer. On Thu, Feb 22, 2007 at 05:22:24AM -0800, Jeremy Chadwick wrote: > Is /dev/ad2s1b the correct location? Possibly you meant ad0s1b > or some other adX device? (Common mistake.) /home/minotaur>ls -l /dev/ad2s1b crw-r----- 1 root operator 0, 82 22 лют 13:40 /dev/ad2s1b /home/minotaur>ls -l /dev/dumpdev lrwxr-xr-x 1 root wheel 11 22 лют 15:40 /dev/dumpdev -> /dev/ad2s1b > Do you have a swap device defined, particularly in /etc/fstab?o > What does swapinfo say? /home/minotaur>swapinfo Device 1K-blocks Used Avail Capacity /dev/ad2s1b 1048576 0 1048576 0% > Does the same happen if you say dumpdev="auto" or if you remove > the -f flag from savecore_flags? The same behavior. > It may be worth peeking through /etc/rc.d/dumpon and imitating > some of the commands there to see if you can reproduce it. /etc/rc.d/dumpon creates symbolic link /dev/dumpdev. It's present in my /dev directory. I think a problem is somewhere deeply, probably with savecore(8). When a panic occurs I see in console process of dumping (size of RAM, number of pages, dump device etc.) and it's completely normal. -- Kind Regards, Alexander Shikoff minotaur@crete.org.ua Mob.: +380 67 946 31 49