At 14:40 17.05.2011 +0000, you wrote:
KeDelayExecutionThread will accomplish the same. Just don’t use KeStallExecutionProcessor.
I now execute the device reset from a kernel function. However I still get
a BSOD on some computers, it works on others. Here’s the dump from
the last crash. My driver doesn’t even show up in the call stack. Instead
pci! is there. Is there something my driver should handle that is now
forwarded to the base driver?
Kernel base = 0xfffff80002e65000 PsLoadedModuleList = 0xfffff800
030a2e50
BugCheck 124, {4, fffffa80062b2038, 0, 0}
Probably caused by : hardware
2: kd> !analyze -v
WHEA_UNCORRECTABLE_ERROR (124)
A fatal hardware error has occurred. Parameter 1 identifies the type of error
source that reported the error. Parameter 2 holds the address of the
WHEA_ERROR_RECORD structure that describes the error conditon.
Arguments:
Arg1: 0000000000000004, PCI Express Error
Arg2: fffffa80062b2038, Address of the WHEA_ERROR_RECORD structure.
Arg3: 0000000000000000
Arg4: 0000000000000000
Debugging Details:
BUGCHECK_STR: 0x124_4
CUSTOMER_CRASH_COUNT: 1
DEFAULT_BUCKET_ID: VISTA_DRIVER_FAULT
PROCESS_NAME: System
CURRENT_IRQL: a
STACK_TEXT:
fffff88002f8ca78 fffff800
02e2e903 : 0000000000000124 00000000
00000004 fffffa80062b2038 00000000
00000000 : nt!KeBugCheckEx
fffff88002f8ca80 fffff800
02feb593 : 0000000000000001 fffffa80
06289b10 0000000000000000 fffffa80
062891b0 : hal!HalBugCheckSystem+0x1e3
fffff88002f8cac0 fffff880
00f7eaff : fffffa8000000750 fffffa80
06289b10 0000000000000000 fffffa80
062b1010 : nt!WheaReportHwError+0x263
fffff88002f8cb20 fffff880
00f7e526 : 0000000000000000 fffff880
02f8cc70 fffffa80054b4c00 fffff880
02f8cbf0 : pci!ExpressRootPortAerInterruptRoutine+0x27f
fffff88002f8cb80 fffff800
02ed153c : fffff88002f64180 fffff880
02f8cc01 fffffa80054b4c00 00000000
00000001 : pci!ExpressRootPortInterruptRoutine+0x36
fffff88002f8cbf0 fffff800
02eddec2 : fffff88002f64180 fffff880
00000002 0000000000000002 fffff800
00000000 : nt!KiInterruptDispatch+0x16c
fffff88002f8cd80 00000000
00000000 : 0000000000000000 00000000
00000000 0000000000000000 00000000
00000000 : nt!KiIdleLoop+0x32
STACK_COMMAND: kb
FOLLOWUP_NAME: MachineOwner
MODULE_NAME: hardware
IMAGE_NAME: hardware
DEBUG_FLR_IMAGE_TIMESTAMP: 0
FAILURE_BUCKET_ID: X64_0x124_4_PCIEXPRESS
BUCKET_ID: X64_0x124_4_PCIEXPRESS
2: kd> !errrec 0xfffffa80062b2038
Common Platform Error Record @ fffffa80062b2038
Record Id : 01cc15230444d405
Severity : Fatal (1)
Length : 672
Creator : Microsoft
Notify Type : PCI Express Error
Timestamp : 5/18/2011 7:46:18
Flags : 0x00000000
===============================================================================
Section 0 : PCI Express
Descriptor @ fffffa80062b20b8
Section @ fffffa80062b2148
Offset : 272
Length : 208
Flags : 0x00000001 Primary
Severity : Recoverable
Port Type : Root Port
Version : 1.1
Command/Status: 0x4010/0x0506
Device Id :
VenId:DevId : 8086:340c
Class code : 030400
Function No : 0x00
Device No : 0x05
Segment : 0x0000
Primary Bus : 0x00
Second. Bus : 0x00
Slot : 0x0000
Dev. Serial # : 0000000000000000
Express Capability Information @ fffffa80062b217c
Device Caps : 00008021 Role-Based Error Reporting: 1
Device Ctl : 0127 ur FE NF CE
Dev Status : 0003 ur fe NF CE
Root Ctl : 0008 fs nfs cs
AER Information @ fffffa80062b21b8
Uncorrectable Error Status : 00000020 ur ecrc mtlp rof uc ca cto fcp ptlp SD dlp und
Uncorrectable Error Mask : 00000000 ur ecrc mtlp rof uc ca cto fcp ptlp sd dlp und
Uncorrectable Error Severity : 00062010 ur ecrc MTLP ROF uc ca cto FCP ptlp sd DLP und
Correctable Error Status : 00000000 adv rtto rnro dllp tlp re
Correctable Error Mask : 00000000 adv rtto rnro dllp tlp re
Caps & Control : 00000005 ecrcchken ecrcchkcap ecrcgenen ecrcgencap FEP
Header Log : 00000000 00000000 00000000 00000000
Root Error Command : 00000000 fen nfen cen
Root Error Status : 00000000 MSG# 00 fer nfer fuf mur ur mcr cer
Correctable Error Source ID : 00,00,00
Correctable Error Source ID : 00,00,00
===============================================================================
Section 1 : Processor Generic
Descriptor @ fffffa80062b2100
Section @ fffffa80062b2218
Offset : 480
Length : 192
Flags : 0x00000000
Severity : Informational
Proc. Type : x86/x64
Instr. Set : x64
CPU Version : 0x00000000000106a5
Processor ID : 0x0000000000000002
I already tried to make a SIO debug connection from another computer but
for some reason it never connected. Maybe a problem with the COM port.
Can anybody tell me what the reason for the crash is?
Thanks
bye Fabi