bloated workload of SCSI commands at attachment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



With the opts=1 parameter to the scsi_debug driver each SCSI command
cbd is printed out when it is received. The sequence at SCSI commands
at device attachment time always seemed a bit bloated but things have
got worse in lk 4.15.0-rc3 .

What seems to be to be new is the three repeated sequence involving
the "a3 0c" command. That is REPORT SUPPORTED OPERATION CODES.
Why is the same sequence repeated 3 times?


Some of the bloat is self inflicted because the scsi_debug drive suggests
that it is a SATL so some ATA pass-through commands are sent and rejected.

Doug Gilbert
scsi host0: scsi_debug: version 1.86 [20160430]
dev_size_mb=8, opts=0x1, submit_queues=1, statistics=0
scsi_debug:scsi_debug_init: built 1 host(s)
scsi_debug:scsi_debug_slave_alloc: slave_alloc <0 0 0 0>
scsi 0:0:0:0: scsi_debug: cmd 12 00 00 00 24 00
scsi 0:0:0:0: scsi_debug: cmd 12 00 00 00 60 00
scsi 0:0:0:0: Direct-Access     Linux    scsi_debug       0186 PQ: 0 ANSI: 7
scsi_debug:scsi_debug_slave_configure: slave_configure <0 0 0 0>
scsi 0:0:0:0: scsi_debug: cmd 12 01 00 00 ff 00
scsi 0:0:0:0: scsi_debug: cmd 12 01 80 00 ff 00
scsi 0:0:0:0: scsi_debug: cmd 12 01 83 00 ff 00
scsi 0:0:0:0: scsi_debug: cmd a0 00 00 00 00 00 00 00 10 00 00 00
sd 0:0:0:0: scsi_debug: cmd 00 00 00 00 00 00
sd 0:0:0:0: scsi_debug:  [sense_key,asc,ascq]: [0x6,0x29,0x0]
sd 0:0:0:0: scsi_debug reports: Unit attention: power on reset
sd 0:0:0:0: schedule_resp: non-zero result=0x8000002
sd 0:0:0:0: Power-on or device reset occurred
sd 0:0:0:0: scsi_debug: cmd 00 00 00 00 00 00
sd 0:0:0:0: scsi_debug: cmd 9e 10 00 00 00 00 00 00 00 00 00 00 00 20 00 00
sd 0:0:0:0: scsi_debug: cmd 12 01 00 00 40 00
sd 0:0:0:0: scsi_debug: cmd 12 01 b0 00 40 00
sd 0:0:0:0: scsi_debug: cmd 12 01 00 00 40 00
sd 0:0:0:0: scsi_debug: cmd 12 01 b1 00 40 00
sd 0:0:0:0: [sda] 4194304 512-byte logical blocks: (2.15 GB/2.00 GiB)
sd 0:0:0:0: scsi_debug: cmd 1a 00 3f 00 04 00
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 73 00 10 08
sd 0:0:0:0: scsi_debug: cmd 1a 00 08 00 04 00
sd 0:0:0:0: scsi_debug: cmd 1a 00 08 00 20 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
sd 0:0:0:0: scsi_debug: cmd a3 0c 01 12 00 00 00 00 02 00 00 00
sd 0:0:0:0: scsi_debug: cmd a3 0c 01 93 00 00 00 00 02 00 00 00
sd 0:0:0:0: scsi_debug: cmd a3 0c 01 41 00 00 00 00 02 00 00 00
sd 0:0:0:0: scsi_debug: cmd 00 00 00 00 00 00
sd 0:0:0:0: scsi_debug: cmd 9e 10 00 00 00 00 00 00 00 00 00 00 00 20 00 00
sd 0:0:0:0: scsi_debug: cmd 12 01 00 00 40 00
sd 0:0:0:0: scsi_debug: cmd 12 01 b0 00 40 00
sd 0:0:0:0: scsi_debug: cmd 12 01 00 00 40 00
sd 0:0:0:0: scsi_debug: cmd 12 01 b1 00 40 00
sd 0:0:0:0: scsi_debug: cmd 1a 00 3f 00 04 00
sd 0:0:0:0: scsi_debug: cmd 1a 00 08 00 04 00
sd 0:0:0:0: scsi_debug: cmd 1a 00 08 00 20 00
sd 0:0:0:0: scsi_debug: cmd a3 0c 01 12 00 00 00 00 02 00 00 00
sd 0:0:0:0: scsi_debug: cmd a3 0c 01 93 00 00 00 00 02 00 00 00
sd 0:0:0:0: scsi_debug: cmd a3 0c 01 41 00 00 00 00 02 00 00 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 00 00 00 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 00 00 00 00 00 00
sd 0:0:0:0: scsi_debug: cmd 9e 10 00 00 00 00 00 00 00 00 00 00 00 20 00 00
sd 0:0:0:0: scsi_debug: cmd 12 01 00 00 40 00
sd 0:0:0:0: scsi_debug: cmd 12 01 b0 00 40 00
sd 0:0:0:0: scsi_debug: cmd 12 01 00 00 40 00
sd 0:0:0:0: scsi_debug: cmd 12 01 b1 00 40 00
sd 0:0:0:0: scsi_debug: cmd 1a 00 3f 00 04 00
sd 0:0:0:0: scsi_debug: cmd 1a 00 08 00 04 00
sd 0:0:0:0: scsi_debug: cmd 1a 00 08 00 20 00
sd 0:0:0:0: scsi_debug: cmd a3 0c 01 12 00 00 00 00 02 00 00 00
sd 0:0:0:0: scsi_debug: cmd a3 0c 01 93 00 00 00 00 02 00 00 00
sd 0:0:0:0: scsi_debug: cmd a3 0c 01 41 00 00 00 00 02 00 00 00
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:0:0: scsi_debug: cmd 00 00 00 00 00 00
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: scsi_debug: cmd 12 00 00 00 fe 00
sd 0:0:0:0: scsi_debug: cmd 00 00 00 00 00 00
sd 0:0:0:0: scsi_debug: cmd 12 01 00 00 fe 00
sd 0:0:0:0: scsi_debug: cmd 12 01 80 00 fe 00
sd 0:0:0:0: scsi_debug: cmd 12 01 83 00 fe 00
sd 0:0:0:0: scsi_debug: cmd 00 00 00 00 00 00
sd 0:0:0:0: scsi_debug_ioctl: CDROM_GET_CAPABILITY [0x5331]
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f ff 80 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f ff f0 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 00 00 00 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 00 00 08 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f ff f8 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fe f8 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f ff c0 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f ff 00 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fe 70 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fd b0 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fd 58 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fd 20 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fc 70 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fc 30 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fc 20 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fc 48 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f f3 f0 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 00 08 00 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 00 00 18 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 00 00 38 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 00 00 78 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 00 00 10 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 00 00 20 00 00 18 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 00 00 40 00 00 38 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 00 00 80 00 01 80 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 00 02 00 00 02 00 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fc 00 00 00 20 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fc 28 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fc 38 00 00 10 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fc 50 00 00 20 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fc 78 00 00 a8 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fd 28 00 00 30 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fd 60 00 00 50 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fd b8 00 00 48 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fe 00 00 00 70 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fe 78 00 00 80 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f ff 08 00 00 78 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f ff 88 00 00 38 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f ff c8 00 00 28 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 00 10 00 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 00 00 00 00 00 00
sd 0:0:0:0: scsi_debug: cmd 85 06 20 00 05 00 fe 00 00 00 00 00 00 40 ef 00
sd 0:0:0:0: scsi_debug:  [sense_key,asc,ascq]: [0x5,0x20,0x0]
sd 0:0:0:0: schedule_resp: non-zero result=0x8000002
sd 0:0:0:0: scsi_debug: cmd 85 08 0e 00 00 00 01 00 00 00 00 00 00 40 ec 00
sd 0:0:0:0: scsi_debug:  [sense_key,asc,ascq]: [0x5,0x20,0x0]
sd 0:0:0:0: schedule_resp: non-zero result=0x8000002
sd 0:0:0:0: scsi_debug: cmd 00 00 00 00 00 00
sd 0:0:0:0: scsi_debug: cmd 00 00 00 00 00 00
sd 0:0:0:0: scsi_debug: cmd 12 00 00 00 fe 00
sd 0:0:0:0: scsi_debug: cmd 00 00 00 00 00 00
sd 0:0:0:0: scsi_debug: cmd 12 01 00 00 fe 00
sd 0:0:0:0: scsi_debug: cmd 12 01 80 00 fe 00
sd 0:0:0:0: scsi_debug: cmd 12 01 83 00 fe 00
sd 0:0:0:0: scsi_debug: cmd 00 00 00 00 00 00
sd 0:0:0:0: scsi_debug_ioctl: CDROM_GET_CAPABILITY [0x5331]
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f ff 80 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f ff f0 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 00 00 00 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 00 00 08 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f ff f8 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fe f8 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f ff c0 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f ff 00 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fe 70 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fd b0 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fd 58 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fd 20 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fc 70 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fc 30 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fc 20 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fc 48 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f f3 f0 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 00 08 00 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 00 00 18 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 00 00 38 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 00 00 78 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 00 00 10 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 00 00 20 00 00 18 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 00 00 40 00 00 38 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 00 00 80 00 01 80 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 00 02 00 00 02 00 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fc 00 00 00 20 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fc 28 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fc 38 00 00 10 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fc 50 00 00 20 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fc 78 00 00 a8 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fd 28 00 00 30 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fd 60 00 00 50 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fd b8 00 00 48 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fe 00 00 00 70 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f fe 78 00 00 80 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f ff 08 00 00 78 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f ff 88 00 00 38 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 3f ff c8 00 00 28 00
sd 0:0:0:0: scsi_debug: cmd 28 00 00 00 10 00 00 00 08 00
sd 0:0:0:0: scsi_debug: cmd 00 00 00 00 00 00
sd 0:0:0:0: scsi_debug: cmd 00 00 00 00 00 00

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux