From gil@limbic.ssdl.com  Wed May 31 21:35:54 1995
Received: from limbic.ssdl.com (limbic.ssdl.com [192.111.251.33])
          by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id VAA28042
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 31 May 1995 21:35:52 -0700
Received: (from gil@localhost) by limbic.ssdl.com (8.6.11/8.6.6) id XAA07012; Wed, 31 May 1995 23:35:51 -0500
Message-Id: <199506010435.XAA07012@limbic.ssdl.com>
Date: Wed, 31 May 1995 23:35:51 -0500
From: "Gil Kloepfer Jr." <gil@limbic.ssdl.com>
Reply-To: gil@limbic.ssdl.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: Disk error on newfs
X-Send-Pr-Version: 3.2

>Number:         466
>Category:       kern
>Synopsis:       Unexpected disk errors with sector-mapping controllers
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    bde
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 31 21:40:01 1995
>Closed-Date:    Fri Apr 5 11:13:55 PST 1996
>Last-Modified:  Fri Apr  5 11:16:03 PST 1996
>Originator:     Gil Kloepfer Jr.
>Release:        FreeBSD 2.0.5-ALPHA i386
>Organization:
SSDL
>Environment:

	386DX/40 ISA bus, no mathco, 8MB memory
	Adaptec 2322B ESDI controller
	2 Maxtor XT-4380E ESDI drives

	**IMPORTANT** Disks are configured using sector sparing through
	controller low-level format.  This reserves 1 sec/trk for bad
	blocks so that the disk appears "flawless" at low-level format
	time.  This means that the advertised disk geometry of
	1222cyl/15h/36sec is hardware changed to 1222cyl/15h/35sec

>Description:

	After completing configuration questions, started install, and
	the following message appeared on the screen:

	Unable to make root filesystem!  Command returned status 36

	The debug window had the following messages (messages not pertaining
	to problem deleted):

	Warning: calculated sectors per cylinder (4096) disagrees with disk
	  label (525)
	/dev/rwd0a:    40960 sectors in 10 cylinders of 1 tracks, 4096 sectors
	       20.0MB in 1 cyl groups (16 c/g, 32.00MB/g, 7680 i/g)
	wd0a: hard error writing fsbn 68 or 64-79 (wd0 bn 68; cn 0 tn 1 sn 33)
	wd0: status 51<seekdone,err> error 10<no_id>
	super-block backups (for fsck -b #) at:write error: 64
	wtfs: input/output error

	Another note that may help ... I noticed that the kernel message
	describing the disk when the kernel was booting identified the
	disk's physical geometry, and not the geometry as handled by the
	controller (using sector sparing).

	The disk layout that I configured in the earlier part of the
	installation was a 60MB DOS partition (existing), 20MB root,
	32MB swap, 80MB /usr, 10MB /var, remaining /source.

>How-To-Repeat:

	Perform installation again.

	Note...I am more than willing to test different kernels and/or
	procedures in an effort to help track the problem.  The machine
	I am using is currently specifically for FreeBSD staging before
	moving the new OS to my production machine.

>Fix:
	
	Unknown.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->bde 
Responsible-Changed-By: pst 
Responsible-Changed-When: Wed Feb 7 15:47:49 PST 1996 
Responsible-Changed-Why:  
State-Changed-From-To: open->closed 
State-Changed-By: scrappy 
State-Changed-When: Fri Apr 5 11:13:55 PST 1996 
State-Changed-Why:  

Confirmed with submitter that problem no longer exists 
>Unformatted:


