Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Apr 2025 01:09:43 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
Cc:        Steve Kargl <kargls@comcast.net>, Alexander Motin <mav@freebsd.org>,  FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Samsung T7 external SSD support?
Message-ID:  <CANCZdfoF4Z6MovXcpd1w0HTjik8WPVtuhsSPY4x2mY%2B3Kyx6FA@mail.gmail.com>
In-Reply-To: <20250405125636.b078c4cdd3638a677af16494@dec.sakura.ne.jp>
References:  <39bd6092-4bd9-4086-b202-08b83b425fb5@comcast.net> <35d2361d-80e8-489a-bd9d-6c5ada5736b8@FreeBSD.org> <591a0d84-a74a-4d8e-bd40-04475eb5b457@comcast.net> <20250405125636.b078c4cdd3638a677af16494@dec.sakura.ne.jp>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Fri, Apr 4, 2025, 9:57 PM Tomoaki AOKI <junchoon@dec.sakura.ne.jp> wrote:

> On Fri, 4 Apr 2025 19:44:49 -0700
> Steve Kargl <kargls@comcast.net> wrote:
>
> > On 4/4/25 19:28, Alexander Motin wrote:
> > > On 04.04.2025 21:45, Steve Kargl wrote:
> > >> Anyone using a Samsung T7 external SSD with FreeBSD current?
> > >>
> > >> If I plug the drive into a USB 2.0 port, I see
> > >>
> > >> usb_msc_auto_quirk: UQ_MSC_NO_GETMAXLUN set for USB mass storage
> > >> device Samsung PSSD T7 Shield (0x04e8:0x61fb)
> > >> ugen0.2: <Samsung PSSD T7 Shield> at usbus0
> > >> umass0 on uhub1
> > >> umass0: <Samsung PSSD T7 Shield, class 0/0, rev 2.10/1.00, addr 47>
> on
> > >> usbus0
> > >> umass0:  SCSI over Bulk-Only; quirks = 0x0100
> > >> umass0:5:0: Attached to scbus5
> > >> da0 at umass-sim0 bus 0 scbus5 target 0 lun 0
> > >> da0: <Samsung PSSD T7 Shield 0> Fixed Direct Access SPC-4 SCSI device
> > >> da0: Serial Number S6NPNS0Y201077Y
> > >> da0: 40.000MB/s transfers
> > >> da0: 1907729MB (3907029168 512 byte sectors)
> > >> da0: quirks=0x2<NO_6_BYTE>
> > >>
> > >> However, the SSD is supposedly a USB 3.2 gen 2 device with a ~1000
> MBps
> > >> read/write speed.
> > >>
> > >> When plugged into a USB 3.x port, I typically see
> > >>
> > >> ugen0.2: <vendor 0x0507 product 0x0204> at usbus0
> > >>
> > >> and the device is not listed with usbconfig.  Repeatedly, unplugging
> the
> > >> ssd and re-plugging it into the USB 3.x port, I eventually get the
> > >> above dmesg output.  Do I need a quirk for this SSD to get
> > >> recognized?  Also,
> > >> shouldn't it connect with faster transfer rate than 'da0: 40.0MB/s'?
> > >
> > > 40MB/s exactly means the device connected to USB2 controller or at
> least
> > > at USB2 speed.  Considering that other times it does not connect at
> all,
> > > I wonder if some signal quality issue or something else prevents it
> from
> > > going proper USB3.  IIRC USB3 uses completely different wires in the
> > > connector.  Also USB2 and USB3 can be handled by different controllers
> > > with different drivers, so not detecting it still might be a software
> > > issue, but I can't say much about that area.
> >
> > Thanks for confirming my suspension.
> >
> > I've tried two different cables.  I have few more I can test.
> > Unfortunately, I have to use a short USB 3.x extension cable
> > as the port is on the motherboard under a table.
> >
> > --
> > steve
>
> Another unwanted possibility would be that controller mimic'ing SCSI
> (As reported being "umass0:  SCSI over Bulk-Only") is reporting as if
> it's U2 or UW SCSI device.
>


No. Reported speed doesn't matter. It's reported by the SIM and is a guess.
For USB attached it doesn't change anything.

Warner


>  https://en.wikipedia.org/wiki/SCSI
>
>  https://en.wikipedia.org/wiki/SCSI
>
>
> --
> Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>
>
>

