Word and RDR

Hi.

I’m developing driver based on NulMrx sample.
I’ve faced a problem while trying to save document. With Notepad everything
works fine. But word says “unable to save due to disk error”.

I’ll appreciate any help.

Your driver is broken.

Of course, with no real detail, that’s about all the definitive answer
we can give you.

Does your driver pass the IFS Kit tests? Have you used filespy or
filemon to attempt to identify the failing operation? Have you written
a test program to duplicate this behavior?

The more you dig, the more detail you can give us. The more detail we
have, the more likely we can give you something more precise than “your
driver is broken”.

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Dmitriy Gubarkov
Sent: Tuesday, August 16, 2005 3:56 PM
To: ntfsd redirect
Subject: [ntfsd] Word and RDR

Hi.

I’m developing driver based on NulMrx sample.
I’ve faced a problem while trying to save document. With Notepad
everything
works fine. But word says “unable to save due to disk error”.

I’ll appreciate any help.


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

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

Thanx Tony.

I’ve used FileMon that’s all. I have no idea where is a bug. It seems to me
all write calls to temp file were successfull, then after querying
information of this temp file it was deleted and word showe me this error.
Data were saved correctly I’ve checked written data and it displays ok in
other Word instance.

“Tony Mason”
news:xxxxx@ntfsd…
Your driver is broken.

Of course, with no real detail, that’s about all the definitive answer
we can give you.

Does your driver pass the IFS Kit tests? Have you used filespy or
filemon to attempt to identify the failing operation? Have you written
a test program to duplicate this behavior?

The more you dig, the more detail you can give us. The more detail we
have, the more likely we can give you something more precise than “your
driver is broken”.

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Dmitriy Gubarkov
Sent: Tuesday, August 16, 2005 3:56 PM
To: ntfsd redirect
Subject: [ntfsd] Word and RDR

Hi.

I’m developing driver based on NulMrx sample.
I’ve faced a problem while trying to save document. With Notepad
everything
works fine. But word says “unable to save due to disk error”.

I’ll appreciate any help.


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

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

One thing to check would be your rename logic. Word
does the rename macarena when saving a file.

— Dmitriy Gubarkov wrote:

> Thanx Tony.
>
> I’ve used FileMon that’s all. I have no idea where
> is a bug. It seems to me
> all write calls to temp file were successfull, then
> after querying
> information of this temp file it was deleted and
> word showe me this error.
> Data were saved correctly I’ve checked written data
> and it displays ok in
> other Word instance.
>
>
> “Tony Mason”
> news:xxxxx@ntfsd…
> Your driver is broken.
>
> Of course, with no real detail, that’s about all the
> definitive answer
> we can give you.
>
> Does your driver pass the IFS Kit tests? Have you
> used filespy or
> filemon to attempt to identify the failing
> operation? Have you written
> a test program to duplicate this behavior?
>
> The more you dig, the more detail you can give us.
> The more detail we
> have, the more likely we can give you something more
> precise than “your
> driver is broken”.
>
> Regards,
>
> Tony
>
> Tony Mason
> Consulting Partner
> OSR Open Systems Resources, Inc.
> http://www.osr.com
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of
> Dmitriy Gubarkov
> Sent: Tuesday, August 16, 2005 3:56 PM
> To: ntfsd redirect
> Subject: [ntfsd] Word and RDR
>
> Hi.
>
> I’m developing driver based on NulMrx sample.
> I’ve faced a problem while trying to save document.
> With Notepad
> everything
> works fine. But word says “unable to save due to
> disk error”.
>
> I’ll appreciate any help.
>
>
>
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as:
> xxxxx@osr.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@yahoo.com
> To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>

Yes sure, but I never get to rename, temp file deleted before.

