16 byte CDB with scsi.d

I've been working to put USCSI support for LUNS greater than 2Tb into diskomizer (a test program for testing disks). So while I have a system that has a LUN greater than 2TB I thought I would just test out scsi.d as it has the code for all the SCSI commands in it. Alas there was a trivial bug that meant the lookup of the names of commands did not work. So I have spun a new version (1.9). Download it from here.

Now for the sad out there here is the transition from 10 byte CDB to 16:

00000.015415100 fp5:-> 0x2a WRITE(10) address 40:01, lba 0xfffffffe, len 0x000001, control 0x00 timeout 60 CDBP 60002278ebc dd(11510) cdb(10) 2a00fffffffe00000100
00000.016729900 fp5:<- 0x2a WRITE(10) address 40:01, lba 0xfffffffe, len 0x000001, control 0x00 timeout 60 CDBP 60002278ebc, reason 0x0 (COMPLETED) state 0x1f Time 1360us
00000.016828400 fp5:-> 0x2a WRITE(10) address 40:01, lba 0xffffffff, len 0x000001, control 0x00 timeout 60 CDBP 6000388d3b4 dd(11510) cdb(10) 2a00ffffffff00000100
00000.018059000 fp5:<- 0x2a WRITE(10) address 40:01, lba 0xffffffff, len 0x000001, control 0x00 timeout 60 CDBP 6000388d3b4, reason 0x0 (COMPLETED) state 0x1f Time 1272us
00000.018205900 fp5:-> 0x8a WRITE(16) address 40:01, lba 0x0000000100000000, len 0x000001, control 0x00 timeout 60 CDBP 600060c8704 dd(11510) cdb(16) 8a000000000100000000000000010000
00000.019467100 fp5:<- 0x8a WRITE(16) address 40:01, lba 0x0000000100000000, len 0x000001, control 0x00 timeout 60 CDBP 600060c8704, reason 0x0 (COMPLETED) state 0x1f Time 1320us
00000.019611800 fp5:-> 0x8a WRITE(16) address 40:01, lba 0x0000000100000001, len 0x000001, control 0x00 timeout 60 CDBP 6000227ab6c dd(11510) cdb(16) 8a000000000100000001000000010000
00000.020823300 fp5:<- 0x8a WRITE(16) address 40:01, lba 0x0000000100000001, len 0x000001, control 0x00 timeout 60 CDBP 6000227ab6c, reason 0x0 (COMPLETED) state 0x1f Time 1257us


I know I need to get out more.

Comments:

Post a Comment:
Comments are closed for this entry.
About

This is the old blog of Chris Gerhard. It has mostly moved to http://chrisgerhard.wordpress.com

Search

Archives
« April 2014
MonTueWedThuFriSatSun
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today