<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Rafal,<br>
      <br>
      I've added back the bug email address. Please use the "Reply All"
      button. :-)<br>
      <br>
      <br>
      On Wednesday 13 February 2013 08:32 PM, Rafał Ramocki wrote:<br>
    </div>
    <blockquote
cite="mid:CAExwyvcgcOUeSUs5WYz=0pYwWTTFqCCJ-37f48KRxRiqgAKCVw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi,<br>
        <div class="gmail_extra"><br>
          <br>
          <div class="gmail_quote">2013/2/13 Ritesh Raj Sarraf <span
              dir="ltr"><<a moz-do-not-send="true"
                href="mailto:rrs@researchut.com" target="_blank">rrs@researchut.com</a>></span><br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Yes.
              Offload is dependent on the hardware, something that I
              don't have<br>
              access to. With you assistance, we can improve the state
              in Debian.<br>
            </blockquote>
            <div><br>
            </div>
            <div>I count on it too :) Now all of hardware of this type
              that I have access to is used in production environment.
              It is quite easy to migrate services somewhere else from
              time to time. But for now only tests without upgrading
              system to any other than stable are possible. (upgrading
              and downgrading iscsi-tools is okej for me)<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    That's fine. We still can use your current running systems to get
    some idea.<br>
    <br>
    <blockquote
cite="mid:CAExwyvcgcOUeSUs5WYz=0pYwWTTFqCCJ-37f48KRxRiqgAKCVw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">> While 'iscsid -d8 -f'  shows:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">><br>
              > iscsid: Received iferror -19: No such device.<br>
              > iscsid: cannot make a connection to <a
                moz-do-not-send="true" href="http://10.2.90.69:3260"
                target="_blank">10.2.90.69:3260</a> (-19,2)<br>
              <br>
              Any clues on what interface was it configured here?<br>
              <br>
            </blockquote>
            <div><br>
            </div>
            <div><br>
              Unfortunately I do not know what interface name iscsid is
              using to communicate. I suppose it might
              be  bnx2i.00:10:18:e6:c3:55 and it is failing because it
              is not available in system as regular interface (it is not
              listed by ifconfig).<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    iSCSI works over TCP/IP. Unless specified otherwise, it will use
    your Operating System's Default Route Interface for the network you
    are trying to discover to. What does your routing table look like?<br>
    <br>
    <br>
    Also, the README shipped with the open-iscsi package talks about
    Offload configuration in section 5.1.2. To quote it...<br>
    <br>
    <blockquote><font color="#3333ff">5.1.2 Setting up a iface for a
        iSCSI offload card<br>
        =================================================<br>
        <br>
        This section describes how to setup ifaces for use with Chelsio,
        Broadcom and<br>
        QLogic cards.<br>
        <br>
        By default, iscsiadm will create a iface for each Broadcom,
        QLogic and Chelsio<br>
        port. The iface name will be of the form:<br>
        <br>
        $transport/driver_name.$MAC_ADDRESS<br>
        <br>
        Running:<br>
        <br>
        # iscsiadm -m iface<br>
        default
        tcp,<empty>,<empty>,<empty>,<empty><br>
        iser
        iser,<empty>,<empty>,<empty>,<empty><br>
        cxgb3i.00:07:43:05:97:07
        cxgb3i,00:07:43:05:97:07,<empty>,<empty>,<empty><br>
        qla4xxx.00:0e:1e:04:8b:2e
        qla4xxx,00:0e:1e:04:8b:2e,<empty>,<empty>,<empty><br>
        <br>
        <br>
        Will report iface configurations that are setup in
        /etc/iscsi/ifaces.<br>
        The format is:<br>
        <br>
        iface_name
        transport_name,hwaddress,ipaddress,net_ifacename,initiatorname<br>
        <br>
        iface_name:             name of iface<br>
        transport_name:         name of driver<br>
        hwaddress:              MAC address<br>
        ipaddress:              IP address to use for this port<br>
        net_iface_name:         Net_ifacename will be <empty>
        because change between<br>
        reboots. It is used for software iSCSI's vlan or alias binding.</font><br>
      <br>
    </blockquote>
    Now, you could relate it to what you have, and see if your settings
    are complete. But please do share your routing table too.<br>
    <br>
    <blockquote
cite="mid:CAExwyvcgcOUeSUs5WYz=0pYwWTTFqCCJ-37f48KRxRiqgAKCVw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div> </div>
            > But no information about connecting to target. I use
            following configuration:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">><br>
              > # iscsiadm -m node -T
              iqn.1992-04.com.emc:cx.ckm00122000265.a7<br>
              > # BEGIN RECORD 2.0-873<br>
              > <a moz-do-not-send="true" href="http://node.name"
                target="_blank">node.name</a> =
              iqn.1992-04.com.emc:cx.ckm00122000265.a7<br>
              > node.tpgt = -1<br>
              > node.startup = automatic<br>
              > node.leading_login = No<br>
              > iface.hwaddress = 00:10:18:e6:c3:55<br>
              > iface.ipaddress = 10.2.90.68<br>
              > iface.iscsi_ifacename = bnx2i.00:10:18:e6:c3:55<br>
              > iface.net_ifacename = <empty><br>
              Is this supposed to remain empty?<br>
            </blockquote>
            <div><br>
            </div>
            <div>It might be filled net_interface OR hwaddress. You
              can't have them both. But as I see now when I was
              preparing configuration for bug reporting purposes I did a
              mistake. hwaddress should be 00:10:18:e6:c3:54. I a few
              days on testing in on many cases and left this kind of bug
              in bug report... such a shame :/<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    No big deal. We all do that. :-)<br>
    <br>
    <blockquote
cite="mid:CAExwyvcgcOUeSUs5WYz=0pYwWTTFqCCJ-37f48KRxRiqgAKCVw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div> <br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
              Is iscsiuio part of the upstream open-iscsi source
              repository ? And<br>
              then, like you've said, we'll have to assess the
              licensing/copyright<br>
              details.<br>
              <br>
              Best to start would be to check it in Fedora too. Fedora
              claims to be<br>
              GPL. So if those patches are shipped there, then we can
              spend some time<br>
              to study its possibility of getting included in Debian.<br>
              <span><font color="#888888"><br>
                </font></span></blockquote>
            <div><br>
            </div>
            <div>Fedora do have the this package. There is iscsiuio
              daemon in it.</div>
            <div> </div>
            <div><a moz-do-not-send="true"
href="http://pkgs.fedoraproject.org/cgit/iscsi-initiator-utils.git/tree/sources"
                target="_blank">http://pkgs.fedoraproject.org/cgit/iscsi-initiator-utils.git/tree/sources</a><br>
            </div>
            <div><br>
            </div>
            <div>Level up tehre are also patches. I believe that minimum
              required to work have numbers 57-59 and 71-77<br>
            </div>
            <div><br>
            </div>
            <div>regards </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    That looks like a separate package. I will see if I can get some
    time this or the next week to explore it. Maybe I might package it,
    but like I said, without access to hardware, I will not be doing a
    good job in maintaining its quality.<br>
    <pre class="moz-signature" cols="72">-- 
Ritesh Raj Sarraf
RESEARCHUT - <a class="moz-txt-link-freetext" href="http://www.researchut.com">http://www.researchut.com</a>
"Necessity is the mother of invention."
</pre>
  </body>
</html>