Hibernation Problem.

Hello,
I have a file system filter driver based on Filemon. I have problem
with hibernation, can any one tell me what could be wrong.

Thanks in advance,
kumar.

You may be handling IRP_MJ_POWER incorrectly. A filesystem filter driver
should simply pass this API down the stack without any special
processing. What exactly is the problem?

  • Nicholas Ryan

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of kumar
Sent: Sunday, November 10, 2002 10:17 AM
To: File Systems Developers
Subject: [ntfsd] Hibernation Problem.

Hello,
I have a file system filter driver based on Filemon. I
have problem with hibernation, can any one tell me what could
be wrong.

Thanks in advance,
kumar.


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

No I am not doing anything for any request, I just pass down all the
requests even then I have the problem.

kumar

Nicholas Ryan wrote:

You may be handling IRP_MJ_POWER incorrectly. A filesystem filter driver
should simply pass this API down the stack without any special
processing. What exactly is the problem?

  • Nicholas Ryan

> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of kumar
> Sent: Sunday, November 10, 2002 10:17 AM
> To: File Systems Developers
> Subject: [ntfsd] Hibernation Problem.
>
>
> Hello,
> I have a file system filter driver based on Filemon. I
> have problem with hibernation, can any one tell me what could
> be wrong.
>
> Thanks in advance,
> kumar.
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@nryan.com
> To unsubscribe send a blank email to %%email.unsub%%
>


You are currently subscribed to ntfsd as: xxxxx@proland.soft.net
To unsubscribe send a blank email to %%email.unsub%%

There IS special processing for power IRP’s required in filters. See the documentation for PoStartNextPowerIrp.

-----Original Message-----
From: Nicholas Ryan [mailto:xxxxx@nryan.com]
Sent: Monday, November 11, 2002 2:48 AM
To: File Systems Developers
Subject: [ntfsd] RE: Hibernation Problem.

You may be handling IRP_MJ_POWER incorrectly. A filesystem filter driver
should simply pass this API down the stack without any special
processing. What exactly is the problem?

  • Nicholas Ryan

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of kumar
Sent: Sunday, November 10, 2002 10:17 AM
To: File Systems Developers
Subject: [ntfsd] Hibernation Problem.

Hello,
I have a file system filter driver based on Filemon. I
have problem with hibernation, can any one tell me what could
be wrong.

Thanks in advance,
kumar.


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


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

Nope, not filesystem filters. Microsoft’s filespy driver has no special
handling for IRP_MJ_POWER.

  • Nicholas Ryan

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Fuller, Rob
Sent: Monday, November 11, 2002 6:19 AM
To: File Systems Developers
Subject: [ntfsd] RE: Hibernation Problem.

There IS special processing for power IRP’s required in
filters. See the documentation for PoStartNextPowerIrp.

-----Original Message-----
From: Nicholas Ryan [mailto:xxxxx@nryan.com]
Sent: Monday, November 11, 2002 2:48 AM
To: File Systems Developers
Subject: [ntfsd] RE: Hibernation Problem.

You may be handling IRP_MJ_POWER incorrectly. A filesystem
filter driver should simply pass this API down the stack
without any special processing. What exactly is the problem?

  • Nicholas Ryan

> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of kumar
> Sent: Sunday, November 10, 2002 10:17 AM
> To: File Systems Developers
> Subject: [ntfsd] Hibernation Problem.
>
>
> Hello,
> I have a file system filter driver based on Filemon. I
> have problem with hibernation, can any one tell me what could
> be wrong.
>
> Thanks in advance,
> kumar.
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@nryan.com
> To unsubscribe send a blank email to %%email.unsub%%
>


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


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

OK to be more clear, according to OSR’s FAQ filesystem filters do not
ever receive IRP_MJ_POWER. The statement that all drivers who receive
IRP_MJ_POWER IRPs must pass them down using PoCallDriver is probably
true, and filesystem filters should at least ASSERT when they see such
an IRP and not just pass them off to the default dispatch routine (as
filespy does).

As for hibernation, apparently mishandling IRP_MJ_PNP can cause
problems, according to the IFS kit docs.

  • Nicholas Ryan

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Nicholas Ryan
Sent: Monday, November 11, 2002 11:12 AM
To: File Systems Developers
Subject: [ntfsd] RE: Hibernation Problem.

Nope, not filesystem filters. Microsoft’s filespy driver has
no special handling for IRP_MJ_POWER.

  • Nicholas Ryan

> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Fuller, Rob
> Sent: Monday, November 11, 2002 6:19 AM
> To: File Systems Developers
> Subject: [ntfsd] RE: Hibernation Problem.
>
>
> There IS special processing for power IRP’s required in
> filters. See the documentation for PoStartNextPowerIrp.
>
> -----Original Message-----
> From: Nicholas Ryan [mailto:xxxxx@nryan.com]
> Sent: Monday, November 11, 2002 2:48 AM
> To: File Systems Developers
> Subject: [ntfsd] RE: Hibernation Problem.
>
>
> You may be handling IRP_MJ_POWER incorrectly. A filesystem
> filter driver should simply pass this API down the stack
> without any special processing. What exactly is the problem?
>
> - Nicholas Ryan
>
>
>
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On Behalf Of kumar
> > Sent: Sunday, November 10, 2002 10:17 AM
> > To: File Systems Developers
> > Subject: [ntfsd] Hibernation Problem.
> >
> >
> > Hello,
> > I have a file system filter driver based on Filemon. I
have problem
> > with hibernation, can any one tell me what could be wrong.
> >
> > Thanks in advance,
> > kumar.
> >
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@nryan.com To
> > unsubscribe send a blank email to %%email.unsub%%
> >
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@inin.com
> To unsubscribe send a blank email to %%email.unsub%%
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@nryan.com
> To unsubscribe send a blank email to %%email.unsub%%
>


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

I see no such ASSERT code in SFilter sample of ifs kit, but that works
fine.

Nicholas Ryan wrote:

OK to be more clear, according to OSR’s FAQ filesystem filters do not
ever receive IRP_MJ_POWER. The statement that all drivers who receive
IRP_MJ_POWER IRPs must pass them down using PoCallDriver is probably
true, and filesystem filters should at least ASSERT when they see such
an IRP and not just pass them off to the default dispatch routine (as
filespy does).

As for hibernation, apparently mishandling IRP_MJ_PNP can cause
problems, according to the IFS kit docs.

  • Nicholas Ryan

> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Nicholas Ryan
> Sent: Monday, November 11, 2002 11:12 AM
> To: File Systems Developers
> Subject: [ntfsd] RE: Hibernation Problem.
>
>
> Nope, not filesystem filters. Microsoft’s filespy driver has
> no special handling for IRP_MJ_POWER.
>
> - Nicholas Ryan
>
>
>
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On Behalf Of Fuller, Rob
> > Sent: Monday, November 11, 2002 6:19 AM
> > To: File Systems Developers
> > Subject: [ntfsd] RE: Hibernation Problem.
> >
> >
> > There IS special processing for power IRP’s required in
> > filters. See the documentation for PoStartNextPowerIrp.
> >
> > -----Original Message-----
> > From: Nicholas Ryan [mailto:xxxxx@nryan.com]
> > Sent: Monday, November 11, 2002 2:48 AM
> > To: File Systems Developers
> > Subject: [ntfsd] RE: Hibernation Problem.
> >
> >
> > You may be handling IRP_MJ_POWER incorrectly. A filesystem
> > filter driver should simply pass this API down the stack
> > without any special processing. What exactly is the problem?
> >
> > - Nicholas Ryan
> >
> >
> >
> > > -----Original Message-----
> > > From: xxxxx@lists.osr.com
> > > [mailto:xxxxx@lists.osr.com] On Behalf Of kumar
> > > Sent: Sunday, November 10, 2002 10:17 AM
> > > To: File Systems Developers
> > > Subject: [ntfsd] Hibernation Problem.
> > >
> > >
> > > Hello,
> > > I have a file system filter driver based on Filemon. I
> have problem
> > > with hibernation, can any one tell me what could be wrong.
> > >
> > > Thanks in advance,
> > > kumar.
> > >
> > >
> > > —
> > > You are currently subscribed to ntfsd as: xxxxx@nryan.com To
> > > unsubscribe send a blank email to %%email.unsub%%
> > >
> >
> >
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@inin.com
> > To unsubscribe send a blank email to %%email.unsub%%
> >
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@nryan.com
> > To unsubscribe send a blank email to %%email.unsub%%
> >
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@nryan.com
> To unsubscribe send a blank email to %%email.unsub%%
>


