Current IRQL

Hi,
Is there a way to find the IRQL at which the dump occured.

What about debugging a live system? Is there a way to find the current
IRQL in the live system?

Thanks
Mayank

If the trap code is IRQL_NOT_LESS_OR_EQUAL, second parameter is the IRQL
level. Otherwise also in your code put KeGetCurrentIrql and print the
current IRQL on the debugger screen.

  • Vipul
    First Virtual Communications
    3393 Octavius Drive
    Santa Clara, CA 95054
    Ph - (408) 567-7222

-----Original Message-----
From: xxxxx@yahoo.com [mailto:xxxxx@yahoo.com]
Sent: Wednesday, February 27, 2002 11:37 AM
To: Kernel Debugging Interest List
Subject: [windbg] Current IRQL

Hi,
Is there a way to find the IRQL at which the dump occured.

What about debugging a live system? Is there a way to find the current
IRQL in the live system?

Thanks
Mayank


You are currently subscribed to windbg as: xxxxx@fvc.com
To unsubscribe send a blank email to %%email.unsub%%

I don’t want to put KEGetCurrentIrql in my code. Is there some system data
structure that’ll give me the current IRQL throught the debugger?

Thanks

Hi,
The !pcr command has the current IRQL for that CPU.

Yours
Roger


Roger Coote,
Senior Design Engineer
PowerVR Technologies, A Division of Imagination Technologies Ltd
Home Park Estate, Kings Langley, Hertfordshire, WD4 8LZ, UK
phone :+44 (1923) 260511 fax :+44 (1923) 268969
direct :+44 (1923) 277274
mailto:xxxxx@powervr.com www.powervr.com


-----Original Message-----
From: xxxxx@yahoo.com [mailto:xxxxx@yahoo.com]
Sent: 27 February 2002 20:36
To: Kernel Debugging Interest List
Subject: [windbg] Re: Current IRQL

I don’t want to put KEGetCurrentIrql in my code. Is there some system data
structure that’ll give me the current IRQL throught the debugger?

Thanks


You are currently subscribed to windbg as: xxxxx@videologic.com
To unsubscribe send a blank email to %%email.unsub%%

But it does not work.


Gary G. Little
xxxxx@broadstor.com
xxxxx@inland.net

“Roger Coote” wrote in message news:xxxxx@windbg…
>
> Hi,
> The !pcr command has the current IRQL for that CPU.
>
> Yours
> Roger
>
>
> Roger Coote,
> Senior Design Engineer
> PowerVR Technologies, A Division of Imagination Technologies Ltd
> Home Park Estate, Kings Langley, Hertfordshire, WD4 8LZ, UK
> phone :+44 (1923) 260511 fax :+44 (1923) 268969
> direct :+44 (1923) 277274
> mailto:xxxxx@powervr.com www.powervr.com
>

>
>
>
> -----Original Message-----
> From: xxxxx@yahoo.com [mailto:xxxxx@yahoo.com]
> Sent: 27 February 2002 20:36
> To: Kernel Debugging Interest List
> Subject: [windbg] Re: Current IRQL
>
>
> I don’t want to put KEGetCurrentIrql in my code. Is there some system data
> structure that’ll give me the current IRQL throught the debugger?
>
> Thanks
>
> —
> You are currently subscribed to windbg as: xxxxx@videologic.com
> To unsubscribe send a blank email to %%email.unsub%%
>
>

I thought so…
I have done the !pcr thing and it seemed to show the IRQL as 0, but my
code was actually running at DISPATCH. I thought maybe I was doing
something wrong in the debugger or looking at the wrong info.

I’ve run !PCR in the middle of an ISR … and I have never seen IRQL set to
anything other than 0. Lordy lordy it sure would be nice if it worked,
however.


Gary G. Little
xxxxx@broadstor.com
xxxxx@inland.net

wrote in message news:xxxxx@windbg…
>
> I thought so…
> I have done the !pcr thing and it seemed to show the IRQL as 0, but my
> code was actually running at DISPATCH. I thought maybe I was doing
> something wrong in the debugger or looking at the wrong info.
>
>

Someone from Microsoft had once replied to some email in NTDEV, and I remember him saying that entering the debugger itself might change the IRQL. I am not sure what level he mentioned. Check the NTDEV archives.

Mukul

-----Original Message-----
From: Gary G. Little [mailto:xxxxx@broadstor.com]
Sent: Friday, March 01, 2002 8:21 AM
To: Kernel Debugging Interest List
Subject: [windbg] Re: Current IRQL

I’ve run !PCR in the middle of an ISR … and I have never seen IRQL set to
anything other than 0. Lordy lordy it sure would be nice if it worked,
however.


Gary G. Little
xxxxx@broadstor.com
xxxxx@inland.net

wrote in message news:xxxxx@windbg…
>
> I thought so…
> I have done the !pcr thing and it seemed to show the IRQL as 0, but my
> code was actually running at DISPATCH. I thought maybe I was doing
> something wrong in the debugger or looking at the wrong info.
>
>


You are currently subscribed to windbg as: xxxxx@troikanetworks.com
To unsubscribe send a blank email to %%email.unsub%%

This is fixed in a future OS release.

-Andre

Can you specify which OS. Right now all the work we do is on NT, so are
there any service patches available?

Thanks
Mayank