From nobody@FreeBSD.org  Wed Mar  6 15:46:33 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 2D01772B
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  6 Mar 2013 15:46:33 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 1406325D
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  6 Mar 2013 15:46:33 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r26FkWDP085204
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 6 Mar 2013 15:46:32 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r26FkWhJ085203;
	Wed, 6 Mar 2013 15:46:32 GMT
	(envelope-from nobody)
Message-Id: <201303061546.r26FkWhJ085203@red.freebsd.org>
Date: Wed, 6 Mar 2013 15:46:32 GMT
From: Juergen Gotteswinter <jg@internetx.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: KVM Guest Crash at Boot - kernel trap 12 with interrupts disabled
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         176694
>Category:       kern
>Synopsis:       [kvm] KVM Guest Crash at Boot - kernel trap 12 with interrupts disabled [regression]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 06 15:50:00 UTC 2013
>Closed-Date:    
>Last-Modified:  Sun Mar 10 04:48:18 UTC 2013
>Originator:     Juergen Gotteswinter
>Release:        9.0 / 9.1
>Organization:
InterNetX GmbH
>Environment:
not possible, system never booted
>Description:
Trying to Install a 9.0 or 9.1 FreeBSD Guest on a Linux KVM Host ends
in the following error message directly after the Boot Menu:

kernel trap 12 with interrupts disabled

Enabling Verbose does not show more Information.

Tried to set hw.mca.enabled=0 and disabled acpi, without effect. Tested
FreeBSD 8.3, which works when setting hw.mca.enabled=0.

It seems like this Bug is initially triggered by the Qemu -cpu Parameter,
when "-cpu Opteron_G4" is set, this Bug happens.

>How-To-Repeat:
Try to Install a FreeBSD 9.x Guest on a Linux KVM Host with qemu Parameter
"-cpu Opteron_G4"

/usr/libexec/qemu-kvm -S -M rhel6.3.0 -cpu Opteron_G4 -enable-kvm -m 4096 -smp 8,sockets=2,cores=4,threads= ....
>Fix:


>Release-Note:
>Audit-Trail:

From: InterNetX - Juergen Gotteswinter <juergen.gotteswinter@internetx.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: misc/176694: KVM Guest Crash at Boot - kernel trap 12 with interrupts
 disabled
Date: Wed, 06 Mar 2013 17:09:00 +0100

 -HEAD shows the same Problem. So far only 8.x seems to be fine.
 -- 
 InterNetX GmbH
 Maximilianstr. 6
 93047 Regensburg
 Germany
 
 Tel.  +49 941 59559-480
 Fax  +49 941 59559-245
 
 www.internetx.com
 www.facebook.com/InterNetX
 www.twitter.com/InterNetX
 
 Geschaftsführer/CEO: Thomas Mörz
 Amtsgericht Regensburg, HRB 7142
>Unformatted:
