how to dump the irp stack?

Hi All,

I am getting a bad irp error in a device driver. The irp is getting rejected. I am trying to find out whether the irp is valid by dumping the irp using WinDbg !irp [address],

Is there any way that I can dump the irp stack too? By using

!irp [address] 0, I am getting, (Irp is active with 5 stacks 6 is current (= 0x82f84fdc)).

Is there any option to view the stack mentioned above (Irp is active with 5 stacks 6 is current (= 0x82f84fdc))?

Thanks,
Harsha


Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.

I sent this on to the kernel team and here’s the very terse reply:

In this case, its most likely the IRP has been freed or something and
the type field is not 6.


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Harsha Inamdar
Sent: Tuesday, January 31, 2006 2:52 PM
To: Kernel Debugging Interest List
Subject: [windbg] how to dump the irp stack?

Hi All,

I am getting a bad irp error in a device driver. The irp is getting
rejected. I am trying to find out whether the irp is valid by dumping
the irp using WinDbg !irp [address],

Is there any way that I can dump the irp stack too? By using

!irp [address] 0, I am getting, (Irp is active with 5 stacks 6 is
current (= 0x82f84fdc)).

Is there any option to view the stack mentioned above (Irp is active
with 5 stacks 6 is current (= 0x82f84fdc))?

Thanks,
Harsha


Yahoo! Autos http:ylc=X3oDMTEzcGlrdGY5BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDMWF1dG9z/*ht
tp://autos.yahoo.com/index.html> . Looking for a sweet ride? Get
pricing, reviews, & more on new and used cars. — You are currently
subscribed to windbg as: xxxxx@winse.microsoft.com To unsubscribe send a
blank email to xxxxx@lists.osr.com</http:>

Terse is right. Of course, if he/she/it was trouble shooting a hard disc
and got that, he/she/it would mostly be a bit miffed.

The OP can use "dt _IRP address -r 0/1/2. I believe 1 or 2 will fully
expand the IRP including all stacks.

Gary G. Little


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Drew Bliss
Sent: Wednesday, February 01, 2006 12:21 PM
To: Kernel Debugging Interest List
Subject: RE: [windbg] how to dump the irp stack?

I sent this on to the kernel team and here’s the very terse reply:

In this case, its most likely the IRP has been freed or something and the
type field is not 6.


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Harsha Inamdar
Sent: Tuesday, January 31, 2006 2:52 PM
To: Kernel Debugging Interest List
Subject: [windbg] how to dump the irp stack?

Hi All,

I am getting a bad irp error in a device driver. The irp is getting
rejected. I am trying to find out whether the irp is valid by dumping the
irp using WinDbg !irp [address],

Is there any way that I can dump the irp stack too? By using

!irp [address] 0, I am getting, (Irp is active with 5 stacks 6 is current
(= 0x82f84fdc)).

Is there any option to view the stack mentioned above (Irp is active with
5 stacks 6 is current (= 0x82f84fdc))?

Thanks,

Harsha


Yahoo!
http:HNlYwNtYWlsdGFncwRzbGsDMWF1dG9z/*http:/autos.yahoo.com/index.html%20>
Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and
used cars. — You are currently subscribed to windbg as:
xxxxx@winse.microsoft.com To unsubscribe send a blank email to
xxxxx@lists.osr.com

You are currently subscribed to windbg as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com</http:>