Skip to content

16 byte CDB with scsi.d

February 19, 2007

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.

Advertisements

From → Solaris

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: