erezz at voltaire.com wrote on Tue, 07 Aug 2007 12:21 +0300: > I was able to setup stgt with iSER support. However, when I try to run a > simple sgp_dd (or dd) command, I get SCSI errors on the initiator side: > > writing blk=256: Host_status=0x02 [DID_BUS_BUSY] > error finishing sg out command > > If I connect to the target over TCP, everything works ok. Also, if I > connect to our iSCSI over iSER target (not stgt), it also works ok with > iSER. > > Is there any required patch for iSER/open-iscsi on the initiator side? > Is there any debug info that I can see on the target side? Interesting. I tend to use the bsg interface here for testing, and may not have gone through all the paths in sg or sd. Thanks for testing! I do have one initiator side patch for iser that I believe is just to support bidirectional commands. I'll try some dd without it to see if it matters (on Thursday). Can you send some of the exact command lines that fail? To debug the target, run as "tgtd -d 9" and it will produce lots of messages to syslog. We use a local patch here to send the messages to stderr instead, but I think syslog should work for you. If you send the interesting parts from the log, I can help decipher the messages. -- Pete |