Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-17358

Issues with w2k3 acpi.sys

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: NTCore
    • Labels:
      None
    • Environment:

      VirtualBox 5.1.38.

      Description

      To reproduce the bug, simply replace acpi.sys from Windows XP or 2003 and reboot the system.
      After doing that, the system will fail with BSOD 0xa5 (as on MS_acpi_BSOD.png screenshot).
      Nowever, in the MS_acpi.log, when booting in debug mode, is some output from hal, about unimplemented functions:

      WARNING:  HalpQueryInterface at /hal/halx86/acpi/halpnpdd.c:174 is UNIMPLEMENTED!
      

      WARNING:  HaliQuerySystemInformation at /hal/halx86/generic/sysinfo.c:61 is UNIMPLEMENTED!
      

      And the most suspicious is:

      (/hal/halx86/generic/sysinfo.c:47) Unhandled case: HalQueryAMLIIllegalIOPortAddresses
      

      This one is indeed a source of problem. There is just missing case, it even has no a proper stub: https://git.reactos.org/?p=reactos.git;a=blob;f=hal/halx86/generic/sysinfo.c;h=d3a72c56a2fad628dd3b54d6ba6afd23c1ff7763;hb=HEAD#l47.

      After adding a stub for HalQueryAMLIIllegalIOPortAddresses in HaliQuerySystemInformation, ReactOS is booting with MS acpi.sys as well, as visible on MS_acpi.png screenshot.

      I will open a PR for this.

        Attachments

        1. MS_acpi_BSOD.png
          MS_acpi_BSOD.png
          6 kB
        2. MS_acpi.log
          7 kB
        3. MS_acpi.png
          MS_acpi.png
          57 kB
        4. msacpi-chk.log
          17 kB

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Oleg Dubinskij Oleg Dubinskiy
              • Votes:
                2 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: