Hi All,
Following code sequence is causing BSOD IRQL_NOT_LESS_OR_EQUAL.
KeAcquireSpinLock (); // raises the IRQ level to DISPATCH_LEVEL
KeSetTimer (); // can work at IRQL DISPATCH_LEVEL. I’m invoking DPC using
this
KeReleaseSpinLock (); // release the lock
Is there any thing wrong? I haven’t made any part of my code by explicitly
writing as PAGED. Are not the variables defined by default non-paged ?
Amit Manocha
Is timer object allocated from paged pool. Another reason may be an attempt
to access a completely bogus address. Run “!analyze -v” command in WinDBG
and send the report so we could look if something more specific can be
revealed.
-htfv
----- Original Message -----
From: “Amit Manocha”
Newsgroups: ntdev
To: “NT Developers Interest List”
Sent: Tuesday, June 17, 2003 1:02 PM
Subject: [ntdev] KeAcquireSpinLock, KeSetTimer, KeReleaseSpinLock sequence
is causing IRQL_NOT_LESS_OR_EQUAL ?
> Hi All,
>
> Following code sequence is causing BSOD IRQL_NOT_LESS_OR_EQUAL.
>
> KeAcquireSpinLock (); // raises the IRQ level to DISPATCH_LEVEL
> KeSetTimer (); // can work at IRQL DISPATCH_LEVEL. I’m invoking DPC
using
> this
> KeReleaseSpinLock (); // release the lock
>
> Is there any thing wrong? I haven’t made any part of my code by explicitly
> writing as PAGED. Are not the variables defined by default non-paged ?
>
> Amit Manocha
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@vba.com.by
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
Thanks Alex,
That was indeed a bogus address.
Amit Manocha
----- Original Message -----
From: “Alexey Logachyov”
To: “NT Developers Interest List”
Sent: Tuesday, June 17, 2003 7:08 PM
Subject: [ntdev] Re: KeAcquireSpinLock, KeSetTimer, KeReleaseSpinLock
sequence is causing IRQL_NOT_LESS_OR_EQUAL ?
> Is timer object allocated from paged pool. Another reason may be an
attempt
> to access a completely bogus address. Run “!analyze -v” command in WinDBG
> and send the report so we could look if something more specific can be
> revealed.
>
> -htfv
>
>
>
> ----- Original Message -----
> From: “Amit Manocha”
> Newsgroups: ntdev
> To: “NT Developers Interest List”
> Sent: Tuesday, June 17, 2003 1:02 PM
> Subject: [ntdev] KeAcquireSpinLock, KeSetTimer, KeReleaseSpinLock sequence
> is causing IRQL_NOT_LESS_OR_EQUAL ?
>
>
> > Hi All,
> >
> > Following code sequence is causing BSOD IRQL_NOT_LESS_OR_EQUAL.
> >
> > KeAcquireSpinLock (); // raises the IRQ level to DISPATCH_LEVEL
> > KeSetTimer (); // can work at IRQL DISPATCH_LEVEL. I’m invoking DPC
> using
> > this
> > KeReleaseSpinLock (); // release the lock
> >
> > Is there any thing wrong? I haven’t made any part of my code by
explicitly
> > writing as PAGED. Are not the variables defined by default non-paged ?
> >
> > Amit Manocha
> >
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@vba.com.by
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >
>
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@mynetsec.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>