History
The Unix kernel maintains internal consistency and runtime correctness with assertions as the fault detection mechanism. The basic assumption is that the hardware and the software should perform correctly and a failure of an assertion results in a panic, i.e. a voluntary halt to all system activity. The kernel panic was introduced in an early version of Unix and demonstrated a major difference between the design philosophies of Unix and its predecessor Multics. Multics developer Tom van Vleck recalls a discussion of this change with Unix developer Dennis Ritchie:
| “ | I remarked to Dennis that easily half the code I was writing in Multics was error recovery code. He said, "We left all that stuff out. If there's an error, we have this routine called panic, and when it is called, the machine crashes, and you holler down the hall, 'Hey, reboot it.'" | ” |
The original panic function was essentially unchanged from Fifth Edition UNIX to the VAX-based UNIX 32V and output only an error message with no other information, then dropped the system into an endless idle loop.
Source code of panic function in UNIX V6:
As the Unix codebase was enhanced, the panic function was also enhanced to dump various forms of debugging information to the console.
Read more about this topic: Kernel Panic
Famous quotes containing the word history:
“To summarize the contentions of this paper then. Firstly, the phrase the meaning of a word is a spurious phrase. Secondly and consequently, a re-examination is needed of phrases like the two which I discuss, being a part of the meaning of and having the same meaning. On these matters, dogmatists require prodding: although history indeed suggests that it may sometimes be better to let sleeping dogmatists lie.”
—J.L. (John Langshaw)
“It is remarkable how closely the history of the apple tree is connected with that of man.”
—Henry David Thoreau (18171862)
“All things are moral. That soul, which within us is a sentiment, outside of us is a law. We feel its inspiration; out there in history we can see its fatal strength.”
—Ralph Waldo Emerson (18031882)