Jump to content

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


Mov AX, 0xDEAD

Recommended Posts

@Andalu

i211 works

i219 not works, even I tested 3 different kdnet10.dll from 3 win10 bit32 for Intel Lan Debug

Dietmar

EDIT: I tested also the very first 1909 version von win10 bit from 2015. Microsoft writes, that Dev_15B8 is for my i219-v lan

lan debug is supported.

EDIT2: I disabled the i211 in Bios. So, only the i219-v stays. But also the switch in boot.ini for to force Windbg by Ven&Dev

number, here /PCI_ID=808615B8 for the i219-v does not help.

The i211 also does not work with the win10 file kdnet10.dll even I renamed kdnet.dll ---> kdORInet.dll.

The i211 with Ven_8086&Dev_1539 is also supported on the Microsoft page for the Win10 1909.

So the problem goes to win10^^.

Edited by Dietmar
Link to comment
Share on other sites


@Andalu, @Dietmar

Seems mini-driver has problem with some new Intel LAN chips

I have only Realtek and Atheros/Qualcomm chips and never has issue with 8.1 or 10 mini-driver

To test Intel drivers i used VirtualBox and Vmware, they emulate Intel PRO/1000 LAN chip and no issues at all

i recommend to use /PCI_ID= option for Intel because minidriver set variable buffer size depends on chip ID

Link to comment
Share on other sites

@Andalu

