Subject: TUR and commands hence forth are not sent.

From: "shesha bhushan" <[email-masked]>
Date: Wed, 17 Jul 2002 22:42:10 +0000

/sbin/insmod -f iscsi_initiator.o

../common/iscsi_manage init set TargetName=enpc3486.eas.asu.edu
InitiatorName=dummy.com host=1

./iscsi_config up ip=129.xxx.xx.xxx host=1

==================
TARGET
==================
insmod scsi_target.o
insmod iscsi_target.o

The messages in the /var/log/messages says that only Inquiry Command is 
sent.
But according to the README, the SCSI sub system must also send TUR,
ReadCapacity and Read. Please let us know what is the problem. For your
refference I have the trace of /var/log/messages of both Initiator and 
Target.

Thanks
Shesha

=================================================
INITIATOR TRACE
=================================================
Jul 17 14:46:09 localhost kernel: 310: registered iSCSI host d4e8d4e0, host
number 1
Jul 17 14:46:09 localhost kernel: scsi1 : UNH-IOL iSCSI reference initiator
Jul 17 14:46:09 localhost kernel: iscsi: Target 0 not logged in
Jul 17 14:46:09 localhost kernel: iscsi: Target 1 not logged in
Jul 17 14:46:09 localhost kernel: iscsi: Target 2 not logged in
Jul 17 14:46:09 localhost kernel: iscsi: Target 3 not logged in
Jul 17 14:46:09 localhost kernel: 3365: iSCSI write to proc_info (56):
iscsi_initiator manage 8 TargetName=enpc3486.eas.asu.edu
Jul 17 14:46:09 localhost kernel: 3365: iSCSI write to proc_info (48):
iscsi_initiator manage 8 InitiatorName=dummy.com
Jul 17 14:46:09 localhost kernel: 3365: iSCSI write to proc_info (63):
iscsi_initiator ip 0x81db194d port 3260 target 0 lun 0x00000000
Jul 17 14:46:09 localhost kernel: 3028: Create session db4172e0
Jul 17 14:46:09 localhost kernel: 2978: Create connection db4170e0
Jul 17 14:46:09 localhost kernel: 2837: Create socket d4474b84
Jul 17 14:46:09 localhost kernel: iscsi: Connected to 129.219.25.77:3260
Jul 17 14:46:09 localhost kernel: 3009: Attach key:
TargetName=enpc3486.eas.asu.edu
Jul 17 14:46:09 localhost kernel: 3009: Attach key: InitiatorName=dummy.com
Jul 17 14:46:09 localhost kernel: 523: Send Login
Jul 17 14:46:09 localhost kernel: 243: Got Login Response
Jul 17 14:46:09 localhost kernel: 864: rx_thread starting, connection 
db4170e0
Jul 17 14:46:09 localhost kernel: 885: rx_thread started
Jul 17 14:46:09 localhost kernel: 621: tx_thread starting, session db4172e0
Jul 17 14:46:09 localhost kernel: 642: tx_thread started
Jul 17 14:46:09 localhost kernel: 3063: Enter normal session Full Feature
Phase
Jul 17 14:46:09 localhost kernel: scsi singledevice 1 0 0 0
Jul 17 14:46:09 localhost kernel: 2598: Send SCSI INQUIRY, ITT 88889, 48 
bytes
1 iovs
Jul 17 14:46:09 localhost kernel: 1275: Got DataIn Hdr
Jul 17 14:46:09 localhost kernel: 803: Got 256 data, pad and crc bytes
Jul 17 14:46:10 localhost kernel: 2146: Got SCSI Rsp Hdr
Jul 17 14:46:10 localhost kernel: 564: Underflow: Residual count 0
Jul 17 14:46:10 localhost kernel:   Vendor: QUANTUM   Model: ATLAS V  9 SCA
Rev: 0201
Jul 17 14:46:10 localhost kernel:   Type:   Direct-Access
ANSI SCSI revision: 03

=================================================
TARGET TRACE
=================================================

Jul 17 14:34:59 enpc3486 kernel: 745: Starting iscsi_tx_1
Jul 17 14:34:59 enpc3486 kernel: 03 87 00 00 00 00 00 38 80 12 34 56 78 9a 
00
00 00 01 5b 38 00 0a 00 00 00
Jul 17 14:34:59 enpc3486 kernel: 00 56 ce 00 00 00 00 00 00 00 00 00 00 00 
00
00 00 00 00 00 00 00 00
Jul 17 14:34:59 enpc3486 kernel:     Opcode: 0x03,  I: 0
Jul 17 14:34:59 enpc3486 kernel:     flags: 0x87
Jul 17 14:34:59 enpc3486 kernel:     VersionMax: 0x00
Jul 17 14:34:59 enpc3486 kernel:     VersionMin: 0x00
Jul 17 14:34:59 enpc3486 kernel:     DSL: 56
Jul 17 14:34:59 enpc3486 kernel:     ISID: 0x80 12 34 56 78 9a
Jul 17 14:34:59 enpc3486 kernel:     TSID: 0
Jul 17 14:34:59 enpc3486 kernel:     ITT: 88888
Jul 17 14:34:59 enpc3486 kernel:     CID: 10
Jul 17 14:34:59 enpc3486 kernel:     CmdSN: 22222
Jul 17 14:34:59 enpc3486 kernel: 1177: handle_login: A new session started 
for
149.169.43.193
Jul 17 14:34:59 enpc3486 kernel: 1287: Got key:
TargetName=enpc3486.eas.asu.edu
Jul 17 14:34:59 enpc3486 kernel: 1287: Got key: InitiatorName=dummy.com
Jul 17 14:34:59 enpc3486 kernel: 1699: Send Login Response
Jul 17 14:34:59 enpc3486 kernel: 01 c0 00 00 00 00 00 00 00 00 00 00 00 00 
00
00 00 01 5b 39 00 00 01 00 00
Jul 17 14:34:59 enpc3486 kernel: 00 56 ce 00 00 00 02 12 00 00 00 ff 00 00 
00
00 00 00 00 00 00 00 00
Jul 17 14:34:59 enpc3486 kernel:     Opcode: 0x01,  I: 0
Jul 17 14:34:59 enpc3486 kernel:     flags: 0xc0
Jul 17 14:34:59 enpc3486 kernel:     ITT: 88889
Jul 17 14:34:59 enpc3486 kernel:     EDTL: 256
Jul 17 14:34:59 enpc3486 kernel:     CmdSN: 22222
Jul 17 14:34:59 enpc3486 kernel:     ExpStatSN: 2
Jul 17 14:34:59 enpc3486 kernel:     CDB: 0x12 00 00 00 ff 00 00 00 00 00 00
00 00 00 00 00
=======================================================

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx