From: Irwin <bi...@gm...> - 2014-11-24 09:37:53
|
Hi what do these errors mean? Anything to worry about? Not sure triggered them yet. [38740.097634] [2685]: scst: scst_parse_cmd:814:***ERROR***: Expected data direction 2 for opcode ATA PASS-THROUGH(16) (handler vdisk_blockio, target iscsi) doesn't match decoded value 4 [38740.097635] scst_parse_cmd:Failed CDB: [38740.097636] (h)___0__1__2__3__4__5__6__7__8__9__A__B__C__D__E__F [38740.097638] 0: 85 08 0c 00 d0 00 01 00 00 00 4f 00 c2 00 b0 00 ..........O..... [38740.097641] [2685]: iscsi_preliminary_complete:1477:Prelim completed req ffff8802eec10a80, orig_req ffff8802eec10a80 (FINAL 80, outstanding_r2t 0) [38740.097642] [2685]: cmnd_prepare_get_rejected_immed_data:1420:Skipping (cmnd ffff8802eec10a80, ITT b4c75700, op 1, cmd op 85, datasize 0, scst_cmd ffff88040cb36640, scst state 2, status 2) [38744.143026] [2685]: scst: scst_parse_cmd:814:***ERROR***: Expected data direction 2 for opcode ATA PASS-THROUGH(16) (handler vdisk_blockio, target iscsi) doesn't match decoded value 4 [38744.143028] scst_parse_cmd:Failed CDB: [38744.143028] (h)___0__1__2__3__4__5__6__7__8__9__A__B__C__D__E__F [38744.143030] 0: 85 08 0c 00 d0 00 01 00 00 00 4f 00 c2 00 b0 00 ..........O..... [38744.143034] [2685]: iscsi_preliminary_complete:1477:Prelim completed req ffff8802eec10a80, orig_req ffff8802eec10a80 (FINAL 80, outstanding_r2t 0) [38744.143036] [2685]: cmnd_prepare_get_rejected_immed_data:1420:Skipping (cmnd ffff8802eec10a80, ITT b6c75700, op 1, cmd op 85, datasize 0, scst_cmd ffff88040cb36640, scst state 2, status 2) [38756.248139] [2685]: scst: scst_parse_cmd:814:***ERROR***: Expected data direction 2 for opcode ATA PASS-THROUGH(16) (handler vdisk_blockio, target iscsi) doesn't match decoded value 4 [38756.248140] scst_parse_cmd:Failed CDB: [38756.248141] (h)___0__1__2__3__4__5__6__7__8__9__A__B__C__D__E__F [38756.248143] 0: 85 08 0c 00 d0 00 01 00 00 00 4f 00 c2 00 b0 00 ..........O..... [38756.248146] [2685]: iscsi_preliminary_complete:1477:Prelim completed req ffff8802eec10a80, orig_req ffff8802eec10a80 (FINAL 80, outstanding_r2t 0) [38756.248149] [2685]: cmnd_prepare_get_rejected_immed_data:1420:Skipping (cmnd ffff8802eec10a80, ITT b8c75700, op 1, cmd op 85, datasize 0, scst_cmd ffff88040cb36640, scst state 2, status 2) [38768.403097] [2685]: scst: scst_parse_cmd:814:***ERROR***: Expected data direction 2 for opcode ATA PASS-THROUGH(16) (handler vdisk_blockio, target iscsi) doesn't match decoded value 4 [38768.403099] scst_parse_cmd:Failed CDB: [38768.403099] (h)___0__1__2__3__4__5__6__7__8__9__A__B__C__D__E__F [38768.403101] 0: 85 08 0c 00 d0 00 01 00 00 00 4f 00 c2 00 b0 00 ..........O..... [38768.403105] [2685]: iscsi_preliminary_complete:1477:Prelim completed req ffff8802eec10a80, orig_req ffff8802eec10a80 (FINAL 80, outstanding_r2t 0) [38768.403106] [2685]: cmnd_prepare_get_rejected_immed_data:1420:Skipping (cmnd ffff8802eec10a80, ITT bac75700, op 1, cmd op 85, datasize 0, scst_cmd ffff88040cb36640, scst state 2, status 2) [38780.507990] [2685]: scst: scst_parse_cmd:814:***ERROR***: Expected data direction 2 for opcode ATA PASS-THROUGH(16) (handler vdisk_blockio, target iscsi) doesn't match decoded value 4 [38780.507992] scst_parse_cmd:Failed CDB: [38780.507993] (h)___0__1__2__3__4__5__6__7__8__9__A__B__C__D__E__F [38780.507995] 0: 85 08 0c 00 d0 00 01 00 00 00 4f 00 c2 00 b0 00 ..........O..... [38780.507998] [2685]: iscsi_preliminary_complete:1477:Prelim completed req ffff8802eec10900, orig_req ffff8802eec10900 (FINAL 80, outstanding_r2t 0) [38780.508000] [2685]: cmnd_prepare_get_rejected_immed_data:1420:Skipping (cmnd ffff8802eec10900, ITT bcc75700, op 1, cmd op 85, datasize 0, scst_cmd ffff88040cb36640, scst state 2, status 2) [38792.711830] [2685]: scst: scst_parse_cmd:814:***ERROR***: Expected data direction 2 for opcode ATA PASS-THROUGH(16) (handler vdisk_blockio, target iscsi) doesn't match decoded value 4 [38792.711831] scst_parse_cmd:Failed CDB: [38792.711832] (h)___0__1__2__3__4__5__6__7__8__9__A__B__C__D__E__F [38792.711834] 0: 85 08 0c 00 d0 00 01 00 00 00 4f 00 c2 00 b0 00 ..........O..... [38792.711838] [2685]: iscsi_preliminary_complete:1477:Prelim completed req ffff8802eec10900, orig_req ffff8802eec10900 (FINAL 80, outstanding_r2t 0) [38792.711840] [2685]: cmnd_prepare_get_rejected_immed_data:1420:Skipping (cmnd ffff8802eec10900, ITT bec75700, op 1, cmd op 85, datasize 0, scst_cmd ffff88040cb36640, scst state 2, status 2) [38804.760544] [2685]: scst: scst_parse_cmd:814:***ERROR***: Expected data direction 2 for opcode ATA PASS-THROUGH(16) (handler vdisk_blockio, target iscsi) doesn't match decoded value 4 [38804.760546] scst_parse_cmd:Failed CDB: [38804.760546] (h)___0__1__2__3__4__5__6__7__8__9__A__B__C__D__E__F [38804.760548] 0: 85 08 0c 00 d0 00 01 00 00 00 4f 00 c2 00 b0 00 ..........O..... [38804.760552] [2685]: iscsi_preliminary_complete:1477:Prelim completed req ffff8802eec10900, orig_req ffff8802eec10900 (FINAL 80, outstanding_r2t 0) [38804.760554] [2685]: cmnd_prepare_get_rejected_immed_data:1420:Skipping (cmnd ffff8802eec10900, ITT c0c75700, op 1, cmd op 85, datasize 0, scst_cmd ffff88040cb36640, scst state 2, status 2) |
From: Bart V. A. <bva...@ac...> - 2014-11-26 10:28:01
|
On 11/24/14 10:37, Irwin wrote: > Hi what do these errors mean? Anything to worry about? Not sure > triggered them yet. > > [38740.097634] [2685]: scst: scst_parse_cmd:814:***ERROR***: Expected > data direction 2 for opcode ATA PASS-THROUGH(16) (handler vdisk_blockio, > target iscsi) doesn't match decoded value 4 > [38740.097635] scst_parse_cmd:Failed CDB: > [38740.097636] (h)___0__1__2__3__4__5__6__7__8__9__A__B__C__D__E__F > [38740.097638] 0: 85 08 0c 00 d0 00 01 00 00 00 4f 00 c2 00 b0 00 > ..........O..... Which initiator OS sent this command to SCST ? This is a SMART READ DATA command embedded in an ATA PASS-THROUGH command. The SMART READ DATA command returns 512 bytes but in the ATA PASS-THROUGH header the T_LENGTH field is zero (no data). I think that field should have been set to two (transfer length specified in the SECTOR_COUNT field). Bart. |
From: Irwin <bi...@gm...> - 2014-11-26 10:57:01
|
Windows 7 x64. If it's a SMART command then it's ok to ignore yes? Could have been one of the SMART utils that I ran coincidentally during the session. Irwin On 2014-11-26 6:27 PM, Bart Van Assche wrote: > On 11/24/14 10:37, Irwin wrote: >> Hi what do these errors mean? Anything to worry about? Not sure >> triggered them yet. >> >> [38740.097634] [2685]: scst: scst_parse_cmd:814:***ERROR***: Expected >> data direction 2 for opcode ATA PASS-THROUGH(16) (handler vdisk_blockio, >> target iscsi) doesn't match decoded value 4 >> [38740.097635] scst_parse_cmd:Failed CDB: >> [38740.097636] (h)___0__1__2__3__4__5__6__7__8__9__A__B__C__D__E__F >> [38740.097638] 0: 85 08 0c 00 d0 00 01 00 00 00 4f 00 c2 00 b0 00 >> ..........O..... > > Which initiator OS sent this command to SCST ? This is a SMART READ > DATA command embedded in an ATA PASS-THROUGH command. The SMART READ > DATA command returns 512 bytes but in the ATA PASS-THROUGH header the > T_LENGTH field is zero (no data). I think that field should have been > set to two (transfer length specified in the SECTOR_COUNT field). > > Bart. |
From: Bart V. A. <bva...@ac...> - 2014-11-26 12:52:54
|
On 11/26/14 11:56, Irwin wrote: > Windows 7 x64. If it's a SMART command then it's ok to ignore yes? Could > have been one of the SMART utils that I ran coincidentally during the > session. If you don't need the SMART data at the initiator side then I think it is safe to ignore these warnings. On the other hand, it's probably not that hard to modify get_cdb_info_apt() such that it sets t_length and t_dir for SMART commands that communicate a data buffer between initiator and target. Bart. |