Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Nov 2015 15:55:18 +0000
From:      Steven Hartland <killing@multiplay.co.uk>
To:        Daniel Braniss <danny@cs.huji.ac.il>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: iscsi ENOBUF error
Message-ID:  <56378766.8030701@multiplay.co.uk>
In-Reply-To: <0A7AC956-4AD4-41CA-A20D-8B055BEFA9AA@cs.huji.ac.il>
References:  <83D85B9D-631E-4558-B143-6EE7D05D0A3A@cs.huji.ac.il> <563778C6.60904@multiplay.co.uk> <0A7AC956-4AD4-41CA-A20D-8B055BEFA9AA@cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/11/2015 15:35, Daniel Braniss wrote:
>
>> On 2 Nov 2015, at 16:52, Steven Hartland wrote:
>>
>>
>> On 02/11/2015 13:17, Daniel Braniss wrote:
>>> Hi,
>>> I’m running the latest 10.2 Stable.
>>>
>>> I’m trying to set an iscsi target, and keep getting error 55, ENOBUF
>>> in both the target and initiator.
>>>
>>> Nov  2 14:54:41 store-07 kernel: cfiscsi_ioctl_handoff: new 
>>> connection from iqn.1994-09.org.freebsd:pe-14 (132.65.80.200) to 
>>> iqn.2015-11.il.ac.huji.cs:target0
>>> Nov  2 14:54:41 store-07 kernel: WARNING: icl_conn_start: soreserve 
>>> failed with error 55
>>> Nov  2 14:54:41 store-07 ctld[28649]: 132.65.80.200 
>>> (iqn.1994-09.org.freebsd:pe-14): error returned from CTL iSCSI 
>>> handoff request: cfiscsi_ioctl_handoff: icl_conn_handoff failed with 
>>> error 55; dropping connection
>>> Nov  2 14:54:41 store-07 ctld[28373]: child process 28649 terminated 
>>> with exit status 1
>>>
>>> any ideas?
>>>
>> Do you have any custom settings in /etc/sysctl.conf or /boot/loader.conf?
>>
>
> kern.ipc.maxsockbuf=1048576
> net.inet.tcp.recvspace=262144
> net.inet.tcp.sendspace=262144
> kern.ipc.shm_allow_removed=1

Looks like your customisation for kern.ipc.maxsockbuf is from 9.x days 
I'd recommend removing it or increasing it to > 2K.

     Regards
     Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56378766.8030701>