https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/supported-ethernet-nics-for-network-kernel-debugging-in-windows-10 told about DEV_04D4 (Andalu's i219V chip) support for Windows 10, version 20H2 Build 19042

https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/supported-ethernet-nics-for-network-kernel-debugging-in-windows-10-2004 told about DEV_04D4 (i219V) not support for Windows 10, version 20H2 Build 19041

I send to you 19041 and 17763 version, so probably you just need very last version of kd_02_8086.dll renamed to kdnet10.dll

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

3 hours ago, Mov AX, 0xDEAD said:

@pappyN4

I recommend wait for separate W2003 Acpi v2.0 source release, it based on leaked W2003 RTM sources, not XP

Great, I can confirm, current one work on 5.2 x86 in my VM tests.

I'm looking forward for possibility of compiling x64 one.

Link to comment
Share on other sites

@Mov AX, 0xDEAD

Has the patched kdnet.dll driver from win8.1 to stay together on Target compi with the win10 kdnet10.dll and also together with kdstub.dll from win8.1

Dietmar

PS: I just see, that there is also a kdstub.dll from win10. But for "win10" Lan debug I should use all together

kdnet.dll (via patch from win8.1)

kdstub.dll (renamed from kd_02_8086.dll from win8.1) (from readme this kdstub.dll has to be taken from projekt)

kdnet10.dll (renamed from kd_02_8086.dll from win10)

 

When I use kdstub.dll from the Projekt (only about 3kB), the Target compi at once reboots when I enable debug.

Edited by Dietmar
Link to comment
Share on other sites

1 hour ago, Dietmar said:

When I use kdstub.dll from the Projekt (only about 3kB), the Target compi at once reboots when I enable debug.

@Dietmar

kdnet.dll is same for W8.1 and W10 mini-driver
W8.1: kd_02_8086.dll -> kdstub.dll
W10: kd_02_8086.dll -> kdnet10.dll + special kdstub.dll(https://github.com/MovAX0xDEAD/KDNET/blob/master/kdstub.dll)

Link to comment
Share on other sites

@Mov AX, 0xDEAD

Thanks for to make things clear.

So, until now no "win10" debug of XP SP3 is possible on real compi.

Not important, which kdnet10.dll you use (I mean from which version of Win10).

The Asrock z370 with Intel Lan i211 and i219 reboots at once with the special kdstub.dll from project

Dietmar

Edited by Dietmar
Link to comment
Share on other sites

2 hours ago, Dietmar said:

@Mov AX, 0xDEAD

Not important, which kdnet10.dll you use (I mean from which version of Win10).

v19041 doesn't have DEV_04D4

unsigned int __stdcall GigUndiDriverSupported()
{
  unsigned int v0;
  int v2;

  memset(&v2, 0, 0x40u);
  GetDevicePciInfo(&v2);
  v0 = 0x80000003;
  if ( IsDeviceIdSupported(v2, SHIWORD(v2))
    || IsLegacy1GServerDeviceIdSupported(v2, SHIWORD(v2))
    || (_WORD)v2 == 0x8086u
    && (HIWORD(v2) == 0x1000
     || HIWORD(v2) == 0x1001
     || HIWORD(v2) == 0x1004
     || HIWORD(v2) == 0x1008
     || HIWORD(v2) == 0x1009
     || HIWORD(v2) == 0x100C
     || HIWORD(v2) == 0x100D
     || HIWORD(v2) == 0x100E
     || HIWORD(v2) == 0x1015
     || HIWORD(v2) == 0x1017
     || HIWORD(v2) == 0x1016
     || HIWORD(v2) == 0x101E
     || HIWORD(v2) == 0x100F
     || HIWORD(v2) == 0x1011
     || HIWORD(v2) == 0x1026
     || HIWORD(v2) == 0x1027
     || HIWORD(v2) == 0x1028
     || HIWORD(v2) == 0x1010
     || HIWORD(v2) == 0x1012
     || HIWORD(v2) == 0x101D
     || HIWORD(v2) == 0x1079
     || HIWORD(v2) == 0x107A
     || HIWORD(v2) == 0x107B
     || HIWORD(v2) == 0x108A
     || HIWORD(v2) == 0x1099
     || HIWORD(v2) == 0x10B5
     || HIWORD(v2) == 0x1013
     || HIWORD(v2) == 0x1018
     || HIWORD(v2) == 0x1014
     || HIWORD(v2) == 0x1078
     || HIWORD(v2) == 0x1076
     || HIWORD(v2) == 0x107C
     || HIWORD(v2) == 0x1077
     || HIWORD(v2) == 0x1019
     || HIWORD(v2) == 0x101A
     || HIWORD(v2) == 0x1075
     || HIWORD(v2) == 0x105E
     || HIWORD(v2) == 0x105F
     || HIWORD(v2) == 0x1060
     || HIWORD(v2) == 0x10D9
     || HIWORD(v2) == 0x10DA
     || HIWORD(v2) == 0x10A4
     || HIWORD(v2) == 0x10D5
     || HIWORD(v2) == 0x10A5
     || HIWORD(v2) == 0x10BC
     || HIWORD(v2) == 0x10B9
     || HIWORD(v2) == 0x107D
     || HIWORD(v2) == 0x107E
     || HIWORD(v2) == 0x107F
     || HIWORD(v2) == 0x108B
     || HIWORD(v2) == 0x108C
     || HIWORD(v2) == 0x109A
     || HIWORD(v2) == 0x10D3
     || HIWORD(v2) == 0x10F6
     || HIWORD(v2) == 0x150C
     || HIWORD(v2) == 0x1096
     || HIWORD(v2) == 0x1098
     || HIWORD(v2) == 0x10BA
     || HIWORD(v2) == 0x10BB
     || HIWORD(v2) == 0x104C
     || HIWORD(v2) == 0x104D
     || HIWORD(v2) == 0x1049
     || HIWORD(v2) == 0x104A
     || HIWORD(v2) == 0x104B
     || HIWORD(v2) == 0x1501
     || HIWORD(v2) == 0x10BF
     || HIWORD(v2) == 0x10F5
     || HIWORD(v2) == 0x10CB
     || HIWORD(v2) == 0x10BD
     || HIWORD(v2) == 0x10E5
     || HIWORD(v2) == 0x294C
     || HIWORD(v2) == 0x10CC
     || HIWORD(v2) == 0x10CD
     || HIWORD(v2) == 0x10CE
     || HIWORD(v2) == 0x10DE
     || HIWORD(v2) == 0x10DF
     || HIWORD(v2) == 0x1525
     || HIWORD(v2) == 0x10EA
     || HIWORD(v2) == 0x10EB
     || HIWORD(v2) == 0x10EF
     || HIWORD(v2) == 0x10F0
     || HIWORD(v2) == 0x1502
     || HIWORD(v2) == 0x1503
     || HIWORD(v2) == 0x153A
     || HIWORD(v2) == 0x153B
     || HIWORD(v2) == 0x155A
     || HIWORD(v2) == 0x1559
     || HIWORD(v2) == 0x15A0
     || HIWORD(v2) == 0x15A1
     || HIWORD(v2) == 0x15A2
     || HIWORD(v2) == 0x15A3
     || HIWORD(v2) == 0x156F
     || HIWORD(v2) == 0x1570
     || HIWORD(v2) == 0x15B7
     || HIWORD(v2) == 0x15B8
     || HIWORD(v2) == 0x15B9
     || HIWORD(v2) == 0x15D7
     || HIWORD(v2) == 0x15D8
     || HIWORD(v2) == 0x15E3
     || HIWORD(v2) == 0x15D6
     || HIWORD(v2) == 0x15BD
     || HIWORD(v2) == 0x15BE
     || HIWORD(v2) == 0x15BB
     || HIWORD(v2) == 0x15BC
     || HIWORD(v2) == 0x15DF
     || HIWORD(v2) == 0x15E0
     || HIWORD(v2) == 0x15E1
     || HIWORD(v2) == 0x15E2
     || HIWORD(v2) == 0x10A7
     || HIWORD(v2) == 0x10A9
     || HIWORD(v2) == 0x10D6
     || HIWORD(v2) == 0x10C9
     || HIWORD(v2) == 0x10E6
     || HIWORD(v2) == 0x10E7
     || HIWORD(v2) == 0x10E8
     || HIWORD(v2) == 0x1526
     || HIWORD(v2) == 0x150A
     || HIWORD(v2) == 0x1518
     || HIWORD(v2) == 0x150D
     || HIWORD(v2) == 0x150E
     || HIWORD(v2) == 0x150F
     || HIWORD(v2) == 0x1510
     || HIWORD(v2) == 0x1511
     || HIWORD(v2) == 0x1516
     || HIWORD(v2) == 0x1527
     || HIWORD(v2) == 0x438
     || HIWORD(v2) == 0x43A
     || HIWORD(v2) == 0x43C
     || HIWORD(v2) == 0x440
     || HIWORD(v2) == 0x1521
     || HIWORD(v2) == 0x1522
     || HIWORD(v2) == 0x1523
     || HIWORD(v2) == 0x1524
     || HIWORD(v2) == 0x1F40
     || HIWORD(v2) == 0x1F41
     || HIWORD(v2) == 0x1F45
     || HIWORD(v2) == 0x1533
     || HIWORD(v2) == 0x1536
     || HIWORD(v2) == 0x1537
     || HIWORD(v2) == 0x1538
     || HIWORD(v2) == 0x157B
     || HIWORD(v2) == 0x157C
     || HIWORD(v2) == 0x1539
     || HIWORD(v2) == 0xDEADu) )
  {
    v0 = 0;
  }
  return v0;
}

 

Link to comment
Share on other sites

1 hour ago, Dibya said:

how about adopting reactos acpi driver to xp? It  uses latest ACPICA

acpi.sys is not just a AML interpreter as ACPICA, it is a part of kernel subsystem, like HAL/WIN32K, you need spend months to make it compatible with original ACPI IRP API

Link to comment
Share on other sites

@Andalu

I have 11 times this one

https://www.amazon.de/-/en/TP-Link-TG-3468-2001500224-KB-6160-Gigabit/dp/B07H7PM1QQ

It works on really every compi with an PCIe connector, even under Win98

Dietmar

 

EDIT: There are different hardware versions of this Realtek device.

I have V2.

There exists V1, V2, V3, V4. I dont know anything about differences, for sure works very good V2.

 

Edited by Dietmar
Link to comment
Share on other sites

11 hours ago, Mov AX, 0xDEAD said:

@Andalu

I send to you 19041 and 17763 version, so probably you just need very last version of kd_02_8086.dll renamed to kdnet10.dll

Can I get that library only after a win10 update? Whenever I have to use and even worse, connect to the network with that operating system I get urticaria.

 

Edited by Andalu
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...