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

[QEMU 0.10.5] GCC built amd64 CDs crashes after ACPI logs

    XMLWordPrintable

    Details

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

      QEMU 0.10.5, x86_64

      Description

      GitHub builds.

      BootCD: "same" as LiveCD, but keyboard does not work (that early).
      LiveCD: KDBG "as currently is" (See CORE-17995).

      So far, I am not sure whether this is a bug in QEMU 0.10.5 and/or in ROS (KDBG).
      Does anyone reproduce with such builds?

      msvc14.3-amd64-Debug with KDB

      (D:\a\reactos\reactos\src\boot\freeldr\freeldr\disk\partition.c:425) fixme: DiskGetPartitionEntry() unimplemented for RAW
      (D:\a\reactos\reactos\src\boot\freeldr\freeldr\ntldr\registry.c:394) err: Did not find sub key 'BiosInfo' (full \Registry\Machine\SYSTEM\CurrentControlSet\Control\BiosInfo)
      (D:\a\reactos\reactos\src\boot\freeldr\freeldr\ntldr\winldr.c:628) fixme: LoadWindowsCore: SOS - TRUE (not implemented)
      (ntoskrnl\kd64\kdinit.c:74) -----------------------------------------------------
      (ntoskrnl\kd64\kdinit.c:75) ReactOS 0.4.15-amd64-dev (Build 20220106-3265bb7) (Commit 3265bb7a8d0bb39ab067a188477aa0c1e57e65b8)
      (ntoskrnl\kd64\kdinit.c:76) 1 System Processor [128 MB Memory]
      (ntoskrnl\kd64\kdinit.c:80) Command Line: DEBUG DEBUGPORT=COM1 BAUDRATE=115200 SOS MININT
      (ntoskrnl\kd64\kdinit.c:81) ARC Paths: multi(0)disk(0)cdrom(96) \ multi(0)disk(0)cdrom(96) \reactos\
      (ntoskrnl\ke\amd64\kiinit.c:441) Pcr = FFFFF8000069FB80, Gdt = FFFFF8000009C000, Idt = FFFFF800006BBBA0, Tss = FFFFF8000009B000
      (hal\halx86\acpi\halacpi.c:782) ACPI Timer at: B008h (EXT: 0)
      (hal\halx86\acpi\halacpi.c:891) ACPI 2.0 Detected. Tables: [RSDT] [FACP]
      ?[7h?
      Entered debugger on first-chance exception (Exception Code: 0xc0000420) (Assertion Failure)
      kdb:> bt
      Eip:
      <ntoskrnl.exe:18f48b>
      Frames:
      <cccccccc>
      [Infinitely...]
      <cccccccc>
      --- Press q to abort, any other key to continue ---
      // Pressed 'q'.
      kdb:> cont
      MM:***PAGE FAULT AT IRQL > 1  Va 0000000000000000, IRQL 2
      MM:***RIP 0000000000000000, EFL 0000000000000082
      MM:***RAX 0000000000000000, RCX FFFFF8000069FE20 RDX FFFFF800006D04F0
      MM:***RBX FFFFF800006C5CC0, RSI 0000000000000010 RDI FFFFF800006A0680
      // VM has crashed.
      

      gcc-amd64-Debug

      (/boot/freeldr/freeldr/disk/partition.c:425) fixme: DiskGetPartitionEntry() unimplemented for RAW
      (/boot/freeldr/freeldr/ntldr/registry.c:394) err: Did not find sub key 'BiosInfo' (full \Registry\Machine\SYSTEM\CurrentControlSet\Control\BiosInfo)
      (/boot/freeldr/freeldr/ntldr/winldr.c:628) fixme: LoadWindowsCore: SOS - TRUE (not implemented)
      (/ntoskrnl/kd64/kdinit.c:74) -----------------------------------------------------
      (/ntoskrnl/kd64/kdinit.c:75) ReactOS 0.4.15-amd64-dev (Build 20220107-14f785f) (Commit 14f785f4d9936bb5fa3aaf2f9d5bd23e6ea68302)
      (/ntoskrnl/kd64/kdinit.c:76) 1 System Processor [128 MB Memory]
      (/ntoskrnl/kd64/kdinit.c:80) Command Line: DEBUG DEBUGPORT=COM1 BAUDRATE=115200 SOS MININT
      (/ntoskrnl/kd64/kdinit.c:81) ARC Paths: multi(0)disk(0)cdrom(96) \ multi(0)disk(0)cdrom(96) \reactos\
      (/ntoskrnl/ke/amd64/kiinit.c:441) Pcr = FFFFF80003231260, Gdt = FFFFF80000FF7000, Idt = FFFFF80003224260, Tss = FFFFF8000009E000
      (/hal/halx86/acpi/halacpi.c:782) ACPI Timer at: B008h (EXT: 0)
      (/hal/halx86/acpi/halacpi.c:891) ACPI 2.0 Detected. Tables: [RSDT] [FACP]
       
      *** Assertion failed: FALSE
      ***   Source File: /ntoskrnl/ke/amd64/except.c, line 486
       
      Break repeatedly, break Once, Ignore, terminate Process or terminate Thread (boipt)?
      kdb:> o
      Execute '.cxr FFFFF80003230550' to dump context
      ?[7h?
      Entered debugger on embedded INT3 at 0x0010:0xFFFFF80003175331.
      kdb:> bt
      Eip:
      <ntoskrnl.exe:175332>
      Frames:
      <69747265>
      Couldn't access memory at 0x737341202A2A2A12!
      kdb:> cont
      // VM Reboots.
      


      https://git.reactos.org/?p=reactos.git;a=blob;f=ntoskrnl/ke/amd64/except.c;hb=HEAD#l428

       431 KiGeneralProtectionFaultHandler(
      ...
       486     ASSERT(FALSE);
       487     return STATUS_UNSUCCESSFUL;
       488 }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Serge Gautherie Serge Gautherie
              • Votes:
                1 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: