All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1743191] [NEW] Interacting with NetBSD serial console boot blocks no longer works
@ 2018-01-14  8:29 Andreas Gustafsson
  2020-03-05 21:37 ` [Bug 1743191] " Ottavio Caruso
                   ` (10 more replies)
  0 siblings, 11 replies; 19+ messages in thread
From: Andreas Gustafsson @ 2018-01-14  8:29 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

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.

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: regression

-- 
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

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 1743191] Re: Interacting with NetBSD serial console boot blocks no longer works
  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 ` Ottavio Caruso
  2020-03-06  8:48 ` Philippe Mathieu-Daudé
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 19+ messages in thread
From: Ottavio Caruso @ 2020-03-05 21:37 UTC (permalink / raw)
  To: qemu-devel

Reverting to Seabios 1.10 (version rel-1.10.3.0-gb76661dd) fixes this
problem.

Steps:

$ cd && mkdir seabios-test && cd seabios-test
$ git clone -b 1.10-stable https://github.com/coreboot/seabios.git
$ cd seabios
$ make
$ qemu-system-x86_64 \
-drive if=virtio,file=/home/oc/VM/img/netbsd.image,index=0,media=disk \
-M q35,accel=kvm -m 350M -cpu host -smp $(nproc) \
-nic user,model=virtio-net-pci,ipv6=off \
-nographic -bios /home/oc/seabios-test/seabios/out/bios.bin

Result: 
I can interact with NetBSD boot menu and select one of the available options.

Host:
Linux e130 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3+deb9u1 (2019-09-20) x86_64 GNU/Linux

QEMU emulator version 4.2.0


** Also affects: seabios
   Importance: Undecided
       Status: New

** No longer affects: seabios

-- 
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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 1743191] Re: Interacting with NetBSD serial console boot blocks no longer works
  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
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 19+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-03-06  8:48 UTC (permalink / raw)
  To: qemu-devel

Possibly related thread:
"Do we need a cpu with TSC support to run SeaBIOS?"
https://www.mail-archive.com/seabios@seabios.org/msg11726.html

-- 
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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 1743191] Re: Interacting with NetBSD serial console boot blocks no longer works
  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
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 19+ messages in thread
From: Gerd Hoffmann @ 2020-03-06  9:04 UTC (permalink / raw)
  To: qemu-devel

Workaround: add "-vga none" to the qemu command line.

-- 
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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 1743191] Re: Interacting with NetBSD serial console boot blocks no longer works
  2018-01-14  8:29 [Qemu-devel] [Bug 1743191] [NEW] Interacting with NetBSD serial console boot blocks no longer works Andreas Gustafsson
                   ` (2 preceding siblings ...)
  2020-03-06  9:04 ` Gerd Hoffmann
@ 2020-03-06  9:21 ` Ottavio Caruso
  2020-03-06  9:22 ` Andreas Gustafsson
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 19+ messages in thread
From: Ottavio Caruso @ 2020-03-06  9:21 UTC (permalink / raw)
  To: qemu-devel

@kraxel-redhat,

I guess "-vga none" is implicit when using -nographic?

However, for the sake of trying, I've added "-vga none" and it won't
solve it for me (when using default bios).

-- 
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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 1743191] Re: Interacting with NetBSD serial console boot blocks no longer works
  2018-01-14  8:29 [Qemu-devel] [Bug 1743191] [NEW] Interacting with NetBSD serial console boot blocks no longer works Andreas Gustafsson
                   ` (3 preceding siblings ...)
  2020-03-06  9:21 ` Ottavio Caruso
@ 2020-03-06  9:22 ` Andreas Gustafsson
  2020-03-06  9:55 ` Stefan Hajnoczi
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 19+ messages in thread
From: Andreas Gustafsson @ 2020-03-06  9:22 UTC (permalink / raw)
  To: qemu-devel

Gerd Hommann wrote:
> Workaround: add "-vga none" to the qemu command line.

This supposed workaround does not work for me.

-- 
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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 1743191] Re: Interacting with NetBSD serial console boot blocks no longer works
  2018-01-14  8:29 [Qemu-devel] [Bug 1743191] [NEW] Interacting with NetBSD serial console boot blocks no longer works Andreas Gustafsson
                   ` (4 preceding siblings ...)
  2020-03-06  9:22 ` Andreas Gustafsson
@ 2020-03-06  9:55 ` Stefan Hajnoczi
  2020-03-06 13:24 ` Gerd Hoffmann
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 19+ messages in thread
From: Stefan Hajnoczi @ 2020-03-06  9:55 UTC (permalink / raw)
  To: 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=kvm -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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 1743191] Re: Interacting with NetBSD serial console boot blocks no longer works
  2018-01-14  8:29 [Qemu-devel] [Bug 1743191] [NEW] Interacting with NetBSD serial console boot blocks no longer works Andreas Gustafsson
                   ` (5 preceding siblings ...)
  2020-03-06  9:55 ` Stefan Hajnoczi
@ 2020-03-06 13:24 ` Gerd Hoffmann
  2020-03-18 20:12   ` Ottavio Caruso
  2020-05-26 15:20 ` Ottavio Caruso
                   ` (3 subsequent siblings)
  10 siblings, 1 reply; 19+ messages in thread
From: Gerd Hoffmann @ 2020-03-06 13:24 UTC (permalink / raw)
  To: qemu-devel

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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [Bug 1743191] Re: Interacting with NetBSD serial console boot blocks no longer works
  2020-03-06 13:24 ` Gerd Hoffmann
@ 2020-03-18 20:12   ` Ottavio Caruso
  0 siblings, 0 replies; 19+ messages in thread
From: Ottavio Caruso @ 2020-03-18 20:12 UTC (permalink / raw)
  To: qemu-devel

On Fri, 6 Mar 2020 at 13:24, Gerd Hoffmann <1743191@bugs.launchpad.net> wrote:
> So one option is to turn off seabios sercon: "qemu -nographic -machine
> graphics=on".

This works for me, but only if I turn off "q35", therefore changing
from a sata disk to a plain ide:

qemu-system-x86_64 \
-drive if=virtio,file=/home/oc/VM/img/netbsd.image,index=0,media=disk \
-drive if=virtio,file=/home/oc/VM/img/newdisk2.img,index=1,media=disk \
-m 300M -cpu host -smp $(nproc) \
-nic user,hostfwd=tcp::6665-:22,model=virtio-net-pci,ipv6=off \
-nographic -machine accel=kvm,graphics=on

-- 
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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 1743191] Re: Interacting with NetBSD serial console boot blocks no longer works
  2018-01-14  8:29 [Qemu-devel] [Bug 1743191] [NEW] Interacting with NetBSD serial console boot blocks no longer works Andreas Gustafsson
                   ` (6 preceding siblings ...)
  2020-03-06 13:24 ` Gerd Hoffmann
@ 2020-05-26 15:20 ` Ottavio Caruso
  2021-04-22  5:31 ` Thomas Huth
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 19+ messages in thread
From: Ottavio Caruso @ 2020-05-26 15:20 UTC (permalink / raw)
  To: qemu-devel

Just to clarify my last comment, and in absence of updates, if I launch
the VM as:

qemu-system-x86_64 \
-drive if=virtio,file=/home/oc/VM/img/openbsd.image,index=0,media=disk \
-drive if=virtio,file=/home/oc/VM/img/openbsd.image.old,index=1,media=disk \
-M q35,accel=kvm,graphics=on -m 250M -cpu host -smp $(nproc) \
-nic user,hostfwd=tcp::6666-:22,model=virtio-net-pci -nographic

(note the -M q35,accel=kvm,graphics=on), the problem still persists.

I'm still on version 4.2 and I haven't updated to 5.0 yet.

-- 
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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 1743191] Re: Interacting with NetBSD serial console boot blocks no longer works
  2018-01-14  8:29 [Qemu-devel] [Bug 1743191] [NEW] Interacting with NetBSD serial console boot blocks no longer works Andreas Gustafsson
                   ` (7 preceding siblings ...)
  2020-05-26 15:20 ` Ottavio Caruso
@ 2021-04-22  5:31 ` Thomas Huth
  2021-04-22 12:11   ` Paul Goyette
  2021-04-22  6:33 ` Andreas Gustafsson
  2021-05-05  8:18 ` Thomas Huth
  10 siblings, 1 reply; 19+ messages in thread
From: Thomas Huth @ 2021-04-22  5:31 UTC (permalink / raw)
  To: qemu-devel

The QEMU project is currently considering to move its bug tracking to
another system. For this we need to know which bugs are still valid
and which could be closed already. Thus we are setting older bugs to
"Incomplete" now.

If you still think this bug report here is valid, then please switch
the state back to "New" within the next 60 days, otherwise this report
will be marked as "Expired". Or please mark it as "Fix Released" if
the problem has been solved with a newer version of QEMU already.

Thank you and sorry for the inconvenience.

** Changed in: qemu
       Status: New => Incomplete

-- 
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:
  Incomplete

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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 1743191] Re: Interacting with NetBSD serial console boot blocks no longer works
  2018-01-14  8:29 [Qemu-devel] [Bug 1743191] [NEW] Interacting with NetBSD serial console boot blocks no longer works Andreas Gustafsson
                   ` (8 preceding siblings ...)
  2021-04-22  5:31 ` Thomas Huth
@ 2021-04-22  6:33 ` Andreas Gustafsson
  2021-05-05  8:18 ` Thomas Huth
  10 siblings, 0 replies; 19+ messages in thread
From: Andreas Gustafsson @ 2021-04-22  6:33 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: Incomplete => New

-- 
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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [Bug 1743191] Re: Interacting with NetBSD serial console boot blocks no longer works
  2021-04-22  5:31 ` Thomas Huth
@ 2021-04-22 12:11   ` Paul Goyette
  2021-04-22 12:46     ` Andreas Gustafsson
  0 siblings, 1 reply; 19+ messages in thread
From: Paul Goyette @ 2021-04-22 12:11 UTC (permalink / raw)
  To: qemu-devel

This bug was fixed long ago, so long ago that I have no idea when!

Please close wiwth an appropriate status.


On Thu, 22 Apr 2021, Thomas Huth wrote:

> The QEMU project is currently considering to move its bug tracking to
> another system. For this we need to know which bugs are still valid
> and which could be closed already. Thus we are setting older bugs to
> "Incomplete" now.
>
> If you still think this bug report here is valid, then please switch
> the state back to "New" within the next 60 days, otherwise this report
> will be marked as "Expired". Or please mark it as "Fix Released" if
> the problem has been solved with a newer version of QEMU already.
>
> Thank you and sorry for the inconvenience.
>
> ** Changed in: qemu
>       Status: New => Incomplete
>
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1743191
>
> Title:
>  Interacting with NetBSD serial console boot blocks no longer works
>
> Status in QEMU:
>  Incomplete
>
> 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
>
> !DSPAM:60811a8265601949211437!
>
>

+--------------------+--------------------------+-----------------------+
| Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:     |
| (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul@whooppee.com     |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette@netbsd.org   |
+--------------------+--------------------------+-----------------------+

-- 
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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [Bug 1743191] Re: Interacting with NetBSD serial console boot blocks no longer works
  2021-04-22 12:11   ` Paul Goyette
@ 2021-04-22 12:46     ` Andreas Gustafsson
  2021-04-22 14:33       ` Ottavio Caruso
  0 siblings, 1 reply; 19+ messages in thread
From: Andreas Gustafsson @ 2021-04-22 12:46 UTC (permalink / raw)
  To: qemu-devel

Paul Goyette wrote:
> This bug was fixed long ago, so long ago that I have no idea when!

No, it is not fixed, and I did actually check before I switched the
bug state back to "new".

Perhaps you are specifying "-machine graphics=on" as suggested in one
of the comments?  If so, that's a work-around, and an ugly and
nonintuitive one at that, not a fix.
-- 
Andreas Gustafsson, gson@gson.org

-- 
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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [Bug 1743191] Re: Interacting with NetBSD serial console boot blocks no longer works
  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
  0 siblings, 2 replies; 19+ messages in thread
From: Ottavio Caruso @ 2021-04-22 14:33 UTC (permalink / raw)
  To: qemu-devel

