Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Dec 2003 00:08:30 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Ryan Sommers <ryans@gamersimpact.com>
Cc:        hackers@freebsd.org
Subject:   Re: Force a dump without panicing?
Message-ID:  <20031221060829.GA74567@dan.emsphone.com>
In-Reply-To: <1071986016.1216.2.camel@localhost>
References:  <1071986016.1216.2.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Dec 20), Ryan Sommers said:
> Is it possible to force a kernel dump without panicing the system?
> 
> I dropped into the debugger and did a "call doadump" however, when I
> tried to quit the debugger after this it results in a panic.

That should work; I called doadump that way lots of times debugging my
crashdump compressor.  There's a bug in dumpsys() that only lets you
call it once, though.  Add a "memset(&kdh, 0, sizeof(kdh))" just above
the code that fills in kdh.

-- 
	Dan Nelson
	dnelson@allantgroup.com


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031221060829.GA74567>