You are currently subscribed to ntfsd as: xxxxx@proland.soft.net
To unsubscribe send a blank email to %%email.unsub%%

Power IRP’s are never sent to file systems so this can not be your
problem.

You need to give more details about your issue.

Neal Christiansen
Microsoft File System Filter Group

This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: kumar [mailto:xxxxx@proland.soft.net]
Sent: Monday, November 11, 2002 9:53 AM
To: File Systems Developers
Subject: [ntfsd] RE: Hibernation Problem.

I see no such ASSERT code in SFilter sample of ifs kit, but that works
fine.

Nicholas Ryan wrote:

OK to be more clear, according to OSR’s FAQ filesystem filters do not
ever receive IRP_MJ_POWER. The statement that all drivers who receive
IRP_MJ_POWER IRPs must pass them down using PoCallDriver is probably
true, and filesystem filters should at least ASSERT when they see such
an IRP and not just pass them off to the default dispatch routine (as
filespy does).

As for hibernation, apparently mishandling IRP_MJ_PNP can cause
problems, according to the IFS kit docs.

  • Nicholas Ryan

> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Nicholas Ryan
> Sent: Monday, November 11, 2002 11:12 AM
> To: File Systems Developers
> Subject: [ntfsd] RE: Hibernation Problem.
>
>
> Nope, not filesystem filters. Microsoft’s filespy driver has
> no special handling for IRP_MJ_POWER.
>
> - Nicholas Ryan
>
>
>
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On Behalf Of Fuller, Rob
> > Sent: Monday, November 11, 2002 6:19 AM
> > To: File Systems Developers
> > Subject: [ntfsd] RE: Hibernation Problem.
> >
> >
> > There IS special processing for power IRP’s required in
> > filters. See the documentation for PoStartNextPowerIrp.
> >
> > -----Original Message-----
> > From: Nicholas Ryan [mailto:xxxxx@nryan.com]
> > Sent: Monday, November 11, 2002 2:48 AM
> > To: File Systems Developers
> > Subject: [ntfsd] RE: Hibernation Problem.
> >
> >
> > You may be handling IRP_MJ_POWER incorrectly. A filesystem
> > filter driver should simply pass this API down the stack
> > without any special processing. What exactly is the problem?
> >
> > - Nicholas Ryan
> >
> >
> >
> > > -----Original Message-----
> > > From: xxxxx@lists.osr.com
> > > [mailto:xxxxx@lists.osr.com] On Behalf Of kumar
> > > Sent: Sunday, November 10, 2002 10:17 AM
> > > To: File Systems Developers
> > > Subject: [ntfsd] Hibernation Problem.
> > >
> > >
> > > Hello,
> > > I have a file system filter driver based on Filemon. I
> have problem
> > > with hibernation, can any one tell me what could be wrong.
> > >
> > > Thanks in advance,
> > > kumar.
> > >
> > >
> > > —
> > > You are currently subscribed to ntfsd as: xxxxx@nryan.com To
> > > unsubscribe send a blank email to %%email.unsub%%
> > >
> >
> >
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@inin.com
> > To unsubscribe send a blank email to %%email.unsub%%
> >
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@nryan.com
> > To unsubscribe send a blank email to %%email.unsub%%
> >
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@nryan.com
> To unsubscribe send a blank email to %%email.unsub%%
>


You are currently subscribed to ntfsd as: xxxxx@proland.soft.net
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to ntfsd as: xxxxx@Windows.Microsoft.com
To unsubscribe send a blank email to %%email.unsub%%

My filter driver is a loaded by a service and drive letters ( c:,d:…
)to be hooked will be sent to the driver. From them my driver prints a
debug message in checked build else does nothing, it sends all the
requests down to the lower driver, it doesn’t even registers a
completion routine. When hibernation is
selected the system return to windows.

Neal Christiansen wrote:

Power IRP’s are never sent to file systems so this can not be your
problem.

You need to give more details about your issue.

Neal Christiansen
Microsoft File System Filter Group

This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: kumar [mailto:xxxxx@proland.soft.net]
Sent: Monday, November 11, 2002 9:53 AM
To: File Systems Developers
Subject: [ntfsd] RE: Hibernation Problem.

I see no such ASSERT code in SFilter sample of ifs kit, but that works
fine.

Nicholas Ryan wrote:
>
> OK to be more clear, according to OSR’s FAQ filesystem filters do not
> ever receive IRP_MJ_POWER. The statement that all drivers who receive
> IRP_MJ_POWER IRPs must pass them down using PoCallDriver is probably
> true, and filesystem filters should at least ASSERT when they see such
> an IRP and not just pass them off to the default dispatch routine (as
> filespy does).
>
> As for hibernation, apparently mishandling IRP_MJ_PNP can cause
> problems, according to the IFS kit docs.
>
> - Nicholas Ryan
>
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On Behalf Of Nicholas Ryan
> > Sent: Monday, November 11, 2002 11:12 AM
> > To: File Systems Developers
> > Subject: [ntfsd] RE: Hibernation Problem.
> >
> >
> > Nope, not filesystem filters. Microsoft’s filespy driver has
> > no special handling for IRP_MJ_POWER.
> >
> > - Nicholas Ryan
> >
> >
> >
> > > -----Original Message-----
> > > From: xxxxx@lists.osr.com
> > > [mailto:xxxxx@lists.osr.com] On Behalf Of Fuller, Rob
> > > Sent: Monday, November 11, 2002 6:19 AM
> > > To: File Systems Developers
> > > Subject: [ntfsd] RE: Hibernation Problem.
> > >
> > >
> > > There IS special processing for power IRP’s required in
> > > filters. See the documentation for PoStartNextPowerIrp.
> > >
> > > -----Original Message-----
> > > From: Nicholas Ryan [mailto:xxxxx@nryan.com]
> > > Sent: Monday, November 11, 2002 2:48 AM
> > > To: File Systems Developers
> > > Subject: [ntfsd] RE: Hibernation Problem.
> > >
> > >
> > > You may be handling IRP_MJ_POWER incorrectly. A filesystem
> > > filter driver should simply pass this API down the stack
> > > without any special processing. What exactly is the problem?
> > >
> > > - Nicholas Ryan
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: xxxxx@lists.osr.com
> > > > [mailto:xxxxx@lists.osr.com] On Behalf Of kumar
> > > > Sent: Sunday, November 10, 2002 10:17 AM
> > > > To: File Systems Developers
> > > > Subject: [ntfsd] Hibernation Problem.
> > > >
> > > >
> > > > Hello,
> > > > I have a file system filter driver based on Filemon. I
> > have problem
> > > > with hibernation, can any one tell me what could be wrong.
> > > >
> > > > Thanks in advance,
> > > > kumar.
> > > >
> > > >
> > > > —
> > > > You are currently subscribed to ntfsd as: xxxxx@nryan.com To
> > > > unsubscribe send a blank email to %%email.unsub%%
> > > >
> > >
> > >
> > >
> > > —
> > > You are currently subscribed to ntfsd as: xxxxx@inin.com
> > > To unsubscribe send a blank email to %%email.unsub%%
> > >
> > >
> > > —
> > > You are currently subscribed to ntfsd as: xxxxx@nryan.com
> > > To unsubscribe send a blank email to %%email.unsub%%
> > >
> >
> >
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@nryan.com
> > To unsubscribe send a blank email to %%email.unsub%%
> >
>
> —
> You are currently subscribed to ntfsd as: xxxxx@proland.soft.net
> To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to ntfsd as: xxxxx@Windows.Microsoft.com
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to ntfsd as: xxxxx@proland.soft.net
To unsubscribe send a blank email to %%email.unsub%%