Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2017 17:59:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 224250] Sending SCSI command to ATA device makes kernel triple fault.
Message-ID:  <bug-224250-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224250

            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: claunia@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/7e4ba43063006fe9ef0ab157a7515=
7f573b64db8/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.

--=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-224250-8>