[ipxe-devel] delay on connection to ISCSI (double connection establishment)

Armin Ranjbar zoup at zoup.org
Fri Jan 19 13:57:16 UTC 2018


Thanks for the reply,

the delay happens after "Entering Security negotiation" and "Entering
Operational negotiation", each around 20-25 seconds. i don't know if i can
enable time logging on ipxe serial port.



---
Armin ranjbar


On Sun, Jan 14, 2018 at 1:11 AM, Michael Brown <mcb30 at ipxe.org> wrote:

> On 13/01/18 09:42, Armin Ranjbar wrote:
>
>> having a very strange problem here, it appears that connection is
>> established twice to iscsi and at some phases, it takes a long time.
>>
>> log: http://pastecode.org/index.php/view/23465877
>> script: http://pastecode.org/index.php/view/80532914
>>
>> now, two things:
>>
>> * looking at the log, there is 20 seconds delay after "Entering Security
>> negotiation" and "Entering Operational negotiation".
>> and
>> * connection is established again after writing ibft and before starting
>> PE.
>>
>> also it worth noting that
>> /sys/kernel/config/target/iscsi/iqn.2003-01.org.linux-iscsi.
>> vdi.x8664:sn.e5d7a4882dbf/fabric_statistics/iscsi_login_stats/accepts
>> returns 2 after each boot, means that Ipxe in fact tried two times to
>> login.
>>
>
> The timing is not visible from the log (as far as I can see), so I can't
> tell where your delay is actually occurring.
>
> The WinPE kernel boot sequence will access the iSCSI drive at various
> points.  It often does so after an idle period that is long enough for most
> targets to have already forcibly disconnected the initiator.  This is
> probably responsible for the multiple connections that you are seeing.
>
> Michael
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20180119/858fc8b1/attachment.htm>


More information about the ipxe-devel mailing list