Bug 154435

Summary: FreeBSD iscsi initiator sends invalid scsi command during iscsi discovery
Product: Base System Reporter: Vidhya Gopalan <vidhya.gopalan>
Component: amd64Assignee: freebsd-amd64 (Nobody) <amd64>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.txt none

Description Vidhya Gopalan 2011-02-01 12:40:06 UTC
Attempts to attach a shared iSCSI lun to a FreeBSD initiator, iscsi target panics.
The iscsi target already has a session with another FreeBSD initiator and when the second FreeBSD initiator tries to attach to the target, target panics.

FreeBSD 8.1 iscsi initiator sends 'inquiry' command during iscsi discovery, which is invalid as per RFC 3720. I had attached the snoop output of the same.

Fix: Patch attached with submission follows:
How-To-Repeat: First Attach a FreeBSD initiator to a shared iscsi target and then try to attach another FreeBSD initiator to the same shared target. Capture the snoop output.
Comment 1 Gavin Atkinson freebsd_committer freebsd_triage 2011-02-02 21:33:21 UTC
State Changed
From-To: open->closed

Close, duplicate of 154434