Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Mar 2007 16:15:44 +0530
From:      "Rajkumar S" <rajkumars@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: No core dump after panic
Message-ID:  <64de5c8b0703230345m265e8ieed0283b488a6e71@mail.gmail.com>
In-Reply-To: <64de5c8b0703220916r25eaf730yd3a6ca228e440c22@mail.gmail.com>
References:  <64de5c8b0703182321m5903c629ke480f039c02c3ee0@mail.gmail.com> <8efc42630703210526l17f7d4bbqb138b7bdcc1b5bc4@mail.gmail.com> <64de5c8b0703220000h6a5192ci6fe4e9d7eb8641f7@mail.gmail.com> <8efc42630703220500qba51f94md94bf5b018909103@mail.gmail.com> <64de5c8b0703220916r25eaf730yd3a6ca228e440c22@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/22/07, Rajkumar S <rajkumars@gmail.com> wrote:
> On 3/22/07, Simon Chang <simonychang@gmail.com> wrote:
> > Check out "man savecore" for a list of flags.
>
> Thanks, I will check that out.

I have reinstalled and now starting from scratch to see if I can get
the core dump of a panic.

dumpdev="/dev/ad2s1b"
dumpdir="/var/crash"
savecore_flags="-v -z"

hw.physmem: 508989440

Device          1K-blocks     Used    Avail Capacity
/dev/ad2s1b        768000        0   768000     0%

/dev/ad2s1d    989M    7.9M    902M     1%    /var

My kernel panics immediately on boot up, before the disks are probed.
After panic I boot with a different kernel to extract the core. But I
get the following error during boot up.

Checking for core dump on /dev/ad2s1b...
unable to open bounds file, using 0
checking for kernel dump on device /dev/ad2s1b
mediasize = 786432000
sectorsize = 512
magic mismatch on last dump header on /dev/ad2s1b
savecore: no dumps found

Any idea?

raj



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