Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2017 18:22:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-scsi@FreeBSD.org
Subject:   [Bug 224250] Sending SCSI command to ATA device makes kernel triple fault.
Message-ID:  <bug-224250-5312-YiTNN57tA2@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-224250-5312@https.bugs.freebsd.org/bugzilla/>
References:  <bug-224250-5312@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=3D224250

--- Comment #8 from Natalia Portillo <claunia@claunia.com> ---
I have tried to make the C# snippet as small as possible, however as structs
and enums can be imported from C headers, I had to duplicate them all.

Using GCHandle, or calling libc's malloc does not make a different. Setting
data_ptr to IntPtr.Zero (aka NULL) makes it not fault (and useless).

Tested with ATAPI devices for ATA/SATA buses.(In reply to Alan Somers from
comment #1)

--=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-5312-YiTNN57tA2>