*BSD News Article 95275


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!como.dpie.gov.au!news.gan.net.au!act.news.telstra.net!news.telstra.net!news.att.net.au!news.att.net.hk!newsgate.cuhk.edu.hk!hammer.uoregon.edu!newsxfer3.itd.umich.edu!newsxfer.nether.net!news4.ixa.net!ixa.net!nwnews.wa.com!brokaw.wa.com!mothra.zgi.com!martig
From: Kenneth Martig <martig@zgi.com>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Marking blocks bad on scsi disk
Date: Tue, 13 May 1997 14:17:42 -0700
Organization: Northwest Nexus Inc.
Lines: 40
Message-ID: <Pine.SGI.3.95.970513140801.3634F-100000@mothra.zgi.com>
NNTP-Posting-Host: worf.zgi.com
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:6867


Hello,

I am running BSD/OS 2.1 on a PC with a 1 GB SCSI disk as my boot drive.  I
just started getting media errors like the following:

May 13 13:54:56 worf kernel: sd0: sn 2064501: media error: unrecovered
read error (41 retries)
May 13 13:54:59 worf kernel: sd0: retry 1
May 13 13:54:59 worf kernel: sd0: sn 2064501: media error: unrecovered
read error (41 retries)
May 13 13:54:59 worf kernel: sd0: retry 2


I don't know how to mark these spots as bad.  I tried running the command
"diskdefect -a -scv sd0" and it ran but didn't appear to produce any
output.  It did find bad spots but certainly didn't mark them out.  The
final line which is supposed to be a summary said:

bad blocks for /dev/rsd0c: 

No bad blocks were listed.  When I started the command it gave me the
following error but went on anyways:

auto-sense bad block ops for /dev/rsd0c ...diskdefect: note: SCSI bad
block replacement not yet implemented.

Any help you can give me would be greatly appreciated.  The machine is
really unhappy at the moment.  It took me about 8 minutes to complete a
remote login this morning and another 6 minutes to su to root.

Thanks,

Ken Martig
ZymoGenetics, Inc.
martig@zgi.com

There are two major products to come out of Berkeley:  LSD and UNIX. 
We don't believe this to be a coincidence.