I'm trying to issue a MODE SELECT, and am getting SK/ASC/ASCQ == 5/0x26/0
[ILLEGAL REQUEST / INVALID FIELD IN PARAMETER LIST].
There are so many ways to obtain that result... I'd love someone to review what I've got, to knock out any trivial problems. Thanks in advance:
Platform: FreeBSD 9.0
Controller: Adaptec 51645
Software: in-house HDD control software
I'm successfully issuing MODE SENSE, with the following results:
- Code:
PS=1; SPF=0; PC=0x8; LEN=18
DEFAULT MODE PARAMS:
0000: 14 00 ff ff 00 00 00 00
0008: ff ff 80 08 00 00 00 00
0016: 00 00
- Code:
PS=1; SPF=0; PC=0x8; LEN=18
CURRENT MODE PARAMS:
0000: 10 00 ff ff 00 00 00 00
0008: ff ff 80 08 00 00 00 00
0016: 00 00
I see that the 'WCE' (write cache enable) bit is not set in current page, but is on default page. One might presume it's supported, and it's desirable to have it enabled. I issue the following MODE SELECT:
- Code:
CDB: 55 10 00 00 00 00 00 00 1c 00
DATA:
0000: 00 00 00 00 00 00 00 00
0008: 08 12 14 00 ff ff 00 00
0016: 00 00 ff ff 80 08 00 00
0020: 00 00 00 00
and obtain: SK=0x5; ASC=0x26; ASCQ=0x0
Anything obvious?