Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <yded5lju6r.fsf@UBEblock.psr.com>
Deutsch   English   Français   Italiano  
<yded5lju6r.fsf@UBEblock.psr.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Winston <wbe@UBEBLOCK.psr.com.invalid>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: errors using new Samsung 870 EVO SSD
Date: Sun, 15 Sep 2024 02:40:44 -0400
Organization: A noiseless patient Spider
Lines: 58
Message-ID: <yded5lju6r.fsf@UBEblock.psr.com>
References: <ydo75mb6u2.fsf@UBEblock.psr.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Sun, 15 Sep 2024 08:40:41 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="a80ae9c2429e29564dcdd9e5b5415a34";
	logging-data="2147391"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/AMb3PdbivTW7oRFGFr1Ju"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:8+Lj4zTTsvzS+8Nre1MQK1RBOxo=
	sha1:IIcxk+ILkfB+iqI+zUU4Uld44WE=
Mail-Copies-To: never
Bytes: 3043

I previously wrote (in part):
> It looks like there's some kind of compatibility or interface problem.

> Aug 21 03:01:24: (ada0:ahcich0:0:0:0): CAM status: Auto-Sense Retrieval Failed
> Aug 21 03:01:24: (ada0:ahcich0:0:0:0): Error 5, Unretryable error
 ...
> Aug 21 03:01:25: (ada0:ahcich0:0:0:0): CAM status: ATA Status Error
 ...
> Aug 21 03:01:26: (ada0:ahcich0:0:0:0): CAM status: Uncorrectable parity/CRC error
> ----------
> Here's smartctl -x output, keeping only what looked "interesting"/relevant:
 ...
> 0x06  0x018  4              64  ---  Number of Interface CRC Errors

Careful reading of the error messages and check of smartctl info
indicated to me some kind of data/interface/compatibility error, not a
read/write problem in the SSD.

Google search turned up various Samsung 860 and 870 EVO articles.

What I've determined:

* It's not a bad data cable:

   Some of the articles suggested the problem might be a bad cable.
   I ordered two new ones (SATA III).
   Result: no improvement.
   That's as I expected, since I was pretty sure my cables were good,
   but it was cheap to try.

* Fix 1:

   Based on the articles I read, this problem with Samsung 870 EVO and
   860 EVO SSDs appears to affect not just FreeBSD, but *BSD and at
   least some Linuxes.

   The solution/workaround (at least for FreeBSD) is to disable command
   queueing ("camcontrol negotiate $theSSD -T disable").

* Fix 2:

   Connect the SSD with a USB-to-SATA adapter cable.
   I found such a cable in stock at Best Buy for $12.
   Perhaps this works because there's no command queueing over USB.

As a side note, instead of turning off tagged queueing, I also tried
reducing the number of tags from 32 to 2.  Didn't help: the errors
continued to happen.

Maybe some day Samsung will come out with new firmware that fixes this
problem.

Is this something I should post to bugzilla (it's not a FreeBSD bug,
though) or to some FreeBSD forum (which one)?  Google no longer gets
USENET, so I don't expect this article would be found by Google search.

HTH,
 -WBE