From owner-freebsd-scsi Thu Mar 13 07:47:15 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA03558 for freebsd-scsi-outgoing; Thu, 13 Mar 1997 07:47:15 -0800 (PST) Received: from hda.hda.com (ip66-max1-fitch.ziplink.net [199.232.245.66]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id HAA03553 for ; Thu, 13 Mar 1997 07:47:11 -0800 (PST) Received: (from dufault@localhost) by hda.hda.com (8.6.12/8.6.12) id JAA07232; Thu, 13 Mar 1997 09:03:43 -0500 From: Peter Dufault Message-Id: <199703131403.JAA07232@hda.hda.com> Subject: Re: Medium error messages - how to read In-Reply-To: <199703131512.RAA18662@shadows.aeon.net> from mika ruohotie at "Mar 13, 97 05:12:30 pm" To: bsdscsi@shadows.aeon.net (mika ruohotie) Date: Thu, 13 Mar 1997 09:03:42 -0500 (EST) Cc: joerg_wunsch@uriah.heep.sax.de, gilbertd@cs.man.ac.uk, scsi@freebsd.org X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > First of all what should I do - is there anyway I can see if the drive > > > has automatic block remapping on? > > Yes, it's on mode page 1. Run > > scsi -f /dev/rsd1.ctl -m 1 -e > > ...and set AWRE and AWWE to 1. Anyway, since it's an unrecovered > > error, you still need to write the block once in order to force a > > remap. > > hmm... since on my fujitsu drives these were both set to 0, does it mean > that whatever problems i had were coz of it and not coz of ahc, coz suddenly > it sounds like that to me? *blush* > > it it's true, once again it was proved that getting cheapo hardware is not > good trade off... not that _i_ were recommending purchasing those drives... There's nothing wrong with the Fujitsu drives. I have eight of them in various places without any problems. You need to store the settings permanently by saving them in the non-volatile page or they will reset at the next power cycle. Use a "-P 3" with the same command. Here are a few other things to check (from zones.wish in scsinew in freefall's ~ftp/pub/dufault/scsinew.tgz) > # Mode Field Bad > # page value > set check(awre) {1 0 0 "Automatic write reallocation is not enabled"} > set check(arre) {1 1 0 "Automatic read reallocation is not enabled"} > set check(tb) {1 2 1 \ > "Data is transferred even if in error (but an error is generated)"} > set check(rc) {1 3 1 \ > "Data is transferred without delays even in the case of error"} > set check(eer) {1 4 1 \ > "The most expedient form of error recovery is used"} > set check(dcr) {1 7 1 "All error detection is disabled"} > set check(rrc) {1 8 0 "The read retry count is 0"} > set check(wrc) {1 12 0 "The write retry count is 0"} > set check(wce) {8 1 0 "The write cache is not enabled"} > set check(rcd) {8 3 1 "The read cache is disabled"} Peter -- Peter Dufault (dufault@hda.com) Realtime Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936