From owner-freebsd-questions Mon Sep 15 12:58:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA20395 for questions-outgoing; Mon, 15 Sep 1997 12:58:08 -0700 (PDT) Received: from graft.xcf.berkeley.edu (graft.XCF.Berkeley.EDU [128.32.43.209]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA20384 for ; Mon, 15 Sep 1997 12:58:02 -0700 (PDT) Received: (from nordwick@localhost) by graft.xcf.berkeley.edu (8.8.5/8.8.5) id MAA01388; Mon, 15 Sep 1997 12:58:22 -0700 (PDT) Date: Mon, 15 Sep 1997 12:58:22 -0700 (PDT) Message-Id: <199709151958.MAA01388@graft.xcf.berkeley.edu> From: Jason Alan Nordwick MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: ali@xcf.berkeley.edu Cc: freebsd-questions@FreeBSD.ORG Subject: Re: bad blocks In-Reply-To: ali@xcf.berkeley.edu on 9/11/1997 to freebsd-questions@FreeBSD.ORG <19970911204727.26628.qmail@xcf.berkeley.edu> References: <19970911204727.26628.qmail@xcf.berkeley.edu> X-Mailer: VM 6.32 under Emacs 19.34.1 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ali@xcf.berkeley.edu, on 9/11/1997, wrote the following: > > Hi. > Some AMI diag program tells me i have bad blocks on my disk. > If I do "tar cvf /dev/null /usr" I will get a message from the > kernel saying "sd0(ahc0:0:0): MEDIUM ERROR info:534195 csi:c,8f,3,76 asc:11,0 Unrecovered read error sks:80,80." > > Several times. Is the way to fix this to place the bad block(s) in a bad block > list somewhere? How do I do that? > > I'm using a freebsd partition. 2.2.2-RELEASE is the version of the system > I'm running, with this kernel being straight out of the box (other kernels > fail as well). Disk is a 4 gig drive, partitioned into 2Gig dos and 2Gig > freebsd. > > Thanks, > Ali. > SCSI should be able to remap these automatically, but the remap thingy might be turned off (?). Try the 'scsi' command as root... and turn AWRE and ARRE on. Jay