From owner-freebsd-stable@FreeBSD.ORG Thu Sep 30 22:55:59 2010 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id C81D7106564A; Thu, 30 Sep 2010 22:55:59 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-stable@FreeBSD.org, luke@hybrid-logic.co.uk Date: Thu, 30 Sep 2010 18:55:50 -0400 User-Agent: KMail/1.6.2 References: <1285587910.31122.633.camel@pow> <1285601367.31122.909.camel@pow> <1285873071.21063.786.camel@pow> In-Reply-To: <1285873071.21063.786.camel@pow> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201009301855.51841.jkim@FreeBSD.org> Cc: team@hybrid-logic.co.uk, support@elastichosts.com Subject: Re: Problem running 8.1R on KVM with AMD hosts X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Sep 2010 22:56:00 -0000 On Thursday 30 September 2010 02:57 pm, Luke Marsden wrote: > Hi FreeBSD-stable, > > > > 1. Please, build your kernel with debug symbols. > > > 2. Show kgdb output > > I could not convince the kernel to dump (it was looping forever but > not panicing), but I have managed to compiled a kernel with > debugging symbols and DDB which immediately drops into the debugger > when the problem occurs, see screenshot at: > > http://lukemarsden.net/kvm-panic.png It seems MCA capability is advertised by the CPUID translator but writing to the MSRs causes GPF. In other words, it seems like a CPU emulator bug. A simple workaround is 'set hw.mca.enabled=0' from the loader prompt. If it works, add hw.mca.enabled="0" in /boot/loader.conf to make it permanent. MCA does not make any sense in emulation any way. Jung-uk Kim