From pete@twisted.org.uk  Mon Aug 31 20:12:02 2009
Return-Path: <pete@twisted.org.uk>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 5B3D21065676
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 31 Aug 2009 20:12:02 +0000 (UTC)
	(envelope-from pete@twisted.org.uk)
Received: from relay.ptn-ipout02.plus.net (relay.ptn-ipout02.plus.net [212.159.7.36])
	by mx1.freebsd.org (Postfix) with ESMTP id EFE7F8FC13
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 31 Aug 2009 20:12:01 +0000 (UTC)
Received: from ptb-relay02.plus.net ([212.159.14.146])
  by relay.ptn-ipout02.plus.net with ESMTP; 31 Aug 2009 20:42:57 +0100
Received: from [212.159.117.4] (helo=frenic.twisted.org.uk)
	 by ptb-relay02.plus.net with esmtp (Exim) id 1MiCmG-0004Ho-Ni
	for FreeBSD-gnats-submit@freebsd.org; Mon, 31 Aug 2009 20:42:56 +0100
Received: from pete by frenic.twisted.org.uk with local (Exim 4.69 (FreeBSD))
	(envelope-from <pete@twisted.org.uk>)
	id 1MiCmE-0000L7-D7
	for FreeBSD-gnats-submit@freebsd.org; Mon, 31 Aug 2009 20:42:54 +0100
Message-Id: <E1MiCmE-0000L7-D7@frenic.twisted.org.uk>
Date: Mon, 31 Aug 2009 20:42:54 +0100
From: Pete French <pete@twisted.org.uk>
Reply-To: Pete French <pete@twisted.org.uk>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Installer (and sade) get wrong number of sectors per trac
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         138423
>Category:       bin
>Synopsis:       sysinstall(8): Installer (and sade) get wrong number of sectors per trac
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-sysinstall
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 31 20:20:00 UTC 2009
>Closed-Date:    
>Last-Modified:  Wed Jul 14 05:10:13 UTC 2010
>Originator:     Pete French
>Release:        FreeBSD 8.0-BETA3 amd64
>Organization:
>Environment:
System: FreeBSD frenic.twisted.org.uk 8.0-BETA3 FreeBSD 8.0-BETA3 #1: Mon Aug 31 19:02:03 BST 2009 root@frenic.twisted.org.uk:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:

	When installing 8.0 or running sade after install, the tools appear
	to think that the disc has 63 sectors per track, and this is written
	into the disc label. If the disc actually has a different number of
	sectors then on boot then warnings are generated like this:

	GEOM: da0: partition 1 does not start on a track boundary.
	GEOM: da0: partition 1 does not end on a track boundary.
	GEOM: da0s1: geometry does not match label (255h,63s != 255h,32s).

	In my specific case I am installing onto an HP RAID controller,
	which provides logical volumes with 32 sectors per track. This
	is correctly detected on boot, and reported by diskinfo. The
	dmesg looks like this:

	ciss0: <HP Smart Array P400> port 0xb800-0xb8ff mem 0xf7d00000-0xf7dfffff,0xf7cff000-0xf7cfffff irq 18 at device 0.0 on pci1
	ciss0: PERFORMANT Transport
	ciss0: Using MSIX interrupt
	ciss0: [ITHREAD]

>How-To-Repeat:

	Perform a vanilla install onto a system with a ciss controller
	installed. This shuould show up the problem. Other RAID controller
	may also exhibit this.
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-sysinstall 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Tue Jul 13 13:36:36 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer(s) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=138423 

From: Randi Harper <randi@freebsd.org>
To: bug-followup@FreeBSD.org,
 pete@twisted.org.uk
Cc:  
Subject: Re: bin/138423: sysinstall(8): Installer (and sade) get wrong number of sectors per trac
Date: Tue, 13 Jul 2010 22:06:45 -0700

 This is a libdisk problem.
>Unformatted:
