From owner-freebsd-scsi Sat Oct 5 01:53:16 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA03943 for freebsd-scsi-outgoing; Sat, 5 Oct 1996 01:53:16 -0700 (PDT) Received: (from hsu@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA03934 for freebsd-scsi; Sat, 5 Oct 1996 01:53:13 -0700 (PDT) Date: Sat, 5 Oct 1996 01:53:13 -0700 (PDT) From: Jeffrey Hsu Message-Id: <199610050853.BAA03934@freefall.freebsd.org> To: freebsd-scsi Subject: verbose but cryptic error Sender: owner-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk One of my drives developed some bad sectors. So I went to turn on sector reallocation. But # scsi -f /dev/rsd2.ctl -m 1 -e -P 3 AWRE (Auto Write Reallocation Enbld): 0 ARRE (Auto Read Reallocation Enbld): 0 TB (Transfer Block): 1 RC (Read Continuous): 0 EER (Enable Early Recovery): 0 PER (Post Error): 0 DTE (Disable Transfer on Error): 0 DCR (Disable Correction): 0 Read Retry Count: 15 Correction Span: 8 Head Offset Count: 0 Data Strobe Offset Count: 0 Write Retry Count: 15 Recovery Time Limit: 0 and quiting with :q returns SCIOCCOMMAND ioctl: Command accepted. return status 3 (Sense Returned)Command out (6 of 6): 15 01 00 00 10 00 Data out (0 of 16): Error code is "current errors" Segment number is 00 Sense key is "Illegal request" The Information field is 00000000 (0). The Command Specific Information field is 00000000 (0). Additional sense code: 26 Additional sense code qualifier: 00 Illegal value in the parameter list. Bit 0 of byte 9 (value 00) is illegal. sense (32 of 48): f0 00 05 00 00 00 00 0a 00 00 00 00 26 00 00 88 00 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 I get the same error when I change the AWRE and ARRE fields and exit with :x, which is the operation I really wanted to do instead of :q, but the :q case exhibits a problem which must be solved first. So, can any scsi experts describe what this error means?