From owner-freebsd-virtualization@FreeBSD.ORG Fri May 2 18:19:31 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 6FD7455D for ; Fri, 2 May 2014 18:19:31 +0000 (UTC) Received: from smtp.kn-bremen.de (gruenbaer.kn-bremen.de [148.251.8.79]) by mx1.freebsd.org (Postfix) with ESMTP id 2DB721A11 for ; Fri, 2 May 2014 18:19:30 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id A8DC43DE0DE3; Fri, 2 May 2014 20:19:29 +0200 (CEST) Received: from enceladus10.kn-bremen.de (noident@localhost [127.0.0.1]) by enceladus10.kn-bremen.de (8.14.5/8.14.5) with ESMTP id s42IIJFD095512; Fri, 2 May 2014 20:18:19 +0200 (CEST) (envelope-from nox@enceladus10.kn-bremen.de) Received: (from nox@localhost) by enceladus10.kn-bremen.de (8.14.5/8.14.5/Submit) id s42IIJnu095511; Fri, 2 May 2014 20:18:19 +0200 (CEST) (envelope-from nox) Date: Fri, 2 May 2014 20:18:19 +0200 (CEST) From: Juergen Lock Message-Id: <201405021818.s42IIJnu095511@enceladus10.kn-bremen.de> To: freebsd-virtualization@freebsd.org Subject: Re: Kernel Panic on FreeBSD guests with libvirt 1.2.2 and qemu 1.7.91 X-Newsgroups: gmane.os.freebsd.devel.virtualization In-Reply-To: <201405021800.s42I0TiE094542@enceladus10.kn-bremen.de> References: Organization: home Cc: Andre Goree X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.17 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: Fri, 02 May 2014 18:19:31 -0000 In article <201405021800.s42I0TiE094542@enceladus10.kn-bremen.de> you write: >In article you write: >>On 05/01/2014 11:00 am, Andre Goree wrote: >>> Hello, >>> >>> I'm running libvirt 1.2.2 and QEMU 1.7.91 on an Ubuntu 12.04LTS host. >>> Prior to a recent upgrade, I've been able to run FreeBSD guests (both >>> 10.0 and 9.2) perfectly fine without issue. Now, this the >>> aforementioned versions, I'm running into a kernel panic almost >>> immediately after booting, same message with both 10.0 & 9.2: "Fatal >>> trap 12: page fault while in kernel mode". >>> >>> To ensure that it had nothing to do with my configuration [of the >>> guest OS] I've tried installing the guest from guest using >>> virt-install, however I still run into the same kernel panic. It'll >>> be hard for me to post the output of the panic, so I'll try to show as >>> much info as possible via images[1]. >>> >>> Upon researching, I've come across a few threads (e.g., this one[2]) >>> that appear to be related, but none have helped. Any information that >>> you can provide to help me get to the root of this issue would be >>> greatly appreciated! >>> >>> [1]http://www.drenet.net/images/panic1.png >>> http://www.drenet.net/images/panic2.png >>> http://www.drenet.net/images/panic_noacpi1.png >>> http://www.drenet.net/images/panic_noacpi2.png >>> >>> [2]http://forums.freebsd.org/viewtopic.php?t=36761 >> >> >>After using my noggin a bit, I've determine the culprit to be atkbd. If >>I disable it via the bootloader with "set hint.atkbd.0.disabled=1", the >>vm will boot fine. HOWEVER, my problem then is that I cannot use the >>keyboard via VNC. I'm trying to figure out ways around this...any help >>would be much appreciated. I've already tried setting different flags >>for atkbd, but no matter which flag I set, I get the kernel panic -- >>ostensibly because atkbd is enabled (as it must be for a flag to be set >>for it). >> >I think you have hit this issue for which the workaround is a patch >to seabios: > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug > Hm for some reason that link got truncated, try this one: https://bugs.debian.org/737142 > http://git.qemu.org/?p=seabios.git;a=commit;h=8032b8a0fec550de5cb2f7d37aa031cebc2200c3 > > References: > > http://article.gmane.org/gmane.comp.emulators.qemu/254414/ > > https://lists.gnu.org/archive/html/qemu-stable/2013-03/msg00037.html > Juergen