본문으로 건너뛰기
cccskills
무료GitHub에 공개

windbg-kernel-irp-lifecycle-triage

Use when kernel evidence shows stalled I/O, a power IRP, or completion/cancellation misuse; inspect request state and driver ownership. Not for interpreting an empty IRP search in a limited dump as proof of healthy I/O.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

IRP Lifecycle Triage

Load windbg-diagnostic-method first if it is not already loaded in this conversation, and apply it throughout for evidence ranking, hypothesis testing, confidence calibration, independent review, and report validation. This skill adds the bug-family-specific commands and evidence requirements.

Scope

Investigate I/O Request Packets in a kernel dump or authorized live kernel session. Examples include 0x9F power failures and hangs where progress depends on a driver request. Apply the parameter table for the specific bugcheck subtype rather than assuming every 0x9F identifies the same object.

For 0x9F with P1 equal to 3, P4 is the blocked IRP. Inspect that directly before running a system-wide search.

Workflow

1. Decode the known request

!analyze -v
!irp <irp-address>

When no request address is known and the dump has the required pool data:

!irpfind

!irpfind can be expensive in a live session and incomplete in a limited dump. Use supported filters where appropriate. No result does not prove there are no outstanding requests.

2. Follow the stack and ownership

Record the major/minor operation, current stack location, device/driver stack, completion routine, pending flags, cancellation state, and any relevant thread. Use the available device stack and driver source to establish which component is expected to advance or complete the request.

Do not identify an offending driver solely by the last name printed in the IRP stack. A completion routine, downstream dependency, or framework-owned request may change the responsible path.

3. Correlate dependencies

EvidenceNext investigation
I/O verifier violation or available shadow historywindbg-kernel-verifier-triage
Owner/waiter kernel lock chainwindbg-kernel-lock-deadlock-triage
Exception or trap during request handlingwindbg-kernel-bugcheck-triage

Preserve evidence between skills; avoid repeatedly handing the same unchanged IRP back and forth.

4. Test the request protocol

  • Power request: inspect the subtype's objects and power/PnP state, current stack location, and completion dependency.
  • Cancellation race: establish which routine owns completion, how cancellation synchronizes with normal completion, and whether the request can be completed twice or retained after cancellation.
  • Double completion: trace competing terminal paths; a single live IRP snapshot may not contain enough history.
  • Pending request: verify API/framework-specific pending and completion rules, remove/shutdown paths, and who promises eventual progress.

WDM and WDF have different ownership APIs. Do not transplant a raw WDM completion/cancel pattern into a framework-owned request without checking its contract. This skill establishes evidence; it is not a complete I/O protocol reference or a decoder for every power subtype.

Validation

Name the operation, current owner/dependency, and supported protocol violation or stalled path. Test normal completion, concurrent cancellation, removal, power transitions, and shutdown where relevant. If history is missing, propose an approved instrumented test using the verifier skill rather than inventing which driver lost the completion.

References

Feedback

Follow FEEDBACK.md and report only reviewed, sanitized feedback to WinDbg-Feedback. Include windbg-kernel-irp-lifecycle-triage and the package version from plugin.json; no automatic kernel dump or request-content upload.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Use with every WinDbg plugin investigation to apply evidence-first reasoning, confidence calibration, contrarian review, structured reporting, and deterministic validation. Not a bug-family-specific triage skill.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

microsoft/win-dev-skills4742026년 10월 14일 업데이트

Use when a kernel dump reports a Windows bugcheck; decode parameters and recover exception or trap context before investigating your driver. Not for user-mode process crashes or blaming a module from its name alone.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

microsoft/win-dev-skills4742026년 10월 14일 업데이트

Use when kernel threads block on driver synchronization or Verifier reports a lock-order violation; build an owner/waiter graph. Not for treating every watchdog stop as a deadlock or listing every lock type with !locks.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

microsoft/win-dev-skills4742026년 10월 14일 업데이트

Use when a kernel dump contains Driver Verifier violations; inspect flags, bugcheck subcodes, and available I/O shadow state. Not for Application Verifier user-mode stops or inferring a violation from enabled flags alone.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

microsoft/win-dev-skills4742026년 10월 14일 업데이트

Use when a native C/C++ app, service, or user-mode driver host (including UMDF) crashes with a structured exception in a dump or WinDbg session, including native faults inside managed processes. Not for managed .NET exceptions, WinUI/XAML app errors, or kernel bugchecks.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

microsoft/win-dev-skills4742026년 10월 14일 업데이트

Use when an app, service, or user-mode driver host heap fails or Application Verifier detects corruption; inspect history and bounds. Not for kernel pool corruption or ordinary OOM.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

microsoft/win-dev-skills4742026년 10월 14일 업데이트

microsoft의 스킬 모두 보기

이 스킬의 문제 신고