fastfat bug?

Win2KSP1 checked. Was installed on a single hard drive on FAT partition.
Then add an additional harddrive, reboot, approximately at login time or
even later (when explorer is loading) fat driver bugchecks:

*** Fatal System Error: 0x00000023
(0x000E00A7,0xEB4438A8,0xEB443500,0xBFE934E1)

Remove the additional hard drive, the system boots normally.

Can anyone explain why?

Regards,
Max


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

stack trace shows:
Details:
Exception Record eb43f8a8
ExceptionAddress: bfe934e1 (Fastfat!FatInvalidateVolumes+0x000000ab)
ExceptionCode: c0000005
ExceptionFlags: 00000000
NumberParameters: 2
Parameter[0]: 00000000
Parameter[1]: 00000004
Attempt to read from address 00000004
Context eb43f500
eax=00000000 ebx=814a3c40 ecx=00000011 edx=20627000 esi=8126fe28
edi=eb43f97c
eip=bfe934e1 esp=eb43f970 ebp=eb43f9c8 iopl=0 nv up ei pl zr na po
nc
cs=0008 ss=0010 ds=0023 es=0023 fs=0030 gs=0000
efl=00010246
Fastfat!FatInvalidateVolumes+ab:
bfe934e1 8a4004 mov al,[eax+0x4]
*** Stack trace for last set context - .thread resets it
ChildEBP RetAddr
eb43f9c8 bfe7aca4 Fastfat!FatInvalidateVolumes+0xab
eb43fa10 80602d0f Fastfat!FatFsdFileSystemControl+0x86
eb43fa5c 8052c51a ntoskrnl!IovSpecialIrpCallDriver+0xe4
eb43fad4 80543715 ntoskrnl!IopInvalidateVolumesForDevice+0x18a
eb43fb1c 8054aa34 ntoskrnl!IopRemoveDevice+0x13f
eb43fb40 8054ac9c ntoskrnl!IopDeleteLockedDeviceNode+0x65a
eb43fb78 805d0016 ntoskrnl!IopDeleteLockedDeviceNodes+0x115
eb43fc00 805d0321 ntoskrnl!PiProcessQueryRemoveAndEject+0xb85
eb43fc1c 805cdeb8 ntoskrnl!PiProcessTargetDeviceEvent+0x7f
eb43fd40 8041c068 ntoskrnl!PiWalkDeviceList+0x1da
eb43fda8 804a331a ntoskrnl!ExpWorkerThread+0x106
eb43fddc 804bdd7a ntoskrnl!PspSystemThreadStartup+0x54
00000000 00000000 ntoskrnl!KiThreadStartup+0x16

-----Original Message-----
From: Max Lyadvinsky [mailto:xxxxx@acronis.com]
Sent: Wednesday, August 29, 2001 7:43 PM
To: ‘File Systems Developers’
Subject: fastfat bug?

Win2KSP1 checked. Was installed on a single hard drive on FAT partition.
Then add an additional harddrive, reboot, approximately at login time or
even later (when explorer is loading) fat driver bugchecks:

*** Fatal System Error: 0x00000023
(0x000E00A7,0xEB4438A8,0xEB443500,0xBFE934E1)

Remove the additional hard drive, the system boots normally.

Can anyone explain why?

Regards,
Max


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

I’ve investigated the bug and now it seems because of my filter, but I’m not
sure.

fastfat traps in FatInvalidateVolumes.

it creates new vpb for my filter device object (DeviceToMarkBad), then fills
it in:

NewVpb->Type = IO_TYPE_VPB;
NewVpb->Size = sizeof( VPB );
NewVpb->RealDevice = DeviceToMarkBad;

the following line causes crash, because Vpb in my filter device object is
NULL.

NewVpb->Flags |= DeviceToMarkBad->Vpb->Flags & VPB_REMOVE_PENDING;

is it my bug? But I don’t manage Vpbs in my disk filter driver…

Any ideas are highly appreciated.
Max

-----Original Message-----
From: Max Lyadvinsky [mailto:xxxxx@acronis.com]
Sent: Wednesday, August 29, 2001 7:43 PM
To: ‘File Systems Developers’
Subject: fastfat bug?

Win2KSP1 checked. Was installed on a single hard drive on FAT partition.
Then add an additional harddrive, reboot, approximately at login time or
even later (when explorer is loading) fat driver bugchecks:

*** Fatal System Error: 0x00000023
(0x000E00A7,0xEB4438A8,0xEB443500,0xBFE934E1)

Remove the additional hard drive, the system boots normally.

Can anyone explain why?

