linux-kernel-crash-debug
БесплатноЗапускает вложенные скриптыНе проверенDebug Linux kernel crashes using evidence-first vmcore analysis, the crash utility, and memory/concurrency debugging tools. Use when users mention kernel…
от crazyss2 616 установок в других каталогахОб этом скилле
Linux Kernel Crash Debugging
This skill guides you through analyzing Linux kernel crash dumps using the crash utility.
Installation
Install only when the user requests installation. These commands place skill files in the user workspace; they do not authorize services, startup hooks, or background jobs.
Claude Code
Extract the verified release archive with all 13 runtime files; the scripts
and references are required alongside SKILL.md.
mkdir -p ~/.claude/skills/linux-kernel-crash-debug
unzip linux-kernel-crash-debug.skill -d ~/.claude/skills/linux-kernel-crash-debug
OpenClaw
# Method 1: Install via ClawHub
clawhub install linux-kernel-crash-debug
# Method 2: Manual installation
mkdir -p ~/.openclaw/workspace/skills/linux-kernel-crash-debug
unzip linux-kernel-crash-debug.skill -d ~/.openclaw/workspace/skills/linux-kernel-crash-debug
Use an empty destination for a new installation; handle an existing installation as an explicit upgrade. Copying only the manifest leaves its helpers missing. Claude Code skill locations.
Quick Start
Language choice: Respond in the user’s preferred language. SKILL_CN.md and Chinese references are optional companion material; translate relevant explanations when requested. Source titles retain their original language for attribution.
Starting a Session
These are human reference commands. Agents use the offline wrapper below;
raw RAM requires the loader/format checks in references/vmcore-format.md.
# Analyze a dump file
crash vmlinux vmcore
# Debug a running system
crash vmlinux
# Raw RAM loading is format- and tool-version-specific; see the reference above.
Core Debugging Workflow
0. Preserve checksums, vmcore-dmesg, build IDs, modules, config, and command line
1. crash> sys # Validate release/build and panic context
2. crash> log # Find the FIRST anomaly, not only the last panic
3. crash> bt / bt -a # Compare panic task with all active CPUs
4. crash> mod # Confirm faulting module symbols are available
5. crash> struct / kmem # Test a specific object-lifetime hypothesis
6. Search upstream and verify good/bad kernels before claiming a regression
Read references/evidence-first-workflow.md before deep analysis. It defines
the evidence-quality gates, failure-type routing, hypothesis ledger, tool
escalation rules, and root-cause report format. Never equate the panic task,
fault site, corruption site, and root cause without supporting evidence.
For worked evidence chains, read Cases 13–15 in references/case-studies.md:
GRO header-offset reconstruction, InfiniBand error-path double free, and
filesystem writeback/reclaim deadlock. Treat a bisect result as a candidate
trigger, an NMI frame as interrupted context, and collection overhead as a
possible contributor to stalls; verify each before assigning a root cause.
For suspected single-bit corruption of an ARM64 pointer, follow the candidate-validation method and Case 16. A plausible reconstructed pointer does not establish DDR failure.
When the first pass leaves an evidence gap
Choose one targeted playbook rather than enabling every detector:
| Missing evidence | Next playbook |
|---|---|
| Where an uninitialized value originated | KMSAN origin tracking |
| Whether a driver misused DMA mappings | DMA API lifecycle checks |
| Which failed allocation breaks cleanup | Per-task fault injection |
| Events immediately preceding a rare symptom | Conditional flight recorder |
| What actually prevents an RCU grace period completing | RCU stall differential reading |
These complement the existing OOB/UAF, race, leak, and lock-order tools. Start with saved evidence; live experiments still follow the safety contract below.
Live-System Safety Contract
Default to offline, read-only analysis. Treat sudo, module load/unload, boot
or service configuration, writes under debugfs or /proc/sys, live tracing,
and SysRq actions as live-host mutations.
- Do not perform a mutation unless the user explicitly authorizes the exact host and action and confirms a lab or approved maintenance context. If the environment is unknown, stop after read-only checks and provide a runbook.
- Before authorized tracing or detector changes, record the baseline, set a narrow tar
Установить linux-kernel-crash-debug в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл linux-kernel-crash-debug?
Debug Linux kernel crashes using evidence-first vmcore analysis, the crash utility, and memory/concurrency debugging tools. Use when users mention kernel crash, kernel panic, vmcore analysis, kernel dump debugging, crash utility, kernel oops debugging, pstore or ramoops, soft/hard lockup, hung task, OOM, locating root causes of kernel issues, regression bisection, mutex ownership, ARM64 lock-pointer recovery, KASAN, KFENCE, KCSAN, KMSAN, DMA API debugging, fail-nth, conditional trace capture, RCU stalls, Lockdep, drgn, Kprobes, Kmemleak, memory corruption, out-of-bounds access, use-after-free, race, deadlock, or memory leak detection.
Как установить скилл linux-kernel-crash-debug?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл linux-kernel-crash-debug запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic