Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Mar 1997 00:13:46 +1100 (EDT)
From:      Darren Reed <avalon@coombs.anu.edu.au>
To:        hackers@FreeBSD.ORG
Subject:   further on 2.1.6 & 2940
Message-ID:  <199703181317.FAA29037@who.cdrom.com>

next in thread | raw e-mail | index | archive | help

using the scsi command to look at the mode pages:

# scsi -f /dev/rst0.ctl -m 0
69 78 00 00 00 00 00 00
00 00 00 
# scsi -f /dev/rst0.ctl -m 1
AWRE (Auto Write Reallocation Enbld):  0 
ARRE (Auto Read Reallocation Enbld):  0 
TB (Transfer Block):  1 
RC (Read Continuous):  0 
EER (Enable Early Recovery):  1 
PER (Post Error):  0 
# scsi -f /dev/rst0.ctl -m 3
SCIOCCOMMAND ioctl: Command accepted.
return status 3 (Sense Returned) host adapter status 2
Command out (6 of 6):
1a 00 03 00 ff 00 

Data in (0 of 255):

Error code is "current errors"
Segment number is 00
Sense key is "Illegal request"
The Information field is not valid but contains 00000000 (0).
The Command Specific Information field is 00000000 (0).
Additional sense code: 24
Additional sense code qualifier: 00
Illegal value in the command descriptor block.
Bit 5 of byte 2 (value 03) is illegal.
sense (32 of 48):
70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 cd 
00 02 38 2e 36 2e 39 2f 6b 6a d7 b5 50 10 44 70 

What's this "Bit 5 of byte 2 (value 03) is illegal." mean ?

I assume only mode pages 1-3 mean anything, everything after 3 is
a repeast of 3.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703181317.FAA29037>