From owner-freebsd-questions Sat May 9 16:27:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA15179 for freebsd-questions-outgoing; Sat, 9 May 1998 16:27:27 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from darla.swimsuit.internet.dk (Modem1104.internet.dk [194.255.12.36]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA15167 for ; Sat, 9 May 1998 16:27:19 -0700 (PDT) (envelope-from leifn@internet.dk) Received: from darla.swimsuit.internet.dk (darla.swimsuit.internet.dk. [192.168.0.10]) by darla.swimsuit.internet.dk (8.8.8/8.8.8) with SMTP id BAA01472; Sun, 10 May 1998 01:24:16 +0200 (CEST) (envelope-from leifn@internet.dk) Date: Sun, 10 May 1998 01:24:15 +0200 (CEST) From: Leif Neland Reply-To: leifn@internet.dk cc: dwhite@resnet.uoregon.edu, freebsd-questions@FreeBSD.ORG Subject: Re: Masking out bad blocks In-Reply-To: <199805092131.RAA10299@castor.loco.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 9 May 1998, CyberPeasant wrote: > Doug White wrote: > > The disk should silently map these bad blocks itself. Make sure that auto > > relocation is enabled by running > > > > scsi -f /dev/rsdX -m 1 > > > > and verify that AWRE and ARRE are set to 1: > > When I do this, I just get: SCIOCCOMMAND ioctl: Command accepted. host adapter status 2 Command out (6 of 6): 1a 00 01 00 ff 00 Data in (255 of 255): 13 00 00 08 00 0a 1f b4 00 00 02 00 81 06 20 0a # .............. . 0b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # ................ No sense sent. dmesg: (just cvsup'ed and made world and kernel) FreeBSD 2.2.6-STABLE #1: Sat May 9 21:25:38 CEST 1998 root@darla.swimsuit.internet.dk:/usr/src/sys/compile/DARLA CPU: i486DX (486-class CPU) aic0 at 0x340-0x35f irq 11 on isa (aic0:1:0): "MICROP 1684-07MB1036511 AS0C" type 0 fixed SCSI 1 sd0(aic0:1:0): Direct-Access 323MB (663476 512 byte sectors) (aic0:2:0): "MICROP 1588-15MB1036511 AS0C" type 0 fixed SCSI 1 sd1(aic0:2:0): Direct-Access 636MB (1304052 512 byte sectors) Leif Neland leifn@internet.dk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message