[OpenAFS] why does osi_Panic oops ?

Jeffrey Hutzelman jhutz@cmu.edu
Fri, 12 Oct 2001 09:21:47 -0400 (EDT)


On Thu, 11 Oct 2001, Derrick J Brashear wrote:

> On Thu, 11 Oct 2001, Bart Banter wrote:
> 
> > Why does the osi_Panic() routine force an oops instead of calling the kernel 
> > panic() routine?
> 
> It's possible (though problematic) to use a machine on which AFS has
> oops'd. Once it panics, you don't have that option. It is probably the
> case that most people just want their machine to reboot and we should
> panic() but this is the first time it's come up.

Always calling panic() is not a viable option.  A machine on which AFS has
oops'd is almost always still working well enough for the oops (and
symbol translatios) to be logged.  That information can be critical in
tracking down a problem, and it's the reason that Linux avoids panicing
except when absolutely necessary.