Jump to content

Help to resolve 0x9F DRIVER_POWER_STATE_FAILURE with ntoskrnl extender


Damnation

Recommended Posts

Hi @Mov AX, 0xDEAD

So I've been working on trying to get storport and stornvme of windows 8.1 working on XP and for the most part it seems to be functioning, I can get XP installed. the issue I've run into is these driver power state BSODs.

Would you be willing to help solve this issue?

I'm sure @Dietmar would be interested in helping to solve this too.

here is my modified ntoskrnl extender source code -  https://ufile.io/arl8wbth

Link to comment
Share on other sites


@Dietmar

If you have the free time, can you set up a VM and try to trace where the 9F BSOD occurs in checked 8.1 storport.sys? If not in XP text mode setup then on an existing XP install?

I'm able to get all the way to the end of XP textmode setup with the 8.1 storahci driver, right up to the point where the system reboots and then 9F BSOD.

I've included the PDB symbols for both my checked ntoskrn8.sys and checked 8.1 storport.sys to help with this.

https://ufile.io/gbzhscdp

Edit: hold on, checked version of storport.sys has some missing imports. I'll fix it.

edit: fixed -  https://ufile.io/rwbg20oa

Edited by Damnation
Link to comment
Share on other sites

@Damnation

This 9F Bsod happens because of no control about the power settings for the HD shutdown.

It is not a normal Bsod, because on a running XP you can continue your work after this

Dietmar

PS: At coming weekend I set up a Windbg session with your new checked storport win8.1(niccce) because then I have more time.

 

Link to comment
Share on other sites

@Damnation

I install an Ramsey XP with settings 4,C,E,H,K

on the Asrock z370 k6 gaming board.

This is with the Fernando Sata 1006 driver, which needs no storport.

And the Kai Schtrom 1.3 nvme driver.

With this storport.sys from win8.1 no nvme driver works, I test Kai 1.3, 1.5, Microsoft 2.2, Silicon nvme.

And also no Sata driver, I test from Kai and Microsoft

Dietmar

PS: With the Sata driver, which needs storport, I get Bsod 0x8E, (0xC000001D, xxx, yyy, zzz).

I found, that this may be a Bsod of a missing driver.

I make a new Ramsey *.iso, now with the Kai Schtrom Sata driver in the beginning and no nvme,

just C,4,E,G.

EDIT: Now with the Kai Schtrom Sata driver I get message at the very first beginning of Setup:

storahci.sys cant be found which comes together with the Bsod 0xC000001D.

 

EDIT2: Now I try the Sata driver from Microsoft just 1,4,C,E.

With the Microsoft Sata driver I get the same Bsod 0x8E, (0xC000001D, xxx, yyy, zzz)

 

Edited by Dietmar
Link to comment
Share on other sites

@Damnation

 

I set up an Ramsey XP with your Patch Integrator 332New_stornvme81.

It contains an storport.sys from 28 August 6.3.9600.17383 (winblue_r4.140924-1541).

With this I build an XP with the Sata from Kai Schtrom,

settings 4,C,E,G.

I notice, that for this storport.sys there is no storport.pdb

only storpor8.pdb and ntoskrn8.pdb.

At the end of copying files during TXT Setup of XP,

direct for reboot to GUI Setup I get Bsod 0x9F, (0x500, 0x02, yyy, zzz).

But after reboot Gui Setup starts. Soon I set up there an Debug Session with Lan Debug with the files from @Mov AX, 0xDEAD

Dietmar

Dietmar

Link to comment
Share on other sites

@Damnation

I get Windbg over Lan to work with storport.sys   from win8.1   6.3.9600.17383 (winblue_r4.140924-1541)

and the Sata driver from Kai Schtrom.

Problem is, that I do not succeed to catch this Bsod 0x9F.

This Bsod happens only on shutdown, on running XP everything seems to work ok.

But exact at this shutdown, windbg hangs, reacts to nothing, shows no Bsod.

XP shows this Bsod 0x9F with blue screen and message

DRIVER_POWER_STATE_FAILURE

 

May Be, that @Mov AX, 0xDEAD has an idea how to catch this Bsod with windbg or has an idea, how to overcome this

 

Dietmar

PS: From github

Storport.sys from Windows 7 more compatible with Windows XP/2003 because it still call required PoStartNextPowerIrp when processing power IRPs. Microsoft removed calls to PoStartNextPowerIrp in Windows 8's storport.sys, without this call Windows XP/2003 kernel cannot finish current power IRP and start next IRP => it generate BSOD (0x0000009F).

 

 

Edited by Dietmar
Link to comment
Share on other sites

@Damnation

From that, what @Mov AX, 0xDEAD wrote,

from storport win8.0 and later a crashdump can be get only via the win8 etc. Kernl.

And the !analyze -v command cant work, because Windbg does not react on the "break" command,

meaning that it crashes.

By the way I notice, that the Sata driver from Kai Schtrom is the only driver from all the drivers in the package "Patch",

that works with this storport.sys from win8.1, all other driver fail

Dietmar

PS: What will be better with a storport.sys from win8.1? A lot of driver work with the modded storport.sys from win8.0 from @Mov AX, 0xDEAD,

but not all, for example the Microsoft stornvme.sys v2.0 from @daniel_k only likes the modded win7 storport.sys.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...