Tagged articles
5 articles
Page 1 of 1
Deepin Linux
Deepin Linux
Jun 9, 2025 · Operations

Mastering Linux Kernel Oops: Debugging Secrets Every Developer Should Know

This comprehensive guide explains what Linux kernel Oops errors are, why they occur, and provides step‑by‑step debugging techniques—including environment setup, kernel configuration, printk usage, BUG macros, GDB, objdump, and memory‑checking tools—to help developers quickly locate and fix Oops issues in custom kernel modules.

Oopsgdbkernel-development
0 likes · 48 min read
Mastering Linux Kernel Oops: Debugging Secrets Every Developer Should Know
Liangxu Linux
Liangxu Linux
Oct 19, 2022 · Fundamentals

Mastering Linux Kernel Debugging: Tools, Configurations, and Practical Tips

This guide explains why kernel debugging is challenging and walks through preparation steps, essential kernel configuration options, useful macros like BUG() and WARN(), logging with printk(), memory‑debugging utilities such as MEMWATCH, YAMD, Electric Fence and strace, handling OOPS messages, dynamic debugging, and setting up kdump/kexec for crash dumps.

BUG macroKDUMPMemory Debugging
0 likes · 28 min read
Mastering Linux Kernel Debugging: Tools, Configurations, and Practical Tips
Liangxu Linux
Liangxu Linux
Sep 28, 2021 · Fundamentals

Where Does printk Output Go? A Complete Guide to Linux Kernel Logging

This article explains how the Linux kernel's printk function stores messages in a ring buffer, how those messages are exposed to user space via dmesg, /proc/kmsg, klogctl, and the system console, and why understanding this flow is crucial for developers and operators.

Linuxdmesglogging
0 likes · 10 min read
Where Does printk Output Go? A Complete Guide to Linux Kernel Logging
ITPUB
ITPUB
Jul 7, 2016 · Fundamentals

Mastering Linux printk: Levels, Macros, and Kernel Logging Mechanics

This article provides a comprehensive guide to Linux's printk system, covering its ring‑buffer design, log level definitions, early boot usage, helper macros, rate‑limiting techniques, kernel‑side implementation details, and ways to access logs from user space.

CDebuggingOperating Systems
0 likes · 14 min read
Mastering Linux printk: Levels, Macros, and Kernel Logging Mechanics