Article View: muc.lists.freebsd.current
Article #126Re: Filesystem errors on armv7 -current
From: Mark Millard
Date: Thu, 29 Oct 2026 19:16
Date: Thu, 29 Oct 2026 19:16
199 lines
13348 bytes
13348 bytes
On 10/29/26 09:50, bob prohaska wrote:
> On Thu, Oct 29, 2026 at 02:36:22PM +0000, void wrote:
>> On Wed, Oct 28, 2026 at 08:09:15AM -0700, bob prohaska wrote:
>>> On Wed, Oct 28, 2026 at 04:11:02AM +0000, void wrote:
>>>> On Wed, Oct 21, 2026 at 11:33:06AM -0700, bob prohaska wrote:
>>>> [filesystem errors]
>>>>
>>>> Have you tried making an nfs server on a more powerful box
>>>> and exporting /usr/src ports obj and optionally ccache to your rpi2b?
>>>>
>>>> I have a setup like this and it works well.
>>>> --
>>>
>>> I haven't, simply because I'd like to understand what went wrong,
>>> to the extent of my ability.
>>>
>>> In the meantime I've added a few files to the repository of errors at
>>> http://www.zefox.net/~fbsd/rpi2/disktrouble/
>>>
>>> In particular, there are now two diskscan reports taken while accessing
>>> the disk via the same powered hub (and hub power supply) that presided
>>> over the initial problem. Near as I can tell, the hub does not interfere
>>> with the performance of the disk.
>>
>> The reason I suggested (nfs) was that long ago I had issues with both the
>> pi2b & pi3b read/writing to usb in an OS context.
>> The breakage becoming particulatly obvious in a read/write of small
>> files situation, like git clone.
>>
> I had reasonable success using git on microSD-based self-hosted
> Pi2 and Pi3 systems but it appeared the microSD cards didn't age
> very well. They seemed to work until garbage collection started,
> and then become unreliable. As "write once" devices they worked.
>
>> I put it down to the usb2 ports [1] on both boards not really being
>> up to this OS task. nfs negates this issue, even though the port is only
>> 100Mbit.
>>
>> The issue is not present on fast media plugged into the usb3 port of
>> a pi4. I have not tested something like a git update on the microsd
>> but I'd expect the same issues as encountered on the pi2b & pi3b usb,
>> because the microsd media isn't designed for fast small reads/writes.
>> I'd expect errors.
>>
>> [1] maybe the boards in general.
>
> I've long felt that USB is somewhat flaky on FreeBSD, though exactly
> where or how I can't begin to guess. USB behavior on RasPiOS is sometimes
> surprising too. 8-)
>
> Just for comparison, I connected the troublesome disk via a Startech
> USB3S2SATCB bridge and re-ran diskscan. It took about 10 hours instead
> of 9 and the latency graph looks very different:
> http://www.zefox.net/~fbsd/rpi2/disktrouble/startech_discscan
> That bridge was bought in 2020, IIRC it was usb2. Now the same
> item is sold as usb3. It uses an ASMedia bridge chip.
Ignoring the odd latency graph because of mismatched scaling and looking
at the data instead . . .
http://www.zefox.net/~fbsd/rpi2/disktrouble/hub_diskscan1
vs.:
http://www.zefox.net/~fbsd/rpi2/disktrouble/startech_discscan
look rather similar:
Disk scan |======================================================|
ETA:10h50m58s
. . .
2.233 0.000000 1 1.00
2.451 0.100000 1533297 1.11
2.491 0.200000 3293949 1.25
2.503 0.300000 4775281 1.43
2.517 0.400000 6138449 1.67
2.531 0.500000 7762924 2.00
. . .
2.543 0.600000 9322321 2.50
. . .
2.555 0.700000 10696040 3.33
. . .
2.579 0.800000 12279122 5.00
. . .
2.683 0.900000 13737446 10.00
. . .
4.231 0.999316 15251534 1462.86
4.519 0.999414 15253025 1706.67
5.215 0.999512 15254509 2048.00
6.427 0.999561 15255255 2275.56
8.703 0.999609 15256004 2560.00
11.007 0.999658 15256746 2925.71
. . .
1329.151 1.000000 15261960 16777216.00
1329.151 1.000000 15261960 inf
#[Mean = 2.552, StdDeviation = 1.444]
#[Max = 1329.151, Total count = 15261960]
#[Buckets = 16, SubBuckets = 2048]
vs.
Disk scan |======================================================|
ETA:10h55m38s
. . .
2.259 0.000000 1 1.00
2.483 0.100000 1553722 1.11
2.503 0.200000 3103798 1.25
2.521 0.300000 4625732 1.43
2.535 0.400000 6330687 1.67
2.545 0.500000 7896138 2.00
. . .
2.555 0.600000 9354429 2.50
. . .
2.565 0.700000 10731515 3.33
. . .
2.581 0.800000 12321897 5.00
. . .
2.673 0.900000 13744362 10.00
. . .
4.843 0.999316 15251544 1462.86
5.195 0.999414 15253019 1706.67
6.351 0.999512 15254507 2048.00
7.707 0.999561 15255255 2275.56
9.407 0.999609 15255998 2560.00
11.319 0.999658 15256744 2925.71
. . .
1328.127 1.000000 15261959 16777216.00
1328.127 1.000000 15261959 inf
#[Mean = 2.571, StdDeviation = 1.432]
#[Max = 1328.127, Total count = 15261959]
#[Buckets = 16, SubBuckets = 2048]
In other words, it does not look like the Startech USB3S2SATCB bridge
would lead to different conclusions: The bridge is not likely to be the
specific source of the specific problem.
>
> In particular, the "latency" axis on the left has substntially larger
> values. There also a single gap in the data with no variation in value.
> Can't tell if that's real or a plotting error. The copy/paste to the
> web page faithfully represents the original ascii art.
The plot should be of the presented data. Thus, the scaling diffrence
should not have happened . . .
Latency graph:
1470 |
|
| ^
|
| ^
1225 |
. . . (1329.151 falls in the top range) . . .
vs.:
Latency graph:
300000 |
|
|
|
|
250000 |
. . . (1328.127 falls outside the top range) . . .
>
> I'm going to re-run the original diskscan using the Jmicron bridge.
> Maybe re-seating the SATA connector will change something.
>
> Thanks for writing!
>
> bob prohaska
>
>
>
>
--
===
Mark Millard
marklmi at yahoo.com
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<b968af8d-c37f-42e0-86ae-5dd4841570cc@yahoo.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mailReferences:
<> <auN5VP3Wy65-vaXe@www.zefox.net>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail From: Mark Millard <marklmi@yahoo.com> Newsgroups: muc.lists.freebsd.current Subject: Re: Filesystem errors on armv7 -current Date: Thu, 29 Oct 2026 12:16:55 -0700 Organization: Newsgate at muc.de e.V. Sender: owner-freebsd-current@FreeBSD.org Approved: news-admin@muc.de Distribution: world Message-ID: <b968af8d-c37f-42e0-86ae-5dd4841570cc@yahoo.com> References: <> <auN5VP3Wy65-vaXe@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2"; logging-data="39791"; mail-complaints-to="news-admin@muc.de" User-Agent: Mozilla Thunderbird DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793301450; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=DoHhsyMnCpnNuV2StgW26PKTUgFaiQLUuOFiqyGKI6E=; b=JDoXqwu3wynZTyAgJH+aDOLDAOmbVlZaJ942NnrhXe9iM/j0Z1t7f0lJmY3FIGA6i5A6ck Jh35r7i3ZzzQzVzi25BdFKP7Q8P2yWKAuiY7cnTR4aLiToDFces+QaGOEyJ7JM98gul8pz VQDdx7Q/dJVbWQ1kXz5TvvbKWMjsFQFgLjwCKyMyrGKyBC0rMlDB7AQrOw8/hqj1F+p5Sw MYNIJ52MPaQt8idvwVKOP9gfrVMgPNdnfRFACFFEDM4ngHl9UoWjf7fBQ12vb1CFv7u8Pa cVuAMuFxloA0m+H+AbBN5l8PccGKVdm+KfS0XpnpR3SvtM8arDE+umgW+qabfw== X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=bnS9RdKD; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 34.2.70.26 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1793301421; bh=DoHhsyMnCpnNuV2StgW26PKTUgFaiQLUuOFiqyGKI6E=; h=Date:Subject:To:References:From:In-Reply-To:From:Subject:Reply-To; b=bnS9RdKDV3ei2yww0OnRN6R0lFmXjOPwQAnlzls3e1yp15bz92FV4av5odaFapYU6v7LgMTK6QsCQp6g3zglfZMUL85QH7RsOlW3CjbOJVMXVcjRKNEnxiAb0HbhanrEoRIE3F7wMy8GAfmqIrHYXPfvoanQAlGQdkci++Y3y0f6lXtA+qJwC5yLuDYbsFhcLvOZWq4NqiG+R9slCk2oEhTssAvkA7RusiT1ZQ/9MdG5vrHXMUmCLijQLZiFe0N3DYYUduzjIBjEAIQioHuwNnchUDehHdHsfZC5WxLe0XhCqKQxapp8IGAdpfYytR1rWpM02+mfurn98zopjHNt7g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1793301421; bh=doQx+I37yXIrZnG5y1Rovq4zlCik5uBXOhEIxE9OmXm=; h=X-Sonic-MF:Date:Subject:To:From:From:Subject; b=V2vE726th/sqMdgg+eEffrpI4+ET/SdvVnoNKL6A3F7SeoMC7Ik7zAvWY1roATaP59J0u60oM8v4E8EuJKyYQ7CaW9aIBOgR9/vBsj0xAo2mOcN89vNqpuskLvs8ec9xMpHmsQN++Gx3CMasSjQUPfgf0OVeAQ3TutuLlYM8a9HWWkj1LNUzJnQtsDlrojH08aNLh5/patDHYPEq8MLCvkkCV6fFPJNfB2Zr6GUQUF5mag4kd3g0qGr0Cqtqlw6kVNsYfqDTi1WHMxWdU7RlW+VYV0KMBvyAWwGMynBY1mmZ8tCr7BnaMRpqom4O1oJsiWJh3S0oiMBBre8+f4RTRg== X-YMail-OSG: W_VdOWEVM1kUSop4Fma3acQjRzZfRy0uGouSM8EhE69LzuU9Ssu_D.3nmHGRS8L OsirBP7cBaFAsYqTV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Kkv78dUEvvFclxJCd3YKMAnf1p32t1tjXgoe3sA9_Wyx9E kjLvqlZdOyWvdHjrW2qZm1POthk6K6VzVBlGQnKE2gA5kRqH9PzDOvZtcuegiRDPudU0BWJgWkx8 ggAQ3MAGXc9MJZdGsXWJHUUbVd3xJnMY5j8bJa8vJof707QDn5EZP3Qs2WRFAAGM7LY_glgmnAlR 55Zh6yS1lKZiOgOZqhXmnbukQCUOni1n_Eq1.f287s7_IeEhSjUboowuGlc6o7R1yGQXfWpzsAz5 e6ho7qBRGcqt3b7NgVnS2NdVjgzVO4fvtJuicoimZ4v7IytOjSCgt_xA1ljcKUeZR6DYZGABjI4J yrg3seJDXeWtFmjgSPW3JvfLCxYZMbfwstV1fHwGgUlATjSgrVsMmIsA19He_X1bZJ7U5jRXQvnF 5MvKi.F_jzJnK2yzBAQQGdXdNQvOrM1Vu4f2PK00nU5gLmBHFtQsFEhQL8xlEDOMagk5QBA7yTE. JXRzT0q9R0sz.ZMkP_YGKvC0Pt0nrdttRQQCgXT15Xz6qwtn6ajD_cjlL23pQtH09VhZYwWuxdsA fr6HOJXIEtF___b7aDIJOSGnS1yXIH2ZUJMzJHw2iTrxEGkABB.OvdzE7VXqm8oVMjJw_NM2H6KO BGRcQwLFGdABvdAJ25LoJEr5OvxXGe99ZIc3bTq.RQCoW_xUqOkGs3ATUXS.Jlx7otvteBR7_TGC gRehoYyu9NTbjpKfb2j6fHCjXFz.3WbylkfSYJ3DXUzgx5P4Tl.HURzwreY2un2f7B97O5Q6DnLA 79DiDEyoclGevVEJieNa3oTcdS50ra.qNOCKz.nslQmlNqBKq151UjpqB.IB9OwwrvWx7ewqoMLe lfRyczLtnEaZUjPBXM8sosDQ1pifCVLN6MnuJz9ZOeLvCcdScGkS1Hs0gD4WzVTEtrk8RgQboeZc - X-Sonic-MF: <marklmi@yahoo.com> X-Sonic-ID: 0cfe8197-eb24-447f-8a39-91c833969194 Precedence: list Content-Language: en-US In-Reply-To: <auN5VP3Wy65-vaXe@www.zefox.net> X-Rspamd-Queue-Id: 4jFv9p6nsMz4F8g X-Spamd-Bar: - X-Spamd-Result: default: False [-1.20 / 15.00]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; RWL_MAILSPIKE_VERYGOOD(-0.20)[34.2.70.26:from]; R_SPF_ALLOW(-0.20)[+ip4:34.2.64.0/19]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; ASN(0.00)[asn:15169, ipnet:34.2.70.0/23, country:US]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[34.2.70.26:from]; RCVD_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+] X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes