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

[ACPI APIC HAL]: "Assertion failed: (IrqlToTpr(Irql) & 0xF0) == (Vector & 0xF0)"

    XMLWordPrintable

Details

    Description

      QEMU/KVM 6.2.0
      reactos-bootcd-0.4.16-dev-976-g18fc5a1-x86-gcc-lin-dbg.iso

      1. 1st stage: choose 'ACPI APIC Uniprocessor'.
      2. Then, on each boot, get 1 (ignorable) assertion:

      (ntoskrnl/kd64/kdinit.c:95) ReactOS 0.4.16-x86-dev (Build 20250411-0.4.16-dev-976-g18fc5a1) (Commit 18fc5a1391c493f217790aa11d667ff1332f8424)
      (ntoskrnl/kd64/kdinit.c:96) 1 System Processor [1536 MB Memory]
      (ntoskrnl/kd64/kdinit.c:100) Command Line: DEBUG DEBUGPORT=COM1 BAUDRATE=115200 SOS
      (ntoskrnl/kd64/kdinit.c:103) ARC Paths: multi(0)disk(0)rdisk(0)partition(1) \ multi(0)disk(0)rdisk(0)partition(1) \ReactOS\
      (ntoskrnl/ke/i386/cpu.c:454) Supported CPU features: KF_V86_VIS KF_RDTSC KF_CR4 KF_CMOV KF_GLOBAL_PAGE KF_LARGE_PAGE KF_MTRR KF_CMPXCHG8B KF_MMX KF_WORKING_PTE KF_PAT KF_FXSR KF_FAST_SYSCALL KF_XMMI KF_XMMI64 KF_NX_BIT X86_FEATURE_PAE X86_FEATURE_APIC
      (ntoskrnl/ke/i386/cpu.c:750) Prefetch Cache: 64 bytes	L2 Cache: 2097152 bytesL2 Cache Line: 64 bytes	L2 Cache Associativity: 8
      (hal/halx86/acpi/halacpi.c:782) ACPI Timer at: 608h (EXT: 0)
      (hal/halx86/acpi/halacpi.c:891) ACPI 2.0 Detected. Tables: [RSDT] [APIC] [FACP]
      (hal/halx86/apic/rtctimer.c:138) Clock initialized
      (hal/halx86/apic/halinit.c:50) Using HAL: APIC UP DBG
      (hal/halx86/acpi/madt.c:250) Physical processor count: 1
      (hal/halx86/acpi/madt.c:259)  Processor 0: ProcessorId 0, LapicId 0, ProcessorStarted 0, BSPCheck 0, ProcessorPrcb 00000000
       
      *** Assertion failed: (IrqlToTpr(Irql) & 0xF0) == (Vector & 0xF0)
      ***   Source File: /srv/buildbot/worker_data/Build_GCCLin_x86/build/hal/halx86/apic/apic.c, line 680
       
      Break repeatedly, break Once, Ignore, terminate Process or terminate Thread (boipt)? 
      kdb:> o
      Execute '.cxr 806406B8' to dump context
       
      Entered debugger on embedded INT3 at 0x0008:0x805AB7C6.
      Eip:
      <805AB7C6>
      Frames:
      <809325f8>
      <809b2d5c>
      <80933247>
      <809b22a9>
      <806603de>
      <80675685>
      <80675815>
      <0000000e>
      <0020caa9>
      <0020d230>
      <002014f8>
      <0020178b>
      <00010865>
      <00010e49>
      <4e495753>
      Couldn't access memory at 0x4D903CEF!
      

      Code is
      https://git.reactos.org/?p=reactos.git;a=blob;f=hal/halx86/apic/apic.c;hb=HEAD#l668

       671 HalEnableSystemInterrupt(
      ...
       679     ASSERT(Irql <= HIGH_LEVEL);
       680     ASSERT((IrqlToTpr(Irql) & 0xF0) == (Vector & 0xF0));
      

      Attachments

        Activity

          People

            ThePhysicist Timo Kreuzer
            Serge Gautherie Serge Gautherie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: