Date: Thu, 17 Sep 2020 16:02:41 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 249395] Regression in 12.stable/12.2-beta: sg driver not working for makemkv Message-ID: <bug-249395-227-ZchprFGz9Q@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-249395-227@https.bugs.freebsd.org/bugzilla/> References: <bug-249395-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249395 --- Comment #2 from John Baldwin <jhb@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 wh= ich 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 m= ight do things like 'if (dir & CAM_DIR_IN)' when instead it needs to be doing 'if (dir =3D=3D CAM_DIR_IN || dir =3D=3D CAM_DIR_BOTH)' IIRC from when I was lo= oking at the CAM_DIR_BOTH issue before committing the change to head. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249395-227-ZchprFGz9Q>