[Bug 249395] Regression in 12.stable/12.2-beta: sg driver not working for makemkv
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Sep 17 16:02:42 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249395
--- Comment #2 from John Baldwin <jhb at FreeBSD.org> ---
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.
More information about the freebsd-bugs
mailing list