Jump to content

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


Mov AX, 0xDEAD

Recommended Posts

9 hours ago, George King said:

I have modded by BIOS on Asus K53SV to unlock all available settings. After disabling integrated GPU I got no output at all. I must reset disassemble it and remove batery to reset CMOS.
 

Current solution is latest patched 5048 ACPI by @pappyN4 to be able to detect and install secondary GPU.

In my previous post, I have made a mistake.

The Dell Vostro 3550 laptop doesn't have a Nvidia graphic card but an AMD graphic card.

But the principle stay the same.

In the devices manager the driver for the AMD GPU is installed but disable (code 22 error) and can't be enable.

Screenshot

 

Edited by genieautravail
Link to comment
Share on other sites


2 hours ago, genieautravail said:

In my previous post, I have made a mistake.

The Dell Vostro 3550 laptop doesn't have a Nvidia graphic card but an AMD graphic card.

But the principle stay the same.

In the devices manager the driver for the AMD GPU is installed but disable (code 22 error) and can't be enable.

Screenshot

 

 

 

In order to enable AMD graphic card , you must deactivate the intel HD graphics 3000 according to my experience 

Edited by Club Sportif Sfaxien 1912
Link to comment
Share on other sites

	b9a129fe: Name(SLIC,Buffer(Zero){}AMLI_ERROR(c0000206): Invalid buffer size
Buffer: invalid buffer size (size=0)
	

[/code]

why would buffer size be 0?

Edited by Damnation
Link to comment
Share on other sites

13 hours ago, Andalu said:

@Mov AX, 0xDEAD

below the new log, but it's only 640.557 byte:
https://anonfiles.com/Pbja4aZ3xe/H470_checked_2_TXT

bingo

Quote

b9a126b5: Field(ATNV,0x0)
b9a126bd: {
b9a126c2: RQST,32,
b9a126c7: RCNT,32,
b9a126cc: ERRO,32,
b9a126d1: FLAG,32,
b9a126d6: MISC,32,
b9a126db: OPTN,32,
b9a126e0: SRSP,32
b9a126e0: }
b9a126e0: Method(_DSM,0xc)
b9a12961: Method(TPTS,0x9)
b9a129c8: }
b9a129c8: Scope(_SB_)
b9a129ce: {
b9a129ce: Method(MPTS,0x1)
b9a129e0: Method(MWAK,0x1)
b9a129f2: }
b9a129f2: Scope(_SB_.PCI0)
b9a129fe: {
b9a129fe: Name(SLIC,Buffer(Zero){}AMLI_ERROR(c0000206): Invalid buffer size
Buffer: invalid buffer size (size=0)

Quote

Scope (_SB.PCI0)
    {
        Name (SLIC, Buffer (Zero) {})
        Device (WMI1)
        {
            Name (_HID, "PNP0C14" /* WMI Device */)  // _HID: Hardware ID
            Name (_UID, "MXM2")  // _UID: Unique ID
            Name (_WDG, Buffer (0x14)
            {
                /* 0000 */  0x3C, 0x5C, 0xCB, 0xF6, 0xAE, 0x9C, 0xBD, 0x4E,  /* <\.....N */
                /* 0008 */  0xB5, 0x77, 0x93, 0x1E, 0xA3, 0x2A, 0x2C, 0xC0,  /* .w...*,. */
                /* 0010 */  0x4D, 0x58, 0x01, 0x02                           /* MX.. */
            })
            Method (WMMX, 3, NotSerialized)
            {
                CreateDWordField (Arg2, Zero, FUNC)
                If (FUNC == 0x41494C53)
                {
                    Return (SLIC) /* \_SB_.PCI0.SLIC */
                }

                Return (Zero)
            }
        }
    }

SLIC = SLI Compatible board

usually any buffer has minimal one byte length, but not in case of new boards.....

Quote

Buffer (One)
{
 0x00
}


 

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

On 4/18/2022 at 5:09 PM, daniel_k said:

:hello:

Haven't heard of that issue before.

Try the latest acpi.sys from the latest posts.

If it doesn't work, try to install Windows 7 x86, Intel USB3 HCSwitch driver, modded USB3 from MDL and see if you have the same issue.

Sorry for the delay, I'm very busy!

Here what has been done:

Windows 7 x86 installed

Intel USB3 HCSwitch driver installed (from the original Intel driver for Windows 7) - Right click on the PCI bus in the devices manager -> Update the driver...

Modded USB3 from MDL installed - Right click on the USB devices (with missing driver) in the devices manager -> Update the driver...

Result:

The xHCI controllers can't be initialized (code 37 error) in the devices manager.

What to do ?

 

Link to comment
Share on other sites

Buffer() in Windows 8.1 acpi.sys also not tolerant with zero buffer length:

Quote

 

    else if ( In->qwDataValue )
    {

.....
    }
    else
    {
      rc = 0xC0000206;
      gLastAMLErrorLine = 89;
      gLastAMLError = 0xC0000206;

}

 

In Windows 8.1 no global BSOD (if i not mistaked), so it has other code path outside Buffer()

Link to comment
Share on other sites

Workaround to zero buffer issue (type2op.c)

Quote

            rc = AMLI_LOGERR(AMLIERR_INVALID_BUFFSIZE,
                             ("Buffer: invalid buffer size (size=%d)",
                             pterm->pdataArgs[0].uipDataValue));

To:

Quote

            //rc = AMLI_LOGERR(AMLIERR_INVALID_BUFFSIZE,
            //                 ("Buffer: invalid buffer size (size=%d)",
            //                 pterm->pdataArgs[0].uipDataValue));
            
            // Zero length buffer BSOD workaround
            pterm->pdataResult->pbDataBuff = NEWBDOBJ(gpheapGlobal, 1); // alloc 1 byte fake buffer
            pterm->pdataResult->dwDataType = OBJTYPE_BUFFDATA;
            pterm->pdataResult->dwDataLen = 1;
            MEMZERO(pterm->pdataResult->pbDataBuff, 1);

            pctxt->pbOp = pterm->pbOpEnd;

Tested on QEMU+VirtualBox with custom DSDT:

Quote

    Scope (_SB)
    {
       Name (TEST, Buffer (Zero) {})

 

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

I just ordered 2 used Intel X540-T2 10Gigabit lan cards, Dev_1528 . It has 2 RJ45 connectors each.

They have driver for win2003 Bit32 and Bit64 and work with driver from 2 March 2013 under XP and ndis.sys V5

as a check with Dependency Walker tells me.

Dont know, if for a short direct connection compi to compi with cable of 2m you need Cat6 cable,

hope not

Dietmar

EDIT: The X540-T2 with Dev_1528 is also supported in Windbg

          Ethernet NICs for Network Kernel Debugging in Windows 8.1 .

https://www.hardware-mag.de/artikel/sonstiges/asus_und_intel_10_gbits_netzwerkkarten_im_test/

Edited by Dietmar
Link to comment
Share on other sites

2 hours ago, genieautravail said:

The xHCI controllers can't be initialized (code 37 error) in the devices manager.

What to do ?

If Kernel-Mode Driver Framework (KMDF) version 1.11 was installed, try to install Intel USB3 driver:
https://downloadmirror.intel.com/22824/eng/intel(r)_usb_3.0_extensible_host_controller_driver_5.0.4.43_v2.zip

Link to comment
Share on other sites

59 minutes ago, Dietmar said:

Dont know, if for a short direct connection compi to compi with cable of 2m you need Cat6 cable,

hope not

@DietmarIt's fine.  Official CAT specification is usually for 100m length, and is expected to be used in server rooms, so interference "noise" from other network cables, etc...

Unofficial, I have 15m of cat3 in wall, running 1Gigabit no problem.  You can use iperf3 to test network connection speed between computer to computer. 

Link to comment
Share on other sites

16 hours ago, Club Sportif Sfaxien 1912 said:

In order to enable AMD graphic card , you must deactivate the intel HD graphics 3000 according to my experience 

With Intel HD graphics 3000 disable or not, I can't start the AMD graphics card (code 10 error).

When I disable Intel graphics card, XP ask for restart, and after restart XP switch on the basic VGA driver.

No hope from this side! :unsure:

Edited by genieautravail
Link to comment
Share on other sites

@Mov AX, 0xDEAD

How big can the parts from a real DSDT be, that you can integrate in the DSDT from Qemu,

so that Qemu still works? Have you tested this?

And gives Qemu the same Bsod about failed to build DDB, when you run it with a zero size buffer in its given DSDT on a XP SP3 guest (Target)

Dietmar

Edited by Dietmar
Link to comment
Share on other sites

Experiments with zero buffer length in VirtualBox (it allows custom DSDT from file, use  https://github.com/hfiref0x/VBoxHardenedLoader to bypass internal anti-patch protection):

Win7 checked ISO - BSOD 7E(0xC0000420, ...) ACPI.SYS

Win7 ISO - BSOD A5(0x11, 0x8, ..)

Win8 ISO - Reboot with unknow BSOD ACPi_BIOS_ERROR

Win8.1 non-original ISO - Installer hangs, no BSOD

Win10 ISO - OK

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