Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Sep 2010 18:55:50 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        freebsd-stable@FreeBSD.org, luke@hybrid-logic.co.uk
Cc:        team@hybrid-logic.co.uk, support@elastichosts.com
Subject:   Re: Problem running 8.1R on KVM with AMD hosts
Message-ID:  <201009301855.51841.jkim@FreeBSD.org>
In-Reply-To: <1285873071.21063.786.camel@pow>
References:  <1285587910.31122.633.camel@pow> <1285601367.31122.909.camel@pow> <1285873071.21063.786.camel@pow>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009301855.51841.jkim>