Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Oct 2021 11:36:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 259152] [iscsi] OCI oracle iscsi block device problems
Message-ID:  <bug-259152-227-bei37K9oAX@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259152-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-259152-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259152

Dave Cottlehuber <dch@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[iscsi] ExpDataSN mismatch  |[iscsi] OCI oracle iscsi
                   |in SCSI Response (unable to |block device problems
                   |connect or authenticate to  |
                   |OCI oracle iscsi block      |
                   |devices)                    |

--- Comment #9 from Dave Cottlehuber <dch@freebsd.org> ---
thanks John!

permit_expdatasn_0.patch gets us further - we can successfully attach a vol=
ume
now, and partition the device:


# iscsictl -A -p 169.254.2.2:3260 -t
iqn.2015-12.com.oracleiaas:f896d637-0a99-4fc7-9aed-ecfc8c2166f2
# iscsictl -Lv
Session ID:               1
Initiator name:           iqn.1994-09.org.freebsd:hobbes.skunkwerks.at
Initiator portal:=20=20=20=20=20=20=20=20=20
Initiator alias:=20=20=20=20=20=20=20=20=20=20
Target name:=20=20=20=20=20=20=20=20=20=20=20=20=20
iqn.2015-12.com.oracleiaas:f896d637-0a99-4fc7-9aed-ecfc8c2166f2
Target portal:            169.254.2.2:3260
Target alias:=20=20=20=20=20=20=20=20=20=20=20=20=20
User:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Secret:=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Mutual user:=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Mutual secret:=20=20=20=20=20=20=20=20=20=20=20=20
Session type:             Normal
Enable:                   Yes
Session state:            Connected
Failure reason:=20=20=20=20=20=20=20=20=20=20=20
Header digest:            None
Data digest:              None
MaxRecvDataSegmentLength: 8192
MaxSendDataSegmentLength: 8192
MaxBurstLen:              262144
FirstBurstLen:            65536
ImmediateData:            Yes
iSER (RDMA):              No
Offload driver:           None
Device nodes:             da1=20


next, we run into:

# tcpdump -nns 0 -C 32 -w /var/tmp/iscsi/iscsi.pcap port 3260 &
# time dd if=3D/dev/random of=3D/dev/da1 count=3D1 bs=3D1g

Password:WARNING: icl_conn_receive_pdu: received data segment length 16384 =
is
larger than negotiated; dropping connection

WARNING: 169.254.2.2:3260
(iqn.2015-12.com.oracleiaas:f896d637-0a99-4fc7-9aed-ecfc8c2166f2): connecti=
on
error; reconnecting
panic: isc->receive_pdu !=3D NULL
cpuid =3D 1
time =3D 1634815845
KDB: stack backtrace:
db_trace_self() at db_trace_self
db_trace_self_wrapper() at db_trace_self_wrapper+0x30
vpanic() at vpanic+0x184
panic() at panic+0x44
icl_receive_thread() at icl_receive_thread+0x734
fork_exit() at fork_exit+0x74
fork_trampoline() at fork_trampoline+0x14
KDB: enter: panic
[ thread pid 0 tid 100279 ]
Stopped at      kdb_enter+0x44: undefined       f901811f
db>

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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