https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249395

--- Comment #2 from John Baldwin <[email protected]> ---
Also, can you share which device is being accessed (scsi_sg.c is like passX
devices, so both the end-device (e.g. cd0?) and the HBA driver (ahci?)
matters).  The one thing I am curious about is the change from CAM_DIR_IN |
CAM_DIR_OUT to CAM_DIR_BOTH.  ahci may not handle CAM_DIR_BOTH correctly which
might be why this is broken if so.  Sadly, CAM_DIR_BOTH is not CAM_DIR_IN |
CAM_DIR_OUT but is 0 due to some weirdness in the CAM spec.  I think ahci might
do things like 'if (dir & CAM_DIR_IN)' when instead it needs to be doing 'if
(dir == CAM_DIR_IN || dir == CAM_DIR_BOTH)' IIRC from when I was looking at the
CAM_DIR_BOTH issue before committing the change to head.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to