I have been debuging this problem with gdb and printfs in the source
for locate the path.
I have found it fails in:
arch/amd64/amd64/machdep.c:dodumpsys does: psize = bdev_size(dumpdev);
kern/subr_devsw.c:bdev_size calls rv = (*d->d_psize)(dev)
In my case the dev has major 0 and minor 1
(gdb)
If the kernel hash a panic, the dump is captured, etc. and it works ok
(kern.dump_on_panic=1).
I can't generate a crash dump of a running system.
On Sun, Jan 24, 2016 at 10:28 PM, Jose Luis Rodriguez Garcia
wrote:
> It is NetBSD 7.0 amd64
>
> The swap size is 8 GB, and the
It is NetBSD 7.0 amd64
The swap size is 8 GB, and the memory of the PC is 4GB.
This the /etc/sysctl.conf file:
pc2$ grep -v '^#' /etc/sysctl.conf
ddb.onpanic?=0
kern.ipc.shmmax=16000
vfs.generic.usermount=1
machdep.sparse_dump=1
kern.dump_on_panic=1
I have tried with:
reboot 0x100
reboot