Re: Support for Intel P3xxx(3500) series PCIe SSD

Warner Losh <[email protected]> Fri, 29 Jan 2016 19:33:56 -0700
Newsgroups gmane.os.netbsd.devel.ports,gmane.os.netbsd.ports.x86-64,gmane.os.netbsd.ports.i386
Message-ID <CANCZdfqWGb+BTcYP1TjO09Bre0AXNQY7WsO0eRBCSksJh4r3+Q@mail.gmail.com>
--001a113a80a4c4c98e052a83fb7e
Content-Type: text/plain; charset=UTF-8

On Fri, Jan 29, 2016 at 1:14 AM, Manuel Bouyer <[email protected]>
wrote:

> On Thu, Jan 28, 2016 at 12:34:37PM -0500, Derrick Lobo wrote:
> > Hi All
> >
> >
> >
> > Seeing the following error after I added an Intel P3500  PCie SSD  2Tb on
> > the server.. upgraded to netbsd 7 current  dated 26th Jan and got the
> same
> > error. The hardware is not supported and wondering if a fix can be
> > provided
> >
> >
> >
> > Error message below
> >
> > Vendor 0x8086 product 0x0953 (flash mass storage, interface 0x02 revision
> > 0x01) at pci0 dev0 fucntion 0 not configured.
>
> Not easy. It's different from the disk interfaces we already have,
> this probably requires a whole new driver.
>

It almost certainly would, since NVMe is unlike any SATA or RAID controller.
There's a FreeBSD driver, which might be helpful. It's likely a relatively
large
lift to write one from scratch. A port likely wouldn't be horrible, since
the driver
is fairly clean, though it lacks big endian support. But you're still
likely looking
at a bunch of time. And the underlying drives are fast enough that it will
find
all the bottlenecks in the I/O subsystem that aren't apparent today, so
there
may be some work there as well.

Warner

--001a113a80a4c4c98e052a83fb7e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Fri, Jan 29, 2016 at 1:14 AM, Manuel Bouyer <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:[email protected]" target=3D"_blank">[email protected]=
u.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=
=3D"">On Thu, Jan 28, 2016 at 12:34:37PM -0500, Derrick Lobo wrote:<br>
&gt; Hi All<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Seeing the following error after I added an Intel P3500=C2=A0 PCie SSD=
=C2=A0 2Tb on<br>
&gt; the server.. upgraded to netbsd 7 current=C2=A0 dated 26th Jan and got=
 the same<br>
&gt; error. The hardware is not supported and wondering if a fix can be<br>
&gt; provided<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Error message below<br>
&gt;<br>
&gt; Vendor 0x8086 product 0x0953 (flash mass storage, interface 0x02 revis=
ion<br>
&gt; 0x01) at pci0 dev0 fucntion 0 not configured.<br>
<br>
</span>Not easy. It&#39;s different from the disk interfaces we already hav=
e,<br>
this probably requires a whole new driver.<br></blockquote><div><br></div><=
div>It almost certainly would, since NVMe is unlike any SATA or RAID contro=
ller.</div><div>There&#39;s a FreeBSD driver, which might be helpful. It&#3=
9;s likely a relatively large</div><div>lift to write one from scratch. A p=
ort likely wouldn&#39;t be horrible, since the driver</div><div>is fairly c=
lean, though it lacks big endian support. But you&#39;re still likely looki=
ng</div><div>at a bunch of time. And the underlying drives are fast enough =
that it will find</div><div>all the bottlenecks in the I/O subsystem that a=
ren&#39;t apparent today, so there</div><div>may be some work there as well=
.</div><div><br></div><div>Warner</div></div></div></div>

--001a113a80a4c4c98e052a83fb7e--