Regards,
Max


You are currently subscribed to ntfsd as: xxxxx@acronis.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

maybe MountMgr creates Vpbs and that’s why I should install myself between
DiskPerf and MountMgr? if so the addfilter sample from DDK has a bug, 'cause
it adds storage upper filters after DiskPerf and MountMgr…

Regards,
Max Lyadvinsky

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Max Lyadvinsky
Sent: Friday, August 31, 2001 1:45 PM
To: File Systems Developers
Subject: [ntfsd] RE: fastfat bug?

I’ve investigated the bug and now it seems because of my filter, but I’m not
sure.

fastfat traps in FatInvalidateVolumes.

it creates new vpb for my filter device object (DeviceToMarkBad), then fills
it in:

NewVpb->Type = IO_TYPE_VPB;
NewVpb->Size = sizeof( VPB );
NewVpb->RealDevice = DeviceToMarkBad;

the following line causes crash, because Vpb in my filter device object is
NULL.

NewVpb->Flags |= DeviceToMarkBad->Vpb->Flags & VPB_REMOVE_PENDING;

is it my bug? But I don’t manage Vpbs in my disk filter driver…

Any ideas are highly appreciated.
Max

-----Original Message-----
From: Max Lyadvinsky [mailto:xxxxx@acronis.com]
Sent: Wednesday, August 29, 2001 7:43 PM
To: ‘File Systems Developers’
Subject: fastfat bug?

Win2KSP1 checked. Was installed on a single hard drive on FAT partition.
Then add an additional harddrive, reboot, approximately at login time or
even later (when explorer is loading) fat driver bugchecks:

*** Fatal System Error: 0x00000023
(0x000E00A7,0xEB4438A8,0xEB443500,0xBFE934E1)

Remove the additional hard drive, the system boots normally.

Can anyone explain why?

Regards,
Max


You are currently subscribed to ntfsd as: xxxxx@acronis.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@acronis.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

I must create the filter device object with FILE_DEVICE_DISK, in this case
Vpb is created by IoCreateDevice. Earlier I propagated the device type after
the filter device object is created and attached. So this is not a fastfat
bug…

Regards,
Max

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Max Lyadvinsky
Sent: Friday, August 31, 2001 2:14 PM
To: File Systems Developers
Subject: [ntfsd] RE: fastfat bug?

maybe MountMgr creates Vpbs and that’s why I should install myself between
DiskPerf and MountMgr? if so the addfilter sample from DDK has a bug, 'cause
it adds storage upper filters after DiskPerf and MountMgr…

Regards,
Max Lyadvinsky

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Max Lyadvinsky
Sent: Friday, August 31, 2001 1:45 PM
To: File Systems Developers
Subject: [ntfsd] RE: fastfat bug?

I’ve investigated the bug and now it seems because of my filter, but I’m not
sure.

fastfat traps in FatInvalidateVolumes.

it creates new vpb for my filter device object (DeviceToMarkBad), then fills
it in:

NewVpb->Type = IO_TYPE_VPB;
NewVpb->Size = sizeof( VPB );
NewVpb->RealDevice = DeviceToMarkBad;

the following line causes crash, because Vpb in my filter device object is
NULL.

NewVpb->Flags |= DeviceToMarkBad->Vpb->Flags & VPB_REMOVE_PENDING;

is it my bug? But I don’t manage Vpbs in my disk filter driver…

Any ideas are highly appreciated.
Max

-----Original Message-----
From: Max Lyadvinsky [mailto:xxxxx@acronis.com]
Sent: Wednesday, August 29, 2001 7:43 PM
To: ‘File Systems Developers’
Subject: fastfat bug?

Win2KSP1 checked. Was installed on a single hard drive on FAT partition.
Then add an additional harddrive, reboot, approximately at login time or
even later (when explorer is loading) fat driver bugchecks:

*** Fatal System Error: 0x00000023
(0x000E00A7,0xEB4438A8,0xEB443500,0xBFE934E1)

Remove the additional hard drive, the system boots normally.

Can anyone explain why?

Regards,
Max


You are currently subscribed to ntfsd as: xxxxx@acronis.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@acronis.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@acronis.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

IIRC VPB is created in IoCreateDevice if the device has “block” type like
FILE_DEVICE_DISK.

Max

----- Original Message -----
From: “Max Lyadvinsky”
To: “File Systems Developers”
Sent: Friday, August 31, 2001 2:14 PM
Subject: [ntfsd] RE: fastfat bug?

