Jump to content

Windows XP/2003 x32 on Modern Hardware FAQ


Mov AX, 0xDEAD

Recommended Posts

16 hours ago, George King said:

GenAHCI 6.3.0.1

Tested it on a motherboard with Z77 chipset, the driver works. But in XP x64 S.M.A.R.T. is not available in CrystalDiskInfo, although in Aida64 it is available, in XP x32 S.M.A.R.T. works both there and there.

Link to comment
Share on other sites


19 minutes ago, ED_Sln said:

Tested it on a motherboard with Z77 chipset, the driver works. But in XP x64 S.M.A.R.T. is not available in CrystalDiskInfo, although in Aida64 it is available, in XP x32 S.M.A.R.T. works both there and there.

What storport version have you used? You will probably need patched Windows 7 one that supports it.

Let me know how it goes with this full package. Otherwise I have no idea where could be issue.

Generic_AHCI_6.3.0.1_x64.7z

https://file.io/eHxslBEsVKY6

Here is also latest patched CrystalDiskInfo for XP x64 SFX Repack

https://file.io/UozyMNbrOmqt

Edited by George King
Link to comment
Share on other sites

2 hours ago, George King said:

Let me know how it goes with this full package.

Thanks, it's all working now.

 

2 hours ago, George King said:

What storport version have you used?

Apparently there was a version from Win 8, from some other driver.

Link to comment
Share on other sites

14 minutes ago, ED_Sln said:

Thanks, it's all working now.

 

Apparently there was a version from Win 8, from some other driver.

Thats expected it wont work. with Windows 8 storport. 

 

During this GenAHCI journey I have checked storport 2003 vs 8 a lot. Many structures were changed, same with various functions. Thats why I tried to use custom one and redirect much as possible in GenAHCI.

Another idea will be to extend storpor8, but I have not started with this yet because we can maybe start from patched 2003 storport source and extend it to like 8.1 / 10. But thats currently too much work and I don't have currently time for it.

Link to comment
Share on other sites

  • 1 month later...

I made patches for ntkrnlpa.exe v5512 (original name ntkrpamp.exe) form first post, chapter "Saving crash dumps through storport based disk controller drivers".
1. Replace UTF-16: scsiport.sys                    -> storport.sys                        Address 8AA76: 7300630073006900 -> 730074006F007200
2. 1000:004A0E0F mov    byte ptr [ebp-29h], 00h    -> NOP, NOP, NOP, NOP                Address 8AE0F: c645d700 -> 90909090
3. 1000:004A0F49 movzx  eax, byte ptr [ebp-8ch]    -> jmp    loc_004a1019, NOP, NOP    Address 8AF49: 0fb68574ffffff -> e9cb0000009090
4. 1000:004A11FB push   8000h                    -> push   10000h                    Address 8B1Fb: 6800800000 -> 6800000100
I replaced diskdump.sys from Windows 2003.

Now after BSOD (Ctrl + 2 Scroll Lock) I don't have minidump (64 KB) and I see messages in event log:
Event Type: Error
Event Source: Ftdisk
Event Category: None

Event ID: 45
The system could not successfully load the crash dump driver.
Event ID: 49
Configuring the Page file for crash dump failed. Make sure there is a page file on the boot partition and that is large enough to contain all physical memory.

Now I have 4GB RAM and 500 MB swap file on system disk.
On my old hardware with Windows XP Home (4GB RAM and 500 MB swap file) and on another PC (1GB RAM and 32MB swap file - for testing only) I got minudump 64KB without errors.
How can I fix it?

Link to comment
Share on other sites

On 9/30/2023 at 12:46 PM, Grishanenko said:

Now I have 4GB RAM and 500 MB swap file on system disk.
On my old hardware with Windows XP Home (4GB RAM and 500 MB swap file) and on another PC (1GB RAM and 32MB swap file - for testing only) I got minudump 64KB without errors.
How can I fix it?

