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

ReactOS hangs in VidInitialize() if no VGA adapter detected

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.13
    • NTCore
    • None

    Description

      I test ReactOS 0.4.9-dev-786-g74c5d8b on Vortex86 based hardware (86Duino Zero). Load stops with error. This the full log:

      (ntoskrnl/kd/kdio.c:104) -------------------------------------
      ----------------
      (ntoskrnl/kd/kdio.c:105) ReactOS 0.4.9-dev (Build 20180430-0.4.9-dev-786-g74c5d8b) (Commit 74c5d8b6bd6e8668eaab5f6467c80cfc2d899825)
      (ntoskrnl/kd/kdio.c:106) 1 System Processor [127 MB Memory]
      (ntoskrnl/kd/kdio.c:107) Command Line: DEBUG DEBUGPORT=COM1 BAUDRATE=115200 SOS
      (ntoskrnl/kd/kdio.c:108) ARC Paths: multi(0)disk(0)rdisk(0)partition(1) \ multi(0)disk(0)rdisk(0)partition(1) \ReactOS\
      (ntoskrnl/ke/i386/cpu.c:207) Vortex86 SoC CPU support not fully tested!
      (ntoskrnl/ke/i386/cpu.c:450) Supported CPU features :  KF_RDTSC  KF_CMOV    KF_CMPXCHG8B KF_MMX KF_WORKING_PTE   KF_FAST_SYSCALL        
      (ntoskrnl/ke/i386/cpu.c:207) Vortex86 SoC CPU support not fully tested!
      (ntoskrnl/ke/i386/cpu.c:722) Prefetch Cache: 32 bytes\0x09L2 Cache: 0 bytes\0x09L2 Cache Line: 64 bytes\0x09L2 Cache Associativity: 0
      (hal/halx86/acpi/halacpi.c:597) **** HalpAcpiFindRsdtPhase0: did NOT find RSDT
      

      Note: To get COM1 it need to hack SPI flash CrossBar entries. It does connected by default.

      This problem can be reproduced in a virtual machine if you hardcode VgaIsPresent() function to always return FALSE.

      Attachments

        1. Trace.log
          2 kB
        2. noVGA.log
          2 kB
        3. noVGA_hack.log
          17 kB
        4. noACPI.log
          0.9 kB
        5. L86Duntu_dmesg.log
          30 kB
        6. kiinit.c
          28 kB
        7. HalpAcpiFindRsdtPhase0_err.log
          0.9 kB
        8. dprint1.diff
          9 kB
        9. bootvid-loop.patch
          2 kB
        10. bootvid_hack_and_dprints.patch
          9 kB

        Issue Links

          Activity

            People

              binarymaster Stas'M
              A_S A_S
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: