From nobody@FreeBSD.org  Sat Nov 12 00:52:35 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E675A16A422
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 12 Nov 2005 00:52:35 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B3E4043D45
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 12 Nov 2005 00:52:35 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id jAC0qZfC038632
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 12 Nov 2005 00:52:35 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id jAC0qZl4038631;
	Sat, 12 Nov 2005 00:52:35 GMT
	(envelope-from nobody)
Message-Id: <200511120052.jAC0qZl4038631@www.freebsd.org>
Date: Sat, 12 Nov 2005 00:52:35 GMT
From: David Kirchner <dpk@dpk.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [2TB] Error 36 while sysinstall tries to create / partition
X-Send-Pr-Version: www-2.3

>Number:         88872
>Category:       bin
>Synopsis:       [2TB] Error 36 while sysinstall tries to create / partition
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    remko
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 12 01:00:29 GMT 2005
>Closed-Date:    Sun Mar 11 16:44:53 GMT 2007
>Last-Modified:  Mon May  3 22:20:03 UTC 2010
>Originator:     David Kirchner
>Release:        6.0-RELEASE
>Organization:
>Environment:
6.0-RELEASE install from CD on a server with a 4TB RAID5.
>Description:
This server has a 3ware 9500S-12 card with 12 400GB SATA drives in a
RAID5 configuration of approximately 4TB. sysinstall's slice editor and
partition editor both properly recognize the size as ~800 billion blocks,
however the slice editor complains about the geometry (constantly).

The label configuration requested during sysinstall was:

/ 36GB
swap 2048MB

The remainder of the slice was unused.

When sysinstall reaches the stage where it is to do the newfs, it fails
with error 36. The console on Alt-F2 states:

newfs: wtfs: 512 bytes at sector 67108863: Input/output error.

Might be related to kern/79251 but as I'm not using GEOM (unless
the installer is using GEOM) I'm filing a different bug.
>How-To-Repeat:
Try to install FreeBSD 6.0 from CD.
At the slice editor screen choose "dangerously dedicated" (keys: F N S)
At the disklabel editor create 1 36GB / partition and 1 2048MB swap partition
Choose your install media (we use a local FTP server)
After "Last Chance" screen you'll get the error.
>Fix:
No fix presents itself. It appears to be impossible to install on this system.

It's been suggested that gpt can be used to partition the disk, but gpt gives "Unknown error: 0" when you try to run "gpt create". That'll go in a separate PR.
>Release-Note:
>Audit-Trail:

From: Astrodog <astrodog@gmail.com>
To: bug-followup@FreeBSD.org, dpk@dpk.net
Cc:  
Subject: Re: bin/88872: [2TB] Error 36 while sysinstall tries to create / partition
Date: Thu, 1 Mar 2007 19:56:10 -0600

 ------=_Part_68087_23354653.1172800570806
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 I cannot reproduce this error using a 5TB RAID5 array on a 3ware 9550
 controller.
 
 --- Harrison
 
 ------=_Part_68087_23354653.1172800570806
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 <div>I cannot reproduce this error using a 5TB RAID5 array on a 3ware 9550 controller.</div>
 <div>&nbsp;</div>
 <div>--- Harrison</div>
 
 ------=_Part_68087_23354653.1172800570806--
State-Changed-From-To: open->feedback 
State-Changed-By: remko 
State-Changed-When: Sun Mar 11 09:18:42 UTC 2007 
State-Changed-Why:  
Hello, 

Harrison told me that this might be caused by a filesystem 
that was just above 2TB, older controllers and firmwares 
did not support that properly and had reported errors 
against them. Can you please tell me whether this had been 
the case? Did you upgrade firmwares etc so we can rule that 
out? 

Let me know please! 


Responsible-Changed-From-To: freebsd-bugs->remko 
Responsible-Changed-By: remko 
Responsible-Changed-When: Sun Mar 11 09:18:42 UTC 2007 
Responsible-Changed-Why:  
grab the pr 

http://www.freebsd.org/cgi/query-pr.cgi?pr=88872 
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Sun Mar 11 16:44:52 UTC 2007 
State-Changed-Why:  
The submitter is not able to pull this system offline for testing 
(understandable), but without that I cannot verify whether this is still 
accurate; assume this is fixed till someone proves me wrong. 

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

From: Jason <jhelfman@e-e.com>
To: bug-followup@FreeBSD.org
Cc: dpk@dpk.net
Subject: Re: bin/88872: [2TB] Error 36 while sysinstall tries to create /
 partition
Date: Mon, 3 May 2010 15:15:40 -0700

 I was able to verify this on a brand new Dell R610 with a PERC/i (LSI)
 Controller.
 
 With RAID-5 configured across 6 disks, and fully initialized at over 2G, I
 receive this exact error.
 
 After reconfiguration of RAID to two separate disks. One at 300G and the
 rest for the other disk (ended up being 1.9tb), I was able to install
 FreeBSD 7.2 on the first Virtual Disk.
>Unformatted:
