analyze-oops

Analyzes PearPC memory dumps to decode pt_regs and disassemble NIP/LR for kernel Oops.

438|75|Updated Jan 11, 2015
One-click install
npx skills add https://github.com/sebastianbiallas/pearpc --skill analyze-oops
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analyze-oops
Source: https://github.com/sebastianbiallas/pearpc/tree/main/.claude/skills/analyze-oops
Command: npx skills add https://github.com/sebastianbiallas/pearpc --skill analyze-oops

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Analyze kernel Oops from a PearPC memory dump to pinpoint faulting addresses and root causes.

Core Features & Use Cases

  • Guided Oops extraction: Step-by-step instructions to extract the kernel Oops from the dump.
  • Register decoding: Decode pt_regs to reveal the faulting context.
  • Disassembly-assisted debugging: Disassemble around NIP and LR to locate the code path leading to the crash.
  • Validation & reporting: Validate NIP against known address spaces (kernel, PROM, PCI) and report the fault details.

Quick Start

Provide the memory dump file to the tool and run the memdump and disassembly steps to start analysis.

Frequently Asked Questions about analyze-oops

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze a kernel Oops from a PearPC memory dump?

To analyze a kernel Oops from a PearPC memory dump, provide the dump file to the tool to extract the Oops, decode pt_regs, and disassemble around NIP and LR. This generates a structured diagnostic report pinpointing faulting addresses.

What does decoding pt_regs reveal during kernel Oops debugging?

Decoding pt_regs during kernel Oops debugging reveals the exact faulting context of the crash. The skill decodes these registers from the memory dump to help correlate addresses and understand the processor state at the time of the fault.

Can I use this tool to disassemble around NIP and LR to find a crash code path?

Yes, you can use this tool to disassemble around NIP and LR to locate the code path leading to the crash. It correlates these addresses from the memory dump to pinpoint the exact instructions triggered during the kernel Oops.

Does the memory dump analysis validate NIP against known address spaces?

Yes, the memory dump analysis validates NIP against known address spaces such as kernel, PROM, and PCI. This validation step ensures the faulting address is correctly categorized before generating the final structured diagnostic report.

Do I need Python scripts to parse memdumps for kernel Oops extraction?

Yes, you need the included Python scripts located under scripts/debug to parse memdumps for kernel Oops extraction. These scripts automate translating virtual addresses to physical addresses and produce the structured diagnostic report.