From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 54B4BC10F25 for ; Fri, 6 Mar 2020 13:33:31 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2B371206D5 for ; Fri, 6 Mar 2020 13:33:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2B371206D5 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bugs.launchpad.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:36766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAD6Y-0000C2-AB for qemu-devel@archiver.kernel.org; Fri, 06 Mar 2020 08:33:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58494) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAD3q-0006OX-VL for qemu-devel@nongnu.org; Fri, 06 Mar 2020 08:30:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jAD3p-0003QW-Gn for qemu-devel@nongnu.org; Fri, 06 Mar 2020 08:30:42 -0500 Received: from indium.canonical.com ([91.189.90.7]:51294) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jAD3p-0003Hr-Ap for qemu-devel@nongnu.org; Fri, 06 Mar 2020 08:30:41 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1jAD3o-0006q7-2n for ; Fri, 06 Mar 2020 13:30:40 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 11F222E80C0 for ; Fri, 6 Mar 2020 13:30:40 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 06 Mar 2020 13:24:54 -0000 From: Gerd Hoffmann <1743191@bugs.launchpad.net> To: qemu-devel@nongnu.org X-Launchpad-Notification-Type: bug X-Launchpad-Bug: product=qemu; status=New; importance=Undecided; assignee=None; X-Launchpad-Bug-Tags: regression X-Launchpad-Bug-Information-Type: Public X-Launchpad-Bug-Private: no X-Launchpad-Bug-Security-Vulnerability: no X-Launchpad-Bug-Commenters: gson kraxel-redhat ottaviocr philmd stefanha X-Launchpad-Bug-Reporter: Andreas Gustafsson (gson) X-Launchpad-Bug-Modifier: Gerd Hoffmann (kraxel-redhat) References: <151591854188.4596.10964938100242408667.malonedeb@wampee.canonical.com> Message-Id: <158350109449.12121.2672684123892693893.malone@soybean.canonical.com> Subject: [Bug 1743191] Re: Interacting with NetBSD serial console boot blocks no longer works X-Launchpad-Message-Rationale: Subscriber (QEMU) @qemu-devel-ml X-Launchpad-Message-For: qemu-devel-ml Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="e0878392dc799b267dea80578fa65500a5d74155"; Instance="production-secrets-lazr.conf" X-Launchpad-Hash: 8623b79506b53eb1c4c0887eb69a91da300fd418 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 91.189.90.7 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bug 1743191 <1743191@bugs.launchpad.net> Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Ah, it's a special serial console boot iso. I was trying the normal NetBSD--amd64.iso. So, it seems seabios sercon and bootloader are fighting over the serial line. seabios enables sercon for no-graphical guests ("-machine graphics=3Doff", "-nographics" enables this too). So one option is to turn off seabios sercon: "qemu -nographic -machine graphics=3Don". 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