From: Gerd Hoffmann <1743191@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: [Bug 1743191] Re: Interacting with NetBSD serial console boot blocks no longer works
Date: Fri, 06 Mar 2020 13:24:54 -0000 [thread overview]
Message-ID: <158350109449.12121.2672684123892693893.malone@soybean.canonical.com> (raw)
In-Reply-To: 151591854188.4596.10964938100242408667.malonedeb@wampee.canonical.com
Ah, it's a special serial console boot iso. I was trying the normal
NetBSD-<version>-amd64.iso.
So, it seems seabios sercon and bootloader are fighting over the serial
line.
seabios enables sercon for no-graphical guests ("-machine graphics=off",
"-nographics" enables this too).
So one option is to turn off seabios sercon: "qemu -nographic -machine
graphics=on".
The other option is to turn on seabios sercon and use the normal
boot.iso (this needs the "-vga none" workaround from comment 3, or the
sercon patch).
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1743191
Title:
Interacting with NetBSD serial console boot blocks no longer works
Status in QEMU:
New
Bug description:
The NetBSD boot blocks display a menu allowing the user to make a
selection using the keyboard. For example, when booting a NetBSD
installation CD-ROM, the menu looks like this:
1. Install NetBSD
2. Install NetBSD (no ACPI)
3. Install NetBSD (no ACPI, no SMP)
4. Drop to boot prompt
Choose an option; RETURN for default; SPACE to stop countdown.
Option 1 will be chosen in 30 seconds.
When booting NetBSD in a recent qemu using an emulated serial console,
making this menu selection no longer works: when you type the selected
number, the keyboard input is ignored, and the 30-second countdown
continues. In older versions of qemu, it works.
To reproduce the problem, run:
wget http://ftp.netbsd.org/pub/NetBSD/NetBSD-7.1.1/amd64/installation/cdrom/boot-com.iso
qemu-system-x86_64 -nographic -cdrom boot-com.iso
During the 30-second countdown, press 4
Expected behavior: The countdown stops and you get a ">" prompt
Incorrect behavior: The countdown continues
There may also be some corruption of the terminal output; for example,
"Option 1 will be chosen in 30 seconds" may be displayed as "Option 1
will be chosen in p0 seconds".
Using bisection, I have determined that the problem appeared with qemu
commit 083fab0290f2c40d3d04f7f22eed9c8f2d5b6787, in which seabios was
updated to 1.11 prerelease, and the problem is still there as of
commit 7398166ddf7c6dbbc9cae6ac69bb2feda14b40ac. The host operating
system used for the tests was Debian 9 x86_64.
Credit for discovering this bug goes to Paul Goyette.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1743191/+subscriptions
next prev parent reply other threads:[~2020-03-06 13:33 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-14 8:29 [Qemu-devel] [Bug 1743191] [NEW] Interacting with NetBSD serial console boot blocks no longer works Andreas Gustafsson
2020-03-05 21:37 ` [Bug 1743191] " Ottavio Caruso
2020-03-06 8:48 ` Philippe Mathieu-Daudé
2020-03-06 9:04 ` Gerd Hoffmann
2020-03-06 9:21 ` Ottavio Caruso
2020-03-06 9:22 ` Andreas Gustafsson
2020-03-06 9:55 ` Stefan Hajnoczi
2020-03-06 13:24 ` Gerd Hoffmann [this message]
2020-03-18 20:12 ` Ottavio Caruso
2020-05-26 15:20 ` Ottavio Caruso
2021-04-22 5:31 ` Thomas Huth
2021-04-22 12:11 ` Paul Goyette
2021-04-22 12:46 ` Andreas Gustafsson
2021-04-22 14:33 ` Ottavio Caruso
2021-04-22 15:41 ` Paul Goyette
2021-04-22 17:23 ` Andreas Gustafsson
2021-04-22 22:40 ` Ottavio Caruso
2021-04-22 6:33 ` Andreas Gustafsson
2021-05-05 8:18 ` Thomas Huth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=158350109449.12121.2672684123892693893.malone@soybean.canonical.com \
--to=1743191@bugs.launchpad.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).