From nobody Sat Apr 5 16:07:58 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ZVL3z4wN6z5sPlc for ; Sat, 05 Apr 2025 16:08:15 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic306-20.consmr.mail.gq1.yahoo.com (sonic306-20.consmr.mail.gq1.yahoo.com [98.137.68.83]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZVL3x6qQGz4PYD for ; Sat, 05 Apr 2025 16:08:13 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=cZsAzRrF; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.68.83 as permitted sender) smtp.mailfrom=marklmi@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1743869292; bh=hGdZCgjVkBCclY6YybJdYSG67H67rqYlmUeiZ7HWNxY=; h=From:Subject:Date:References:To:In-Reply-To:From:Subject:Reply-To; b=cZsAzRrFIOnSx2JiuTzqJAtFOBbiJwIH13LfiG78dS/6cqmiFiyJ4G3otPjSHAyzWWt9PBl8Td4bO0+ou5x54DErjeUh/kzaGtrXZJpDSjIV11oP5P7nIC6297K2TYoK4cmHnFH05c3Q0uOI3ejbUM24QHRVgEkdAKiasPLdCfwfiVCsz5hQNeLg7ydmv0IJIgUoCv0k5HyUL/CSGFsC0u8NHq6Jkce+5vMiWYU+nk/GMub09UrDn3Fuk0jV6XYjR1PClTjPa7Wb6uBp7vK423Op1E/xoZAGnlcYg6PHxSDRNs9AtgiwJULIio2g/6EEJY4kQOXzgJiatW+0AY4qXg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1743869292; bh=Wq50PtSB8wJKBFnF8leN3EpkR0H2v6U0mp0SAIvnAa2=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=akkdNLYuhNnIVbcH1vmi9i5644bYbmIgKOMiUjuEwyzg0u/cTiDcXTcFjg5EehefF+WR05ohWb49YwcHVQU1raJgIDdcvLlQpLdCpcfc9F8NllPN9BLnRGPyIn9wDtasLFtBmq+i8fSFuaiFYoGbwzicVOJNSq0DpW7iBTUck0uBVPzqXAtBDV3byFKOvGemc+kxw/MSW5MQ4TzN+KbZAqbR+yJl6z3WYFTrVAnPvCfWAufffQ0SMxunBJc28+dcdEgsc40iPZTCEQkr4WhmfvzqG+Wqqip5/xynQMawzkHeDO+dMiIIQuocJBUVXUGsPV0JONiPN5VKmE0J8v3eHg== X-YMail-OSG: UQ0JoxYVM1nsFJqQt1GApw07ty.B9lPlGXkSq8v6dZV6zeqEiquQhSYmj6b9l_H 8p2FC8gDyOOOqungwkUvIirwL3CAglQRaa6Q.cLHZxpmUDLVa_lTeVXe0TlSoSjCkOM9xx7IA9BH Xi3jM4TKGDZZrKdk8Qj0RA7Ar9gmFMs1sR5CHMSrmDrJMcwzEfUUjmH2OQdC1poWYVsMUmz7za.5 lw8cwBHKkOsfsQIZLGxoSVO6aeA4VNfDF7344OJYrHepbEm9_HXld3bp0cWNb07ceTg5wSu0iXT5 kDSz7WRl5ZlRuRv1ZO88kIV9u7igXs.WtEoN1ajLEWzHaaAaEc7krGBpSI3LRTzlB4CufP8PpVFZ uii98e6WRr7sA7bF1F86nIxrUGHT2DD.Nof4rscpoKMSYLt_dZm5nKRXbliFciy.MvwvsrUmN.9o mhNQQU9Xb9n_YCh2URMbvkG3FVX615xQOKzNFstrIJG6W0DoySRxnKhOYWWq.dhgPA0TMxXPiiPT kP7jhgFrKg6z0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O3FV1.zCIB_Nsc8p2I8.f9bh84_NJeQwmP 5ON38_JaN9Ara6fFlKFy6aGzK3gfRHUqe1WHH_4OwV6.9xdScfpPy0fQc0xHRGFAPeKgUwysdvS. Cva76y3Ru9CIRUkxZ1_LADMDreXC5ZKNd5JEtyH.bZoF9ggDgjWeDvG7AA.zF5hUBU.sc3FATc4h VdAKgbr54DMv.eUQn9rjJFgstDDqhXFxgM1JRKQhNB3dqPdC9sduwibE9qjSGVTtgC5Zj3kHZdmq H_fqwV0uiwSDhJKz8xEbjIKu7HSJf8hzbcR8EmtsUSGbWNW1.pUhx4VFDxnsUf5VQfbbj.VFjPUE Qw0V2wLoG3zV9Su19rQvL7fOfu.mj5WI0XBcZRs04SGpnztGoVcglPOitMrQN7zLTMNxr.qW5k4V d5W_ioYAwIeXxGJPPOH_rCW86skwUvU78fcwhsPz0kKahu2Y12F3lAcGVFSjigcyehy5.sTCaHTI 26rEriybUkA5aER4l0pWHOoiGSvi23DY9CZjRPGHV2SjuWhPq7aSgHy9sFnVNxA8SyuPDDUgwQmw nrFeZscoyyyqNNAia7fr6.FwtPDL8Az_i9QWWRJWSghhqAOvurkxhkps9DPZiCAQXMyHgogpzoFV LfbR9aIh8m2aebhFMf2GMxPAIRfB9XkQWYJxZQzr2JHbiMDDG0XG0aUx0vM2tr9hyhVjswLxSQvf pVkq8vA-- X-Sonic-MF: X-Sonic-ID: 3fb0b684-78da-46e4-8255-559cf6027c0d Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.gq1.yahoo.com with HTTP; Sat, 5 Apr 2025 16:08:12 +0000 Received: by hermes--production-gq1-5c477bf655-pf5cp (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID bf995e226e9601565523cd90d7ff9417; Sat, 05 Apr 2025 16:08:09 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.500.181.1.5\)) Subject: Re: Samsung T7 external SSD support? Date: Sat, 5 Apr 2025 09:07:58 -0700 References: To: kargls@comcast.net, FreeBSD Current In-Reply-To: Message-Id: <5331211E-9FD6-4E60-873B-729BD04A40EC@yahoo.com> X-Mailer: Apple Mail (2.3826.500.181.1.5) X-Spamd-Result: default: False [-3.40 / 15.00]; RBL_SENDERSCORE_REPUT_9(-1.00)[98.137.68.83:from]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.90)[-0.901]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; FREEMAIL_TO(0.00)[comcast.net,freebsd.org]; FREEMAIL_FROM(0.00)[yahoo.com]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.83:from]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.83:from] X-Rspamd-Queue-Id: 4ZVL3x6qQGz4PYD X-Spamd-Bar: --- [Attempting to send to the right FreeBSD list this time.] On Apr 5, 2025, at 09:02, Mark Millard wrote: Steve Kargl wrote on Date: Sat, 05 Apr 2025 01:45:53 UTC : > 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: at usbus0 > umass0 on uhub1 > umass0: 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: Fixed Direct Access SPC-4 SCSI device > da0: Serial Number S6NPNS0Y201077Y > da0: 40.000MB/s transfers USB2 port connections always show <= 40 MiByte/sec. Maximums: USB 2.0 High Speed 480 Mbps USB 1.1 Full speed 12 Mbps USB 1.0 Low speed 1.5 Mbps It does not matter if the USB device supports any of the faster USB3+ speeds: USB 3.0 SuperSpeed 5 Gbps (FreeBSD reports 400 MiByte/sec) USB 3.1 SuperSpeed/Gen1 5 Gbps (FreeBSD reports 400 MiByte/sec) USB 3.1 SuperSpeed+/Gen2 10 Gbps USB 3.2 SuperSpeed+/Gen2 10 Gbps USB 3.2 SuperSpeed+/Gen2x2 20 Gbps (requires USB-C) USB4 10Gbps/Gen2x2 10 Gbps (requires USB-C)? USB4 20Gbps/Gen2x2 20 Gbps (requires USB-C) USB4 40Gbps/Gen3x2 40 Gbps (requires USB-C) USB4 80Gbps/Gen3x2 80 Gbps (requires USB-C) Note: FreeBSD never reports more than 400 MB/sec in the "da*: * MB/s transfers" messages. The figure shown is not based on measurement. I do sometimes have connections that normally report 400 MB/sec (so: 5 Gbps mode use) instead report 40 MiByte/sec (so: USB 2.0 480 Mbps mode used instead). So far as I know, FreeBSD has no explicit support for enabling use of any 10+ Gbps modes. FreeBSD support for USB4 varies based on if the likes of UEFI/ACPI handles various things when the kernel does not: FreeBSD does not have all the kernel software that would be required. So it does not disable the UEFI/ACPI handling. Even when UEFI/ACPI or the like handles various things, and so enabling some USB4 use, there may be issues with hot-unplugging and/or hot-plugging USB4 connections. > da0: 1907729MB (3907029168 512 byte sectors) > da0: quirks=0x2 > > However, the SSD is supposedly a USB 3.2 gen 2 device with a ~1000 MBps > read/write speed. https://semiconductor.samsung.com/us/consumer-storage/portable-ssd/t7-touch/ reports in the "*" footnote: "To reach maximum read/write speeds of up to 1,050/1,000 MB/s, respectively,the host device and connection cables must support USB 3.2 Gen 2 and the UASP mode must be enabled." FreeBSD does not support UASP mode use: just "SCSI over Bulk-Only". So do not expect 1,050/1,000 MB/s even if everything else about the hardware environment could support it. (Such consequences for lack of UASP is not unique to the T7 Touch.) > When plugged into a USB 3.x port, I typically see > > ugen0.2: 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. Seems like a possible cable / signal integrity problem. In my use of T7 Touches some hosts are picky about which type of cable I use. For 2 of them, the pre-supplied cable does not work reliably. But the cables that work for those, do not generally work well elsewhere. ". . . the internal resistance and maximum allowable current can vary depending on which type of cable you are using." > Do I need a quirk for this SSD to get recognized? I've never had to adjust the quirk status. But on some RPi*'s I've had to have U-Boot use usb_pgood_delay adjustments to reliably boot. (An issue that happens before even the FreeBSD loader is involved.) > Also, > shouldn't it connect with faster transfer rate than 'da0: 40.0MB/s'? See earlier notes above. === Mark Millard marklmi at yahoo.com === Mark Millard marklmi at yahoo.com