panic from interrupt stack loses
Erik E. Fair
fair at dual.UUCP
Wed Jan 4 15:03:47 AEST 1984
Another annoying thing about panic in this vein:
On our s-100 68000 System, we use some disk controllers (not by
choice, I assure you) that LATCH their interrupts, so that you
have to tell them to shut up. When you panic in the interrupt
service routine of any of these devices, guess what? The panic
keeps coming back again, and again...
Since panic does an update(), is it assumed that disk drivers
never panic? Didn't the PDP-11 ever have hardware that was brain
damaged in this fashion?
In the driver that I wrote for just such a board, I was
eventually forced to write a quick macro for panic(), that
printed a message and then went while(1); if for no other
reason than to be able to read the panic message that I
originally got...
Erik E. Fair {ucbvax,amd70,zehntel,unisoft,onyx,its}!dual!fair
Dual Systems Corporation, Berkeley, California
More information about the Comp.unix.wizards
mailing list