NetBSD Problem Report #57137

From www@netbsd.org  Sat Dec 24 15:06:42 2022
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 185331A9239
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 24 Dec 2022 15:06:42 +0000 (UTC)
Message-Id: <20221224150640.8EE3A1A923A@mollari.NetBSD.org>
Date: Sat, 24 Dec 2022 15:06:40 +0000 (UTC)
From: nia@pkgsrc.org
Reply-To: nia@pkgsrc.org
To: gnats-bugs@NetBSD.org
Subject: keyboard unusable under load in QEMU
X-Send-Pr-Version: www-1.0

>Number:         57137
>Category:       port-i386
>Synopsis:       keyboard unusable under load in QEMU
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 24 15:10:00 +0000 2022
>Last-Modified:  Sat Dec 24 15:30:02 +0000 2022
>Originator:     nia
>Release:        NetBSD 9.3
>Organization:
The NetBSD Foundation
>Environment:
>Description:

>How-To-Repeat:
qemu-system-i386 \
        -accel nvmm \
        -smp cpus=1 -m 512m \
        -display sdl,gl=on \
        -vga vmware \
        -netdev user,id=vioif0 \
        -device virtio-net-pci,netdev=vioif0 \
        -cdrom NetBSD-9.3_STABLE-i386.iso \
        -hda netbsd9-i386.qcow2

1. Open tmux
2. ftp https://cdn.netbsd.org/pub/pkgsrc/current/pkgsrc.tar.gz
3. tar xf pkgsrc.tar.gz
4. Open another window in tmux
5. Attempt to type "man" and it comes out as mmmmmmmmmmmmmmmmmmmmmmmaaaaaaaaaaaaaaannnnnnnnnnnnnnnnn
>Fix:

>Audit-Trail:
From: mlelstv@serpens.de (Michael van Elst)
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-i386/57137: keyboard unusable under load in QEMU
Date: Sat, 24 Dec 2022 15:28:40 -0000 (UTC)

 nia@pkgsrc.org writes:

 >1. Open tmux
 >2. ftp https://cdn.netbsd.org/pub/pkgsrc/current/pkgsrc.tar.gz
 >3. tar xf pkgsrc.tar.gz
 >4. Open another window in tmux
 >5. Attempt to type "man" and it comes out as mmmmmmmmmmmmmmmmmmmmmmmaaaaaaaaaaaaaaannnnnnnnnnnnnnnnn

 This is single (in the guest) or double (guest + host) keyboard autorepeat
 together with low timer precision (qemu can only emulate hz/2 events per
 second if the host isn't tickless).

 Turning off keyboard repeat in the guest console with

 wsconsctl -k repeat.del1=0

 or if you run xterm on the guest with

 xset r off

 works around this problem.

 Another method is to use a serial console.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2022 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.