Page 243 of 286
#3631 RE: Windows XP 32-Bit and Server 2003 32-Bit on Modern Hardware by daniel_k 11.11.2019 07:41

WinXPPAE 2.0, a small utility to patch all kernel and hal files, supporting all languages and versions 5512 (SP3) and later:


What's new:

- thanks to @Mov AX, 0xDEAD, now includes HAL patches for ACPI Timer fix and proper memory management from Server 2003.
- creates backups files (.bak) automatically


To use it, copy the following hal and kernel files (found in SP3.CAB) and the utility to the same folder.

ntkrnlmp.exe - Multiprocessor Kernel
ntoskrnl.exe - Uniprocessor Kernel
ntkrpamp.exe - Multiprocessor PAE Kernel
ntkrnlpa.exe - Uniprocessor PAE Kernel

hal.dll - Standard PC HAL
halaacpi.dll - ACPI Uniprocessor HAL
halacpi.dll - ACPI HAL
halapic.dll - MPS Uniprocessor HAL
halmacpi.dll - ACPI Multiprocessor HAL
halmps.dll - MPS Multiprocessor PC HAL

Run WinXPPAE with the appropriate command line.

Usage: winxppae [/4GB | /ALL | /NB or /NOBACKUP]

/4GB Enables PAE limiting RAM to 4Gb to avoid stability issues.
/ALL Enables PAE with unlimited RAM, may have stability issues.
/NB Does not create backup copies of original files.
/NOBACKUP Same as /NB

You may test the files on a running system by replacing the files from another OS (otherwise File Protection will restore the files).
In this case, pay attention to the filenames, on multiprocessor systems, rename ntkrnlmp.exe to ntoskrnl.exe and ntkrpamp.exe to ntkrnlpa.exe. Hal filename is always hal.dll.

Or integrate them on the CD (rebuilding SP3.CAB and repacking ntkrnlmp.ex_, ntoskrnl.ex_, hal.dl_, halaacpi.dl_, halacpi.dl_, halapic.dl_, halmacpi.dl_ and halmps.dl_).

No need to include a /PAE switch in boot.ini, as this works just like on Server 2003.

As I've patched the files properly, ntoskrnl.exe automatically chainloads the PAE kernel, ntkrnlpa.exe.

PS: Only supports Windows XP SP3. Another version supporting Server 2003 will be released later.

#3632 RE: Windows XP 32-Bit and Server 2003 32-Bit on Modern Hardware by daniel_k 11.11.2019 07:50

@gordo999 and @Mattiwatti

Me and @diderius6 have tried to mod the last Intel LAN XP driver to support the Intel I219-V, but gave up.

Try to get a XP compatible PCIe (Intel, Realtek, Atheros) or USB (ASIX, Realtek?!) LAN adapter.

#3633 RE: Windows XP 32-Bit and Server 2003 32-Bit on Modern Hardware by daniel_k 11.11.2019 08:02

Zitat von Andalu im Beitrag #3615
Your predictions were correct. Even in Windows 7 the performance of the toshiba external disk connected to the USB3 port are not as expected. A tiny better with the samsung M3 portable, but the main problem is that there is no way to make the usb3 function available on my crazy board also after a shutdown.
At this point, I'm thinking it's time to put this board aside, also because I have another board where usb3 doesn't work at all and I still have not found a way to solve.

Try this (not sure if really XP compatible):
http://ftp.vector.co.jp/10/14/2012/wpcrs120.exe

http://www.a7vtroubleshooting.com/articles/wpcrset/index.htm

@Mattiwatti
You seem to have many experience with driver development, can you help us, please?
Have you ever seem a driver sample which we can modify to suit our needs?
Basically we need to set two PCI configuration registers in the Intel XHCI controller in order to properly enable USB3 speeds.

#3634 RE: Windows XP 32-Bit and Server 2003 32-Bit on Modern Hardware by daniel_k 11.11.2019 08:11

Zitat von schreiberstein im Beitrag #3591
@daniel_k

Hey! Interesting news! I think you are onto something great with that new XHCI driver and the HAL patcher.
Things seem to be getting better and better for us folks with newer machines.
I have been using XP with the 4GB patch several times now and it seems to be working fine! (Like Server 2003 with native 32GB PAE)
Perhaps it is just a problem of the Advanced Chrome version I am using. Palemoon seems stable, so is every other application.
It is very satisfying. No audio artifacts with integrated Realtek HD either.

Just released new WinXPPAE. This one was tough, too many files, several versions... but it's done.

The TI/ASMedia XHCI drivers are promising, but can't do it myself, really need help.

#3635 RE: Windows XP 32-Bit and Server 2003 32-Bit on Modern Hardware by gordo999 11.11.2019 10:51