[-- Attachment #2 --]
<div dir="auto"><div><br><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, Apr 4, 2025, 9:57 PM Tomoaki AOKI &lt;<a href="mailto:junchoon@dec.sakura.ne.jp">junchoon@dec.sakura.ne.jp</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, 4 Apr 2025 19:44:49 -0700<br>
Steve Kargl &lt;<a href="mailto:kargls@comcast.net" target="_blank" rel="noreferrer">kargls@comcast.net</a>&gt; wrote:<br>
<br>
&gt; On 4/4/25 19:28, Alexander Motin wrote:<br>
&gt; &gt; On 04.04.2025 21:45, Steve Kargl wrote:<br>
&gt; &gt;&gt; Anyone using a Samsung T7 external SSD with FreeBSD current?<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; If I plug the drive into a USB 2.0 port, I see<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; usb_msc_auto_quirk: UQ_MSC_NO_GETMAXLUN set for USB mass storage <br>
&gt; &gt;&gt; device Samsung PSSD T7 Shield (0x04e8:0x61fb)<br>
&gt; &gt;&gt; ugen0.2: &lt;Samsung PSSD T7 Shield&gt; at usbus0<br>
&gt; &gt;&gt; umass0 on uhub1<br>
&gt; &gt;&gt; umass0: &lt;Samsung PSSD T7 Shield, class 0/0, rev 2.10/1.00, addr 47&gt; on <br>
&gt; &gt;&gt; usbus0<br>
&gt; &gt;&gt; umass0:  SCSI over Bulk-Only; quirks = 0x0100<br>
&gt; &gt;&gt; umass0:5:0: Attached to scbus5<br>
&gt; &gt;&gt; da0 at umass-sim0 bus 0 scbus5 target 0 lun 0<br>
&gt; &gt;&gt; da0: &lt;Samsung PSSD T7 Shield 0&gt; Fixed Direct Access SPC-4 SCSI device<br>
&gt; &gt;&gt; da0: Serial Number S6NPNS0Y201077Y<br>
&gt; &gt;&gt; da0: 40.000MB/s transfers<br>
&gt; &gt;&gt; da0: 1907729MB (3907029168 512 byte sectors)<br>
&gt; &gt;&gt; da0: quirks=0x2&lt;NO_6_BYTE&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; However, the SSD is supposedly a USB 3.2 gen 2 device with a ~1000 MBps<br>
&gt; &gt;&gt; read/write speed.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; When plugged into a USB 3.x port, I typically see<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; ugen0.2: &lt;vendor 0x0507 product 0x0204&gt; at usbus0<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; and the device is not listed with usbconfig.  Repeatedly, unplugging the<br>
&gt; &gt;&gt; ssd and re-plugging it into the USB 3.x port, I eventually get the <br>
&gt; &gt;&gt; above dmesg output.  Do I need a quirk for this SSD to get <br>
&gt; &gt;&gt; recognized?  Also,<br>
&gt; &gt;&gt; shouldn&#39;t it connect with faster transfer rate than &#39;da0: 40.0MB/s&#39;?<br>
&gt; &gt; <br>
&gt; &gt; 40MB/s exactly means the device connected to USB2 controller or at least <br>
&gt; &gt; at USB2 speed.  Considering that other times it does not connect at all, <br>
&gt; &gt; I wonder if some signal quality issue or something else prevents it from <br>
&gt; &gt; going proper USB3.  IIRC USB3 uses completely different wires in the <br>
&gt; &gt; connector.  Also USB2 and USB3 can be handled by different controllers <br>
&gt; &gt; with different drivers, so not detecting it still might be a software <br>
&gt; &gt; issue, but I can&#39;t say much about that area.<br>
&gt; <br>
&gt; Thanks for confirming my suspension.<br>
&gt; <br>
&gt; I&#39;ve tried two different cables.  I have few more I can test.<br>
&gt; Unfortunately, I have to use a short USB 3.x extension cable<br>
&gt; as the port is on the motherboard under a table.<br>
&gt; <br>
&gt; -- <br>
&gt; steve<br>
<br>
Another unwanted possibility would be that controller mimic&#39;ing SCSI<br>
(As reported being &quot;umass0:  SCSI over Bulk-Only&quot;) is reporting as if<br>
it&#39;s U2 or UW SCSI device.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">No. Reported speed doesn&#39;t matter. It&#39;s reported by the SIM and is a guess. For USB attached it doesn&#39;t change anything.</div><div dir="auto"><br></div><div dir="auto">Warner</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
 <a href="https://en.wikipedia.org/wiki/SCSI" rel="noreferrer noreferrer" target="_blank">https://en.wikipedia.org/wiki/SCSI</a><br>;
<br>
 <a href="https://en.wikipedia.org/wiki/SCSI" rel="noreferrer noreferrer" target="_blank">https://en.wikipedia.org/wiki/SCSI</a><br>;
<br>
<br>
-- <br>
Tomoaki AOKI    &lt;<a href="mailto:junchoon@dec.sakura.ne.jp" target="_blank" rel="noreferrer">junchoon@dec.sakura.ne.jp</a>&gt;<br>
<br>
</blockquote></div></div></div>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfoF4Z6MovXcpd1w0HTjik8WPVtuhsSPY4x2mY%2B3Kyx6FA>