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 D88D4C10DCE for ; Fri, 6 Mar 2020 10:02: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 AF1C22072D for ; Fri, 6 Mar 2020 10:02:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AF1C22072D 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]:33806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jA9oM-0001oL-QV for qemu-devel@archiver.kernel.org; Fri, 06 Mar 2020 05:02:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56911) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jA9nA-0001Aa-Tf for qemu-devel@nongnu.org; Fri, 06 Mar 2020 05:01:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jA9n9-0003kC-Ki for qemu-devel@nongnu.org; Fri, 06 Mar 2020 05:01:16 -0500 Received: from indium.canonical.com ([91.189.90.7]:37366) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jA9n9-0003gP-E5 for qemu-devel@nongnu.org; Fri, 06 Mar 2020 05:01:15 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1jA9n7-0003F6-Ci for ; Fri, 06 Mar 2020 10:01:13 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 5D07A2E80CD for ; Fri, 6 Mar 2020 10:01:13 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 06 Mar 2020 09:55:02 -0000 From: Stefan Hajnoczi <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: Stefan Hajnoczi (stefanha) References: <151591854188.4596.10964938100242408667.malonedeb@wampee.canonical.com> Message-Id: <158348850257.11782.10571169015174866929.malone@wampee.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: 49779713deb6851993dee4fa3f4582afabb4d08a 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" @kraxel-redhat: This issue bisects to commit d6728f301d7e6e31ba0ee2fa51ed4a24feab8860 ("add serial console support"). seabios.git/master + "[PATCH] sercon: vbe modeset is int 10h function 4f02 not 4f00" still has the issue. I'm using the following command-line: qemu-system-x86_64 -M accel=3Dkvm -m 1G -cpu host -cdrom ~/Downloads /boot-com.iso -nographic -- = 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