Jump to content

Linux kernel oops

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Monkbot (talk | contribs) at 04:48, 22 September 2019 (Task 16: replaced (2×) / removed (1×) deprecated |dead-url= and |deadurl= with |url-status=;). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Linux kernel oops on SPARC
Linux kernel oops on PA-RISC with a dead ASCII cow

In computing, an oops is a deviation from correct behavior of the Linux kernel, one that produces a certain error log. The better-known kernel panic condition results from many kinds of oops, but other instances of an oops event may allow continued operation with compromised reliability. The term does not stand for anything, other than that it is a simple mistake.

When the kernel detects a problem, it kills any offending processes and prints an oops message, which Linux kernel engineers can use in debugging the condition that created the oops and fixing the underlying programming error. After a system has experienced an oops, some internal resources may no longer be operational. Thus, even if the system appears to work correctly, undesirable side effects may have resulted from the active task being killed. A kernel oops often leads to a kernel panic when the system attempts to use resources that have been lost.

The official Linux kernel documentation regarding oops messages resides in the file Documentation/admin-guide/bug-hunting.rst[1] of the kernel sources. Some logger configurations may affect the ability to collect oops messages.[2] The kerneloops software can collect and submit kernel oopses to a repository such as the www.kerneloops.org website,[3] which provides statistics and public access to reported oopses.

For a person not familiar with technical details of computers and operating systems, an oops message might look confusing. Unlike other operating systems such as Windows or macOS, Linux chooses to present details explaining the crash of the kernel rather than display a simplified, user-friendly message, such as the BSoD on Windows. A simplified crash screen has been proposed a few times, however currently none are in development.[4]

See also

  • kdump (Linux) – Linux kernel's crash dump mechanism, which internally uses kexec
  • System.map – contains mappings between symbol names and their addresses in memory, used to interpret oopses

References

  1. ^ "bug-hunting". kernel.org.
  2. ^ "DevDocs/KernelOops". madwifi-project.org.
  3. ^ "kerneloops(8) - Linux man page".
  4. ^ Larabel, Michael (10 March 2019). "A DRM-Based Linux Oops Viewer Is Being Proposed Again - Similar To Blue Screen of Death". Phoronix.

Further reading