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

            Bug ID: 224250
           Summary: Sending SCSI command to ATA device makes kernel triple
                    fault.
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: clau...@claunia.com

When sending a SCSI command thru CAM to an ATA device, kernel triple faults and
machine hangs completely.

No crash dump is generated.

Code can be found in:
https://github.com/claunia/DiscImageChef/blob/7e4ba43063006fe9ef0ab157a75157f573b64db8/DiscImageChef.Devices/FreeBSD/Command.cs#L83

It only happens when csio.data_ptr is set.
Setting it using .NET pinned pointers (aka GCHandle), .NET memory allocation
(aka AllocHGlobal), or libc memory allocation (aka malloc), makes no
difference.

Same code with SATA, SCSI or SAS devices work as expected.

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

Reply via email to