Kernel panic

Kernel panic

A kernel panic is an action taken by an operating system upon detecting an internal fatal error from which it cannot safely recover; the term is largely specific to Unix and Unix-like systems.

The kernel routines that handle panics (in AT&T-derived and BSD Unix source code, a routine known as panic()) are generally designed to output an error message to the console, dump an image of kernel memory to disk for post-mortem debugging and then either wait for the system to be manually rebooted, or initiate an automatic reboot. The information provided is of highly technical nature and aims to assist a system administrator or software developer in diagnosing the problem.

Attempts by the operating system to read an invalid or non-permitted memory address are a common source of kernel panics. A panic may also occur as a result of a hardware failure or a bug in the operating system. While technically often the operating system could continue operation, after memory violations have occurred the system is in an unstable state. Rather than risk security breaches and data corruption, the operating system stops to prevent further damage and facilitate diagnosis of the error.

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:

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. As the Unix codebase was enhanced, the panic() function was also enhanced to dump various forms of debugging information to the console.

See also

* Bug check
* Screens of death

References

External links

* [http://opensolaris.org/os/community/documentation/files/book.pdf The Solaris Operating System on x86 Platforms: Crashdump Analysis Operating System Internals]
* [http://www.amazon.com/gp/product/0131493868 "Panic! Unix System Crash Dump Analysis" (SunSoft Press / Prentice Hall book by Chris Drake & Kimberley Brown]
* The file [http://minnie.tuhs.org/UnixTree/V6/usr/sys/ken/prf.c.html prf.c] from Version 6 Unix and the Lions Book, containing the "panic()" routine as implemented on early Unix systems (will not compile with modern C compilers)
* Kernel panic source code examples from [http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/os/panic.c OpenSolaris] , [http://darwinsource.opendarwin.org/10.4.2/xnu-792.2.4/osfmk/kern/debug.c Darwin/Mac OS X] , [http://www.eng.mu.edu/corlissg/MSCS207.1998/Minix_tree/S/sys%20src%20kernel%20main.c.html#130 Minix] , and [http://developer.osdl.org/ogasawara/kernel_gcov/kernel/panic.c.gcov.html Linux]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • Kernel panic — en Linux …   Wikipedia Español

  • Kernel panic — Linux 2.6 не может смонтировать корневую файловую систему. Kernel panic (англ.: тревога, сбой в ядре)  сообщение о критической о …   Википедия

  • Kernel Panic — Eine Kernelpanic auf einer Linux Konsole Eine Kernel panic ist eine Fehlermeldung eines Betriebssystemkerns nach Auftreten eines Fehlers, nach dem sich das Betriebssystem in einem undefinierten Zustand befindet und keine Möglichkeit mehr besteht …   Deutsch Wikipedia

  • Kernel panic — Eine Kernel panic ist eine Fehlermeldung eines Betriebssystemkerns nach Auftreten eines Fehlers, nach dem sich das Betriebssystem in einem undefinierten Zustand befindet und keine Möglichkeit mehr besteht, das System kontrolliert weiter zu… …   Deutsch Wikipedia

  • Kernel panic — Panique du noyau Panique d un noyau Linux QEMU …   Wikipédia en Français

  • Kernel panic — El kernel panic es un mensaje desplegado por un sistema operativo una vez detectado un error interno de sistema del cual no se puede recuperar. Los Kernel Panics usalmente proveeN información de depuración encrpitada que es útil solo para los… …   Enciclopedia Universal

  • kernel panic — ● ►en loc. m. ►DEBUG Un panic de la part du kernel. Cela fait très peur, en général, surtout quand ça arrive sur un serveur de production, car c est généralement lié à un très gros problème …   Dictionnaire d'informatique francophone

  • Kernel Panic — …   Википедия

  • Panic (disambiguation) — Panic may refer to:* Panic, a sudden, overwhelming fear * Panic, or panic grass, an older name used to indicate members of the genus Panicum * Panic (album), an album by the punk rock group MxPx * Panic (comic), an EC Comic published from 1954 to …   Wikipedia

  • Kernel-Panik — Eine Kernelpanic auf einer Linux Konsole Eine Kernel panic ist eine Fehlermeldung eines Betriebssystemkerns nach Auftreten eines Fehlers, nach dem sich das Betriebssystem in einem undefinierten Zustand befindet und keine Möglichkeit mehr besteht …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”