Jump to content

XP/W2k3 x86 on Modern Hardware


George King
 Share

Recommended Posts

On 3/2/2022 at 12:18 PM, Dietmar said:

In this nvme win8.1 package is a storport.sys

modded from win8.0 for XP SP3.

May be, this is what you are looking for

Dietmar

https://ufile.io/139f81qr

 

On 3/2/2022 at 3:01 PM, Mov AX, 0xDEAD said:

storpor8.sys is emulator of some new functions for win7's storport.sys

I have experimental ported win8.0 storport.sys, it has many manual injected calls to PoStartNextPowerIrp(), perfectly works with win8's storahci

Me and Daniel chose win7's storport.sys as base for ported storage drivers because it was last version who stills call PoStartNextPowerIrp() at proper places

@Dietmar@Mov AX, 0xDEAD

Thanks.  I wanted to test a win8 driver/storport to see if it had same problem I was having with win7 backport.

 

I updated the readme with newer version and some missing patches.

https://github.com/pappyN4/NTOSKRNL_Emu/blob/master/README.md

I did not add uaspstor as I do not have anything to test it with, not sure if it works when using win7_storport or storpor8.

Link to comment
Share on other sites

On 3/2/2022 at 5:08 PM, Andalu said:

@pappyN4

Thank you for the modified DiskInfo.exe and for explaining how to make it work.

As for the Samsung NVMe driver, I've installed XP on NVMe drives like WD SN750, Crucial P5, and Sabrent Rocket with no problems. Now I can get smart data for all of them with CrystalDiskInfo.

I add that if @Dietmar said that this driver doesn't work all the time, I have no reason to have doubts.

@Andalu

Glad that it works for you.  Unfortunately for me, when I install nvidia 368.81 video card drivers the samsung nvme driver stops working with code10 on my B450 motherboard.  If the video driver is not installed then it works fine.  Win7nvme works, but that driver does not have SMART.  

Tried changing PCIe Gen version and PCIe Bifurcation settings in BIOS no luck.  Older win7 23403 storport with MSI only patch or newest 25735 with MSI/smart patch still no good.  Even tried older samsung driver, 3.3, 3.2, 3.1, and 2.4.7.0.

Does not look like there is IRQ conflict or memory range overlap.

 

Update:

Got it to work when using a PAE 128GB or /all patched version.  With no PAE patch, or PAE 4GB is when it does not work.

 

 

Edited by pappyN4
Link to comment
Share on other sites

The forum seems to be working again :)

 

@pappyN4

I did a test installing the NVMe samsung v3.3.0 driver and nvidia v368.81 drivers on a GT730 and detected no problems on my intel B250 system. Perhaps the problem you encountered could just be due to an incompatibility with amd systems?

 

P.S.: can anyone suggest how to get the blue background when typing @(member)?

 

Link to comment
Share on other sites

Hi guys,

i have to test my MSI Z690 A-PRO with WIN XP for some 3D BENCHMARK as 3DM01 ; 

i have an iso image that i restored with macrium, solved ACPI bsod but there is always 07B error and XP can't boot ; is AHCI error ?  There is file that i can use booting with other compatible platform ?

Thanks

Link to comment
Share on other sites

  • 2 weeks later...
Posted (edited)

Compiling ACPI v2.0 driver for Windows XP SP3 and Windows 2003 SP2 (x32/x64)

 Here are compiled ACPI2.0 v4 from latest sources
 
1) x86 Windows XP x86 SP3 (5.1.2600.7777.4) + Windows Server 2003 SP2 (5.2.3790.7777.4) debug and free
 
2) x64 Windows Server 2003 / XP SP2 (5.2.3790.7777.4) debug and free
 
https://www.mediafire.com/file/wsqgptapdrxhidf/ACPI2.0_v4_x86+x64_5.1+5.2.7z/file

acpi-Ver.png

 

Extras included:

a) _OSI extra OS list to unlock hidden devices

b) modded acpiosnt.rc to overwrite PruductVersion attribute in file info, replaced "," with "." so it's now in same logic as other standard files, added .4 to easily detect which patch was used as build base

Edited by George King
Link to comment
Share on other sites

@George King

I tried your last acpi.sys from the "i386_free" folder on the following boards:

- Gigabyte H470 HD3 -> A5 BSOD (0x011, 0x08, 0xB998B000, 0x20160527);

- Asus Prime Q370M -> A5 BSOD (0x03, 0xA755B9BC, 0xC014008, 0x494E495F);

- Asrock H310M-HDV -> A5 BSOD (0x03, 0x97EE06D0, 0xC0140008, 0x494E495F);

- Asrock B250M Pro4 -> A5 BSOD (0x03, 0x8A8A64C4, 0xC0140008, 0x494E495F);

- Asus Prime B250M -> it works as well as the previous version.

Edited by Andalu
Link to comment
Share on other sites

On 4/1/2022 at 1:11 PM, George King said:

Compiling ACPI v2.0 driver for Windows XP SP3 (x32 only)

I have compiled it for XP using provided informations in free and debug versions.

And I have modded acpiosnt.rc to include new file description for aspi.sys "ACPI 2.0 Driver for NT"

 

https://www.mediafire.com/file/dz3puu13afdps0o/ACPI_2.0_02.04.2022_SP1toSP3.7z/file
|
https://www.mediafire.com/file/ucxhsa5agnpfzqt/ACPI_2.0_01.04.2022_SP1toSP3.7z/file

ACPI-1106.png

 

Hey man, can you provide source code to us?

 

Link to comment
Share on other sites

Posted (edited)
11 hours ago, Andalu said:

@George King

I tried your last acpi.sys from the "i386_free" folder on the following boards:

- Gigabyte H470 HD3 -> A5 BSOD (0x011, 0x08, 0xB998B000, 0x20160527);

- Asus Prime Q370M -> A5 BSOD (0x03, 0xA755B9BC, 0xC014008, 0x494E495F);

- Asrock H310M-HDV -> A5 BSOD (0x03, 0x97EE06D0, 0xC0140008, 0x494E495F);

- Asrock B250M Pro4 -> A5 BSOD (0x03, 0x8A8A64C4, 0xC0140008, 0x494E495F);

- Asus Prime B250M -> it works as well as the previous version.

@Mov AX, 0xDEAD Can you have a look into code for possible solution please? Seems like similar BSOD as encountered 

@Dietmar on Z690 Asrock extreme board -> A5 BSOD (0x03, 0x98E1DBA4, 0xC0140008, 0x494E495F)

Edited by George King
Link to comment
Share on other sites

Some questions about ACPI v2.0:
where can I find the patch.exe executable and which versions of the GNU patch packages for windows should be used? Can the compilation be done in XP or is it preferable another operating system (x86 or x64)?

Link to comment
Share on other sites

@Andalu

How I prepared environment and how I compiled it on Windows 10 21H2 x64. Note I added some aditional steps to be able compile XPSP1 files as x64 target

1) Extracted NT5 SRC and followed compile guide for 2003 to set up latest environment (Yes for 2003 see below why)

2) Download TXT ACPI v2.0 XPSP1toXPSP2 patch + patch.exe 

https://nav.dl.sourceforge.net/project/gnuwin32/patch/2.5.9-7/patch-2.5.9-7-bin.zip

3) Open CMD in Base\busdrv\acpi\ and update source tree with patch.exe -Np1 -u -l -i sp1_to_sp3(ACP2).patch

4) Grab tools folder from 2003 source tree, backup XP one and copy it here

5) Copy build.exe and mofcomp.exe from x86 to amd64 in tools folder

6) Run razzle.cmd as CMD /k  tools\razzle.cmd Win32 offline No_urt no_binaries no_certcheck No_prefast (you can add Free parameter if you would like compile smaller non debug file). If someone add needed ASM code converted to C in devpower.c , internal.c , type2op.c , osnotify.c., then we can compile x64 acpi.sys too, just replace Win32 with Win64 amd64

7) Go to Base\busdrv\acpi\driver\ and then build /Degbw

😎 Compiled ACPI.sys is in Base\busdrv\acpi\driver\nt\obj\i386\

Link to comment
Share on other sites

@George King

thanks for the detailed reply.

I had tried in XP x86 and was stuck on the message "the NTMAKEENV environment variable must be defined" after running the "build /Degbw" command. So, I totally skipped the step 1) you pointed out.

The problem now is how to "compile guide for 2003".....

Edited by Andalu
Link to comment
Share on other sites

2 hours ago, George King said:

@Andalu

I have updated ACPI 2.0 post with new ACPI

07.04.2022 - Solution for A5 BSOD (0x03, ..., 0xC014008, ...) - Applied @skulltrailhack for compiled acpi.sys at _ValidateArgTypes  mov edi, 0xC0140008 -> mov edi, 0x00000000 

@George King

This way you'l get another v6666 from 2018....

Edited by Mov AX, 0xDEAD
Link to comment
Share on other sites

On 2/3/2022 at 9:39 PM, Dietmar said:

Looks, like Gigabyte enables full CSM support on this board

Gigabyte Z690 UD DDR4 (rev. 1.0)

with Bios F5.

"Add Legacy Game Compatibility Mode option"

I will test this board with 12900k cpu in next days for XP SP3 boot

Dietmar

 

Dietmar,

can you share a copy of WIN XP IMAGE to install ?  Thanks

Link to comment
Share on other sites

I bought a USB to NVME adapter to test out uasp.  Can anyone confirm if win8_uaspstor+win7storport doesnt need any special fixes?  I gave it a few crystaldiskmark tests and it seems ok to me.

storport 6.1.7601.25735, uaspstor 6.2.9200.16384, with uasp security_cookie changed, patched to ntoskrn8,usbd8,storpor8, and wpprecorder.

thanks

 

edit: I did find one quirk.  With usbstor, or the VIAuasp, restart/shutdown works normally.  But with uaspstor from win8 I have to do "Safe remove" to be able to restart normally.  If I dont, then Windows goes through all the login off steps, screen goes black, but stops right before the reboot.

This is very similar to the restart issue when a PS2 keyboard is attached to the mobo, so might just be a quirk with my Gigabyte...

Edited by pappyN4
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...