Subject: kernel crashdump doesn't work on most m68k ports
To: None <port-m68k@NetBSD.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-m68k
Date: 04/15/2004 22:31:09
I notice kernel crash dump has a problem on most m68k ports.
hp300 gets trap right after dump is started, and news68k
just hangs before dump.

The problem is most these ports assume the machine dependent
dump header fits in 1 block (512bytes), but current
sizeof(cpu_kcore_hdr) is 552bytes after sun2 import, so
overrun happens on temporary buffer (mostly 512bytes on stack).

Maybe we should fix it in 2.0-release, but how should we handle it?
Just "assume it fits in two blocks" is enough, or not?
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp