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

Unable to load second stage loader on some BIOS firmwares

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • Bootloader

    Description

      As reported by https://x.com/tngaskell/status/2060218271144485079 and from 86Box testing with Socket 7 era mobo.

      Initial investigation done by walean shown that BIOS firmware internally uses 512-byte sectors for CD-ROM access.

      Steps to reproduce:

      1. Start 86Box, create a new VM from attached sample 86box.cfg
      2. Run the machine, enable CD-ROM boot in the BIOS (disabled by default)
      3. Insert livecd.iso and boot from it

      Old build:

      hwdisk.c:133 err: SectorSize (2048) != Geometry.BytesPerSector (512), expect problems!
      iso.c:503 trace: Enter IsoMount(0)
      pcdisk.c:771 trace: PcDiskReadLogicalSectors() DriveNumber: 0x9f SectorNumber: 16 SectorCount: 1 Buffer: 0x7a000
      iso.c:522 trace: IsoMount(0) success
      

      Current master:

      iso.c:611 trace: Enter IsoMount(0)
      pcdisk.c:774 trace: PcDiskReadLogicalSectors() DriveNumber: 0x9f SectorNumber: 64 SectorCount: 4 Buffer: 0x52000
      iso.c:625 warn: Unrecognized CD-ROM format
      

      Attachments

        1. 0.4.15stable.png
          0.4.15stable.png
          12 kB
        2. 0.4.17nightly.png
          0.4.17nightly.png
          20 kB
        3. 86box.cfg
          0.7 kB
        4. Hwdisk_cdrom_sector_commit.png
          Hwdisk_cdrom_sector_commit.png
          133 kB

        Activity

          People

            hbelusca hbelusca
            simonelombardo simonelombardo
            Votes:
            4 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: