Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Sep 1997 12:58:22 -0700 (PDT)
From:      Jason Alan Nordwick <nordwick@graft.xcf.berkeley.edu>
To:        ali@xcf.berkeley.edu
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: bad blocks
Message-ID:  <199709151958.MAA01388@graft.xcf.berkeley.edu>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709151958.MAA01388>