Explorer freeze while underlying device gets deleted.

Hi,

I am not able to figure out why it is happening. Here is the problem I
am facing.

I have a driver which creats a virtual volume like RamDisk. The disk
automatically gets deleted if it runs out of space. The problem is if I
am trying to do the i/o and that’s the time when it runs out of space,
The explorer freezes. And and only way to get out of that situation is
rebooting the system. I am not sure where is the problem. It works fine
if there is no I/O happening.

Any suggestations.

Regards
Avinash

I’ve seen explorer hang like this when I failed to complete
an IRP from explorer.

I’m pretty sure that explorer uses synchronous I/O-- so my
guess would be that it is waiting for you to complete an
IRP.

Is it possible that the IRP that ran out of space isn’t
being completed in your driver?

  • Joseph

Avinash Kumar wrote:

Hi,

I am not able to figure out why it is happening. Here is the problem I
am facing.

I have a driver which creats a virtual volume like RamDisk. The disk
automatically gets deleted if it runs out of space. The problem is if I
am trying to do the i/o and that’s the time when it runs out of space,
The explorer freezes. And and only way to get out of that situation is
rebooting the system. I am not sure where is the problem. It works fine
if there is no I/O happening.

Any suggestations.

Regards
Avinash


Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@vandyke.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

One thing you can do is to break into windbg (KM, of course), analyze
the stack of all Explorer’s threads and see what may look suspicious.

-----Original Message-----
From: Joseph Galbraith [mailto:xxxxx@vandyke.com]
Sent: Wednesday, July 28, 2004 11:50 AM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] Explorer freeze while underlying device gets
deleted.

I’ve seen explorer hang like this when I failed to complete
an IRP from explorer.

I’m pretty sure that explorer uses synchronous I/O-- so my
guess would be that it is waiting for you to complete an
IRP.

Is it possible that the IRP that ran out of space isn’t
being completed in your driver?

  • Joseph

Avinash Kumar wrote:

Hi,

I am not able to figure out why it is happening. Here is the problem I
am facing.

I have a driver which creats a virtual volume like RamDisk. The disk
automatically gets deleted if it runs out of space. The problem is if
I
am trying to do the i/o and that’s the time when it runs out of space,
The explorer freezes. And and only way to get out of that situation is
rebooting the system. I am not sure where is the problem. It works
fine
if there is no I/O happening.

Any suggestations.

Regards
Avinash


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@vandyke.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as:
xxxxx@borland.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Deleting disk when it runs out of space is interesting innovation. No wonder explorer is confused.

You’re probably doing something wrong. You should dismount drive and then fail all requests. Use traces and debugger to resolve problem. It also depends on the way how do you create virtual driver (legacy or Mount Manager), sometimes user mode broadcast has to be sent.

BTW, wrong list. It has nothing to do with FS development. NTDEV is the right one.

Best regards,

Michal Vodicka
UPEK, Inc.
[xxxxx@upek.com, http:://www.upek.com]


From: xxxxx@lists.osr.com[SMTP:xxxxx@lists.osr.com] on behalf of Avinash Kumar[SMTP:xxxxx@commvault.com]
Reply To: Windows File Systems Devs Interest List
Sent: Wednesday, July 28, 2004 7:53 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Explorer freeze while underlying device gets deleted.

Hi,

I am not able to figure out why it is happening. Here is the problem I
am facing.

I have a driver which creats a virtual volume like RamDisk. The disk
automatically gets deleted if it runs out of space. The problem is if I
am trying to do the i/o and that’s the time when it runs out of space,
The explorer freezes. And and only way to get out of that situation is
rebooting the system. I am not sure where is the problem. It works fine
if there is no I/O happening.

Any suggestations.

Regards
Avinash


Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@upek.com
To unsubscribe send a blank email to xxxxx@lists.osr.com