From owner-freebsd-virtualization@FreeBSD.ORG Sun Sep 14 07:58:47 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 97D02726 for ; Sun, 14 Sep 2014 07:58:47 +0000 (UTC) Received: from mx1.cksoft.de (mx1.cksoft.de [IPv6:2001:67c:24f8:1::25:1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx1.cksoft.de", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 50F672FC for ; Sun, 14 Sep 2014 07:58:47 +0000 (UTC) Received: from m.cksoft.de (unknown [IPv6:2003:41:c010:8001::25:1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.cksoft.de (Postfix) with ESMTP id 526DC2EB9AE for ; Sun, 14 Sep 2014 09:58:42 +0200 (CEST) Received: from amavis.cksoft.de (unknown [IPv6:2003:41:c010:8001::25:a1]) by m.cksoft.de (Postfix) with ESMTP id 652F062EAE for ; Sun, 14 Sep 2014 09:52:58 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from m.cksoft.de ([192.168.64.93]) by amavis.cksoft.de (amavis.cksoft.de [192.168.64.94]) (amavisd-new, port 10041) with ESMTP id 0G4Pj9S_a0l5 for ; Sun, 14 Sep 2014 09:58:01 +0200 (CEST) Received: from pohjola.cksoft.de (unknown [IPv6:2003:41:c010:8001:504c:7c75:4d9a:a776]) by m.cksoft.de (Postfix) with ESMTP id 7F58162E62 for ; Sun, 14 Sep 2014 09:52:57 +0200 (CEST) Received: by pohjola.cksoft.de (Postfix, from userid 1000) id E54D4D7A58; Sun, 14 Sep 2014 09:58:40 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by pohjola.cksoft.de (Postfix) with ESMTP id E33AED7A2D for ; Sun, 14 Sep 2014 09:58:40 +0200 (CEST) Date: Sun, 14 Sep 2014 09:58:40 +0200 (CEST) From: Christian Kratzer X-X-Sender: ck@pohjola.cksoft.de Reply-To: Christian Kratzer To: freebsd-virtualization@freebsd.org Subject: KVM virsh console lockups with FreeBSD 10 Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-Spammer-Kill-Ratio: 75% MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2014 07:58:47 -0000 Hi, I have several FreeBSD 10-RELEASE amd64 VMs running on KVM under CentOS 6.5. I use the KVM serial console with "virsh console" for out of band access to those VMs and can reproduce lockups of the console when pasting stuff into them. I have following in the VM: ck@TEST:~ % uname -a FreeBSD webmail2.cksoft.de 10.0-RELEASE-p7 FreeBSD 10.0-RELEASE-p7 #0: Tue Jul 8 06:37:44 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 ck@TEST:~ % freebsd-version 10.0-RELEASE-p8 ck@TEST:~ % cat /boot/loader.conf comconsole_speed="115200" # Set the current serial console speed console="comconsole" # A comma separated list of console(s) ck@TEST:~ % grep ttyu0 /etc/ttys ttyu0 "/usr/libexec/getty std.115200" dialup on secure ck@TEST:~ % and following in the KVM configuration file: I can happily type in the console and dump large file to the console without any problems. But as soon I paste some text into the console it locks up and requires a reboot of the VM to come back to life. I cannot see anything strange in ps when I check the hung connection: ck@TEST:~ % ps xawel | grep u0 0 924 1 0 20 0 47660 2732 wait Is u0 0:00.02 login [pam] (login) 0 942 924 0 20 0 23496 3512 pause I u0 0:00.03 -csh (csh) 0 945 942 0 20 0 23372 3432 ttyin I+ u0 0:00.01 vi ck@TEST:~ % In above example the console hung after a couple of characters pasted into vi. Any ideas on how to debug this ? Greetings Christian -- Christian Kratzer CK Software GmbH Email: ck@cksoft.de Wildberger Weg 24/2 Phone: +49 7032 893 997 - 0 D-71126 Gaeufelden Fax: +49 7032 893 997 - 9 HRB 245288, Amtsgericht Stuttgart Mobile: +49 171 1947 843 Geschaeftsfuehrer: Christian Kratzer Web: http://www.cksoft.de/