Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 2007 16:13:33 +0200
From:      Alexander Shikoff <minotaur@crete.org.ua>
To:        freebsd-stable@freebsd.org
Subject:   Re: Cannot obtain kernel dump in /var/crash
Message-ID:  <20070222141333.GA60026@crete.org.ua>
In-Reply-To: <20070222132224.GA14615@icarus.home.lan>
References:  <20070222115644.GA55416@crete.org.ua> <20070222132224.GA14615@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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