[Bug 259152] [iscsi] OCI oracle iscsi block device problems
Date: Thu, 21 Oct 2021 16:18:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259152
Dave Cottlehuber <dch@freebsd.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|New |In Progress
--- Comment #13 from Dave Cottlehuber <dch@freebsd.org> ---
relevant packets to save others opening tcpdump/wireshark
WARNING: icl_conn_receive_pdu: received data segment length 16384 is larger
than negotiated; dropping connection
this is the initial login packet sent from FreeBSD to OCI iscsi target:
iSCSI (Login Command)
Opcode: Login Command (0x03)
1... .... = T: Transit to next login stage
.0.. .... = C: Text is complete
.... 01.. = CSG: Operational negotiation (0x1)
.... ..11 = NSG: Full feature phase (0x3)
VersionMax: 0x00
VersionMin: 0x00
TotalAHSLength: 0x00
DataSegmentLength: 249 (0x000000f9)
ISID: 80 d5 92 14 52 4d
10.. .... = ISID_t: Random (0x2)
..00 0000 = ISID_a: 0x00
ISID_b: 0xd592
ISID_c: 0x14
ISID_d: 0x524d
TSIH: 0x0000
InitiatorTaskTag: 0x00000000
CID: 0x0000
CmdSN: 0x00000000
ExpStatSN: 0x00000001
Key/Value Pairs
KeyValue: iSCSIProtocolLevel=2
KeyValue: HeaderDigest=None
KeyValue: DataDigest=None
KeyValue: ImmediateData=Yes
KeyValue: MaxBurstLength=1048576
KeyValue: FirstBurstLength=1048576
KeyValue: InitialR2T=Yes
KeyValue: MaxOutstandingR2T=1
KeyValue: MaxRecvDataSegmentLength=262144 <-----
KeyValue: DefaultTime2Wait=0
KeyValue: DefaultTime2Retain=0
KeyValue: ErrorRecoveryLevel=0
Padding: 00 00 00
and this below is the specific iscsi message that causes FreeBSD to panic:
Transmission Control Protocol, Src Port: 3260, Dst Port: 24622, Seq: 27737,
Ack: 2441, Len: 48
[3 Reassembled TCP Segments (16432 bytes): #194(8948), #195(7436), #196(48)]
[Frame: 194, payload: 0-8947 (8948 bytes)]
[Frame: 195, payload: 8948-16383 (7436 bytes)]
[Frame: 196, payload: 16384-16431 (48 bytes)]
[Segment count: 3]
[Reassembled TCP length: 16432]
[Reassembled TCP Data: 25 81 00 00 00 00 40 00 00 00 00 00 00 00 00 00 27
00 00 00 ff ff ff ff …]
iSCSI (SCSI Data In)
Opcode: SCSI Data In (0x25)
Flags: 0x81
1... .... = F: Final PDU in sequence
.0.. .... = A: Acknowledge not requested
.... .0.. = O: No residual overflow occurred
.... ..0. = U: No residual underflow occurred
.... ...1 = S: Response contains SCSI status
Status: Good (0x00)
TotalAHSLength: 0x00
DataSegmentLength: 16384 (0x00004000)
InitiatorTaskTag: 0x27000000
StatSN: 0x00000029
ExpCmdSN: 0x00000028
MaxCmdSN: 0x000000a8
DataSN: 0x00000000
BufferOffset: 0x00000000
ResidualCount: 0x00000000
Request in: 188
Time from request: 0.000568000 seconds
SCSI Payload (Read(10) Response Data)
[LUN: 0x0001]
[Command Set:Direct Access Device (0x00) ]
[SBC Opcode: Read(10) (0x28)]
[Request in: 188]
[Response in: 196]
SCSI Response (Read(10))
[LUN: 0x0001]
[Command Set:Direct Access Device (0x00) ]
[SBC Opcode: Read(10) (0x28)]
[Request in: 188]
[Time from request: 0.000568000 seconds]
[Status: Good (0x00)]
--
You are receiving this mail because:
You are the assignee for the bug.