“Randy Cook”
news:xxxxx@ntfsd…
> One thing to check would be your rename logic. Word
> does the rename macarena when saving a file.
>
> — Dmitriy Gubarkov wrote:
>
>> Thanx Tony.
>>
>> I’ve used FileMon that’s all. I have no idea where
>> is a bug. It seems to me
>> all write calls to temp file were successfull, then
>> after querying
>> information of this temp file it was deleted and
>> word showe me this error.
>> Data were saved correctly I’ve checked written data
>> and it displays ok in
>> other Word instance.
>>
>>
>> “Tony Mason”
>> news:xxxxx@ntfsd…
>> Your driver is broken.
>>
>> Of course, with no real detail, that’s about all the
>> definitive answer
>> we can give you.
>>
>> Does your driver pass the IFS Kit tests? Have you
>> used filespy or
>> filemon to attempt to identify the failing
>> operation? Have you written
>> a test program to duplicate this behavior?
>>
>> The more you dig, the more detail you can give us.
>> The more detail we
>> have, the more likely we can give you something more
>> precise than “your
>> driver is broken”.
>>
>> Regards,
>>
>> Tony
>>
>> Tony Mason
>> Consulting Partner
>> OSR Open Systems Resources, Inc.
>> http://www.osr.com
>>
>>
>> -----Original Message-----
>> From: xxxxx@lists.osr.com
>> [mailto:xxxxx@lists.osr.com] On Behalf Of
>> Dmitriy Gubarkov
>> Sent: Tuesday, August 16, 2005 3:56 PM
>> To: ntfsd redirect
>> Subject: [ntfsd] Word and RDR
>>
>> Hi.
>>
>> I’m developing driver based on NulMrx sample.
>> I’ve faced a problem while trying to save document.
>> With Notepad
>> everything
>> works fine. But word says “unable to save due to
>> disk error”.
>>
>> I’ll appreciate any help.
>>
>>
>>
>>
>> —
>> Questions? First check the IFS FAQ at
>> https://www.osronline.com/article.cfm?id=17
>>
>> You are currently subscribed to ntfsd as:
>> xxxxx@osr.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@yahoo.com
>> To unsubscribe send a blank email to
>> xxxxx@lists.osr.com
>>
>
>

At the risk of stating the obvious, while you insist that everything is
working, something is not working. Thus, either:

  • Your driver (or a driver layered on your driver) is returning an error
    to some I/O operation.
  • Your driver has not set up its state correctly - so that information
    returned by your driver has led the application to assert an error.

The first is the easiest to debug, and hence the first question I asked.
The second is much more difficult because it requires that you analyze
the details of what you are returning. Generally I suggest using the
simplest sequence you can to reproduce the problem and then compare the
results between a successful run (without your product installed) and a
failed run (with your product installed). At some point the behavior
will deviate and you should start working from that point back (to
earlier operations) in order to determine what information you are
returning does not match.

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Dmitriy Gubarkov
Sent: Tuesday, August 16, 2005 5:03 PM
To: ntfsd redirect
Subject: Re:[ntfsd] Re:Word and RDR

Yes sure, but I never get to rename, temp file deleted before.