> maybe MountMgr creates Vpbs and that’s why I should install myself between
> DiskPerf and MountMgr? if so the addfilter sample from DDK has a bug,
'cause
> it adds storage upper filters after DiskPerf and MountMgr…
>
> Regards,
> Max Lyadvinsky
>
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of Max Lyadvinsky
> Sent: Friday, August 31, 2001 1:45 PM
> To: File Systems Developers
> Subject: [ntfsd] RE: fastfat bug?
>
>
> I’ve investigated the bug and now it seems because of my filter, but I’m
not
> sure.
>
> fastfat traps in FatInvalidateVolumes.
>
> it creates new vpb for my filter device object (DeviceToMarkBad), then
fills
> it in:
>
> NewVpb->Type = IO_TYPE_VPB;
> NewVpb->Size = sizeof( VPB );
> NewVpb->RealDevice = DeviceToMarkBad;
>
> the following line causes crash, because Vpb in my filter device object is
> NULL.
>
> NewVpb->Flags |= DeviceToMarkBad->Vpb->Flags & VPB_REMOVE_PENDING;
>
> is it my bug? But I don’t manage Vpbs in my disk filter driver…
>
> Any ideas are highly appreciated.
> Max
>
>
> -----Original Message-----
> From: Max Lyadvinsky [mailto:xxxxx@acronis.com]
> Sent: Wednesday, August 29, 2001 7:43 PM
> To: ‘File Systems Developers’
> Subject: fastfat bug?
>
>
> Win2KSP1 checked. Was installed on a single hard drive on FAT partition.
> Then add an additional harddrive, reboot, approximately at login time or
> even later (when explorer is loading) fat driver bugchecks:
>
> *** Fatal System Error: 0x00000023
> (0x000E00A7,0xEB4438A8,0xEB443500,0xBFE934E1)
>
> Remove the additional hard drive, the system boots normally.
>
> Can anyone explain why?
>
> Regards,
> Max
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@acronis.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@acronis.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Yes. The IO manager creates a VPB for DISK, TAPE and CD-Rom type file
devices.

Jamey
xxxxx@storagecraft.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
Sent: Friday, August 31, 2001 12:27 PM
To: File Systems Developers
Subject: [ntfsd] RE: fastfat bug?

IIRC VPB is created in IoCreateDevice if the device has “block” type
like FILE_DEVICE_DISK.

Max

----- Original Message -----
From: “Max Lyadvinsky”
To: “File Systems Developers”
Sent: Friday, August 31, 2001 2:14 PM
Subject: [ntfsd] RE: fastfat bug?

> maybe MountMgr creates Vpbs and that’s why I should install myself
> between DiskPerf and MountMgr? if so the addfilter sample from DDK has

> a bug,
'cause
> it adds storage upper filters after DiskPerf and MountMgr…
>
> Regards,
> Max Lyadvinsky
>
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of Max Lyadvinsky
> Sent: Friday, August 31, 2001 1:45 PM
> To: File Systems Developers
> Subject: [ntfsd] RE: fastfat bug?
>
>
> I’ve investigated the bug and now it seems because of my filter, but
> I’m
not
> sure.
>
> fastfat traps in FatInvalidateVolumes.
>
> it creates new vpb for my filter device object (DeviceToMarkBad), then
fills
> it in:
>
> NewVpb->Type = IO_TYPE_VPB;
> NewVpb->Size = sizeof( VPB );
> NewVpb->RealDevice = DeviceToMarkBad;
>
> the following line causes crash, because Vpb in my filter device
> object is NULL.
>
> NewVpb->Flags |= DeviceToMarkBad->Vpb->Flags & VPB_REMOVE_PENDING;
>
> is it my bug? But I don’t manage Vpbs in my disk filter driver…
>
> Any ideas are highly appreciated.
> Max
>
>
> -----Original Message-----
> From: Max Lyadvinsky [mailto:xxxxx@acronis.com]
> Sent: Wednesday, August 29, 2001 7:43 PM
> To: ‘File Systems Developers’
> Subject: fastfat bug?
>
>
> Win2KSP1 checked. Was installed on a single hard drive on FAT
> partition. Then add an additional harddrive, reboot, approximately at
> login time or even later (when explorer is loading) fat driver
> bugchecks:
>
> *** Fatal System Error: 0x00000023
> (0x000E00A7,0xEB4438A8,0xEB443500,0xBFE934E1)
>
> Remove the additional hard drive, the system boots normally.
>
> Can anyone explain why?
>
> Regards,
> Max
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@acronis.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@acronis.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com To
> unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntfsd as: xxxxx@storagecraft.com To
unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com