Subject: kenrel crash dump on sun3x (Re: kmem_map panic status...)
To: None <port-sun3@netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-sun3
Date: 11/14/2000 23:14:01
In <20001113153657.N24570@radicalmedia.com>
phiber@radicalmedia.com wrote:

> By the way, is anyone looking into the fact that "target kcore" in gdb doesn't
> work??

I glanced at sun3x/machdep.c:dumpsys() and noticed
it did not write kcore_seg_t cpu_hdr separately.
It is put in physical page zero, but savecore(8) does not
seem to handle it properly.

Furthermore, savecore(8) refers physmem in the kernel,
but dumpsys() uses avail_mem which does not contain
last few pages reserved by PROM.

I'll track about this later.
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp