Re: iscsistart or iscsiadm .. no records found

2008-05-01 Thread Mike Christie

aspasia wrote:
 Hello again,
 
 I followed the recommendation to create the record, so I added the
 following in my initrd:
 
 iscsiadm -m node -T iqn.2008-04.com.mycompany:storage.ubuntu8_x86_test
 -p 192.168.17.3:3260 -o new
 iscsiadm -m node -T iqn.2008-04.com.mycompany:storage.ubuntu8_x86_test
 -p 192.168.17.3:3260 -l
 
 This time, the record was added, yet iscsiadm still failed to connect,
 and (I was actually thinking of iscsid) this time states it's unable
 to talk to the daemon.  Did I have to copy the iscsid binary to
 the /bin directory of my initrd package?  or am I missing a library or
 module that needs to be loaded?
 
 The following errors appears:
 
 iscsiadm:  cannot connect to SCSI daemon (111)!

With iscsiadm you need iscsid.

With iscsistart you do not need iscsid.



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---



Re: [PATCH 1/2] IB/iSER: Do not add unsolicited data offset to VA in iSER header

2008-05-01 Thread Eli Dorfman

On Sun, Apr 27, 2008 at 3:53 PM, Eli Dorfman [EMAIL PROTECTED] wrote:
 iSER initiator sends a VA (in the iSER header) which includes
  an offset for the unsolicited data (which is wrong according to the spec).

  Signed-off-by: Eli Dorfman [EMAIL PROTECTED]
  Signed-off-by: Erez Zilber [EMAIL PROTECTED]
  ---
   drivers/infiniband/ulp/iser/iser_initiator.c |6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

  diff --git a/drivers/infiniband/ulp/iser/iser_initiator.c
  b/drivers/infiniband/ulp/iser/iser_initiator.c
  index 08dc81c..5c2bbc6 100644
  --- a/drivers/infiniband/ulp/iser/iser_initiator.c
  +++ b/drivers/infiniband/ulp/iser/iser_initiator.c
  @@ -154,12 +154,12 @@ iser_prepare_write_cmd(struct iscsi_cmd_task *ctask,
 if (unsol_sz  edtl) {
 hdr-flags |= ISER_WSV;
 hdr-write_stag = cpu_to_be32(regd_buf-reg.rkey);
  -   hdr-write_va   = cpu_to_be64(regd_buf-reg.va + unsol_sz);
  +   hdr-write_va   = cpu_to_be64(regd_buf-reg.va);

 iser_dbg(Cmd itt:%d, WRITE tags, RKEY:%#.4X 
  -VA:%#llX + unsol:%d\n,
  +VA:%#llX\n,
  ctask-itt, regd_buf-reg.rkey,
  -(unsigned long long)regd_buf-reg.va, unsol_sz);
  +(unsigned long long)regd_buf-reg.va);
 }

 if (imm_sz  0) {
  --
  1.5.5


Please do not apply this patch until we decide how to sync this with
the target side.

Thanks,
Eli

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~--~~~~--~~--~--~---