Solved BSOD DPC watchdog violation

spartan5397

New Member
Messages
3
My computer crashes on startup everytime i start it and then has to restart i get this BSOD everytime

Any help would be greatly appreciated :)
 

Attachments

  • windows 8.rar
    1.4 MB · Views: 202
Last edited:

My Computer

System One

  • OS
    Windows 8
    CPU
    Intel I5
    Motherboard
    Gigabyte P55A-UD4
    Memory
    4gb
    Graphics Card(s)
    ATI Radeon HD 5850
The jraid.sys driver is causing this as it's causing a processor delay in a loop - as per the dump file, a bugcheck with the 0x133 code with the first parameter of 0 should have the offending driver on the stack, the second parameter should be the number of microseconds that the offending DPC has been running for, and the 3rd parameter should be set to the watchdog timeout (DPC timeout/limit) of 282 microseconds:

Code:
// The bugcheck code does make it easy - 1st param is 0, so the second and third should be
// <some number greater than 282> and 282 - in this case, the second param is indeed a
// number greater than 282:
0: kd> .bugcheck
Bugcheck code 00000133
Arguments 00000000`00000000 00000000`00000283 00000000`00000282 00000000`00000000


// While this is a minidump, we can see from the thread stack (read bottom up) that
// jraid.sys is calling KeStallExecutionProcessor, and the DPC that is being caused here
// is being caused by the driver on the stack - again, jraid.sys:
0: kd> kn
 # Child-SP          RetAddr           Call Site
00 fffff800`0ad7ed88 fffff800`0afeb143 nt!KeBugCheckEx
01 fffff800`0ad7ed90 fffff800`0aebd011 nt! ?? ::FNODOBFM::`string'+0x13c4c
02 fffff800`0ad7ee10 fffff800`0aebde97 nt!KeUpdateRunTime+0x51
03 fffff800`0ad7ee40 fffff800`0b582eca nt!KeUpdateTime+0x3f9
04 fffff800`0ad7f030 fffff800`0ae8b7ee hal!HalpTimerClockInterrupt+0x86
05 fffff800`0ad7f060 fffff800`0b58bbe0 nt!KiInterruptDispatchLBControl+0x1ce
06 fffff800`0ad7f1f8 fffff800`0b57e0e0 hal!HalpTscQueryCounter
07 fffff800`0ad7f200 fffff880`012036d1 hal!HalpTimerStallExecutionProcessor+0x131
08 fffff800`0ad7f290 00000000`00000000 jraid+0x36d1

0: kd> lmvm jraid
start             end                 module name
fffff880`01200000 fffff880`0121e000   jraid    T (no symbols)           
    Loaded symbol image file: jraid.sys
    Image path: \SystemRoot\System32\drivers\jraid.sys
    Image name: jraid.sys
    Timestamp:        Thu Aug 13 04:10:27 2009 (4A83CA73)
    CheckSum:         00026B2F
    ImageSize:        0001E000
    Translations:     0000.04b0 0000.04e4 0409.04b0 0409.04e4
I cannot tell you how long the driver is using as it's default to call KeStallExecutionProcessor, as this is a minidump so none of the register or PCR data is there to disassemble this, but suffice to say this is actually pretty common behavior for these bugchecks. You'll need to work with the driver vendor (this is a JMicron JMB36x SATA controller, it looks like) of the device if a newer version of the driver (it looks like potentially there are 10 versions newer than the one you're running from August 2009) doesn't resolve the issue. Ultimately, it's not a problem you can "fix" short of the driver spending less time running whatever routine it's running that it thus needs to stall the processor for (and thus extending the DPC that exceeds the timeout).

While this probably doesn't matter to you specifically, Microsoft's documentation on how to write a RAID driver for Windows tells driver makers not to stall the processor this way for more than 100 microseconds:
The WDK documentation states that the StorPortStallExecution() or ScsiPortStallExection() routines should be called to stall the process for less than 1 millisecond. However, best practice dictates that these routines—which call KeStallExecutionProcessor()—not be used for delays greater than 100 microseconds. For an example, see the white paper Device-Driver Performance Considerations for Multimedia Platforms.
However, frequently miniport drivers call the KeStallExecutionProcessor function in a loop to stall the execution for several seconds—or minutes in some cases. This delay causes the Windows DPC watchdog timer to be evoked when running with an attached debugger.
 

My Computer

System One

  • OS
    Windows 8.1 x64
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom
    CPU
    Intel Core i7 4790K @ 4.5GHz
    Motherboard
    Asus Maximus Hero VII
    Memory
    32GB DDR3
    Graphics Card(s)
    Nvidia GeForce GTX970
    Sound Card
    Realtek HD Audio
    Hard Drives
    1x Samsung 250GB SSD
    4x WD RE 2TB (RAIDZ)
    PSU
    Corsair AX760i
    Case
    Fractal Design Define R4
    Cooling
    Noctua NH-D15
Thank you soo much you are a lifesaver :D i updated it and it works perfectly so far :D
 

My Computer

System One

  • OS
    Windows 8
    CPU
    Intel I5
    Motherboard
    Gigabyte P55A-UD4
    Memory
    4gb
    Graphics Card(s)
    ATI Radeon HD 5850
Thanks for letting us know the results.

You can mark this thread 'Solved' it may help others with a similar issue.
 

My Computer

System One

  • OS
    Windows 8.1 Pro x64/ Windows 7 Ult x64
    Computer type
    PC/Desktop
    System Manufacturer/Model
    76~2.0
    CPU
    Intel Core i5-3570K 4.6GHz
    Motherboard
    GIGABYTE GA-Z77X UD3H f18
    Memory
    8GB (2X4GB) DDR3 1600 CORSAIR Vengeance CL8 1.5v
    Graphics Card(s)
    Sapphire HD 7770 Vapor-X 1GB DDR5
    Sound Card
    Onboard VIA VT2021
    Monitor(s) Displays
    22" LCD Dell SP2208WFP
    Screen Resolution
    1680x1050
    Hard Drives
    Samaung 840Pro 128GB, Seagate 500GB SATA2 7200rpm 32mb, Seagate 1TB SATA2 7200rpm 32mb,
    PSU
    Corsair HX650W
    Case
    Cooler Master Storm Scout
    Cooling
    Corsair H80 w/Noctua NF P12 12cm fan, case fans 2X14cm
    Keyboard
    Logitech Wave
    Mouse
    CM Sentinel
    Internet Speed
    Abysmal
    Browser
    Opera Next
    Other Info
    Dell Venue 8Pro: Baytrail Z3740D, 2GB Ram, 64GB HDD, 8" IPS Display 1280 x 800, Active Stylus.
    Haswell laptop: HP Envy 17t-j, i7-4700MQ, GeForce 740M 2GB DDR3, 17.3" Full HD 1920x1080, 16GB RAM, Samsung 840 Pro 128GB, 1TB Hitachi 7200 HDD,
    Desktop: eSATA ports,
    External eSATA Seagate 500GB SATA2 7200rpm,
Back
Top