From owner-freebsd-hackers Tue Jun 13 23:20:48 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id XAA13492 for hackers-outgoing; Tue, 13 Jun 1995 23:20:48 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id XAA13480 for ; Tue, 13 Jun 1995 23:20:45 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA08111; Wed, 14 Jun 1995 08:20:42 +0200 Received: by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id IAA29616; Wed, 14 Jun 1995 08:20:41 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id HAA00467; Wed, 14 Jun 1995 07:57:18 +0200 From: J Wunsch Message-Id: <199506140557.HAA00467@uriah.heep.sax.de> Subject: Re: Medium error To: wjw@IAEhv.nl (Willem Jan Withagen) Date: Wed, 14 Jun 1995 07:57:18 +0200 (MET DST) Cc: hackers@freebsd.org In-Reply-To: <199506132028.WAA02956@iaehv.IAEhv.nl> from "Willem Jan Withagen" at Jun 13, 95 10:28:39 pm Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 951 Sender: hackers-owner@freebsd.org Precedence: bulk As Willem Jan Withagen wrote: > > And this baby is generating a medium error on just one location. > Jun 13 22:19:50 iaehv kernel: sd2(ncr0:2:0): medium error, info = 2817606 (decimal) > But the real serious question: Is there any way of getting this ONE error > out of the way by just any reasonable method? 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. Peter will be more helpful (and will certainly write an entry for /usr/share/FAQ/Text/SCSI-FAQ for it :--). -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)