From owner-freebsd-hackers Wed Jun 14 02:29:45 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id CAA26754 for hackers-outgoing; Wed, 14 Jun 1995 02:29:45 -0700 Received: from hda.com (hda.com [199.232.40.182]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id CAA26743 for ; Wed, 14 Jun 1995 02:29:41 -0700 Received: (dufault@localhost) by hda.com (8.6.11/8.3) id FAA14892; Wed, 14 Jun 1995 05:21:36 -0400 From: Peter Dufault Message-Id: <199506140921.FAA14892@hda.com> Subject: Re: Medium error To: joerg_wunsch@uriah.heep.sax.de Date: Wed, 14 Jun 1995 05:21:36 -0400 (EDT) Cc: wjw@IAEhv.nl, hackers@freebsd.org In-Reply-To: <199506140557.HAA00467@uriah.heep.sax.de> from "J Wunsch" at Jun 14, 95 07:57:18 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 920 Sender: hackers-owner@freebsd.org Precedence: bulk J Wunsch writes: > Did you try Peter's trick to enable automatic bad sector replacement? > The disk should look like: > > uriah # scsi -f /dev/rsd0.ctl -m 1 > AWRE (Auto Write Reallocation Enbld): 1 > ARRE (Auto Read Reallocation Enbld): 1 > ... > > (The 1's are the important thing.) > > I think you can call the command with a trailing `-e' (edit mode page) > and with some other option to make the change permanent. That would be: > uriah # scsi -f /dev/rsd0.ctl -m 1 -e -P 3 > Peter will > be more helpful (and will certainly write an entry for > /usr/share/FAQ/Text/SCSI-FAQ for it :--). Meanwhile, it is in the "man" page, but Willem isn't running 2.05. I think that a statically linked binary from 2.05 will work, won't it? Peter -- Peter Dufault Real Time Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936 dufault@hda.com Fax: 508 433 5267