Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 May 1997 20:13:52 -0700
From:      "M.R.Murphy" <mrm@Mole.ORG>
To:        bill@twwells.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: scsi MEDIUM ERRORS?
Message-ID:  <199705100313.UAA28477@meerkat.mole.org>

next in thread | raw e-mail | index | archive | help
> From owner-freebsd-questions@FreeBSD.ORG Fri May  9 19:51:51 1997
> From: bill@twwells.com (T. William Wells)
> Subject: Re: scsi MEDIUM ERRORS?
> To: freebsd-questions@FreeBSD.ORG
> Date: Fri, 9 May 1997 22:33:05 -0400 (EDT)
>
> : > Note that these are unrecovered read errors. The SCSI spec doesn't
> : > permit the drive to fix these.  Since this is a new drive, format
> : > it with scsiformat, verify that ARRE and AWRE are on in mode page 1,
> : > and then try again.  It is disconcerting that you received the
> : > drive like this.
> :
> : If scsiformat doesn't work, as it didn't for me in a similar case,
> : try rewriting the whole drive, as in
> :
> :   dd if=/dev/zero of=/dev/rsdN bs=1b
>
> Thanks for the info, guys. I hadn't realized there was a
> formatting tool that ran under FreeBSD. Though...it sure as hell
> didn't format it in under ten seconds. :-) Oh well. I'll see if
> writing zeroes does the trick....
>
> : after making sure ARRE and AWRE are on in mode page 1. That way
> : the drive can try to reassign blocks for write error.
>
> You both mentioned those bits....what are they? How are they
> manipulated?

man scsi to see how to manipulate the bits it's the

     To edit mode page 1 on /dev/rsd2c, and store it permanently on the
     drive:

     root# scsi -f /dev/rsd2c -m 1 -e -P 3

in the examples section. Change device name as required. You get popped
into $EDITOR to edit the mode page. To find out about the bits, you'll
need SCSI docs. I don't know if they're on FreeBSD CD's or website.
Try a web search for ARRE and AWRE. These bits are the enable read
reassignment and write reassignment bits.

>
> : I'd try to get the drive replaced or repaired, though. It's not
> : a Quantum Empire by any chance, is it? :-)
>
> A Quantum Fireball...and this *is* the replacement. :-| The first
> one appeared to have something wrong with seeking....
>

Yeah, my replacement from quantum for an empire 2100s also has problems.
it's too big and too expensive to just junk it, though. it's a real pain
backing it up, then waiting for a replacement, then restoring :-(

scsiformat doesn't do anything to Quantum SCSI drives (so it says
on quantum's web page, and given that it takes 10 seconds or so,
it looks like they aren't lying about it). For whatever it's
worth, an adaptec low-level format from either debug or from
the supplied adaptec software doesn't do a real lowlevel format
either.

--
Mike Murphy  mrm@Mole.ORG  +1 619 598 5874
Better is the enemy of Good



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