On Mon, Nov 12, 2012 at 07:46:51AM -0700, Sverre Froyen wrote: > On Nov 9, 2012, at 08:01, Chuck Silvers <c...@chuq.com> wrote: > I have tested your patches for NetBSD-current on VMware Fusion (under Mac > OSX). Breaking into ddb and entering "reboot 0x104" results in a good core > dump. As you note, the kernel copy is invalid. > > Thanks for the patches! I cannot remember the last time I was able to get a > workable core dump on amd64.
thanks for the confirmation, I went ahead and checked in the changes. > Regards, > Sverre > > PS "vmstat -M netbsd.0.core -N /netbsd" results in > vmstat: can't dereference kptr 0x7f7fffffd780 > vmstat: invalid translation (invalid level 4 PDE) > adding specific options, e.g., -e , work fine. I fixed this too, but the values printed don't appear very useful since most of them are not available in a crash dump. -Chuck > PPS Is it now safe to enable core dumps on systems where the dump partition > is a sub-partition of a raidframe RAID 1 partition? This used to warned > against in the old raidframe documentation but the warnings are gone in > recent versions.