“Randy Cook”
news:xxxxx@ntfsd…
> One thing to check would be your rename logic. Word
> does the rename macarena when saving a file.
>
> — Dmitriy Gubarkov wrote:
>
>> Thanx Tony.
>>
>> I’ve used FileMon that’s all. I have no idea where
>> is a bug. It seems to me
>> all write calls to temp file were successfull, then
>> after querying
>> information of this temp file it was deleted and
>> word showe me this error.
>> Data were saved correctly I’ve checked written data
>> and it displays ok in
>> other Word instance.
>>
>>
>> “Tony Mason”
>> news:xxxxx@ntfsd…
>> Your driver is broken.
>>
>> Of course, with no real detail, that’s about all the
>> definitive answer
>> we can give you.
>>
>> Does your driver pass the IFS Kit tests? Have you
>> used filespy or
>> filemon to attempt to identify the failing
>> operation? Have you written
>> a test program to duplicate this behavior?
>>
>> The more you dig, the more detail you can give us.
>> The more detail we
>> have, the more likely we can give you something more
>> precise than “your
>> driver is broken”.
>>
>> Regards,
>>
>> Tony
>>
>> Tony Mason
>> Consulting Partner
>> OSR Open Systems Resources, Inc.
>> http://www.osr.com
>>
>>
>> -----Original Message-----
>> From: xxxxx@lists.osr.com
>> [mailto:xxxxx@lists.osr.com] On Behalf Of
>> Dmitriy Gubarkov
>> Sent: Tuesday, August 16, 2005 3:56 PM
>> To: ntfsd redirect
>> Subject: [ntfsd] Word and RDR
>>
>> Hi.
>>
>> I’m developing driver based on NulMrx sample.
>> I’ve faced a problem while trying to save document.
>> With Notepad
>> everything
>> works fine. But word says “unable to save due to
>> disk error”.
>>
>> I’ll appreciate any help.
>>
>>
>>
>>
>> —
>> Questions? First check the IFS FAQ at
>> https://www.osronline.com/article.cfm?id=17
>>
>> You are currently subscribed to ntfsd as:
>> xxxxx@osr.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@yahoo.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@osr.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

> One thing to check would be your rename logic. Word

does the rename macarena when saving a file.

Off-topic: Word does macarena with every operation
when saving a file :slight_smile:

L.

Thanx Tony.

“Tony Mason” ???/??? ? ??? ???:
news:xxxxx@ntfsd…
At the risk of stating the obvious, while you insist that everything is
working, something is not working. Thus, either:

- Your driver (or a driver layered on your driver) is returning an error
to some I/O operation.
- Your driver has not set up its state correctly - so that information
returned by your driver has led the application to assert an error.

The first is the easiest to debug, and hence the first question I asked.
The second is much more difficult because it requires that you analyze
the details of what you are returning. Generally I suggest using the
simplest sequence you can to reproduce the problem and then compare the
results between a successful run (without your product installed) and a
failed run (with your product installed). At some point the behavior
will deviate and you should start working from that point back (to
earlier operations) in order to determine what information you are
returning does not match.

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Dmitriy Gubarkov
Sent: Tuesday, August 16, 2005 5:03 PM
To: ntfsd redirect
Subject: Re:[ntfsd] Re:Word and RDR

Yes sure, but I never get to rename, temp file deleted before.

“Randy Cook”
news:xxxxx@ntfsd…
> One thing to check would be your rename logic. Word
> does the rename macarena when saving a file.
>
> — Dmitriy Gubarkov wrote:
>
>> Thanx Tony.
>>
>> I’ve used FileMon that’s all. I have no idea where
>> is a bug. It seems to me
>> all write calls to temp file were successfull, then
>> after querying
>> information of this temp file it was deleted and
>> word showe me this error.
>> Data were saved correctly I’ve checked written data
>> and it displays ok in
>> other Word instance.
>>
>>
>> “Tony Mason”
>> news:xxxxx@ntfsd…
>> Your driver is broken.
>>
>> Of course, with no real detail, that’s about all the
>> definitive answer
>> we can give you.
>>
>> Does your driver pass the IFS Kit tests? Have you
>> used filespy or
>> filemon to attempt to identify the failing
>> operation? Have you written
>> a test program to duplicate this behavior?
>>
>> The more you dig, the more detail you can give us.
>> The more detail we
>> have, the more likely we can give you something more
>> precise than “your
>> driver is broken”.
>>
>> Regards,
>>
>> Tony
>>
>> Tony Mason
>> Consulting Partner
>> OSR Open Systems Resources, Inc.
>> http://www.osr.com
>>
>>
>> -----Original Message-----
>> From: xxxxx@lists.osr.com
>> [mailto:xxxxx@lists.osr.com] On Behalf Of
>> Dmitriy Gubarkov
>> Sent: Tuesday, August 16, 2005 3:56 PM
>> To: ntfsd redirect
>> Subject: [ntfsd] Word and RDR
>>
>> Hi.
>>
>> I’m developing driver based on NulMrx sample.
>> I’ve faced a problem while trying to save document.
>> With Notepad
>> everything
>> works fine. But word says “unable to save due to
>> disk error”.
>>
>> I’ll appreciate any help.
>>
>>
>>
>>
>> —
>> Questions? First check the IFS FAQ at
>> https://www.osronline.com/article.cfm?id=17
>>
>> You are currently subscribed to ntfsd as:
>> xxxxx@osr.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@yahoo.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@osr.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

No problem. It is always fun proving that, as usual, I have an amazing
grasp of the obvious. :wink:

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Dmitriy Gubarkov
Sent: Wednesday, August 17, 2005 6:19 AM
To: ntfsd redirect
Subject: Re:[ntfsd] Re:Word and RDR

Thanx Tony.

“Tony Mason” ???/??? ? ??? ???:
news:xxxxx@ntfsd…
At the risk of stating the obvious, while you insist that everything is
working, something is not working. Thus, either:

- Your driver (or a driver layered on your driver) is returning an error
to some I/O operation.
- Your driver has not set up its state correctly - so that information
returned by your driver has led the application to assert an error.

The first is the easiest to debug, and hence the first question I asked.
The second is much more difficult because it requires that you analyze
the details of what you are returning. Generally I suggest using the
simplest sequence you can to reproduce the problem and then compare the
results between a successful run (without your product installed) and a
failed run (with your product installed). At some point the behavior
will deviate and you should start working from that point back (to
earlier operations) in order to determine what information you are
returning does not match.

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Dmitriy Gubarkov
Sent: Tuesday, August 16, 2005 5:03 PM
To: ntfsd redirect
Subject: Re:[ntfsd] Re:Word and RDR

Yes sure, but I never get to rename, temp file deleted before.

“Randy Cook”
news:xxxxx@ntfsd…
> One thing to check would be your rename logic. Word
> does the rename macarena when saving a file.
>
> — Dmitriy Gubarkov wrote:
>
>> Thanx Tony.
>>
>> I’ve used FileMon that’s all. I have no idea where
>> is a bug. It seems to me
>> all write calls to temp file were successfull, then
>> after querying
>> information of this temp file it was deleted and
>> word showe me this error.
>> Data were saved correctly I’ve checked written data
>> and it displays ok in
>> other Word instance.
>>
>>
>> “Tony Mason”
>> news:xxxxx@ntfsd…
>> Your driver is broken.
>>
>> Of course, with no real detail, that’s about all the
>> definitive answer
>> we can give you.
>>
>> Does your driver pass the IFS Kit tests? Have you
>> used filespy or
>> filemon to attempt to identify the failing
>> operation? Have you written
>> a test program to duplicate this behavior?
>>
>> The more you dig, the more detail you can give us.
>> The more detail we
>> have, the more likely we can give you something more
>> precise than “your
>> driver is broken”.
>>
>> Regards,
>>
>> Tony
>>
>> Tony Mason
>> Consulting Partner
>> OSR Open Systems Resources, Inc.
>> http://www.osr.com
>>
>>
>> -----Original Message-----
>> From: xxxxx@lists.osr.com
>> [mailto:xxxxx@lists.osr.com] On Behalf Of
>> Dmitriy Gubarkov
>> Sent: Tuesday, August 16, 2005 3:56 PM
>> To: ntfsd redirect
>> Subject: [ntfsd] Word and RDR
>>
>> Hi.
>>
>> I’m developing driver based on NulMrx sample.
>> I’ve faced a problem while trying to save document.
>> With Notepad
>> everything
>> works fine. But word says “unable to save due to
>> disk error”.
>>
>> I’ll appreciate any help.
>>
>>
>>
>>
>> —
>> Questions? First check the IFS FAQ at
>> https://www.osronline.com/article.cfm?id=17
>>
>> You are currently subscribed to ntfsd as:
>> xxxxx@osr.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@yahoo.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@osr.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@osr.com
To unsubscribe send a blank email to xxxxx@lists.osr.com