From owner-freebsd-stable@FreeBSD.ORG Fri Oct 1 08:24:07 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10140106566B; Fri, 1 Oct 2010 08:24:07 +0000 (UTC) (envelope-from chris@arachsys.com) Received: from alpha.arachsys.com (alpha.arachsys.com [91.203.57.7]) by mx1.freebsd.org (Postfix) with ESMTP id C96D88FC15; Fri, 1 Oct 2010 08:24:06 +0000 (UTC) Received: from [83.104.159.199] (helo=miranda.arachsys.com) by alpha.arachsys.com with esmtpa (Exim 4.52) id 1P1aXU-0000q6-7g; Fri, 01 Oct 2010 09:00:20 +0100 Date: Fri, 1 Oct 2010 09:00:18 +0100 From: Chris Webb To: Luke Marsden Message-ID: <20101001080017.GB2371@arachsys.com> Mail-Followup-To: support@elastichosts.com, Luke Marsden , Jung-uk Kim , freebsd-stable@FreeBSD.org, team@hybrid-logic.co.uk References: <1285587910.31122.633.camel@pow> <1285601367.31122.909.camel@pow> <1285873071.21063.786.camel@pow> <201009301855.51841.jkim@FreeBSD.org> <1285892522.21063.1437.camel@pow> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1285892522.21063.1437.camel@pow> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: support@elastichosts.com, team@hybrid-logic.co.uk, freebsd-stable@FreeBSD.org, Jung-uk Kim 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 Reply-To: support@elastichosts.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Oct 2010 08:24:07 -0000 Luke Marsden writes: > On Thu, 2010-09-30 at 18:55 -0400, Jung-uk Kim wrote: > > 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. Many thanks for tracking this one down for us! > Awesome, this allows us to boot 8.1R on Linux KVM with AMD hardware! I'll patch the system on lon-b not to advertise mca this morning Luke. It'll be interesting to try again once I've done this to check if it fixes normal booting without the extra hw.mca_enabled="0" flag. Best wishes, Chris.