[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: page fault in mach_msg_trap

From: Adam Olsen
Subject: Re: page fault in mach_msg_trap
Date: Wed, 16 May 2001 22:28:32 +0000
User-agent: Mutt/1.3.17i

On Wed, May 16, 2001 at 03:20:32PM -0700, Jeff Bailey wrote:
> On Wed, May 16, 2001 at 05:44:05PM -0400, Igor Khavkine wrote:
> > > > The time it pauses is too short to write down all registers.  We should
> > > > consider increasing it.
> > > 
> > > The time is a rapid spinning loop, IIRC, and has gotten shorter as
> > > processors have gotten faster; it should be timed to bogomips or
> > > something like that.
> > 
> > Why should there be a finite delay? I think a much better option
> > is wait for the user to press a key before rebooting. When I was
> > working with oskit-mach I was lazy so I just put a "hlt" instruction
> > in panic so I would have to manually reset the machine to reboot.
> > But it did give me unlimited time to examine the error messages.
> I like the idea of adding a --halt-on-panic option to the configure.
> I think the Debian package should probably *not* have this on by
> default (on the theory that this could be a production environment)

My thinking was that a hltonpanic=1 kernel argument would be good.
The advantage over a configure option is that it doesn't require a
recompile to use.

Adam Olsen, aka Rhamphoryncus

reply via email to

[Prev in Thread] Current Thread [Next in Thread]