Hi

Probably PAE (if active) mode messed crashdumping, if not active - recheck storport.sys + diskdump.sys + current disk controller driver.

Link to comment
Share on other sites

Yes, PAE turned on. Without it I have only 3 141 816 bytes RAM.
Today I tried to check different SATA drivers and diskdump.sys from Windows 7.
Look's like minidump saving works only with "RSTe AHCI Controller Miniport + RST Filter Driver" 11/24/2017,4.7.0.1098
But I don't like this driver. If I reboot PC with "Start button - Reboot", both HDD stopping spindles (when motherboard resetting) and restarting in ~10 seconds. This is not good.
All other drivers I have can't save minidumps on my Intel H370/H310:
SATA Kai-Schtrom driver v1.0
SATA Microsoft driver v6.2.9200.20652
Intel(R) Rapid Storage Technology Driver Version 11.2.0.1006 (mod by Fernando)

Second question: my PC can not awake from sleep mode. HDD starting, display is black and keyboard buttons (caps, Numlock) don't responding. Problem with ACPI or something other?

Link to comment
Share on other sites

11 hours ago, Grishanenko said:

Yes, PAE turned on. Without it I have only 3 141 816 bytes RAM.
Today I tried to check different SATA drivers and diskdump.sys from Windows 7.
Look's like minidump saving works only with "RSTe AHCI Controller Miniport + RST Filter Driver" 11/24/2017,4.7.0.1098
But I don't like this driver. If I reboot PC with "Start button - Reboot", both HDD stopping spindles (when motherboard resetting) and restarting in ~10 seconds. This is not good.
All other drivers I have can't save minidumps on my Intel H370/H310:
SATA Kai-Schtrom driver v1.0
SATA Microsoft driver v6.2.9200.20652
Intel(R) Rapid Storage Technology Driver Version 11.2.0.1006 (mod by Fernando)

Try old, but good SATA AHCI Controller 11.2.0.1006 by Intel, it is not storport-based, so even kernel patch not required. Probably it has problems with proper shutdowning SSD, it missed specific SSD (DIPM/HIPM) power commands
 

11 hours ago, Grishanenko said:

Second question: my PC can not awake from sleep mode. HDD starting, display is black and keyboard buttons (caps, Numlock) don't responding. Problem with ACPI or something other?

With anyhing, sleeping is always bugged on XP, there is no cure and no knowledge what's wrong, i have same problem with my notebook(ivybridge, 2013, no need any patches for ACPI), in 80% i have blank screen and only in 20% succesfully power on

Link to comment
Share on other sites

12 hours ago, Mov AX, 0xDEAD said:

With anyhing, sleeping is always bugged on XP, there is no cure and no knowledge what's wrong, i have same problem with my notebook(ivybridge, 2013, no need any patches for ACPI), in 80% i have blank screen and only in 20% succesfully power on

This proposition does suprise me quite a lot since i didn't face never any problems in this regard, on several systems, in all the years: P35 (Abit), GM45 (Dell notebook), Z77 (asrock) and even the latest Z170 (Gigabyte - thanks to the great work of @Mov AX, 0xDEADand Dietmar for sure :)). Perhaps that particular issue may be caused by sloppy implementation of the S-states by the mainboard manufacturer, or whatever HW malfunction...

Link to comment
Share on other sites

  • 5 months later...

So finally figured out a weird issue I was having with nvidia and samsung on XP64/server2003x64.  Did not get the problem with XP32 or server2003x86

Specifically with my GT710 DEV_128B, when installing last nvidia driver 368.81 driver it breaks the samsung nvme driver with Code10 error, 100% of the time.  And with the Int.. "Blue Team" NVME driver works about 70%, but 30% gets Code10.  The problem does not happen with the win7nvme driver.

I picked up a GT730 DEV_1287, and was having the same code 10 issues with both 368.81 and 355.98.  Downloaded the older drivers, and it looks like the GT710 "breaks" right when 128B was added to the driver INF file.  So on the old driver when it doesn't find the card it gives a list to choose from, first GT710 options uses settings from nvhdci.inf instead of the normal nv4_dispi.inf and works.  All the other GT710 options gives the error for samsung.

Comparing the differences, it looks like having LargePageMinimum set in nv4_dispi.inf is what breaks it.  When I installed the 368.81 driver with that line removed the samsung driver works. Only the 64bit INF file for nvidia has a LargePageMinimum line, 32bit INF file did not.

[nv_commonBase_addreg]
;HKLM,"System\CurrentControlSet\Control\Session Manager\Memory Management",LargePageMinimum,%REG_DWORD%,0xffffffff

 

Link to comment
Share on other sites

  • 3 weeks later...
On 11/14/2022 at 4:45 AM, George King said:

Latest ported drivers repository builded for XP2ESD as DriverPack. Compatible with XP and 2003. No prereqs needed, every driver is standalone

 

x64

	AMD_RAID_6.1.5.00025
	AMD_SATA_1.2.001.0337
	AMD_SATA_1.2.001.0402
	AMD_SD+MMC_1.0.0.0106
	AMD_USB3_1.1.0.0145
	Generic_AHCI_1.0
	Generic_AHCI_6.2.9200.20652
	Generic_MSAHCI_6.1.7601.25735
	Generic_NVMe_1.3.1014.00
	Generic_NVMe_1.5.1200.00
	Generic_NVMe_10.4.49.0
	Generic_NVMe_6.1.7601.23403
	Generic_SD+MMC_6.2.8056.0
	Generic_Touchpad_6.2.9200.16384
	Generic_UASP_6.1.7600.4002
	Generic_UASP_6.2.9200.16384
	Generic_USB2_5.2.3790.5203
	Generic_USB3x_6.2.9200.21180
	Generic_USBMassStorage_5.2.3790.5829
	IRST_16.8.3.1003
	IRST_18.36.3.1019
	RSTe_4.7.0.1119
	Samsung_NVMe_3.3.0.2003
	TPM_6.1.7600.16385
	WinUSB_6.2.9200.16384

 

x86

	AMD_RAID_6.1.5.00025
	AMD_SATA_1.2.001.0337
	AMD_SATA_1.2.001.0402
	AMD_SD+MMC_1.0.0.0106
	AMD_USB3_1.1.0.0145
	Generic_AHCI_1.0
	Generic_AHCI_6.2.9200.20652
	Generic_Disk_5.2.3790.4171
	Generic_MSAHCI
	6.1.7601.25735
	Generic_NVMe_1.3.1014.00
	Generic_NVMe_1.5.1200.00
	Generic_NVMe_10.4.49.0
	Generic_NVMe_6.1.7601.23403
	Generic_SD+MMC_6.2.8056.0
	Generic_Touchpad_6.2.9200.16384
	Generic_UASP_6.1.7600.4002
	Generic_UASP_6.2.9200.16384
	Generic_USB2_5.2.3790.5203
	Generic_USB3x_6.2.9200.21180
	Generic_USBMassStorage_5.2.3790.5829
	IRST_16.8.2.1002 RSTe_4.7.0.1119
	Samsung_NVMe_3.3.0.2003
	TPM_6.1.7600.16385
	WinUSB_6.2.9200.16384

 

Download

https://www.mediafire.com/file/dap6k6n96t27l1a/DP_Ported_DriversCollection_v24.7z/file

 

These files are also signed with custom XP2ESD certificate. If you want to see them as signed, just import certificate into system. Run from CMD these commands

