[SeaBIOS] Commit d6728f301d7e ("add serial console support") causes double-printing

Omar Sandoval osandov at osandov.com
Wed Jan 10 23:10:46 CET 2018


Hello,

I found that QEMU v2.11.0 double prints to the console when running the
Arch Linux installation ISO. I bisected this to seabios commit
d6728f301d7e ("add serial console support").

The expected output is this:

    ┌────────────────────────────────────────────────────────────────────┐
    │                             Arch Linux                             │
    ├────────────────────────────────────────────────────────────────────┤
    │ Boot Arch Linux (x86_64)                                           │
    │ Boot existing OS                                                   │
    │ Run Memtest86+ (RAM test)                                          │
    │ Hardware Information (HDT)                                         │
    │ Reboot                                                             │
    │ Power Off                                                          │
    │                                                                    │
    └────────────────────────────────────────────────────────────────────┘

But instead I get the following mess:

    ┌┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
    │                             Arch Linux                             ││
    ├├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤┤
    │  BBoooott  AArrcchh  LLiinnuuxx  ((xx8866__6644))                                                                                      ││
    │  BBoooott  eexxiissttiinngg  OOSS                                                                                                      ││
    │  RRuunn  MMeemmtteesstt8866++  ((RRAAMM  tteesstt))                                                                                    ││
    │  HHaarrddwwaarree  IInnffoorrmmaattiioonn  ((HHDDTT))                                                                                  ││
    │  RReebboooott                                                                                                                          ││
    │  PPoowweerr  OOffff                                                                ││
    │                                                                                                                                        ││
    └└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘┘

To reproduce this, download the latest ISO from https://www.archlinux.org/download/, then run

qemu-system-x86_64 -nodefaults -nographic -serial mon:stdio -cpu kvm64 -enable-kvm -boot d -no-reboot -cdrom archlinux-2018.01.01-x86_64.iso

Thanks!
Omar



More information about the SeaBIOS mailing list