BSOD 0x9F in NTOSKRNL.EXE

Anonymous
2013-04-19T06:40:47+00:00

I'm getting somewhat frequent BSODs these days.

WinDbg reports:

*******************************************************************************

*                                                                             *

*                        Bugcheck Analysis                                    *

*                                                                             *

*******************************************************************************

Use !analyze -v to get detailed debugging information.

BugCheck 9F, {4, 12c, 86a6c340, 809b4b54}

Implicit thread is now 86a6c340

Probably caused by : ntkrpamp.exe ( nt!KiSwapContext+19 )

Followup: MachineOwner


0: kd> !analyze -v

*******************************************************************************

*                                                                             *

*                        Bugcheck Analysis                                    *

*                                                                             *

*******************************************************************************

DRIVER_POWER_STATE_FAILURE (9f)

A driver has failed to complete a power IRP within a specific time (usually 10 minutes).

Arguments:

Arg1: 00000004, The power transition timed out waiting to synchronize with the Pnp

 subsystem.

Arg2: 0000012c, Timeout in seconds.

Arg3: 86a6c340, The thread currently holding on to the Pnp lock.

Arg4: 809b4b54, nt!TRIAGE_9F_PNP on Win7

Debugging Details:


Implicit thread is now 86a6c340

DRVPOWERSTATE_SUBCODE:  4

FAULTING_THREAD:  86a6c340

DEFAULT_BUCKET_ID:  WIN8_DRIVER_FAULT

BUGCHECK_STR:  0x9F

PROCESS_NAME:  System

CURRENT_IRQL:  2

LAST_CONTROL_TRANSFER:  from 81bfb22f to 81ba3699

STACK_TEXT: 

d88f7aec 81bfb22f 00002000 86a6c398 86a6c340 nt!KiSwapContext+0x19

d88f7b60 81bfd058 86a6c340 86a6c420 00000002 nt!KiCommitThreadWait+0x280

d88f7bfc 81c19a81 84ef4710 0000001b 00000000 nt!KeWaitForSingleObject+0x26c

d88f7c60 81c02406 81c54ee0 84ef4710 81c39578 nt!ExpWaitForResource+0xd2

d88f7ca8 81d04d68 81c54ee0 00000001 81c39578 nt!ExAcquireResourceExclusiveLite+0x191

d88f7cc4 81ad36f9 00000001 81c39578 86a6c340 nt!PpDevNodeLockTree+0x43

d88f7d1c 81c01c95 00000000 86a6c340 00000000 nt!PnpDeviceActionWorker+0x3d

d88f7d74 81ae5aaa 00010000 c8c30dc3 00000000 nt!ExpWorkerThread+0x111

d88f7db0 81ba3f19 81c01b88 00010000 00000000 nt!PspSystemThreadStartup+0x4a

00000000 00000000 00000000 00000000 00000000 nt!KiThreadStartup+0x19

STACK_COMMAND:  .thread 0xffffffff86a6c340 ; kb

FOLLOWUP_IP:

nt!KiSwapContext+19

81ba3699 8b2c24          mov     ebp,dword ptr [esp]

SYMBOL_STACK_INDEX:  0

SYMBOL_NAME:  nt!KiSwapContext+19

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: nt

IMAGE_NAME:  ntkrpamp.exe

DEBUG_FLR_IMAGE_TIMESTAMP:  513809e8

BUCKET_ID_FUNC_OFFSET:  19

FAILURE_BUCKET_ID:  0x9F_4_nt!KiSwapContext

BUCKET_ID:  0x9F_4_nt!KiSwapContext

Followup: MachineOwner


The file ntoskrnl.exe is dated March 7 and has the following version information:

c:/windows/system32/ntoskrnl.exe:

File Version:  6.2.9200.16551

Product Version: 6.2.9200.16551

File Flags:  

File OS:  NT_WINDOWS32

File Type:  APP

Language: English (United States), Code Page: Unicode

 CompanyName: Microsoft Corporation

 FileDescription: NT Kernel & System

 FileVersion: 6.2.9200.16551 (win8_gdr.130306-1502)

 InternalName: ntkrpamp.exe

 LegalCopyright: © Microsoft Corporation. All rights reserved.

 OriginalFilename: ntkrpamp.exe

 ProductName: Microsoft® Windows® Operating System

 ProductVersion: 6.2.9200.16551

I have a full memory dump available.

How should I troubleshoot this (other than the tedious msconfig / disable stuff / enable stuff /... process)?

Windows for home | Previous Windows versions | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

79 answers

Sort by: Most helpful
  1. Anonymous
    2015-05-29T01:12:41+00:00

    Change "Write debugging information" to "Automatic memory dump".

    That should produce a kernel dump file along with a minidump file.

    The kernel dump file should be much smaller than the complete memory dump.

    The latest dump files do not implicate any third party driver.

    The ATSwpWDF.sys is no longer a loaded driver so the issue does not appear to be with that driver or device.

    It may be useful to obtain an energy report:

    Right-click the Start menu and choose "Command Prompt (Admin)" and at the command prompt type the following and press "Enter"

    powercfg -energy

    Take a look at report generated and see if you can find any potential problem.

    You can provide the report via OneDrive if you wish.

    Also, the following link has some reason why a USB device is not enumerated:

    http://blogs.msdn.com/b/usbcoreblog/archive/2009/11/03/why-is-my-usb-device-not-detected-or-comes-up-as-unknown-device_3f00_.aspx

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2015-05-28T05:32:35+00:00

    Sure:

    What does the latest dump tell you about the possible cause of the BSOD?

    What does the "no USB enumeration" hint at?

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2015-05-28T02:42:04+00:00

    Can you post a screenshot of the "Startup and Recovery" settings?

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2015-05-27T19:57:57+00:00

    New BSOD after restarting due to the same USB issue.

    Now I have a huge complete memory dump (have increased the size of the pagefile on C: to 4000MB, my SSD won't like it in the long run), compressed to .7z and uploaded to http://1drv.ms/1Fh8nt8

    (reminder: the Authentec device is currently disabled)

    P.S. What kind of dump were the earlier, smaller ones, and how could I get this kind again in the future (so that I can, for instance, reduce the size of the pagefile again)?

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2015-05-25T07:58:05+00:00

    New BSOD upon reboot, and still no MEMORY.DMP.

    Bugcheck event says:

    The computer has rebooted from a bugcheck. The bugcheck was: 0x0000009f (0x00000004, 0x0000012c, 0xd0f01940, 0x82ef3b50). A dump was saved in: C:\Windows\Minidump\052515-16796-01.dmp. Report Id: 052515-16796-01.

    Minidump at http://1drv.ms/1FKIbuK

    You might want to know why I wanted to reboot: inserting a USB thumb drive would not trigger a device enumeration so accessing the drive was impossible.

    Was this answer helpful?

    0 comments No comments