JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Modular Debugger Guide
search filter icon
search icon

Document Information

Preface

1.  Modular Debugger Overview

2.  Debugger Concepts

3.  MDB Language Syntax

4.  Using MDB Commands Interactively

5.  Built-In Commands

6.  Execution Control

7.  Kernel Execution Control

8.  Kernel Debugging Modules

Generic Kernel Debugging Support (genunix)

Kernel Memory Allocator

Kernel Memory Allocator Dcmds

Kernel Memory Allocator Walkers

File Systems

File Systems Dcmds

File Systems Walkers

Virtual Memory

Virtual Memory Dcmds

Virtual Memory Walkers

CPU Structures and the Kernel Dispatcher

CPU and Dispatcher Dcmds

CPU and Dispatcher Walkers

Device Drivers and DDI Framework

Device Driver Dcmds

Device Driver Walkers

STREAMS

STREAMS Dcmds

STREAMS Walkers

Networking

Networking Dcmds

Networking Walkers

Files, Processes, and Threads

Files, Processes, and Threads Dcmds

Files, Processes, and Threads Walkers

Synchronization Primitives

Synchronization Primitives Dcmds

Synchronization Primitives Walkers

Cyclics

Cyclics Dcmds

Cyclics Walkers

Task Queues

Task Queues Dcmds

Task Queues Walkers

Error Queues

Error Queues Dcmds

Error Queues Walkers

System Configuration

System Configuration Dcmds

Interprocess Communication Debugging Support (ipc)

Interprocess Communication Dcmds

Interprocess Communication Walkers

Loopback File System Debugging Support (lofs)

Loopback File System Dcmds

Loopback File System Walkers

Internet Protocol Module Debugging Support (ip)

Internet Protocol Dcmds

Internet Protocol Walkers

Kernel Runtime Link Editor Debugging Support (krtld)

Kernel Runtime Link Editor Dcmds

Kernel Runtime Link Editor Walkers

USB Framework Debugging Support (uhci)

USB Host Controller Dcmds

USB Host Controller Walkers

USB Framework Debugging Support (usba)

USB Framework Dcmds

USB Framework Walkers

x86: x86 Platform Debugging Support (unix)

x86 Platform Dcmds

x86 Platform Walkers

SPARC: sun4u Platform Debugging Support (unix)

sun4u Platform Dcmds

sun4u Platform Walkers

9.  Debugging With the Kernel Memory Allocator

10.  Module Programming API

A.  MDB Options

B.  Notes

C.  Transition From adb and kadb

D.  Transition From crash

Index

Chapter 8

Kernel Debugging Modules

This chapter describes the debugger modules, dcmds, and walkers provided to debug the Solaris kernel. Each kernel debugger module is named after the corresponding Solaris kernel module, so that it will be loaded automatically by MDB. The facilities described here reflect the current Solaris kernel implementation and are subject to change in the future; writing shell scripts that depend on the output of these commands is not recommended. In general, the kernel debugging facilities described in this chapter are meaningful only in the context of the corresponding kernel subsystem implementation. See Related Books and Papers for a list of references that provide more information about the Solaris kernel implementation.


Note - MDB exposes kernel implementation details that are subject to change at any time. This guide reflects the Solaris kernel implementation as of the date of publication of this guide. Information provided in this guide about modules, dcmds, walkers, and their output formats and arguments might not be correct or applicable to past or future Solaris releases.