reg add "HKLM\SOFTWARE\Microsoft\SystemCertificates\Root\Certificates\2516FF09B7786B05CBB7B96B97690821A13B36AF" /v "Blob" /t REG_BINARY /d "5C0000000100000004000000000800000300000001000000140000002516FF09B7786B05CBB7B96B97690821A13B36AF1900000001000000100000006604E2B4AF8E1E311D7D01577BADCE9C14000000010000001400000001A43F9D5BAEBFE4D86C9D007514AA094103C73A0F000000010000001400000080F75388C42C3A5209BC64307A711CE8E258BFFF04000000010000001000000029A595DC50B71061B554EB3F74A2BCED20000000010000001E0400003082041A30820306A00302010202109C4595B4E1845E8B445B11B720F1BC38300906052B0E03021D050030543123302106092A864886F70D010901161461646D696E6973747261746F724078702E636F6D311C301A060355040A131347656F726765204B696E6720436F6D70616E79310F300D060355040313065850324553443020170D3231313233313232303030305A180F32323231313233313232303030305A30543123302106092A864886F70D010901161461646D696E6973747261746F724078702E636F6D311C301A060355040A131347656F726765204B696E6720436F6D70616E79310F300D0603550403130658503245534430820122300D06092A864886F70D01010105000382010F003082010A0282010100DC0EAF99F8FD61A19AC1B151DA02347897480373974B34E464C9896298FD513183C31BE742059BF7493A428C0B899F948F432B2EEAE29A617ADE75AEE6D7FBF0055AF5A6944B1AE427551553C05319E2B65301EDC6E7DC03159CDD228129058FFB46EBF26B871B5A1546B158EA8006744BA12DAEAE49BF266ADE97166BCDE424C43E7AE4E951BBFE8F6CA3AAA9A692851B5E5F91409B2071EECE7F5BF2EE372FA40D4DB30FF43062363F8CE499F5960350B49ECFB72559C234A356ABC97F300E7F6389C31A622294707E8143DC219E3A0BBCED4AD5C7A6DE2A44B65587D7FB5E898326C2905D4546EACAFF0A579A8643D99E58410623492DB4535F7502060CB90203010001A381ED3081EA300F0603551D130101FF040530030101FF304F0603551D250448304606082B06010505070303060A2B0601040182370A0305060A2B0601040182370A0306060A2B0601040182370A0307060A2B0601040182370A0308060A2B0601040182370A03093081850603551D01047E307C80106E13AE59A3D4C6AB69BD5A699E28E3F3A15630543123302106092A864886F70D010901161461646D696E6973747261746F724078702E636F6D311C301A060355040A131347656F726765204B696E6720436F6D70616E79310F300D0603550403130658503245534482109C4595B4E1845E8B445B11B720F1BC38300906052B0E03021D0500038201010033C95C0CB8471EB54CB8DA1B176178F8ADA702DB79FAD0447A2B2E2D5C26143198C643E0F7A566B7A6D7B148A0FD72ABD762B7BCF7B46DF55C5BF5905C53CD3CA6DD4E12DA2AFC2E1355A4AD1658DA3D875E0C33C37C680B3D8E7D057F0183A6458D03B16EBC7D4155B26930EAAA0629E4FAC432DE31A848706DD5BB3D66EDC8E3DE5ED2D17F515EB810B1856B906C8714CC72EF8F8A91813EF65CD3224923ADBD4FD08FBE8147C11AF4D9CF047698E870B3F698B490F4C639713DBE31CBE51334783D8EE325CE803438B6E959F5466BA3B178448569864CE3542B7C31E76A81857993CFB3D6C1818C8D357E4A0B19DBE3DDDC8739A02D2A883C89F0923EBA6A" /f
reg add "HKLM\SOFTWARE\Microsoft\SystemCertificates\TrustedPublisher\Certificates\B9B6F07ACD8C0A29597BB2AC1EECF59D046697A7" /v "Blob" /t REG_BINARY /d "030000000100000014000000B9B6F07ACD8C0A29597BB2AC1EECF59D046697A75C00000001000000040000000008000019000000010000001000000027114C6CAC4F2A0B4B6D0B1D3FD888AA140000000100000014000000EC77C51CB1021AD6278248DD8D6D474DF123699A0F00000001000000140000007C2BE80346DA6933211FB3E086D2D373454DEF48040000000100000010000000AA5FE38C7A8D84E83EC756AEAB36705920000000010000001B0400003082041730820303A0030201020210AA944720F0F0E89A4C7925C5BD795FDE300906052B0E03021D050030543123302106092A864886F70D010901161461646D696E6973747261746F724078702E636F6D311C301A060355040A131347656F726765204B696E6720436F6D70616E79310F300D060355040313065850324553443020170D3231313233313232303030305A180F32323231313233313232303030305A30543123302106092A864886F70D010901161461646D696E6973747261746F724078702E636F6D311C301A060355040A131347656F726765204B696E6720436F6D70616E79310F300D0603550403130658503245534430820122300D06092A864886F70D01010105000382010F003082010A0282010100F0C27E766F7D27BC2BA2CC1B3E0A6E7434589F51AF1554A37BE1C23939B54E601DB393A14C3A223EFD61A47973E1093C1810BCF0298A2D4603684EA80CB5ED303C7D20094CCFFBE903EFA0CDF9FB29CF3F9CFD04E820494100E8E72C2719ED983202DAA59C2FB1DEC68AECBA724DE40173FEBDF9C8D20918538DDEDD7DEF033B69EB584B547910C69166953EF08E226FE26B02310975929C7862AF41B0739C0463A7356988E13AA396DC87195B1744D10EA59E1449F6DA6A6D536F423C81F325870756FBE54BCB0B1A7F8A0B4E165B730CC5A4A1C464CAF6257EB3575ECC38077A8334BF11C7561AF1A8F16D6A570ACD1343510329F6AAB6EF96741FCE7E58E50203010001A381EA3081E7300C0603551D130101FF04023000304F0603551D250448304606082B06010505070303060A2B0601040182370A0305060A2B0601040182370A0306060A2B0601040182370A0307060A2B0601040182370A0308060A2B0601040182370A03093081850603551D01047E307C80106E13AE59A3D4C6AB69BD5A699E28E3F3A15630543123302106092A864886F70D010901161461646D696E6973747261746F724078702E636F6D311C301A060355040A131347656F726765204B696E6720436F6D70616E79310F300D0603550403130658503245534482109C4595B4E1845E8B445B11B720F1BC38300906052B0E03021D050003820101000307298CCD1B761CAEDAABD7BC51E6528CE75CCB8F99C1092146C0E1589CD900D713F3EF97B18B3B43FADE02403F36EEAE7EAE1DD100F1A005F14F095D55653F35A4A44AAA00837DADB5E985388987D9798331AC8A1AB78CA13F457C110B0A87ACC98D3288E482AA403055D4119066C9384DB0A8646A399202117FFE9098DE5B6E9FCF59DD3D2A1050086C52009D5C80A8D677F1FDE7CF2C9B0F2ED11FE847B9DA132A9D9DCE584CC28CB694DC661CFD8F7C2BDB9ECAAA970D191655C327C819F3AB93D4EADBAF67B8B1CF5C2BC4D50944E9ED46CB6584BAC6E70D7F1FFADC72ACC2CCFECFAF1404902174EE0C6620A619F178238DF70D9EFE09E92500E29A1E" /f

Could update the ported drivers to v45?POWISn-10.pngI think the v24 drivers were

too old after 2 years.

Edited by wyf180
Link to comment
Share on other sites

1 hour ago, wyf180 said:

Could update the ported drivers to v45?POWISn-10.pngI think the v24 drivers were

too old after 2 years.

When I decide to publish, then Yes. Now they are private only.

 

BTW, nice spoiler from my MDL topic from currently work-in-progress on POWIS in XP2ESD :)

Edited by George King
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...