ok so I got a pci card with firewire ports on it and was able to connect the debugger. crash points to iastor.sys but it happens only when my drivers are present. so I must be doing something wrong.
1: kd> !analyze -v
*******************************************************************************
* *
* Bugcheck Analysis *
* *
*******************************************************************************
DRIVER_VERIFIER_DETECTED_VIOLATION (c4)
A device driver attempting to corrupt the system has been caught. This is
because the driver was specified in the registry as being suspect (by the
administrator) and the kernel has enabled substantial checking of this driver.
If the driver attempts to corrupt the system, bugchecks 0xC4, 0xC1 and 0xA will
be among the most commonly seen crashes.
Arguments:
Arg1: 00000000000000d5, IoReleaseRemoveLock tag doesn’t match previous IoAcquireRemoveLock tag.
Arg2: fffffa80178213e0, Address of the chk build Remove Lock structure.
Arg3: fffffa8017954070, Tag that doesn’t match previous IoAcquireRemoveLock tag.
If the driver calling IoReleaseRemoveLock is not built chk,
Parameter 2 is the chk build Remove Lock used by the Driver Verifier
on behalf of the driver. In this case, the address of the RemoveLock
used by the driver is not used at all, because the Driver Verifier is
replacing the lock address for all the Remove Lock APIs.
Arg4: 0000000000000000
Debugging Details:
BUGCHECK_STR: 0xc4_d5
DEFAULT_BUCKET_ID: VISTA_DRIVER_FAULT
PROCESS_NAME: System
CURRENT_IRQL: 2
LAST_CONTROL_TRANSFER: from fffff80002b80682 to fffff80002a81660
STACK_TEXT:
fffff880031e7868 fffff800
02b80682 : 00000000000000d5 fffffa80
035c3b60 0000000000000065 fffff800
02ac7b14 : nt!DbgBreakPointWithStatus
fffff880031e7870 fffff800
02b8146e : fffffa8000000003 00000000
00000000 fffff80002ac46e0 00000000
000000c4 : nt!KiBugCheckDebugBreak+0x12
fffff880031e78d0 fffff800
02a89704 : 0000000000000001 fffff880
031e8008 0000000000000000 fffffa80
00000000 : nt!KeBugCheck2+0x71e
fffff880031e7fa0 fffff800
02f133dc : 00000000000000c4 00000000
000000d5 fffffa80178213e0 fffffa80
17954070 : nt!KeBugCheckEx+0x104
fffff880031e7fe0 fffff800
02f14ded : fffffa80178d4000 fffffa80
178d41e8 0000000000000001 fffff880
031e8048 : nt!VerifierBugCheckIfAppropriate+0x3c
fffff880031e8020 fffff800
02b0be3f : fffffa80178213d0 fffff800
02f23423 fffffa80178d41e8 00000000
00000002 : nt!VfRemLockReportBadReleaseTag+0x1d
fffff880031e8060 fffff880
01120db3 : 0000000000000000 00000000
c0000010 fffffa801793f8e0 00000000
00000000 : nt! ?? ::FNODOBFM::string'+0x4ac6d fffff880
031e80d0 fffff80002f2fc16 : fffff980
029acca0 0000000000000002 fffffa80
178d1df0 0000000000000000 : iaStor+0x2ddb3 fffff880
031e8110 fffff88001af331a : fffff980
029acca0 0000000000000002 fffffa80
178d1df0 fffffa8017954600 : nt!IovCallDriver+0x566 fffff880
031e8170 fffff88001af3441 : fffffa80
178d1df0 fffff980029acca0 fffff980
029ace90 fffffa8004382580 : myPortFltr!MyPortFltrSendToNextDriver+0x3a [c:\myPortFltr\myPortFltr.c @ 1702] fffff880
031e81b0 fffff80002f2fc16 : fffffa80
178d1df0 fffff980029acca0 fffff980
029acca0 fffff80002f2b37e : myPortFltr!MyPortFltrClose+0x51 [c:\myPortFltr\myPortFltr.c @ 1755] fffff880
031e81e0 fffff80002f2ec42 : fffff980
029ace48 0000000000000002 fffffa80
1793d8b0 fffffa8004382580 : nt!IovCallDriver+0x566 fffff880
031e8240 fffff80002f2fc16 : fffff980
029acca0 0000000000000002 fffffa80
1793d760 0000000000000000 : nt!ViFilterDispatchPower+0x62 fffff880
031e8270 fffff88001a70f1a : fffff980
029acca0 0000000000000002 fffffa80
1793d510 fffffa80179543f0 : nt!IovCallDriver+0x566 fffff880
031e82d0 fffff88001ae8b7e : fffffa80
1793d510 fffff980029acca0 fffff980
029aced8 fffffa8017955f40 : myDiskFltr!MyDiskFltrSendToNextDriver+0x3a [c:\myDiskFltr\myDiskFltr.c @ 3691] fffff880
031e8310 fffff80002f2fc16 : fffffa80
1793d510 fffff980029acca0 fffff980
029acca0 fffff80002f2b37e : myDiskFltr!MyDiskFltrClose+0x6e [c:\myDiskFltr\myDiskFltr.c @ 3797] fffff880
031e8340 fffff80002f2ec42 : fffff980
029ace90 0000000000000002 fffffa80
1793d2f0 fffffa8017955f40 : nt!IovCallDriver+0x566 fffff880
031e83a0 fffff80002f2fc16 : fffff980
029acca0 0000000000000002 fffffa80
1793d1a0 fffffa801793fa90 : nt!ViFilterDispatchPower+0x62 fffff880
031e83d0 fffff88001b85cae : fffff980
02914fe0 fffffa801793f8e0 00000000
00000000 fffffa8017955010 : nt!IovCallDriver+0x566 fffff880
031e8430 fffff88001b85dc0 : fffffa80
17941be0 fffffa801793f8e0 00000000
00000000 fffffa8017954180 : CLASSPNP!ClasspCreateClose+0x17e fffff880
031e84b0 fffff80002f2fc16 : fffff980
029acca0 0000000000000002 fffffa80
1793f790 fffff80002f2b37e : CLASSPNP!ClassCreateClose+0x40 fffff880
031e84e0 fffff80002f2ec42 : fffff980
029acf20 0000000000000002 fffffa80
1793f680 fffffa8017954180 : nt!IovCallDriver+0x566 fffff880
031e8540 fffff80002f2fc16 : fffff980
029acca0 0000000000000002 fffffa80
1793f530 fffff80002f2b3f5 : nt!ViFilterDispatchPower+0x62 fffff880
031e8570 fffff88000ecee17 : 00000000
00000000 0000000000000002 fffffa80
1793f1d0 fffffa8017954250 : nt!IovCallDriver+0x566 fffff880
031e85d0 fffff80002f2fc16 : fffff980
029acca0 0000000000000002 fffffa80
1793f080 fffff80002f2b37e : partmgr!PmPassThrough+0x67 fffff880
031e8610 fffff80002f2ec42 : fffff980
029acf68 0000000000000002 fffffa80
17941d30 fffffa8003553450 : nt!IovCallDriver+0x566 fffff880
031e8670 fffff80002f2fc16 : fffff980
029acca0 0000000000000002 fffffa80
17941be0 0000000000001000 : nt!ViFilterDispatchPower+0x62 fffff880
031e86a0 fffff80002da072e : fffffa80
17954070 0000000000000001 fffff980
029acca0 fffffa8016ff06a0 : nt!IovCallDriver+0x566 fffff880
031e8700 fffff80002a8e7b4 : fffffa80
00000000 0000000000000001 fffffa80
035c9360 fffff98002956fb0 : nt!IopDeleteFile+0x11e fffff880
031e8790 fffff88000c071ea : 00000000
00000001 0000000000000000 fffffa80
17956000 fffffa8041746e4d : nt!ObfDereferenceObject+0xd4 fffff880
031e87f0 fffff88000c0de76 : fffff980
0261cf60 0000000000000000 fffff880
031e8c80 fffffa8017941be0 : mountmgr!QueryDeviceSortOrder+0x426 fffff880
031e8940 fffff88000c0f1f9 : fffff8a0
001f2304 0000000000000000 fffff880
031e8bd8 0000000000000000 : mountmgr!MountMgrMountedDeviceArrival+0x2ee fffff880
031e8af0 fffff80002cf562c : fffff8a0
001f2710 0000000000000000 00000000
00000000 fffff80002c03e80 : mountmgr!MountMgrMountedDeviceNotification+0x75 fffff880
031e8b20 fffff80002ec8988 : fffff8a0
001f2710 fffff880031e8bd8 fffff8a0
002386b0 00000000ffffffff : nt!PnpNotifyDriverCallback+0x5c fffff880
031e8bb0 fffff80002def722 : fffff800
02c2e500 fffffa8000000000 fffffa80
035c3b00 0000000000000000 : nt!PnpNotifyDeviceClassChange+0x188 fffff880
031e8c50 fffff80002a96861 : fffff800
02cf5e80 fffff8a000238640 fffff800
02c2e5f8 0000000000000000 : nt! ?? ::NNGAKEGL::
string’+0x592d1
fffff880031e8cb0 fffff800
02d2ea86 : 0000000000000000 fffffa80
035c3b60 0000000000000080 fffffa80
035065f0 : nt!ExpWorkerThread+0x111
fffff880031e8d40 fffff800
02a67b06 : fffff880009f1180 fffffa80
035c3b60 fffff880009fbf40 00000000
00000000 : nt!PspSystemThreadStartup+0x5a
fffff880031e8d80 00000000
00000000 : fffff880031e9000 fffff880
031e3000 fffff880031e7b80 00000000
00000000 : nt!KxStartSystemThread+0x16
STACK_COMMAND: kb
FOLLOWUP_IP:
iaStor+2ddb3
fffff880`01120db3 33db xor ebx,ebx
SYMBOL_STACK_INDEX: 7
SYMBOL_NAME: iaStor+2ddb3
FOLLOWUP_NAME: MachineOwner
MODULE_NAME: iaStor
IMAGE_NAME: iaStor.sys
DEBUG_FLR_IMAGE_TIMESTAMP: 4ac65b7a
FAILURE_BUCKET_ID: X64_0xc4_d5_VRF_iaStor+2ddb3
BUCKET_ID: X64_0xc4_d5_VRF_iaStor+2ddb3
Followup: MachineOwner
And my drivers’ *SendToNextDriver is :
NTSTATUS *SendToNextDriver (IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp)
{
PDEVICE_EXTENSION deviceExtension;
IoSkipCurrentIrpStackLocation (Irp);
deviceExtension = (PDEVICE_EXTENSION)DeviceObject->DeviceExtension;
return (IoCallDriver (deviceExtension->TargetDeviceObject, Irp));
}