Hi,
I am getting a crash after 12-13 hours of load which says that Paged
Pool memory is accessed at higher IRQL (Dispatch Level). I have got the
following doubts:
I am not raising the system IRQL in my driver so how does it getting raised
in the system?
If suppose somehow the IRQL is getting raised then at that IRQL level how is
my driver running as ideally if IRQL is raised by the system then it should
have been lower down by the system before my driver code execute.
Does the system log the IRQL details i.e. who has raised the IRQL ?
Should I change the Paged Allocation to NonPaged Allocation to avoid the
problem? Is there any limit imposed by the system for the NonPaged pool
allocation?
----- Original Message -----
From: “Arvind” To: “Windows System Software Devs Interest List” Sent: Friday, July 29, 2005 9:50 AM Subject: [ntdev] Doubt Abt the NonPaged Pool Allocation
> Hi, > I am getting a crash after 12-13 hours of load which says that Paged > Pool memory is accessed at higher IRQL (Dispatch Level). I have got the > following doubts: > I am not raising the system IRQL in my driver so how does it getting raised > in the system? > If suppose somehow the IRQL is getting raised then at that IRQL level how is > my driver running as ideally if IRQL is raised by the system then it should > have been lower down by the system before my driver code execute. > Does the system log the IRQL details i.e. who has raised the IRQL ? > Should I change the Paged Allocation to NonPaged Allocation to avoid the > problem? Is there any limit imposed by the system for the NonPaged pool > allocation? > > Regards, > Arvind. > > > — > Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 > > You are currently subscribed to ntdev as: xxxxx@storagecraft.com > To unsubscribe send a blank email to xxxxx@lists.osr.com
When you acquire a spinlock your driver IRQL is elevated at DISPATCH LEVEL
so you cannot touch non paged memory while holding a spinlock.
As a beginner I have done this mistake a few times :=)
PaoloC
– Messaggio originale –
From: “Arvind” >To: “Windows System Software Devs Interest List” >Subject: [ntdev] Doubt Abt the NonPaged Pool Allocation >Date: Fri, 29 Jul 2005 11:20:51 +0530 >Reply-To: “Windows System Software Devs Interest List” > > >Hi, > I am getting a crash after 12-13 hours of load which says that Paged >Pool memory is accessed at higher IRQL (Dispatch Level). I have got the >following doubts: >I am not raising the system IRQL in my driver so how does it getting raised >in the system? >If suppose somehow the IRQL is getting raised then at that IRQL level how >is >my driver running as ideally if IRQL is raised by the system then it should >have been lower down by the system before my driver code execute. >Does the system log the IRQL details i.e. who has raised the IRQL ? >Should I change the Paged Allocation to NonPaged Allocation to avoid the >problem? Is there any limit imposed by the system for the NonPaged pool >allocation? > > Regards, > Arvind. > > >— >Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 > >You are currently subscribed to ntdev as: xxxxx@tin.it >To unsubscribe send a blank email to xxxxx@lists.osr.com
I think you meant to say that you can not touch ‘paged’ memory while at IRQL
DIS{ATCH level. You are able to touch ‘non-paged’ memory at any IRQL.
Pete
Kernel Drivers
Windows Filesystem and Device Driver Consulting www.KernelDrivers.com
(303)546-0300
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@tin.it
Sent: Friday, July 29, 2005 6:37 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Doubt Abt the NonPaged Pool Allocation
When you acquire a spinlock your driver IRQL is elevated at DISPATCH LEVEL
so you cannot touch non paged memory while holding a spinlock.
As a beginner I have done this mistake a few times :=)
PaoloC
– Messaggio originale –
From: “Arvind” >To: “Windows System Software Devs Interest List” >Subject: [ntdev] Doubt Abt the NonPaged Pool Allocation >Date: Fri, 29 Jul 2005 11:20:51 +0530 >Reply-To: “Windows System Software Devs Interest List”
> > >Hi, > I am getting a crash after 12-13 hours of load which says that Paged >Pool memory is accessed at higher IRQL (Dispatch Level). I have got the >following doubts: >I am not raising the system IRQL in my driver so how does it getting raised >in the system? >If suppose somehow the IRQL is getting raised then at that IRQL level how >is >my driver running as ideally if IRQL is raised by the system then it should >have been lower down by the system before my driver code execute. >Does the system log the IRQL details i.e. who has raised the IRQL ? >Should I change the Paged Allocation to NonPaged Allocation to avoid the >problem? Is there any limit imposed by the system for the NonPaged pool >allocation? > > Regards, > Arvind. > > >— >Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 > >You are currently subscribed to ntdev as: xxxxx@tin.it >To unsubscribe send a blank email to xxxxx@lists.osr.com
Yes, you are right.
For me is difficult to think, in italian, about a complex argument like IRQL
and write, in english, without too many mistakes :=)
PaoloC
– Messaggio originale –
Reply-To: “Windows System Software Devs Interest List” >From: “Peter Scott” >To: “Windows System Software Devs Interest List” >Subject: RE: [ntdev] Doubt Abt the NonPaged Pool Allocation >Date: Fri, 29 Jul 2005 07:20:48 -0600 > > > >I think you meant to say that you can not touch ‘paged’ memory while at IRQL >DIS{ATCH level. You are able to touch ‘non-paged’ memory at any IRQL. > >Pete > >Kernel Drivers >Windows Filesystem and Device Driver Consulting >www.KernelDrivers.com >(303)546-0300 > > >-----Original Message----- >From: xxxxx@lists.osr.com >[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@tin.it >Sent: Friday, July 29, 2005 6:37 AM >To: Windows System Software Devs Interest List >Subject: RE: [ntdev] Doubt Abt the NonPaged Pool Allocation > >When you acquire a spinlock your driver IRQL is elevated at DISPATCH LEVEL >so you cannot touch non paged memory while holding a spinlock. >As a beginner I have done this mistake a few times :=) > >PaoloC > >>– Messaggio originale – >>From: “Arvind” >>To: “Windows System Software Devs Interest List” >>Subject: [ntdev] Doubt Abt the NonPaged Pool Allocation >>Date: Fri, 29 Jul 2005 11:20:51 +0530 >>Reply-To: “Windows System Software Devs Interest List” > >> >> >>Hi, >> I am getting a crash after 12-13 hours of load which says that Paged >>Pool memory is accessed at higher IRQL (Dispatch Level). I have got the >>following doubts: >>I am not raising the system IRQL in my driver so how does it getting raised >>in the system? >>If suppose somehow the IRQL is getting raised then at that IRQL level how >>is >>my driver running as ideally if IRQL is raised by the system then it should >>have been lower down by the system before my driver code execute. >>Does the system log the IRQL details i.e. who has raised the IRQL ? >>Should I change the Paged Allocation to NonPaged Allocation to avoid the >>problem? Is there any limit imposed by the system for the NonPaged pool >>allocation? >> >> Regards, >> Arvind. >> >> >>— >>Questions? First check the Kernel Driver FAQ at >http://www.osronline.com/article.cfm?id=256 >> >>You are currently subscribed to ntdev as: xxxxx@tin.it >>To unsubscribe send a blank email to xxxxx@lists.osr.com > > > >— >Questions? First check the Kernel Driver FAQ at >http://www.osronline.com/article.cfm?id=256 > >You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’ >To unsubscribe send a blank email to xxxxx@lists.osr.com > > > >— >Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 > >You are currently subscribed to ntdev as: xxxxx@tin.it >To unsubscribe send a blank email to xxxxx@lists.osr.com
Hello,
Are you running under driver verifier with low resources simulation. If yes
then this probably is an indcation of improper error handling. Some memory
allocation has failed and your driver has not handled it correctly. The
crash dump should tell you what went wrong.
-Kiran
“Arvind” wrote in message news:xxxxx@ntdev… > Hi, > I am getting a crash after 12-13 hours of load which says that Paged > Pool memory is accessed at higher IRQL (Dispatch Level). I have got the > following doubts: > I am not raising the system IRQL in my driver so how does it getting > raised > in the system? > If suppose somehow the IRQL is getting raised then at that IRQL level how > is > my driver running as ideally if IRQL is raised by the system then it > should > have been lower down by the system before my driver code execute. > Does the system log the IRQL details i.e. who has raised the IRQL ? > Should I change the Paged Allocation to NonPaged Allocation to avoid the > problem? Is there any limit imposed by the system for the NonPaged pool > allocation? > > Regards, > Arvind. > >