From owner-freebsd-bugs Wed May 31 22:11:54 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id WAA29308 for bugs-outgoing; Wed, 31 May 1995 22:11:54 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id WAA29299 for ; Wed, 31 May 1995 22:11:51 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.11/8.6.9) id WAA03800; Wed, 31 May 1995 22:11:35 -0700 From: "Rodney W. Grimes" Message-Id: <199506010511.WAA03800@gndrsh.aac.dev.com> Subject: Re: kern/466: Disk error on newfs To: gil@limbic.ssdl.com Date: Wed, 31 May 1995 22:11:35 +1700 (PDT) Cc: freebsd-bugs@freefall.cdrom.com In-Reply-To: <199506010440.VAA28170@freefall.cdrom.com> from "Gil Kloepfer Jr." at May 31, 95 09:40:01 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 3344 Sender: bugs-owner@FreeBSD.org Precedence: bulk > >Number: 466 > >Category: kern ... > >Synopsis: Unexpected disk errors during installation/newfs > > 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 A wd controller reset probably wipes this setting out and goes back to 1222/15/36 without sparing. If you can infact wipe this disk I suggest you stop using the sector sparing, get a little more capacity and tell the install that the drive needs bad144 mapping done on it. There is a bug in the first set of 2.0.5A floppies that currently prevents the bad144 stuff from working correctly. I have seen some commits that make me believe this will be fixed in the next set of floppies (probably due out some time in the morning PST on June 1st). Could you try this for us?? > >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 error 10 > 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). That is because we did a hard controller reset which cleared any setting values done by the BIOS at boot time. This sector sparing is usually a BIOS handled wdsetparam thing. See above... > 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. You'll have to reinstall the *WHOLE* disk, means wipping the DOS parition and reformatting with DOS :-(. > >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 would like you to try my procedure. I can understand that it may not be possible due to DOS data on the disk. (You could probably do it if you did not want to access the DOS data from FreeBSD). > I am using is currently specifically for FreeBSD staging before > moving the new OS to my production machine. > > >Fix: > > Unknown. > > >Audit-Trail: > >Unformatted: > > > -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD