qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug 1743191] Re: Interacting with NetBSD serial console boot blocks


From: Paul Goyette
Subject: Re: [Bug 1743191] Re: Interacting with NetBSD serial console boot blocks no longer works
Date: Thu, 22 Apr 2021 15:41:07 -0000

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]