From nobody Thu Oct 21 11:36:59 2021 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3814817F6A0D for ; Thu, 21 Oct 2021 11:36:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HZlnR130Bz51V7 for ; Thu, 21 Oct 2021 11:36:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 036201A966 for ; Thu, 21 Oct 2021 11:36:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 19LBawAs029383 for ; Thu, 21 Oct 2021 11:36:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 19LBaw1A029382 for bugs@FreeBSD.org; Thu, 21 Oct 2021 11:36:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 259152] [iscsi] OCI oracle iscsi block device problems Date: Thu, 21 Oct 2021 11:36:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dch@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259152 Dave Cottlehuber 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 --- 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.=