# A Short Guide to Kernel Debugging

DevFeed: [A Short Guide to Kernel Debugging](<https://devfeed.tech/articles/a-short-guide-to-kernel-debugging-15475.md>)

Original publisher: [Read original article](<https://developer.squareup.com/blog/a-short-guide-to-kernel-debugging>)

Author: Square Engineering

Published: 2015-10-27T16:10:00Z

Content type: tutorial

Language: en

Sources: [Square Corner Blog RSS Feed](<https://devfeed.tech/sources/square-corner-blog-rss-feed.md>)

Topics: [Kernel](<https://devfeed.tech/topics/kernel.md>), [debugging](<https://devfeed.tech/topics/debugging.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [C](<https://devfeed.tech/topics/c.md>)

Tags: [bug](<https://devfeed.tech/tags/bug.md>), [debugger](<https://devfeed.tech/tags/debugger.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [diagnostics](<https://devfeed.tech/tags/diagnostics.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [gdb](<https://devfeed.tech/tags/gdb.md>), [guide](<https://devfeed.tech/tags/guide.md>), [internals](<https://devfeed.tech/tags/internals.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [linux](<https://devfeed.tech/tags/linux.md>), [linux-kernel](<https://devfeed.tech/tags/linux-kernel.md>), [memory](<https://devfeed.tech/tags/memory.md>), [process](<https://devfeed.tech/tags/process.md>), [processes](<https://devfeed.tech/tags/processes.md>), [production](<https://devfeed.tech/tags/production.md>), [techniques](<https://devfeed.tech/tags/techniques.md>)

## AI overview

This introductory guide uses a production deployment problem involving an orphaned, unkillable rm process to explain Linux kernel debugging. It discusses examining kernel call stacks and memory, along with relevant tools, techniques, and data structures.

## Source excerpt

A story about finding a kernel bug on a production system