Hi,
I’m working on a filter driver on Win2000. Currently my dispatch
routines only print the IRPs and let them PassThrough. When I
load the driver, it doesn’t take too long for the system to
BugCheck with the error of “NO_MORE_IRP_STACK_LOCATION”. My understanding
is that the filter driver doesn’t have control over
the stack size. So what can I do to solve the problem?
Please help!
Raymond
Get Your Private, Free Email at http://www.hotmail.com
> is that the filter driver doesn’t have control over
the stack size. So what can I do to solve the problem?
It does. The stack size for the attached device must be larger by 1 than by
lower one.
Max
Try setting
HKLM\SYSTEM\CurrentControlSet\Services\LanManServer\Parameters\IrpStackSize
to a larger size. This controls the irp stack size that the server code
uses. When you add filters it requires more irp stack locations and
requests from the network use 1 more stack location than local requests.
-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Tuesday, February 29, 2000 11:02 AM
To: File Systems Developers Interest List
Subject: [ntfsd] Re: NO_MORE_IRP_STACK_LOCATION
is that the filter driver doesn’t have control over
the stack size. So what can I do to solve the problem?
It does. The stack size for the attached device must be larger by 1 than by
lower one.
Max
You are currently subscribed to ntfsd as: xxxxx@avail.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)
In your driver, if you do not copy the stack location properly you will
observe this error.
You should be using IoCopyCurrentIrpStackLocationToNext; it sets up the next
stack location properly. Failing to set it up properly can cause this
problem.
Regards,
Tony
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com
-----Original Message-----
From: Raymond Lu [mailto:xxxxx@hotmail.com]
Sent: Tuesday, February 29, 2000 10:02 AM
To: File Systems Developers Interest List
Subject: [ntfsd] NO_MORE_IRP_STACK_LOCATION
Hi,
I’m working on a filter driver on Win2000. Currently my dispatch
routines only print the IRPs and let them PassThrough. When I
load the driver, it doesn’t take too long for the system to
BugCheck with the error of “NO_MORE_IRP_STACK_LOCATION”. My understanding
is that the filter driver doesn’t have control over
the stack size. So what can I do to solve the problem?
Please help!
Raymond
Get Your Private, Free Email at http://www.hotmail.com
You are currently subscribed to ntfsd as: xxxxx@osr.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)