From nobody@FreeBSD.org  Thu Oct  6 00:13:15 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 72CA41065679
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  6 Oct 2011 00:13:15 +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 62CEB8FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  6 Oct 2011 00:13:15 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p960DFPi054521
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 6 Oct 2011 00:13:15 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p960DF49054517;
	Thu, 6 Oct 2011 00:13:15 GMT
	(envelope-from nobody)
Message-Id: <201110060013.p960DF49054517@red.freebsd.org>
Date: Thu, 6 Oct 2011 00:13:15 GMT
From: Alex <other@ahhyes.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Xen - sysinstall crashes with floating point exception
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         161318
>Category:       kern
>Synopsis:       [xen] sysinstall crashes with floating point exception
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-xen
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 06 00:20:03 UTC 2011
>Closed-Date:    
>Last-Modified:  Mon Oct 10 05:07:34 UTC 2011
>Originator:     Alex
>Release:        9.0-BETA3
>Organization:
>Environment:
FreeBSD srv.mydomain.net 9.0-BETA3 FreeBSD 9.0-BETA3 #2: Fri Sep 30 13:42:30 EST 2011     root@srv.mydomain.net:/usr/obj/usr/src/sys/custom  amd64

Environment = XenHVM.
>Description:
Any attempt to create a new partition from within sysinstall causes the program to crash with a floating point exception.

This issue is also present in FreeBSD 8.X, even with the stock XENHVM kernel.

Seems I am also not alone with this problem:

http://deadmemes.net/2011/03/05/freebsd-8-2-hvmxen4-update/

I suspect also (based on the article in the above URL) that it is related to geometry information being bad or presented badly to fdisk.

I have free space on my primary disk which I wish to use and cannot because of this problem.

>How-To-Repeat:
Run FreeBSD 8.X or 9.0-BETA* in a Xen HVM environment and then Compile the XENHVM kernel. Run sysinstall and attempt to create a new partition, sysinstall crashes.
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-xen 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Oct 10 05:07:11 UTC 2011 
Responsible-Changed-Why:  
Reclassify. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161318 
>Unformatted:
