Setting a dump device from db> ?

Mark Johnston markj at FreeBSD.org
Mon Dec 19 21:27:13 UTC 2016


On Mon, Dec 19, 2016 at 02:16:25PM -0700, Alan Somers wrote:
> Is it possible to set a dump device from loader.conf or from the db>
> prompt?  I'm trying to investigate a panic in mpr(4), but I can only
> reproduce it during the boot, before rc(8) has set my dump device.  It
> looks like ada(4) initializes before mpr(4), so I should be able to
> dump to an ada device, if only I can figure out how.  If not, I
> suppose I'll have to try gdb over firewire.

You can set "dumpdev=ada0p1" or so in loader.conf. See g_dev_init() and
init_dumpdev(). This should probably be documented in loader.conf(5).


More information about the freebsd-hackers mailing list