On Thu, 22 Apr 2021 at 13:46, Andreas Gustafsson
<1743191@bugs.launchpad.net> wrote:
>
> Paul Goyette wrote:
> > This bug was fixed long ago, so long ago that I have no idea when!
>
> No, it is not fixed, and I did actually check before I switched the
> bug state back to "new".
>
> Perhaps you are specifying "-machine graphics=on" as suggested in one
> of the comments?  If so, that's a work-around, and an ugly and
> nonintuitive one at that, not a fix.
> --
> Andreas Gustafsson, gson@gson.org

I am currently using:

$ qemu-system-x86_64 --version
QEMU emulator version 5.2.0

And I have no problem selecting from menu in serial console, so I
assume this is fixed for me. This is my command line:

$ cat opt/bin/boot-netbsd-virtio
#!/bin/sh
qemu-system-x86_64 \
-drive if=virtio,file=/home/oc/VM/img/netbsd.image,index=0,media=disk \
-drive if=virtio,file=/home/oc/VM/img/netbsd.image.old,index=1,media=disk \
-M q35,accel=kvm -m 250M -cpu host -smp $(nproc) \
-nic user,hostfwd=tcp:127.0.0.1:5555-:22,model=virtio-net-pci,ipv6=off  \
-daemonize -display none  -vga none \
-serial mon:telnet:127.0.0.1:6665,server,nowait \
-pidfile /home/oc/VM/pid/netbsd-pid -nodefaults

telnet 127.0.0.1 6665


-- 
Ottavio Caruso

-- 
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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [Bug 1743191] Re: Interacting with NetBSD serial console boot blocks no longer works
  2021-04-22 14:33       ` Ottavio Caruso
@ 2021-04-22 15:41         ` Paul Goyette
  2021-04-22 17:23         ` Andreas Gustafsson
  1 sibling, 0 replies; 19+ messages in thread
From: Paul Goyette @ 2021-04-22 15:41 UTC (permalink / raw)
  To: qemu-devel

On Thu, 22 Apr 2021, Ottavio Caruso wrote:

> On Thu, 22 Apr 2021 at 13:46, Andreas Gustafsson
> <1743191@bugs.launchpad.net> wrote:
>>
>> Paul Goyette wrote:
>>> This bug was fixed long ago, so long ago that I have no idea when!
>>
>> No, it is not fixed, and I did actually check before I switched the
>> bug state back to "new".
>>
>> Perhaps you are specifying "-machine graphics=on" as suggested in one
>> of the comments?  If so, that's a work-around, and an ugly and
>> nonintuitive one at that, not a fix.

Andreas is correct - I am using the suggested work-around, and the
original bug is NOT fixed.

I believe Andreas has moved the bug back to New status to reflect
that it is not fixed.  (Whether or not it is fixed, _I_ should not
have asked to have _his_ bug closed.  It's been so long, I almost
believed it was my bug. :)  My apologies to Andreas and everyone
else.)


>> --
>> Andreas Gustafsson, gson@gson.org
>
> I am currently using:
>
> $ qemu-system-x86_64 --version
> QEMU emulator version 5.2.0
>
> And I have no problem selecting from menu in serial console, so I
> assume this is fixed for me. This is my command line:
>
> $ cat opt/bin/boot-netbsd-virtio
> #!/bin/sh
> qemu-system-x86_64 \
> -drive if=virtio,file=/home/oc/VM/img/netbsd.image,index=0,media=disk \
> -drive if=virtio,file=/home/oc/VM/img/netbsd.image.old,index=1,media=disk \
> -M q35,accel=kvm -m 250M -cpu host -smp $(nproc) \
> -nic user,hostfwd=tcp:127.0.0.1:5555-:22,model=virtio-net-pci,ipv6=off  \
> -daemonize -display none  -vga none \
> -serial mon:telnet:127.0.0.1:6665,server,nowait \
> -pidfile /home/oc/VM/pid/netbsd-pid -nodefaults
>
> telnet 127.0.0.1 6665
>
>
> -- 
> Ottavio Caruso
>
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> 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
>
> !DSPAM:608193ed146681924717040!
>
>

+--------------------+--------------------------+-----------------------+
| Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:     |
| (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul@whooppee.com     |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette@netbsd.org   |
+--------------------+--------------------------+-----------------------+

-- 
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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [Bug 1743191] Re: Interacting with NetBSD serial console boot blocks no longer works
  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
  1 sibling, 1 reply; 19+ messages in thread
From: Andreas Gustafsson @ 2021-04-22 17:23 UTC (permalink / raw)
  To: qemu-devel

Ottavio Caruso wrote:
> I am currently using:
> 
> $ qemu-system-x86_64 --version
> QEMU emulator version 5.2.0
> 
> And I have no problem selecting from menu in serial console, so I
> assume this is fixed for me. This is my command line:
> 
> $ cat opt/bin/boot-netbsd-virtio
> #!/bin/sh
> qemu-system-x86_64 \
> -drive if=virtio,file=/home/oc/VM/img/netbsd.image,index=0,media=disk \
> -drive if=virtio,file=/home/oc/VM/img/netbsd.image.old,index=1,media=disk \
> -M q35,accel=kvm -m 250M -cpu host -smp $(nproc) \
> -nic user,hostfwd=tcp:127.0.0.1:5555-:22,model=virtio-net-pci,ipv6=off  \
> -daemonize -display none  -vga none \
> -serial mon:telnet:127.0.0.1:6665,server,nowait \
> -pidfile /home/oc/VM/pid/netbsd-pid -nodefaults
> 
> telnet 127.0.0.1 6665

Have you tried the test case in the original bug report?
-- 
Andreas Gustafsson, gson@gson.org

-- 
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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [Bug 1743191] Re: Interacting with NetBSD serial console boot blocks no longer works
  2021-04-22 17:23         ` Andreas Gustafsson
