<div dir="ltr"><div><div><div><div>Hi,<br><br></div>Using the latest Qemu2 and 
Seabios1.7.4 (I've tried stable and git for both) -- I still have this 
issue with QEMU hanging on display.sys with MSDOS 6.2<br></div>I can confirm on all compiled sources the structs already had your "PACKED" patch applied<br><br>If I swap out vgabios-cirrus.bin for the older lgplvgabios (<a href="http://savannah.gnu.org/download/vgabios/vgabios-0.7a.cirrus.bin" target="_blank">savannah.gnu.org/download/vgabios/vgabios-0.7a.cirrus.bin</a>) it boots OK with "-vga cirrus"<br>
<br></div><div>As requested, below is the debug log from a freshly compiled QEMU2. It sits at 100% cpu when MSDOS tries to load display.sys.<br></div><div>I also took the same log file from a successful boot with 0.7a vgabios. Please let me know if you want that posting here too.<br>
</div></div><div><br></div>Thanks for your time!<div class="gmail_extra"><br><br></div><div class="gmail_extra">------ Log file using -chardev stdio,id=seabios -device isa-debugcon,iobase=0x402,chardev=seabios ------<br><br>
Start bios (version rel-1.7.4-0-g96917a8-20140501_004118-e6540)<br>No Xen hypervisor found.<br>Running on QEMU (i440fx)<br>RamSize: 0x02000000 [cmos]<br>Relocating init from 0x000dfe89 to 0x01fdf190 (size 69036)<br>Found QEMU fw_cfg<br>
RamBlock: addr 0x0000000000000000 len 0x0000000002000000 [e820]<br>CPU Mhz=2651<br>=== PCI bus & bridge init ===<br>PCI: pci_bios_init_bus_rec bus = 0x0<br>=== PCI device probing ===<br>Found 4 PCI devices (max PCI bus is 00)<br>
=== PCI new allocation pass #1 ===<br>PCI: check devices<br>=== PCI new allocation pass #2 ===<br>PCI: 32: 0000000080000000 - 00000000fec00000<br>PCI: map device bdf=00:01.1  bar 4, addr 0000c000, size 00000010 [io]<br>PCI: map device bdf=00:02.0  bar 6, addr febe0000, size 00010000 [mem]<br>
PCI: map device bdf=00:02.0  bar 1, addr febf0000, size 00001000 [mem]<br>PCI: map device bdf=00:02.0  bar 0, addr fc000000, size 02000000 [prefmem]<br>PCI: init bdf=00:00.0 id=8086:1237<br>PCI: init bdf=00:01.0 id=8086:7000<br>
PIIX3/PIIX4 init: elcr=00 0c<br>PCI: init bdf=00:01.1 id=8086:7010<br>PCI: init bdf=00:02.0 id=1013:00b8<br>PCI: Using 00:02.0 for primary VGA<br>Found 1 cpu(s) max supported 1 cpu(s)<br>MP table addr=0x000f0b70 MPC table addr=0x000f0b80 size=192<br>
SMBIOS ptr=0x000f0b50 table=0x000f0a20 size=304<br>Scan for VGA option rom<br>Running option rom at c000:0003<br>Start SeaVGABIOS (version <a href="http://rel-1.7.4-0-g96917a8-20140203_153423-nilsson.home.kraxel.org">rel-1.7.4-0-g96917a8-20140203_153423-nilsson.home.kraxel.org</a>)<br>
enter vga_post:<br>   a=00000010  b=0000ffff  c=00000000  d=0000ffff ds=0000 es=f000 ss=0000<br>  si=00000000 di=00006580 bp=00000000 sp=00006d1a cs=f000 ip=d256  f=0000<br>cirrus init<br>cirrus init 2<br>Attempting to allocate VGA stack via pmm call to f000:d2ce<br>
pmm call arg1=0<br>VGA stack allocated at ed790<br>Turning on vga text mode console<br>set VGA mode 3<br>cirrus mode switch regular<br>SeaBIOS (version rel-1.7.4-0-g96917a8-20140501_004118-e6540)<br>Found 1 lpt ports<br>Found 1 serial ports<br>
Searching bootorder for: /pci@i0cf8/isa@1/fdc@03f0/floppy@0<br>ATA controller 1 at 1f0/3f4/0 (irq 14 dev 9)<br>ATA controller 2 at 170/374/0 (irq 15 dev 9)<br>ata0-0: QEMU HARDDISK ATA-7 Hard-Disk (512 MiBytes)<br>Searching bootorder for: /pci@i0cf8/*@1,1/drive@0/disk@0<br>
DVD/CD [ata1-0: QEMU DVD-ROM ATAPI-4 DVD/CD]<br>Searching bootorder for: /pci@i0cf8/*@1,1/drive@1/disk@0<br>PS2 keyboard initialized<br>All threads complete.<br>Scan for option roms<br>Searching bootorder for: /rom@genroms/kvmvapic.bin<br>
Searching bootorder for: HALT<br>drive 0x000f09a0: PCHS=1040/16/63 translation=none LCHS=1024/16/63 s=1048576<br>Running option rom at c900:0003<br>Space available for UMB: cb800-ec800, f0000-f0940<br>Returned 65536 bytes of ZoneHigh<br>
e820 map has 5 items:<br>  0: 0000000000000000 - 000000000009fc00 = 1 RAM<br>  1: 000000000009fc00 - 00000000000a0000 = 2 RESERVED<br>  2: 00000000000f0000 - 0000000000100000 = 2 RESERVED<br>  3: 0000000000100000 - 0000000002000000 = 1 RAM<br>
  4: 00000000fffc0000 - 0000000100000000 = 2 RESERVED<br>enter handle_19:<br>  NULL<br>Booting from Hard Disk...<br>Booting from 0000:7c00<br><br></div></div>