Zitat von daniel_k im Beitrag #3632
Me and @diderius6 have tried to mod the last Intel LAN XP driver to support the Intel I219-V, but gave up.
@daniel_k ...thanks. That's what the memcpy/memcyp_s mod was about. I see memcpy_s, sprintf_s, strcpy_s, etc., are all listed as missing in dependency walker. I am sure those functions are not missing but relocated. Just reading that memcpy_s is a member of the memcpy group. The former copies between buffers whereas memcpy copies between memory addresses. They would not remove those functions from ntoskrnl, I am betting. In fact, there are only 10 functions missing in ntoskrnl and 4 of them are related to copy and string functions.

As Mattiwatti pointed out, the main problem is with ndis.sys. I am going to try what he said and get a copy from an x86 version of W7 to compare them. The function listed as missing in ntoskrnl are: EtwWrite, IoGetAffinityInterrupt, KeGetProcessorIndexFromNumber, KeGetProcessNumberFromIndex, KeQueryHighestNodeNumber, PoRegisterPowerSettingCallback, PoUnregisterPowerSettingCallback, memcpy_s, sprintf_s, strcpy_s, vprintf_s.

ndis.sys is another matter with 29 reported missing functions. Keep in mind that I am a noob with dependency walker and I may be misinterpreting the results. I am going on the functions marked red, although there may be other reasons why they are marked red.

#3636 RE: Windows XP 32-Bit and Server 2003 32-Bit on Modern Hardware by XPLives 11.11.2019 12:02

avatar

@Andalu

Zitat von Andalu im Beitrag #3626
@diderius6
Thanks for the explanation. You confirmed what @gordo999 reported in a previous post, the trouble is there, XP can't boot from a nvme disk with 4096 byte per sector and no 512 byte emulation mode. But how can I figure if my nvme disk has or not the 512e? I understand, if I had it I wouldn't have found so many difficulties for cloning the disk or restoring an XP image and also the partitioning software would have listed the nvme disk.

Offhand I can't remember what brand your NVME is... Looks like you are using a Samsung. But there were some Intel SSDs that using a utility you could change the sector size by flashing it. I don't know if Samsung has a similar way to flash it to do the same. Also maybe one exists for NVME or contact Samsung to see if they have one or will make one.

But the other question is when your NVME is installed into the motherboard, can you boot into both Windows 7 and 10 using a normal SSD or hard drive and then see if your NVME drive shows up in Disk Management at all in either OS? And if so do you see any partitions shown?

#3637 RE: Windows XP 32-Bit and Server 2003 32-Bit on Modern Hardware by gordo999 11.11.2019 14:07

@Mattiwatti ...exactly like you called it. Got an ndis.sys and an msrpc.sys from a w7 x86 disk and dropped them in with the other files and it asked for a netio.sys. Ndis is now happy but it's relationship with ntoskrnl has soured. Msrpc and netio.sys are happy but their relationship with ntoskrnl is off. The Zwxxxxx files are mainly related to msrpc.sys and marked in red. Some are as you said, alpc related. Good call. :-)

#3638 RE: Windows XP 32-Bit and Server 2003 32-Bit on Modern Hardware by cedar 11.11.2019 14:11

@gordo999
Sorry about misinforming you about the LAN driver, the working
version was an earlier one. Flaking memory...

#3639 RE: Windows XP 32-Bit and Server 2003 32-Bit on Modern Hardware by Andalu 11.11.2019 16:01

@gordo999
I'll try also samsung magician, but the newest version doesn't work in XP and the latest for XP I don't think it can detect the nvme disk. I don't know if I can solve by updating my nvme with the 970 EVO firmware. To recognize the nmve disk from another XP hard disk I installed the ofa 1.3 driver, the only that works in XP. I don't find any samsung driver for XP.
Here the NVMe disk detected in bios (it is never listed in the boot menu section):




EDIT: I tried to update the firmware with the 970 EVO version but the samsung dos utility give me the message: "No supported SSD detected for firmware update!!!"

#3640 RE: Windows XP 32-Bit and Server 2003 32-Bit on Modern Hardware by Andalu 11.11.2019 16:02

@XPLives
here the shots, the nvme is correctly detected in all SO:

#3641 RE: Windows XP 32-Bit and Server 2003 32-Bit on Modern Hardware by daniel_k 11.11.2019 19:41

@gordo999

Zitat von daniel_k im Beitrag #3632
Me and @diderius6 have tried to mod the last Intel LAN XP driver to support the Intel I219-V, but gave up.

It's the last XP driver ever released with no missing dependencies
We've tried to patch the device ID with no success.

I217, I218 and I219 are from the same family.

Just attached all drivers I have collected, including the XP one.
Earliest drivers when a new device ID was added.

- I217_I218: XP only
- I219_1_2: Win7 only, variants 1 and 2 (IDs 156F/1570/15B7/15B8)
- I219_3_4_5: Win7 only, variants 3, 4 and 5 (IDs 15B9/15D7/15D8/15E3/15D6)
- I219_6_7: Win7 only, variants 3, 4 and 5 (IDs 15BD/15BE/15BB/15BC)

Official means ID is in INF file.
Unofficial means ID is NOT in INF file, but support is present in driver .SYS file.

#3642 RE: Windows XP 32-Bit and Server 2003 32-Bit on Modern Hardware by Andalu 12.11.2019 00:59

@daniel_k

Zitat von daniel_k im Beitrag #3631
WinXPPAE 2.0, a small utility to patch all kernel and hal files, supporting all languages and versions 5512 (SP3) and later:


What's new:

- thanks to @Mov AX, 0xDEAD, now includes HAL patches for ACPI Timer fix and proper memory management from Server 2003.
- creates backups files (.bak) automatically


To use it, copy the following hal and kernel files (found in SP3.CAB) and the utility to the same folder.

ntkrnlmp.exe - Multiprocessor Kernel
ntoskrnl.exe - Uniprocessor Kernel
ntkrpamp.exe - Multiprocessor PAE Kernel
ntkrnlpa.exe - Uniprocessor PAE Kernel

hal.dll - Standard PC HAL
halaacpi.dll - ACPI Uniprocessor HAL
halacpi.dll - ACPI HAL
halapic.dll - MPS Uniprocessor HAL
halmacpi.dll - ACPI Multiprocessor HAL
halmps.dll - MPS Multiprocessor PC HAL

Run WinXPPAE with the appropriate command line.

Usage: winxppae [/4GB | /ALL | /NB or /NOBACKUP]

/4GB Enables PAE limiting RAM to 4Gb to avoid stability issues.
/ALL Enables PAE with unlimited RAM, may have stability issues.
/NB Does not create backup copies of original files.
/NOBACKUP Same as /NB

You may test the files on a running system by replacing the files from another OS (otherwise File Protection will restore the files).
In this case, pay attention to the filenames, on multiprocessor systems, rename ntkrnlmp.exe to ntoskrnl.exe and ntkrpamp.exe to ntkrnlpa.exe. Hal filename is always hal.dll.

Or integrate them on the CD (rebuilding SP3.CAB and repacking ntkrnlmp.ex_, ntoskrnl.ex_, hal.dl_, halaacpi.dl_, halacpi.dl_, halapic.dl_, halmacpi.dl_ and halmps.dl_).

No need to include a /PAE switch in boot.ini, as this works just like on Server 2003.

As I've patched the files properly, ntoskrnl.exe automatically chainloads the PAE kernel, ntkrnlpa.exe.

PS: Only supports Windows XP SP3. Another version supporting Server 2003 will be released later.

I tried both /4Gb and /ALL options of the new WinXpPAE patch and I copied by hand from another hard disk all the files in windows\system32 (included the renamed ntoskrnl.exe and ntkrnlpa.exe) but on restart I got a blank screen immediately after the XP logo screen. It starts correctly when I used the hal.dll 5.1.2600.5687 extracted from 'hal_pae_fix' and also the ram is correctly visualized.

#3643 RE: Windows XP 32-Bit and Server 2003 32-Bit on Modern Hardware by gordo999 12.11.2019 02:07

Zitat von cedar im Beitrag #3638
Sorry about misinforming you about the LAN driver, the working
version was an earlier one. Flaking memory...
@cedar ...no apology necessary. These days, I can't go from the kitchen to the bedroom without forgetting why I went there. It's not till I go back to the kitchen that I remember,

#3644 RE: Windows XP 32-Bit and Server 2003 32-Bit on Modern Hardware by gordo999 12.11.2019 02:14

Zitat von daniel_k im Beitrag #3641
Just attached all drivers I have collected, including the XP one.
@daniel_k ....thanks dk, I'll have a look.

#3645 RE: Windows XP 32-Bit and Server 2003 32-Bit on Modern Hardware by gordo999 12.11.2019 02:28

Zitat von Andalu im Beitrag #3639
I'll try also samsung magician, but the newest version doesn't work in XP
@Andalu ...do you have a dual boot with W7 or W10? You could run it in W7 to see if it detects the SSD. If not, what error do you get if you try to install/run Magician in XP? XP and W7 are both fairly compatible systems with the exception that XP runs 16-bit apps. I can't see why Magician would not run in XP unless it was written to detect the OS and not install simply because the writer did not want it to run on XP. I don't know if DOS can detect an ntfs file system but I seem to recall a DOS version that can read ntfs, Maybe I'm wrong.

Xobor Forum Software von Xobor
Datenschutz