Subject: Re: kern/8696: no obvious `sync' command in ddb
To: Simon Burge <firstname.lastname@example.org>
From: Antti Kantee <email@example.com>
Date: 10/28/1999 13:18:04
On Thu Oct 28 1999 at 10:57:48 +1000, Simon Burge wrote:
> > >Number: 8696
> > >Category: kern
> > >Synopsis: there's no obvious `sync' command in ddb
> > >Description:
> > i have ddb in my kernels, and occasional the kernels panic.
> > it would be really nice if there was an obvious way to force
> > the system to attempt to dump core and then reboot.
> > i'm thinking of something like `sync' (a la openprom on the
> > sparcs)
> > >Fix:
> > come up with an MI way to do this, and add the command...
> "call reboot 0x100" (ie RB_DUMP)? I don't have a machine sitting at the
> ddb prompt to test this right now...
call cpu_reboot(0x100) IIRC
"Never underestimate the power of the Lite side of the \Source/"
Antti Kantee / NetBSD \ 1973 <- draken \ / o
<firstname.lastname@example.org> / http://www.netbsd.org \ platters -> 1999 \ / |
______________/ Free Multiplatform UN*X \___________________\/__ |