Subject: Re: kenrel crash dump on sun3x (Re: kmem_map panic status...)
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Mark Abene <phiber@radicalmedia.com>
List: port-sun3
Date: 11/15/2000 02:17:33
OK, but this doesn't explain the fact that you get the exact same error
message from gdb if you try to do "target kcore /dev/mem" after opening
/netbsd.
-Mark
On Tue, Nov 14, 2000 at 11:14:01PM +0900, Izumi Tsutsui wrote:
> 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
>