My dirver had been build succefully,
Now ,I am debuging my ISR and DPC .
When the code run at IoRequestDpc, the error occured:
kd> g
Enter OnInterrupt.
Breakpoint 10 hit
ISA!OnInterrupt+0x26:
f89e1906 8b550c mov edx,dword ptr [ebp+0Ch]
kd> t
nt!KeInsertQueueDpc:
804e4e22 8bff mov edi,edi
kd> g
*** Fatal System Error: 0x0000000a
(0x00000090,0x0000001E,0x00000001,0x804E4E5B)
Break instruction exception - code 80000003 (first chance)
A fatal system error has occurred.
Debugger entered on first try; Bugcheck callbacks have not been invoked.
A fatal system error has occurred.
Connected to Windows XP 2600 x86 compatible target at (Sun Apr 4 21:24:02.421 2010 (GMT+8)), ptr64 FALSE
Loading Kernel Symbols
…
…
Loading User Symbols
Loading unloaded module list
…
*** WARNING: Unable to verify timestamp for ialmrnt5.dll
*** ERROR: Module load completed but symbols could not be loaded for ialmrnt5.dll
*** WARNING: Unable to verify timestamp for ialmdd5.DLL
*** ERROR: Module load completed but symbols could not be loaded for ialmdd5.DLL
*** ERROR: Module load completed but symbols could not be loaded for WINDRVR.SYS
*******************************************************************************
* *
* Bugcheck Analysis *
* *
*******************************************************************************
Use !analyze -v to get detailed debugging information.
BugCheck A, {90, 1e, 1, 804e4e5b}
Unable to open image file: C:\WINDOWS\Symbols\dll\ntoskrnl.exe\41108004214600\ntoskrnl.exe
???3??2???t??
Unable to open image file: C:\WINDOWS\Symbols\dll\ntoskrnl.exe\41108004214600\ntoskrnl.exe
???3??2???t??
Unable to open image file: C:\WINDOWS\Symbols\dll\ntoskrnl.exe\41108004214600\ntoskrnl.exe
???3??2???t??
Unable to open image file: C:\WINDOWS\Symbols\dll\ntoskrnl.exe\41108004214600\ntoskrnl.exe
???3??2???t??
Unable to open image file: C:\WINDOWS\Symbols\dll\ntoskrnl.exe\41108004214600\ntoskrnl.exe
???3??2???t??
Unable to open image file: C:\WINDOWS\Symbols\dll\ntoskrnl.exe\41108004214600\ntoskrnl.exe
???3??2???t??
Unable to open image file: C:\WINDOWS\Symbols\dll\ntoskrnl.exe\41108004214600\ntoskrnl.exe
???3??2???t??
Unable to open image file: C:\WINDOWS\Symbols\dll\ntoskrnl.exe\41108004214600\ntoskrnl.exe
???3??2???t??
Unable to open image file: C:\WINDOWS\Symbols\dll\ntoskrnl.exe\41108004214600\ntoskrnl.exe
???3??2???t??
Unable to open image file: C:\WINDOWS\Symbols\dll\ntoskrnl.exe\41108004214600\ntoskrnl.exe
???3??2???t??
Unable to open image file: C:\WINDOWS\Symbols\dll\ntoskrnl.exe\41108004214600\ntoskrnl.exe
???3??2???t??
Unable to open image file: C:\WINDOWS\Symbols\dll\ntoskrnl.exe\41108004214600\ntoskrnl.exe
???3??2???t??
Unable to open image file: C:\WINDOWS\Symbols\dll\ntoskrnl.exe\41108004214600\ntoskrnl.exe
???3??2???t??
Unable to open image file: C:\WINDOWS\Symbols\dll\halaacpi.dll\41107B2920380\halaacpi.dll
???3??2???t??
Unable to open image file: C:\WINDOWS\Symbols\dll\kdcom.dll\3B7D83461b80\kdcom.dll
???3??2???t??
Probably caused by : ISA.sys ( ISA!OnInterrupt+39 )
Followup: MachineOwner
nt!RtlpBreakWithStatusInstruction:
804e4b25 cc int 3
kd> !analyze -v
*******************************************************************************
* *
* Bugcheck Analysis *
* *
*******************************************************************************
IRQL_NOT_LESS_OR_EQUAL (a)
An attempt was made to access a pageable (or completely invalid) address at an
interrupt request level (IRQL) that is too high. This is usually
caused by drivers using improper addresses.
If a kernel debugger is available get the stack backtrace.
Arguments:
Arg1: 00000090, memory referenced
Arg2: 0000001e, IRQL
Arg3: 00000001, bitfield :
bit 0 : value 0 = read operation, 1 = write operation
bit 3 : value 0 = not an execute operation, 1 = execute operation (only on chips which support this level of status)
Arg4: 804e4e5b, address which referenced memory
Debugging Details:
Unable to open image file: C:\WINDOWS\Symbols\dll\ntoskrnl.exe\41108004214600\ntoskrnl.exe
???3??2???t??
Unable to open image file: C:\WINDOWS\Symbols\dll\ntoskrnl.exe\41108004214600\ntoskrnl.exe
???3??2???t??
Unable to open image file: C:\WINDOWS\Symbols\dll\ntoskrnl.exe\41108004214600\ntoskrnl.exe
???3??2???t??
Unable to open image file: C:\WINDOWS\Symbols\dll\ntoskrnl.exe\41108004214600\ntoskrnl.exe
???3??2???t??
Unable to open image file: C:\WINDOWS\Symbols\dll\ntoskrnl.exe\41108004214600\ntoskrnl.exe
???3??2???t??
Unable to open image file: C:\WINDOWS\Symbols\dll\ntoskrnl.exe\41108004214600\ntoskrnl.exe
???3??2???t??
Unable to open image file: C:\WINDOWS\Symbols\dll\ntoskrnl.exe\41108004214600\ntoskrnl.exe
???3??2???t??
Unable to open image file: C:\WINDOWS\Symbols\dll\ntoskrnl.exe\41108004214600\ntoskrnl.exe
???3??2???t??
Unable to open image file: C:\WINDOWS\Symbols\dll\ntoskrnl.exe\41108004214600\ntoskrnl.exe
???3??2???t??
Unable to open image file: C:\WINDOWS\Symbols\dll\ntoskrnl.exe\41108004214600\ntoskrnl.exe
???3??2???t??
Unable to open image file: C:\WINDOWS\Symbols\dll\ntoskrnl.exe\41108004214600\ntoskrnl.exe
???3??2???t??
Unable to open image file: C:\WINDOWS\Symbols\dll\ntoskrnl.exe\41108004214600\ntoskrnl.exe
???3??2???t??
Unable to open image file: C:\WINDOWS\Symbols\dll\ntoskrnl.exe\41108004214600\ntoskrnl.exe
???3??2???t??
Unable to open image file: C:\WINDOWS\Symbols\dll\halaacpi.dll\41107B2920380\halaacpi.dll
???3??2???t??
Unable to open image file: C:\WINDOWS\Symbols\dll\kdcom.dll\3B7D83461b80\kdcom.dll
???3??2???t??
WRITE_ADDRESS: 00000090
CURRENT_IRQL: 1e
FAULTING_IP:
nt!KeInsertQueueDpc+39
804e4e5b 0fb111 cmpxchg dword ptr [ecx],edx
DEFAULT_BUCKET_ID: DRIVER_FAULT
BUGCHECK_STR: 0xA
PROCESS_NAME: Idle
TRAP_FRAME: 80551780 – (.trap 0xffffffff80551780)
ErrCode = 00000002
eax=00000000 ebx=805518d0 ecx=00000090 edx=ffdff9c0 esi=ffdff120 edi=00000074
eip=804e4e5b esp=805517f4 ebp=80551804 iopl=0 nv up ei pl nz na pe nc
cs=0008 ss=0010 ds=0023 es=0023 fs=0030 gs=0000 efl=00010206
nt!KeInsertQueueDpc+0x39:
804e4e5b 0fb111 cmpxchg dword ptr [ecx],edx ds:0023:00000090=???
Resetting default scope
LAST_CONTROL_TRANSFER: from 805338e7 to 804e4b25
STACK_TEXT:
80551334 805338e7 00000003 80551690 00000000 nt!RtlpBreakWithStatusInstruction
80551380 805343be 00000003 00000090 804e4e5b nt!KiBugCheckDebugBreak+0x19
80551760 804e3158 0000000a 00000090 0000001e nt!KeBugCheck2+0x574
80551760 804e4e5b 0000000a 00000090 0000001e nt!KiTrap0E+0x233
80551804 f89e1919 00000090 00000000 81e430e8 nt!KeInsertQueueDpc+0x39
8055181c 804dbd9f 81e72368 81e430e8 00010009 ISA!OnInterrupt+0x39 [f:\xwork\isa2\dispatch.cpp @ 527]
8055181c f8613062 81e72368 81e430e8 00010009 nt!KiInterruptDispatch+0x3d
805518d0 804dd0d7 00000000 0000000e 00000000 intelppm!AcpiC1Idle+0x12
805518d4 00000000 0000000e 00000000 00000000 nt!KiIdleLoop+0x10
STACK_COMMAND: kb
FOLLOWUP_IP:
ISA!OnInterrupt+39 [f:\xwork\isa2\dispatch.cpp @ 527]
f89e1919 68682c9ef8 push offset ISA!`string’ (f89e2c68)
FAULTING_SOURCE_CODE:
523: PDEVICE_OBJECT fdo = dx->pDeviceObject;
524:
525: IoRequestDpc( fdo , NULL , (PVOID)dx ) ;
526:
527: KdPrint(( “OnInterrupt End.\n\n”));
528:
529: return TRUE ;
530:
531: }
532:
SYMBOL_STACK_INDEX: 5
SYMBOL_NAME: ISA!OnInterrupt+39
FOLLOWUP_NAME: MachineOwner
MODULE_NAME: ISA
IMAGE_NAME: ISA.sys
DEBUG_FLR_IMAGE_TIMESTAMP: 4bb8870e
FAILURE_BUCKET_ID: 0xA_ISA!OnInterrupt+39
BUCKET_ID: 0xA_ISA!OnInterrupt+39
Followup: MachineOwner
kd> .crash
Shutdown occurred at (Sun Apr 4 21:39:50.750 2010 (GMT+8))…unloading all symbol tables.
Waiting to reconnect…