@ 2021-04-22 22:40           ` Ottavio Caruso
  0 siblings, 0 replies; 19+ messages in thread
From: Ottavio Caruso @ 2021-04-22 22:40 UTC (permalink / raw)
  To: qemu-devel

On Thu, 22 Apr 2021 at 18:23, Andreas Gustafsson
<1743191@bugs.launchpad.net> wrote:
>
> Ottavio Caruso wrote:
> > I am currently using:
> >
> > $ qemu-system-x86_64 --version
> > QEMU emulator version 5.2.0
> >
> > And I have no problem selecting from menu in serial console, so I
> > assume this is fixed for me. This is my command line:
> >
> > $ cat opt/bin/boot-netbsd-virtio
> > #!/bin/sh
> > qemu-system-x86_64 \
> > -drive if=virtio,file=/home/oc/VM/img/netbsd.image,index=0,media=disk \
> > -drive if=virtio,file=/home/oc/VM/img/netbsd.image.old,index=1,media=disk \
> > -M q35,accel=kvm -m 250M -cpu host -smp $(nproc) \
> > -nic user,hostfwd=tcp:127.0.0.1:5555-:22,model=virtio-net-pci,ipv6=off  \
> > -daemonize -display none  -vga none \
> > -serial mon:telnet:127.0.0.1:6665,server,nowait \
> > -pidfile /home/oc/VM/pid/netbsd-pid -nodefaults
> >
> > telnet 127.0.0.1 6665
>
> Have you tried the test case in the original bug report?
> --
> Andreas Gustafsson, gson@gson.org

You're right. Using the boot-com install image, the problem persists.


-- 
Ottavio Caruso

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

-- 
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


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug 1743191] Re: Interacting with NetBSD serial console boot blocks no longer works
  2018-01-14  8:29 [Qemu-devel] [Bug 1743191] [NEW] Interacting with NetBSD serial console boot blocks no longer works Andreas Gustafsson
                   ` (9 preceding siblings ...)
  2021-04-22  6:33 ` Andreas Gustafsson
@ 2021-05-05  8:18 ` Thomas Huth
  10 siblings, 0 replies; 19+ messages in thread
From: Thomas Huth @ 2021-05-05  8:18 UTC (permalink / raw)
  To: qemu-devel

This is an automated cleanup. This bug report has been moved to QEMU's
new bug tracker on gitlab.com and thus gets marked as 'expired' now.
Please continue with the discussion here:

 https://gitlab.com/qemu-project/qemu/-/issues/147


** Changed in: qemu
       Status: New => Expired

** Bug watch added: gitlab.com/qemu-project/qemu/-/issues #147
   https://gitlab.com/qemu-project/qemu/-/issues/147

-- 
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:
  Expired

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


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2021-05-05  8:38 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.