Jump to content

Windows XP/2003 x32 on Modern Hardware FAQ


Mov AX, 0xDEAD

Recommended Posts

windows xp x64 and windows server 2003 x86 doesnt seem to have this problem although the polling rate is still an issue there.

it seems faster and its unfortunately at the expense of 16 bit support but theres another bummer.

i dont have working ethernet drivers for my motherboard on windows xp x64.

i always get "this device cannot start" error code 10 although the 32 bit driver works on windows xp 32 bit, the 64 bit doesnt.

i have PCI\VEN_8086&DEV_15A1&CC_0200 if anyone is concerned.

UPDATE:i may have found a short term fix for now (not for the polling rate issue).

setting sound scheme in windows xp x32 to no sounds seems to fix this problem.

setting it back brings it back.

windows media player, or the dpc latency might be the problem here.

hdd might also be causing problems too but i kind of doubt it, i had xp booted up on external usb hard drive but it was on usb 2.0 (i was not able to get usb 3.0 drivers working for windows xp unfortunately) and i think i had the same symptoms.

external hdd has apm set to 80h.

internal hdd has apm set to 01h but i have set a script so that it writes to a file every 4 seconds so that it doesnt spin down, load/unload cycles doesnt increase.

so apm might not be the problem.

internal 5400 rpm hdd has a read/write speed of about 90-110 mb/s while external hdd 5400 rpm has 30 mb/s because of it running under usb.

it kind of baffles me why windows xp would ever be running slow if my computer isnt the problem..

 

also, i forgot to mention that windows xp sp1/windows server 2003 rtm doesnt have the polling rate issue but mouse feels a little delayed.

the problem with the sound driver still exists causing the same freezes (referring to windows xp sp1, windows server 2003 doesnt have this issue at all).

im starting to think that the sound driver issue may just be a symptom of a much bigger issue.

i noticed these issues worsen when i ahve the nvidia driver installed (they become frequent).

Edited by ward201185
Link to comment
Share on other sites

  • 1 month later...

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
Edited by George King
Link to comment
Share on other sites

  • 2 months later...

SYSTEM_SERVICE_EXCEPTION    0x0000003b

Had this BSOD while trying something.  Only software running was a windows PPTP connection, MyPal29 and a filehare app.  BSOD happened twice while is was testing, and once right into BSOD before booting finished after rebooting from previous BSOD.  I could not get it to crash again.  Tried maxing out CPU, iperf3 UDP to max out network, while looping video and running app for a day, still no crash.

Bluescreenview

Mini011123-01.dmp	1/11/2023 8:54:22 PM	SYSTEM_SERVICE_EXCEPTION	0x0000003b	00000000`80000003	fffff800`01026e20	fffffad9`820c4000	00000000`00000000	ntoskrnl.exe	ntoskrnl.exe+2eb10					x64	ntoskrnl.exe+2eb10					F:\bluescreenview\Mini011123-01.dmp	16	15	3790	131,072	1/11/2023 8:55:40 PM	
Mini011123-02.dmp	1/11/2023 9:07:08 PM	SYSTEM_SERVICE_EXCEPTION	0x0000003b	00000000`80000003	fffff800`01026e20	fffffad9`83c72d50	00000000`00000000	wdmaud.sys	wdmaud.sys+cccd50					x64	ntoskrnl.exe+2eb10					F:\bluescreenview\Mini011123-02.dmp	16	15	3790	131,072	1/11/2023 9:07:44 PM	
Mini011123-03.dmp	1/11/2023 9:07:44 PM	SYSTEM_SERVICE_EXCEPTION	0x0000003b	00000000`80000003	fffff800`01026e20	fffffad9`835a4ca0	00000000`00000000	ntoskrnl.exe	ntoskrnl.exe+2eb10					x64	ntoskrnl.exe+2eb10					F:\bluescreenview\Mini011123-03.dmp	16	15	3790	131,072	1/11/2023 9:08:14 PM

Running analyze with WinDbg points to afd!AfdIssueDeviceControl+0x1a8, afd!AfdBind+0x630 as the issue.  Googling showed that issue could be network driver itself not afd.sys.

 

Tried runing Driver Verifier Manager to stress test driver and see if i can replicate problem. 

On XP64 with NVME boot drive, Verifier could not get it to boot into windows.  It stays on the windows GUI screen with bar scrolling forever when using win7nvme driver or "blue" nvme driver.  With the samsung it gets 7B BSOD (or Code10 when boot is SSD and NVME is second drive).

On XP32 with SSD boot drive.  Using win7nvme driver tested tcpip.sys, afd.sys, rtenic.sys (Realtek NIC) individually.  When Verifier is on, get PAGE_FAULT_NONPAGED_AREA, STOP 0x00000050 (0x80566000, 0x0, 0xB1E18F0D, 0x0), dump_ntoskrn8.sys address 0xB1E18F0D at base b1b17000.  Tried older 2014 network driver for fun, same error except 0xB1E1FF0D b1e1e000.

Further testing with win7nvme, if NVME is disabled, boots fine with Verifier.  If network is disabled, and nvme is enable boots fine with Verifier.  This matches result from samsung and blue nvme driver, it boots with Verifier because nvme gets automatically disabled Code10.

On server2003x86.  Just works?? All three nvme driver had no issue booting with Verifier turned on.

 

 

I dont know what think.  Original problem is 3B BSOD that I could not recreate and no clear idea where it came from.  Common thread appears to be having a nvme drive active in computer.  I remember when i first tested samsung it had little quirks like having to use a slightly older GPU driver in XP64 or needing the PAE>4GB patch in XP for it to work. 

I guess maybe I'll switch to blue driver and see if it happens by itself over the months.

 

 

 

windbg_3B.txt Mini011123-01.dmp Mini011123-02.dmp Mini011123-03.dmp

Link to comment
Share on other sites

On 9/6/2022 at 1:26 PM, Andalu said:

@pappyN4

....

Just for fun and if you have some time, could you try the modifications I linked here? Unfortunately, the method you described in your Github guide doesn't work on my systems.

@AndaluI like your idea since it only needs one extra modified file, but with this patch I still had the deadlock.  The one I have on github is based on the same changes that server2003 and win8 storports need for uasp deadlock fix based on example from MovAX

Link to comment
Share on other sites

I thought I had posted this earlier but I must have missed it. Patch location for timer fix and frequency divider fix from assembley code on first page.  File was modified with WinXPPAE 3.5 patcher first.

x86 halmacpi.dll (PAE) 5.1.2600.5687
HAL_acpitimer_fix
@1933d    79 -> EB

HAL TSC frequency divider fix
@c7F    75 2D -> 90 90

@c87    74 12 -> 74 19
@c96    89 01 89 51 04 0F 31 64 03 05 AC 00 00 00 64 13 15 B0 00 00 00 C2 04 00 8B 4C 24 04 0B C9 74 0F C7 01 DE 34 12
     -> 0F AC D0 0A C1 EA 0A 89 01 89 51 04 0F 31 64 03 05 AC 00 00 00 64 13 15 B0 00 00 00 0F AC D0 0A C1 EA 0A C2 04


First pic adds changes to an empty .TEXT area in the file after guidance from MovAX on where to put it.  It's easier to read, so if someone wants to try to learn a little bit by doing.  You can see the original code @C96 and @CA4.  It is replaced with an E8 command and a hex number, read from right to left, for location where patched code is.  90 is NOP filler if there is extra space.  In the patched location, you can see the original code that was replaced and the new shrd/shr that was added, and a C3 to return back.

x86rtc-HAL-TSC-frequency-divider-learnin

Second pic is less readable.  Instead of jumping to patched locations it just overwrites code at the original location that looks like is orphaned because we changed a JNZ to a NOP

x86rtc-HAL-TSC-frequency-divider-Optimiz

The timer fix is for skylake and newer.  But the frequency divider fix benefits AMD as well.  It brings the freq down to the same value as on XP64.

timeroriginal.pngtimerfixed.png

 

Link to comment
Share on other sites

  • 5 weeks later...

Could you fix a virtio scsi driver working on xp?https://forums.virtualbox.org/viewtopic.php?f=2&t=105581 I found all win8's virtio scsi driver api in the ntoskrn8.sys ,however after I used winhex to edit the string ,it still can't work with xp. @George King

Link to comment
Share on other sites

On 1/14/2023 at 4:53 PM, pappyN4 said:

SYSTEM_SERVICE_EXCEPTION    0x0000003b

Had another one while testing, fresh install XP64, 2019 updates, only storahci,stornvme,and usb3 drivers installed.  Totally new install, nothing running except for a VMware workstation install.

Link to comment
Share on other sites

  • 1 month later...
On 2/15/2023 at 8:57 AM, wyf180 said:

Could you fix a virtio scsi driver working on xp?https://forums.virtualbox.org/viewtopic.php?f=2&t=105581 I found all win8's virtio scsi driver api in the ntoskrn8.sys ,however after I used winhex to edit the string ,it still can't work with xp. @George King

Here's backported VirtIO SCSI driver for XP (both 32-bit and 64-bit versions): https://anonfiles.com/27HeD1meza/virtio_win_0_1_171_win_xp_zip

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...

1) ACPI BSOD 0xA5 (0x02, ..., ..., ...), error in ACPIRangeValidatePciResources, ACPI vs E820 conflict, solved
     BSOD is generated by DSDT code like this:

 

I think have above problem in win7 acpi.sys(from mbox3,box3 dsdt bug in coreboot/tianocore), but i can't find this ACPIRangeValidatePciResources symbol in win7 checked sp1

any ideas thx

Link to comment
Share on other sites

On 6/18/2023 at 1:08 PM, Damnation said:

@kocoman

ACPIRangeValidatePciResources is in my windows 7 acpi.sys - maybe you didn't load the PDB symbols?

I tried to find the matching pdb/sys pair, but only found it for win10 that is matching, the win7 checked version is like 15xx build i can find for dl but the acpi.sys is from 16xx or similar..  

now i have problem with vbt blanking the screen when igpu intel drivers are installed, and blank screen in installer, so hard to debug..

Link to comment
Share on other sites

On 5/10/2023 at 7:47 PM, Adrian_ said:

Is there any known working Xp X64 driver for the intel HD4600 video found on Haswell CPU's?

the VGA driver is easy to spot at the mainstream mobos's website and it works as expected for the HD 4600 (i5 & i7)

I tried this same driver for the HD 4400 (i3) but it doesn't work despite the intel graphics icon being displayed upon the task bar.

regarding the HDMI/DP audio driver  I found it easily with SDI origin

 

Link to comment
Share on other sites

  • 1 month later...

 

GenAHCI 6.3.0.1

GenAHCI is storage driver replacement for Windows XP, Vista, 7, 8.0 and their Server equivalents based on official Windows 8.1 StorAHCI source code sample

This patched source code is based on previously developed patch for Windows 8.0 source code sample by Kai Schtrom https://sourceforge.net/projects/storahci-for-windows-2003/

Even it looks like Windows 8.0 to 8.1 is small step, driver code was changed on many places. Almost everything was patched to be compatible with Windows XP and driver can be succesfully installed or integrated into Windows Setup

 

https://github.com/GeorgeK1ng/GenAHCI

 

Virtual-Box-Windows-XP-21-08-2023-23-50-

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...