🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: muc.lists.freebsd.current
24 messages
24 total messages Started by bob prohaska Tue, 20 Oct 2026 01:43
Re: Filesystem errors on armv7 -current
#63
Author: bob prohaska
Date: Tue, 20 Oct 2026 01:43
29 lines
3885 bytes
On Mon, Oct 19, 2026 at 11:47:56AM -0700, Mark Millard wrote:
> 
> What about any newer security Email reports? Are they still showing find
> reporting the various "Input/output error" messages? In the published
> file they repeated for 2 distinct find commands.
> 
> (There was also some "Invalid argument" ones in the file you had uploaded.)
> 

This morning's security email did repeat the I/O errors while yesterday's
didn't. I think that may have something to do with an OS build/install
cycle completing. I didn't pay close attention but will try to keep 
better track.

The machine is running a build/install cycle on the last set of sources
completed, just to let buildworld "catch up" with the changes introduced
by installworld. I expect that to finish without problems, but it'll 
take a few days to find out. It's still working on cross tools.


Thanks for writing!

bob prohaska



--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Filesystem errors on armv7 -current
#65
Author: bob prohaska
Date: Wed, 21 Oct 2026 18:33
71 lines
5532 bytes
On Mon, Oct 19, 2026 at 06:43:59PM -0700, bob prohaska wrote:
> On Mon, Oct 19, 2026 at 11:47:56AM -0700, Mark Millard wrote:
> > 
> > What about any newer security Email reports? Are they still showing find
> > reporting the various "Input/output error" messages? In the published
> > file they repeated for 2 distinct find commands.

The security email this morning (10/21/26) contained in part:


Checking setuid files and devices:
find: /usr/ports/accessibility/py-atspi: Input/output error
find: /usr/ports/biology/smithwaterman: Input/output error
find: /usr/ports/devel/dwz/files: Input/output error
find: /usr/ports/devel/p5-Config-Parser: Input/output error
find: /usr/src/lib/libc/resolv: Input/output error
find: /usr/src/lib/libpmc/pmu-events/arch/arm64/ampere: Input/output error
find: /usr/src/sys/contrib/device-tree/Bindings/powerpc/nintendo: Input/output
+error
find: /usr/src/sys/contrib/device-tree/Bindings/reset: Input/output error
find:
+/usr/src/sys/contrib/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int:
+Input/output error


Checking negative group permissions:
find: /usr/ports/accessibility/py-atspi: Input/output error
find: /usr/ports/biology/smithwaterman: Input/output error
find: /usr/ports/devel/dwz/files: Input/output error
find: /usr/ports/devel/p5-Config-Parser: Input/output error
find: /usr/src/lib/libc/resolv: Input/output error
find: /usr/src/lib/libpmc/pmu-events/arch/arm64/ampere: Input/output error
find: /usr/src/sys/contrib/device-tree/Bindings/powerpc/nintendo: Input/output
+error
find: /usr/src/sys/contrib/device-tree/Bindings/reset: Input/output error
find:
+/usr/src/sys/contrib/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int:
+Input/output error

However, buildworld/buildkernel and installation of both succeeded last
night, followed by a successful hands-off reboot. A re-run of buildworld
on the previously-built sources is underway now to get /usr/obj up to date.

Running
# ls -l /usr/ports/accessibility/py-atspi
ls: /usr/ports/accessibility/py-atspi: Input/output error
# 
but
# ls -ld /usr/ports/accessibility/py*
drwxr-xr-x  2 root wheel 512 Dec  9  2025 /usr/ports/accessibility/py-atspi
drwxr-xr-x  2 root wheel 512 Dec  9  2025 /usr/ports/accessibility/py-speech-dispatcher
# 
does not

Prior to the last OS build/install cycle /usr/src was renamed /usr/src.old
and replaced by a fresh clone.

/usr/ports has been kept in its pre-existing form apart from git pulls

Does this maybe suggest a problem with find?

Thanks for reading!

bob prohaska




--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Filesystem errors on armv7 -current
#66
Author: Mark Millard
Date: Wed, 21 Oct 2026 19:24
129 lines
10937 bytes
On 10/21/26 11:33, bob prohaska wrote:
> On Mon, Oct 19, 2026 at 06:43:59PM -0700, bob prohaska wrote:
>> On Mon, Oct 19, 2026 at 11:47:56AM -0700, Mark Millard wrote:
>>>
>>> What about any newer security Email reports? Are they still showing find
>>> reporting the various "Input/output error" messages? In the published
>>> file they repeated for 2 distinct find commands.
> 
> The security email this morning (10/21/26) contained in part:
> 
> 
> Checking setuid files and devices:
> find: /usr/ports/accessibility/py-atspi: Input/output error
> find: /usr/ports/biology/smithwaterman: Input/output error
> find: /usr/ports/devel/dwz/files: Input/output error
> find: /usr/ports/devel/p5-Config-Parser: Input/output error
> find: /usr/src/lib/libc/resolv: Input/output error
> find: /usr/src/lib/libpmc/pmu-events/arch/arm64/ampere: Input/output error
> find: /usr/src/sys/contrib/device-tree/Bindings/powerpc/nintendo: Input/output
> +error
> find: /usr/src/sys/contrib/device-tree/Bindings/reset: Input/output error
> find:
> +/usr/src/sys/contrib/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int:
> +Input/output error
> 
> 
> Checking negative group permissions:
> find: /usr/ports/accessibility/py-atspi: Input/output error
> find: /usr/ports/biology/smithwaterman: Input/output error
> find: /usr/ports/devel/dwz/files: Input/output error
> find: /usr/ports/devel/p5-Config-Parser: Input/output error
> find: /usr/src/lib/libc/resolv: Input/output error
> find: /usr/src/lib/libpmc/pmu-events/arch/arm64/ampere: Input/output error
> find: /usr/src/sys/contrib/device-tree/Bindings/powerpc/nintendo: Input/output
> +error
> find: /usr/src/sys/contrib/device-tree/Bindings/reset: Input/output error
> find:
> +/usr/src/sys/contrib/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int:
> +Input/output error
> 
> However, buildworld/buildkernel and installation of both succeeded last
> night, followed by a successful hands-off reboot. A re-run of buildworld
> on the previously-built sources is underway now to get /usr/obj up to date.

Just because your media likely has failed, does not mean that it has
failed everywhere all at once.

I have no clue how many of your lost+found items were formerly
directories or files that were getting EIO errors.

> 
> Running
> # ls -l /usr/ports/accessibility/py-atspi
> ls: /usr/ports/accessibility/py-atspi: Input/output error

The above likely indicates that some of the directory representation is
on part(s) of the media that are getting the errors. It need not involve
the file content.

> # 
> but
> # ls -ld /usr/ports/accessibility/py*
> drwxr-xr-x  2 root wheel 512 Dec  9  2025 /usr/ports/accessibility/py-atspi
> drwxr-xr-x  2 root wheel 512 Dec  9  2025 /usr/ports/accessibility/py-speech-dispatcher
> # 
> does not
> 
> Prior to the last OS build/install cycle /usr/src was renamed /usr/src.old
> and replaced by a fresh clone.
> 
> /usr/ports has been kept in its pre-existing form apart from git pulls
> 
> Does this maybe suggest a problem with find?

As far as I can tell, it suggests reliability problems with your media
in very specific places that repeatedly get the problem.

/usr/src/lib/libc/gen/errlst.c has:

const char *const sys_errlist[] = {
. . .
        "Input/output error",                   /*  5 - EIO */
. . .

/usr/src/lib/libc/include/errlst.h has:

#ifdef PIC
/* If the main executable imports these, do not use its copy from
libc.so. */
extern const char *const __hidden_sys_errlist[] __hidden;
extern const int __hidden_sys_nerr __hidden;
#else
#define __hidden_sys_errlist sys_errlist
#define __hidden_sys_nerr sys_nerr
#endif

And there are:

/usr/src/lib/libc/string/strerror.c:#include "errlst.h"
/usr/src/lib/libc/stdio/xprintf_errno.c:#include "errlst.h"
/usr/src/lib/libc/gen/errlst.c:#include "errlst.h"

find has:

# grep -r -e strerror -e xprintf_errno /usr/src/usr.bin/find/
/usr/src/usr.bin/find/find.c:			    entry->fts_path,
strerror(entry->fts_errno));

So find is reporting the EIO returned by the system.

> 
> Thanks for reading!
> 
> 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
Re: Filesystem errors on armv7 -current
#67
Author: Rodney W. Grimes
Date: Wed, 21 Oct 2026 20:21
79 lines
5943 bytes
> On Mon, Oct 19, 2026 at 06:43:59PM -0700, bob prohaska wrote:
> > On Mon, Oct 19, 2026 at 11:47:56AM -0700, Mark Millard wrote:
> > > 
> > > What about any newer security Email reports? Are they still showing find
> > > reporting the various "Input/output error" messages? In the published
> > > file they repeated for 2 distinct find commands.
> 
> The security email this morning (10/21/26) contained in part:
> 
> 
> Checking setuid files and devices:
> find: /usr/ports/accessibility/py-atspi: Input/output error
> find: /usr/ports/biology/smithwaterman: Input/output error
> find: /usr/ports/devel/dwz/files: Input/output error
> find: /usr/ports/devel/p5-Config-Parser: Input/output error
> find: /usr/src/lib/libc/resolv: Input/output error
> find: /usr/src/lib/libpmc/pmu-events/arch/arm64/ampere: Input/output error
> find: /usr/src/sys/contrib/device-tree/Bindings/powerpc/nintendo: Input/output
> +error
> find: /usr/src/sys/contrib/device-tree/Bindings/reset: Input/output error
> find:
> +/usr/src/sys/contrib/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int:
> +Input/output error
> 
> 
> Checking negative group permissions:
> find: /usr/ports/accessibility/py-atspi: Input/output error
> find: /usr/ports/biology/smithwaterman: Input/output error
> find: /usr/ports/devel/dwz/files: Input/output error
> find: /usr/ports/devel/p5-Config-Parser: Input/output error
> find: /usr/src/lib/libc/resolv: Input/output error
> find: /usr/src/lib/libpmc/pmu-events/arch/arm64/ampere: Input/output error
> find: /usr/src/sys/contrib/device-tree/Bindings/powerpc/nintendo: Input/output
> +error
> find: /usr/src/sys/contrib/device-tree/Bindings/reset: Input/output error
> find:
> +/usr/src/sys/contrib/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int:
> +Input/output error

There should be some clues in /var/log/messages about what these I/O errors are.

> 
> However, buildworld/buildkernel and installation of both succeeded last
> night, followed by a successful hands-off reboot. A re-run of buildworld
> on the previously-built sources is underway now to get /usr/obj up to date.
> 
> Running
> # ls -l /usr/ports/accessibility/py-atspi
> ls: /usr/ports/accessibility/py-atspi: Input/output error
> # 
> but
> # ls -ld /usr/ports/accessibility/py*
> drwxr-xr-x  2 root wheel 512 Dec  9  2025 /usr/ports/accessibility/py-atspi
> drwxr-xr-x  2 root wheel 512 Dec  9  2025 /usr/ports/accessibility/py-speech-dispatcher
> # 
> does not
> 
> Prior to the last OS build/install cycle /usr/src was renamed /usr/src.old
> and replaced by a fresh clone.
> 
> /usr/ports has been kept in its pre-existing form apart from git pulls
> 
> Does this maybe suggest a problem with find?
> 
> Thanks for reading!
> 
> bob prohaska
> 
> 
> 
> 

-- 
Rod Grimes                                                 rgrimes@freebsd.org


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Filesystem errors on armv7 -current
#68
Author: bob prohaska
Date: Thu, 22 Oct 2026 02:00
23 lines
3639 bytes
On Wed, Oct 21, 2026 at 01:21:02PM -0700, Rodney W. Grimes wrote:
> > On Mon, Oct 19, 2026 at 06:43:59PM -0700, bob prohaska wrote:
> > +error
> > find: /usr/src/sys/contrib/device-tree/Bindings/reset: Input/output error
> > find:
> > +/usr/src/sys/contrib/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int:
> > +Input/output error
> 
> There should be some clues in /var/log/messages about what these I/O errors are.

I've tried looking for substrings seen above in /var/log/messages and found no
obviously-related matches. Are there some other keywords related to disk
problems that might turn up?

Thanks for writing,

bob prohaska
 


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Filesystem errors on armv7 -current
#69
Author: Mark Millard
Date: Thu, 22 Oct 2026 03:18
58 lines
8701 bytes
On 10/21/26 19:00, bob prohaska wrote:
> On Wed, Oct 21, 2026 at 01:21:02PM -0700, Rodney W. Grimes wrote:
>>> On Mon, Oct 19, 2026 at 06:43:59PM -0700, bob prohaska wrote:
>>> +error
>>> find: /usr/src/sys/contrib/device-tree/Bindings/reset: Input/output error
>>> find:
>>> +/usr/src/sys/contrib/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int:
>>> +Input/output error
>>
>> There should be some clues in /var/log/messages about what these I/O errors are.
> 
> I've tried looking for substrings seen above in /var/log/messages and found no
> obviously-related matches. Are there some other keywords related to disk
> problems that might turn up?
> 
> Thanks for writing,
> 
> bob prohaska
>  
> 
> 

There are a variety of specific types of messages, so do not take the
following  examples as what to expect in detail for USB. They are just
examples I have around:

(da1:umass-sim1:1:0:0): WRITE(10). CDB: 2a 00 65 cf fa 80 00 00 40 00
(da1:umass-sim1:1:0:0): CAM status: CCB request completed with an error
(da1:umass-sim1:1:0:0): Retrying command, 3 more tries remain

(da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 7f 95 f4 80 00 02 00 00
(da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
(da0:umass-sim0:0:0:0): Retrying command, 3 more tries remain

(probe0:umass-sim2:2:0:0): INQUIRY. CDB: 12 00 00 00 24 00
(probe0:umass-sim2:2:0:0): CAM status: CCB request completed with an error
(probe0:umass-sim2:2:0:0): Retrying command, 3 more tries remain

(probe0:umass-sim2:2:0:0): INQUIRY. CDB: 12 00 00 00 24 00
(probe0:umass-sim2:2:0:0): CAM status: CCB request completed with an error
(probe0:umass-sim2:2:0:0): Error 5, Retries exhausted

Some types of command failures might not get retries. Note how
":umass-sim" is common to the examples but not a typical string for most
other contexts.

There may be other types of messages not analogous to any part of the
above messages.

-- 
===
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
Re: Filesystem errors on armv7 -current
#72
Author: Warner Losh
Date: Thu, 22 Oct 2026 04:43
169 lines
12132 bytes
--000000000000ad08bc065e668140
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Wed, Oct 21, 2026 at 9:18=E2=80=AFPM Mark Millard <marklmi@yahoo.com> wr=
ote:

> On 10/21/26 19:00, bob prohaska wrote:
> > On Wed, Oct 21, 2026 at 01:21:02PM -0700, Rodney W. Grimes wrote:
> >>> On Mon, Oct 19, 2026 at 06:43:59PM -0700, bob prohaska wrote:
> >>> +error
> >>> find: /usr/src/sys/contrib/device-tree/Bindings/reset: Input/output
> error
> >>> find:
> >>>
> +/usr/src/sys/contrib/libsodium/src/libsodium/crypto_stream/salsa20/xmm6i=
nt:
> >>> +Input/output error
> >>
> >> There should be some clues in /var/log/messages about what these I/O
> errors are.
> >
> > I've tried looking for substrings seen above in /var/log/messages and
> found no
> > obviously-related matches. Are there some other keywords related to dis=
k
> > problems that might turn up?
> >
> > Thanks for writing,
> >
> > bob prohaska
> >
> >
> >
>
> There are a variety of specific types of messages, so do not take the
> following  examples as what to expect in detail for USB. They are just
> examples I have around:
>
> (da1:umass-sim1:1:0:0): WRITE(10). CDB: 2a 00 65 cf fa 80 00 00 40 00
> (da1:umass-sim1:1:0:0): CAM status: CCB request completed with an error
> (da1:umass-sim1:1:0:0): Retrying command, 3 more tries remain
>
> (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 7f 95 f4 80 00 02 00 00
> (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
> (da0:umass-sim0:0:0:0): Retrying command, 3 more tries remain
>
> (probe0:umass-sim2:2:0:0): INQUIRY. CDB: 12 00 00 00 24 00
> (probe0:umass-sim2:2:0:0): CAM status: CCB request completed with an erro=
r
> (probe0:umass-sim2:2:0:0): Retrying command, 3 more tries remain
>
> (probe0:umass-sim2:2:0:0): INQUIRY. CDB: 12 00 00 00 24 00
> (probe0:umass-sim2:2:0:0): CAM status: CCB request completed with an erro=
r
> (probe0:umass-sim2:2:0:0): Error 5, Retries exhausted
>

So this means that umass can't communicate with the enclosure. Maybe it's
a power issue and it's browning out.

Some types of command failures might not get retries. Note how
> ":umass-sim" is common to the examples but not a typical string for most
> other contexts.
>
> There may be other types of messages not analogous to any part of the
> above messages.
>

Are there any errors with ASC/ASCQ values?  Those are from the disk itself.

Warner


> --
> =3D=3D=3D
> Mark Millard
> marklmi at yahoo.com
>
>

--000000000000ad08bc065e668140
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote g=
mail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Oct 21,=
 2026 at 9:18=E2=80=AFPM Mark Millard &lt;<a href=3D"mailto:marklmi@yahoo.c=
om">marklmi@yahoo.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,20=
4);padding-left:1ex">On 10/21/26 19:00, bob prohaska wrote:<br>
&gt; On Wed, Oct 21, 2026 at 01:21:02PM -0700, Rodney W. Grimes wrote:<br>
&gt;&gt;&gt; On Mon, Oct 19, 2026 at 06:43:59PM -0700, bob prohaska wrote:<=
br>
&gt;&gt;&gt; +error<br>
&gt;&gt;&gt; find: /usr/src/sys/contrib/device-tree/Bindings/reset: Input/o=
utput error<br>
&gt;&gt;&gt; find:<br>
&gt;&gt;&gt; +/usr/src/sys/contrib/libsodium/src/libsodium/crypto_stream/sa=
lsa20/xmm6int:<br>
&gt;&gt;&gt; +Input/output error<br>
&gt;&gt;<br>
&gt;&gt; There should be some clues in /var/log/messages about what these I=
/O errors are.<br>
&gt; <br>
&gt; I&#39;ve tried looking for substrings seen above in /var/log/messages =
and found no<br>
&gt; obviously-related matches. Are there some other keywords related to di=
sk<br>
&gt; problems that might turn up?<br>
&gt; <br>
&gt; Thanks for writing,<br>
&gt; <br>
&gt; bob prohaska<br>
&gt;=C2=A0 <br>
&gt; <br>
&gt; <br>
<br>
There are a variety of specific types of messages, so do not take the<br>
following=C2=A0 examples as what to expect in detail for USB. They are just=
<br>
examples I have around:<br>
<br>
(da1:umass-sim1:1:0:0): WRITE(10). CDB: 2a 00 65 cf fa 80 00 00 40 00<br>
(da1:umass-sim1:1:0:0): CAM status: CCB request completed with an error<br>
(da1:umass-sim1:1:0:0): Retrying command, 3 more tries remain<br>
<br>
(da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 7f 95 f4 80 00 02 00 00<br>
(da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error<br>
(da0:umass-sim0:0:0:0): Retrying command, 3 more tries remain<br>
<br>
(probe0:umass-sim2:2:0:0): INQUIRY. CDB: 12 00 00 00 24 00<br>
(probe0:umass-sim2:2:0:0): CAM status: CCB request completed with an error<=
br>
(probe0:umass-sim2:2:0:0): Retrying command, 3 more tries remain<br>
<br>
(probe0:umass-sim2:2:0:0): INQUIRY. CDB: 12 00 00 00 24 00<br>
(probe0:umass-sim2:2:0:0): CAM status: CCB request completed with an error<=
br>
(probe0:umass-sim2:2:0:0): Error 5, Retries exhausted<br></blockquote><div>=
<br></div><div>So this means that umass can&#39;t communicate with the encl=
osure. Maybe it&#39;s</div><div>a power issue and it&#39;s browning out.</d=
iv><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px=
 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Some ty=
pes of command failures might not get retries. Note how<br>
&quot;:umass-sim&quot; is common to the examples but not a typical string f=
or most<br>
other contexts.<br>
<br>
There may be other types of messages not analogous to any part of the<br>
above messages.<br></blockquote><div><br></div><div>Are there any errors wi=
th ASC/ASCQ values?=C2=A0 Those are from the disk itself.</div><div><br></d=
iv><div>Warner</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin=
g-left:1ex">
-- <br>
=3D=3D=3D<br>
Mark Millard<br>
marklmi at <a href=3D"http://yahoo.com" rel=3D"noreferrer" target=3D"_blank=
">yahoo.com</a><br>
<br>
</blockquote></div></div>

--000000000000ad08bc065e668140--


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Filesystem errors on armv7 -current
#70
Author: Bakul Shah
Date: Thu, 22 Oct 2026 05:32
47 lines
7666 bytes
On Oct 21, 2026, at 9:43 PM, Warner Losh <imp@bsdimp.com> wrote:
> 
> 
> On Wed, Oct 21, 2026 at 9:18 PM Mark Millard <marklmi@yahoo.com> wrote:
> On 10/21/26 19:00, bob prohaska wrote:
> 
> There are a variety of specific types of messages, so do not take the
> following  examples as what to expect in detail for USB. They are just
> examples I have around:
> 
> (da1:umass-sim1:1:0:0): WRITE(10). CDB: 2a 00 65 cf fa 80 00 00 40 00
> (da1:umass-sim1:1:0:0): CAM status: CCB request completed with an error
> (da1:umass-sim1:1:0:0): Retrying command, 3 more tries remain
> 
> (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 7f 95 f4 80 00 02 00 00
> (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
> (da0:umass-sim0:0:0:0): Retrying command, 3 more tries remain
> 
> (probe0:umass-sim2:2:0:0): INQUIRY. CDB: 12 00 00 00 24 00
> (probe0:umass-sim2:2:0:0): CAM status: CCB request completed with an error
> (probe0:umass-sim2:2:0:0): Retrying command, 3 more tries remain
> 
> (probe0:umass-sim2:2:0:0): INQUIRY. CDB: 12 00 00 00 24 00
> (probe0:umass-sim2:2:0:0): CAM status: CCB request completed with an error
> (probe0:umass-sim2:2:0:0): Error 5, Retries exhausted
> 
> So this means that umass can't communicate with the enclosure. Maybe it's
> a power issue and it's browning out.

One can buy a cheap inline USB power meter or tester to see
what sort of voltage/current is in use. Fancier ones such as
FNIRSI FNB48P that will let you see a realtime graph of
voltage/current at various sampling rates + you can upload
this data (+ there is vibe coded s/w to run on linux/mac for
this as well). Very useful for debugging this sort of
problems.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Filesystem errors on armv7 -current
#71
Author: bob prohaska
Date: Thu, 22 Oct 2026 13:23
82 lines
6243 bytes
On Wed, Oct 21, 2026 at 08:18:05PM -0700, Mark Millard wrote:
> On 10/21/26 19:00, bob prohaska wrote:
> > On Wed, Oct 21, 2026 at 01:21:02PM -0700, Rodney W. Grimes wrote:
> >>> On Mon, Oct 19, 2026 at 06:43:59PM -0700, bob prohaska wrote:
> >>> +error
> >>> find: /usr/src/sys/contrib/device-tree/Bindings/reset: Input/output error
> >>> find:
> >>> +/usr/src/sys/contrib/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int:
> >>> +Input/output error
> >>
> >> There should be some clues in /var/log/messages about what these I/O errors are.
> > 
> > I've tried looking for substrings seen above in /var/log/messages and found no
> > obviously-related matches. Are there some other keywords related to disk
> > problems that might turn up?
> > 
> > Thanks for writing,
> > 
> > bob prohaska
> >  
> > 
> > 
> 
> There are a variety of specific types of messages, so do not take the
> following  examples as what to expect in detail for USB. They are just
> examples I have around:
> 
> (da1:umass-sim1:1:0:0): WRITE(10). CDB: 2a 00 65 cf fa 80 00 00 40 00
> (da1:umass-sim1:1:0:0): CAM status: CCB request completed with an error
> (da1:umass-sim1:1:0:0): Retrying command, 3 more tries remain
> 
> (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 7f 95 f4 80 00 02 00 00
> (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
> (da0:umass-sim0:0:0:0): Retrying command, 3 more tries remain
> 
> (probe0:umass-sim2:2:0:0): INQUIRY. CDB: 12 00 00 00 24 00
> (probe0:umass-sim2:2:0:0): CAM status: CCB request completed with an error
> (probe0:umass-sim2:2:0:0): Retrying command, 3 more tries remain
> 
> (probe0:umass-sim2:2:0:0): INQUIRY. CDB: 12 00 00 00 24 00
> (probe0:umass-sim2:2:0:0): CAM status: CCB request completed with an error
> (probe0:umass-sim2:2:0:0): Error 5, Retries exhausted
> 
> Some types of command failures might not get retries. Note how
> ":umass-sim" is common to the examples but not a typical string for most
> other contexts.
> 
> There may be other types of messages not analogous to any part of the
> above messages.

I see: 
# grep umass /var/log/messages
Oct 13 14:46:39 pelorus kernel: umass0 on uhub2
Oct 13 14:46:39 pelorus kernel: umass0: <JMicron External USB 3.0, class 0/0, rev 2.10/2.04, addr 6> on usbus0
Oct 13 14:46:39 pelorus kernel: umass0:  SCSI over Bulk-Only; quirks = 0x0
Oct 13 14:46:39 pelorus kernel: umass0:0:0: Attached to scbus0
Oct 13 14:46:39 pelorus kernel: da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
Oct 17 00:08:48 pelorus kernel: umass0 on uhub2
Oct 17 00:08:48 pelorus kernel: umass0: <JMicron External USB 3.0, class 0/0, rev 2.10/2.04, addr 6> on usbus0
Oct 17 00:08:48 pelorus kernel: umass0:  SCSI over Bulk-Only; quirks = 0x0
Oct 17 00:08:48 pelorus kernel: umass0:0:0: Attached to scbus0
Oct 17 00:08:48 pelorus kernel: da0 at umass-sim0 bus 0 scbus0 target 0 lun 0

To my eye those seem to be boot messages, not errors encounterd while
running.

I have seen references to umass on other machines that do look like
running errors but they seem to clear on retry.

Pelorus is still doing a catch-up buildworld, once it finishes I'll
try to get smartmontools installed.


Thanks for writing!

bob prohaska
 


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Filesystem errors on armv7 -current
#73
Author: bob prohaska
Date: Thu, 22 Oct 2026 13:35
25 lines
3793 bytes
On Wed, Oct 21, 2026 at 10:32:07PM -0700, Bakul Shah wrote:
> 
> One can buy a cheap inline USB power meter or tester to see
> what sort of voltage/current is in use. Fancier ones such as
> FNIRSI FNB48P that will let you see a realtime graph of
> voltage/current at various sampling rates + you can upload
> this data (+ there is vibe coded s/w to run on linux/mac for
> this as well). Very useful for debugging this sort of
> problems.

I have chopped a USB cable to bring out the power leads and
connected them to a voltmeter in the past. That would seem
adequate to identify a faulty power supply. I haven't tried
it in this specific case, but  given the absence of messages
from umass other than those at boot, is there any point?

Thanks for writing!

bob prohaska
 


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Filesystem errors on armv7 -current
#74
Author: Paul Mather
Date: Thu, 22 Oct 2026 13:38
36 lines
4475 bytes
On Oct 22, 2026, at 9:35 am, bob prohaska <fbsd@www.zefox.net> wrote:

> On Wed, Oct 21, 2026 at 10:32:07PM -0700, Bakul Shah wrote:
>> 
>> One can buy a cheap inline USB power meter or tester to see
>> what sort of voltage/current is in use. Fancier ones such as
>> FNIRSI FNB48P that will let you see a realtime graph of
>> voltage/current at various sampling rates + you can upload
>> this data (+ there is vibe coded s/w to run on linux/mac for
>> this as well). Very useful for debugging this sort of
>> problems.
> 
> I have chopped a USB cable to bring out the power leads and
> connected them to a voltmeter in the past. That would seem
> adequate to identify a faulty power supply. I haven't tried
> it in this specific case, but  given the absence of messages
> from umass other than those at boot, is there any point?


Just a thought, but if your system is generating disk errors (as evidenced through errors from find, etc.) then it's also possible that writing to logs in /var/log may also fail, assuming it is on the same potentially-questionable disk.

Are you shipping logs to a remote syslog server in your setup?

Cheers,

Paul.



--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Filesystem errors on armv7 -current
#76
Author: Mark Millard
Date: Thu, 22 Oct 2026 17:01
39 lines
7740 bytes
On 10/22/26 06:35, bob prohaska wrote:
> On Wed, Oct 21, 2026 at 10:32:07PM -0700, Bakul Shah wrote:
>>
>> One can buy a cheap inline USB power meter or tester to see
>> what sort of voltage/current is in use. Fancier ones such as
>> FNIRSI FNB48P that will let you see a realtime graph of
>> voltage/current at various sampling rates + you can upload
>> this data (+ there is vibe coded s/w to run on linux/mac for
>> this as well). Very useful for debugging this sort of
>> problems.
> 
> I have chopped a USB cable to bring out the power leads and
> connected them to a voltmeter in the past. That would seem
> adequate to identify a faulty power supply. 

Not necessarily adequate to detect short enough term voltage drops that
still matter on that shorter time scale?

> I haven't tried
> it in this specific case, but  given the absence of messages
> from umass other than those at boot, is there any point?
> 
> 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
Re: Filesystem errors on armv7 -current
#80
Author: Bakul Shah
Date: Thu, 22 Oct 2026 21:45
38 lines
7345 bytes
On Oct 22, 2026, at 6:35 AM, bob prohaska <fbsd@www.zefox.net> wrote:
> 
> On Wed, Oct 21, 2026 at 10:32:07PM -0700, Bakul Shah wrote:
>> 
>> One can buy a cheap inline USB power meter or tester to see
>> what sort of voltage/current is in use. Fancier ones such as
>> FNIRSI FNB48P that will let you see a realtime graph of
>> voltage/current at various sampling rates + you can upload
>> this data (+ there is vibe coded s/w to run on linux/mac for
>> this as well). Very useful for debugging this sort of
>> problems.
> 
> I have chopped a USB cable to bring out the power leads and
> connected them to a voltmeter in the past. That would seem
> adequate to identify a faulty power supply. I haven't tried
> it in this specific case, but  given the absence of messages
> from umass other than those at boot, is there any point?

The boot umass messages were fine.

The problem is you are dealing with potentially marginal
devices that may misbehave under load and no guarantee that
software or firmware will catch such errors. By default the
pi2b  limits total current (across all 4 USB ports) to 600
mA.  You can add 'max_usb_current=1' to config.txt to
increase it to 1.2A (IIRC) - provided Pi's power supply is
capable.  [Some earlier HDD USB disks came up with weird USB
cables for plugging into *two* ports to get enough power!]

It may be that the problem you're seeing is software related
but such USB measurements can clearly eliminate power as an
issue.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Filesystem errors on armv7 -current
#112
Author: void
Date: Wed, 28 Oct 2026 04:11
35 lines
8314 bytes
--HKqgOUUsWy9fAfUL
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.
--=20
void<at>f-m.fm | GPG fingerprint: BD97 5B52 1B78 B7A9 AFFE  7DD4 FD32 D1F9 =
0814 DECD
Please don't Cc: as I'm already subscribed to the list.

--HKqgOUUsWy9fAfUL
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iJEEABYKADkWIQS9l1tSG3i3qa/+fdT9MtH5CBTezQUCauF1vBsUgAAAAAAEAA5t
YW51MiwyLjUrMS4xMiwyLDMACgkQ/TLR+QgU3s1GJAD+ITjqbiNCFZc24k3j4hOr
7A5w46XLkJsGtBHA7ZuvonoBALoxjaemaiAeoVUO+YdIc1xcRcGfLgiSvrfy0SW6
0EIH
=3FfG
-----END PGP SIGNATURE-----

--HKqgOUUsWy9fAfUL--


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Filesystem errors on armv7 -current
#116
Author: bob prohaska
Date: Wed, 28 Oct 2026 15:09
30 lines
3801 bytes
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. 

Thanks for writing,

bob prohaska



--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Filesystem errors on armv7 -current
#117
Author: Sulev-Madis Silber
Date: Wed, 28 Oct 2026 15:36
49 lines
6269 bytes

On October 28, 2026 5:09:15 PM GMT+02:00, bob prohaska <fbsd@www.zefox.net> 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. 
>
>Thanks for writing,
>
>bob prohaska
>
>

i wonder where is power even going in that setup? random powered hub just connects +5v in parallel, perhaps with diodes (500-700mv straight down the drain (or junction, lol)). worse if nothing there at all

one could cut this random powersharing by cutting +5v in usb and wiring dedicated psu there. possibly not via hairthin wires. btw is the data even ok there with random cables?

usb hub could be probably ok for this. but it's power likely not. nevermind that you even had wrong dc plug in wrong jack. and some of those jacks aren't for high current anyway. usb hub is more like a thing to plug some 100ma devices in. with everything designed to that usecase


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Filesystem errors on armv7 -current
#118
Author: Mark Millard
Date: Wed, 28 Oct 2026 16:25
140 lines
11720 bytes
On 10/28/26 08:09, 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/

Context presented: http://www.zefox.net/~fbsd/rpi2/disktrouble/diskscan2

But all 5 of your scans have examples that are over 1 second.

All the below reads took over 3 seconds. The first figure is in units of
msec:

    3186.687     1.000000     15261959   8388608.00
    3186.687     1.000000     15261959   9320675.55
    3186.687     1.000000     15261959  10485760.00
    3186.687     1.000000     15261959  11983725.71
    3186.687     1.000000     15261959  13981013.34
    3598.335     1.000000     15261960  16777216.00
    3598.335     1.000000     15261960          inf

There are a bunch that are over 1 sec. The maximum observed over 3 scans
need not show near the maximums that have sometimes occurred in normal
use (ignoring seek time).

(The 1.000000's are labeled as percentiles but really are the fractions
without scaling to percent.)

It appears that the unusually long times start with:

       3.323     0.999658     15256744      2925.71
       6.439     0.999707     15257489      3413.33
       9.711     0.999756     15258234      4096.00
      10.791     0.999780     15258608      4551.11

Prior to that was much smaller time increments:

       2.024     0.998633     15241136       731.43
       2.055     0.998828     15244138       853.33
       2.125     0.999023     15247124      1024.00
       2.163     0.999121     15248560      1137.78
       2.203     0.999219     15250077      1280.00
       2.273     0.999316     15251538      1462.86
       2.341     0.999414     15253087      1706.67
       2.389     0.999512     15254570      2048.00
       2.443     0.999561     15255257      2275.56
       2.483     0.999609     15256006      2560.00

You ran the default sequential test, so seek time is generally not
expected to be involved. (That is good for the purpose.)

The above indicates that the hardware is not working well. For all I
know the read times can be long enough that various timeouts might happen.

> 
> 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. 

But it also does not avoid reads that take over 1 second:

http://www.zefox.net/~fbsd/rpi2/disktrouble/hub_diskscan1

       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
. . .
    1150.975     1.000000     15261958   5242880.00
    1150.975     1.000000     15261958   5991862.86
    1150.975     1.000000     15261958   6990506.67
    1273.855     1.000000     15261959   8388608.00
    1273.855     1.000000     15261959   9320675.55
    1273.855     1.000000     15261959  10485760.00
    1273.855     1.000000     15261959  11983725.71
    1273.855     1.000000     15261959  13981013.34
    1329.151     1.000000     15261960  16777216.00
    1329.151     1.000000     15261960          inf

http://www.zefox.net/~fbsd/rpi2/disktrouble/hub_diskscan2

       4.503     0.999609     15256001      2560.00
       6.115     0.999658     15256744      2925.71
       9.671     0.999707     15257489      3413.33
      11.703     0.999756     15258235      4096.00
 . . .
    1131.519     1.000000     15261959   8388608.00
    1131.519     1.000000     15261959   9320675.55
    1131.519     1.000000     15261959  10485760.00
    1131.519     1.000000     15261959  11983725.71
    1131.519     1.000000     15261959  13981013.34
    1859.583     1.000000     15261960  16777216.00
    1859.583     1.000000     15261960          inf

> 
> Thanks for writing,
> 
> bob prohaska
> 
> 
> 

Side note:

I'll note that the powered hub does add to the read times. The smallest
reported for that context is:

       1.934     0.000000            1         1.00

Comparing the near 0.9 fraction/percentiles for the 3 non-powered hub
example scans:

       0.901     0.900000     13735974        10.00

       0.902     0.900000     13738412        10.00

       0.902     0.900000     13738899        10.00

-- 
===
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
Re: Filesystem errors on armv7 -current
#124
Author: void
Date: Thu, 29 Oct 2026 14:36
66 lines
9672 bytes
--6TW3Z5KDMZ9agfIe
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=20
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 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.
--=20
void<at>f-m.fm | GPG fingerprint: BD97 5B52 1B78 B7A9 AFFE  7DD4 FD32 D1F9 =
0814 DECD
Please don't Cc: as I'm already subscribed to the list.

--6TW3Z5KDMZ9agfIe
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iJEEABYKADkWIQS9l1tSG3i3qa/+fdT9MtH5CBTezQUCauNZ2xsUgAAAAAAEAA5t
YW51MiwyLjUrMS4xMiwyLDMACgkQ/TLR+QgU3s3hjQD/Rj/J+H+BiVI4yEkFMyV/
I0TqeJZP7HaLAaPDp3QUM5oA+waI/5QMzvwuPnpzxXtvW+ghfRXI/gvC3xciDQad
woEK
=ARAC
-----END PGP SIGNATURE-----

--6TW3Z5KDMZ9agfIe--


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Filesystem errors on armv7 -current
#125
Author: bob prohaska
Date: Thu, 29 Oct 2026 16:50
74 lines
5977 bytes
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.
 
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.

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




--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Filesystem errors on armv7 -current
#126
Author: Mark Millard
Date: Thu, 29 Oct 2026 19:16
199 lines
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
Re: Filesystem errors on armv7 -current
#131
Author: bob prohaska
Date: Sat, 31 Oct 2026 16:51
91 lines
6353 bytes
On Thu, Oct 29, 2026 at 12:16:55PM -0700, Mark Millard wrote:
> On 10/29/26 09:50, bob prohaska wrote:
> 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:

Ascii art snipped 

> > 
> > I'm going to re-run the original diskscan using the Jmicron bridge.
> > Maybe re-seating the SATA connector will change something.
> > 

After putting the offending disk back in the offending enclosure
and re-running a default diskscan, the results have been put at
http://www.zefox.net/~fbsd/rpi2/disktrouble/jmicron+diskscan

The graph looks less noisy, but the max latency is still large.
However, it'x much prettier than the runs taken before disturbing
the SATA connector. Once again, diskscan reports "success", whatever
tha means.

In the meantime, a second Pi, a Pi3 running:
bob@ns2:/usr/local/share/doc/db18 % uname -apKU
FreeBSD ns2.zefox.net 14.4-RELEASE-p6 FreeBSD 14.4-RELEASE-p6 GENERIC arm64 aarch64 1404000 1404000

just reported:
Checking setuid files and devices:
find: /usr/local/share/doc/db18/api_reference: Input/output error

Checking negative group permissions:
find: /usr/local/share/doc/db18/api_reference: Input/output error

however ls reports
bob@ns2:/usr/local/share/doc/db18 % ls -l
total 72
drwxr-xr-x  5 root wheel   512 Feb 25  2024 api_reference
drwxr-xr-x  4 root wheel   512 Feb 25  2024 articles
drwxr-xr-x  3 root wheel   512 Feb 25  2024 collections
drwxr-xr-x  7 root wheel  1024 Feb 25  2024 csharp
drwxr-xr-x  4 root wheel   512 Feb 25  2024 gsg
drwxr-xr-x  4 root wheel   512 Feb 25  2024 gsg_db_rep
drwxr-xr-x  4 root wheel   512 Feb 25  2024 gsg_txn
-rw-r--r--  1 root wheel 10434 Jun  1  2020 index.html
drwxr-xr-x  2 root wheel  5632 Feb 25  2024 installation
drwxr-xr-x  2 root wheel   512 Feb 25  2024 license
drwxr-xr-x  2 root wheel   512 Feb 25  2024 porting
drwxr-xr-x  2 root wheel  6144 Feb 25  2024 programmer_reference
drwxr-xr-x  2 root wheel  6656 Feb 25  2024 upgrading

with no errors. 

The host is a microSD-based binary-only setup that 
hasn't been recently updated, so no recent writes that 
might have gone wrong. It hasn't been physically disturbed
in at least a year.

In the distant past a Pi2 developed boot problems that
were remedied by re-seating the microSD card in the slot.

Taken together, I wonder if both machines might simply
be suffering from "stale" connections. I don't think 
the Pi's designers anticipated multi-year uptimes.  

In the meantime, I let badblocks (the RasPiOS version)
run on the USB hard disk overnight. It generated no
output, which I'm tempted to think means it found no
errors worth reporting. In looking at the FreeBSD man
page for badblocks it appears to be a clone of the 
Linux version, intended for use under Linux filechecking.
Is it even meaningful to use badblocks FreeBSD? 

Thanks for everybody's help and patience!

bob prohaska



--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Filesystem errors on armv7 -current
#132
Author: void
Date: Sat, 31 Oct 2026 18:27
75 lines
10015 bytes
--+ftFqo6TdtZbT7QD
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Oct 31, 2026 at 09:51:38AM -0700, bob prohaska wrote:

>In the meantime, a second Pi, a Pi3 running:
>bob@ns2:/usr/local/share/doc/db18 % uname -apKU
>FreeBSD ns2.zefox.net 14.4-RELEASE-p6 FreeBSD 14.4-RELEASE-p6 GENERIC arm6=
4 aarch64 1404000 1404000
>
>just reported:
>Checking setuid files and devices:
>find: /usr/local/share/doc/db18/api_reference: Input/output error

(snip)

>The host is a microSD-based binary-only setup that
>hasn't been recently updated, so no recent writes that
>might have gone wrong. It hasn't been physically disturbed
>in at least a year.

That actually sounds like dirty power. In my office I have
two UPS units, most of the computers run off these.
They clean the power as well as ofc supply power
in an outage. The pi3 running here (also a binary install,
on 14.5-p2 I think) also a dns server (unbound in ports)
is on one of the UPSes and it chugs along just fine
with the three outages we had in the storms last week.
It also has high uptimes, additionally /var/log gets=20
mounted tmpfs to further preserve the microsd.

A rpi4 in another room, not on any UPS, running linux,=20
lost its filesystem to the extent it wouldn't boot.
Probably when the power went off on off on off on rapidly=20
before full power loss, and also the surge when it came back.

>In the meantime, I let badblocks (the RasPiOS version)
>run on the USB hard disk overnight. It generated no
>output, which I'm tempted to think means it found no
>errors worth reporting. In looking at the FreeBSD man
>page for badblocks it appears to be a clone of the
>Linux version, intended for use under Linux filechecking.
>Is it even meaningful to use badblocks FreeBSD?

for hd health, I find dd works best.
Back up that you need from the disk then something like
' dd if=3D/dev/your_device_number of=3D/dev/your_device_number bs=3D4096 \
conv=3Dsync,noerror status=3Dprogress'

run it in a tmux session
--=20
void<at>f-m.fm | GPG fingerprint: BD97 5B52 1B78 B7A9 AFFE  7DD4 FD32 D1F9 =
0814 DECD
Please don't Cc: as I'm already subscribed to the list.

--+ftFqo6TdtZbT7QD
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iJEEABYKADkWIQS9l1tSG3i3qa/+fdT9MtH5CBTezQUCauYzDxsUgAAAAAAEAA5t
YW51MiwyLjUrMS4xMiwyLDMACgkQ/TLR+QgU3s24IwD/Uq9W70PWEcamhrwcIKh8
bHcykqc/nKrkvHAYXBAhwwoBAIAKtS+lO9Qs78YneS6SkLykIX+2vEEbvLjyNcJo
UD8M
=iHtJ
-----END PGP SIGNATURE-----

--+ftFqo6TdtZbT7QD--


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Filesystem errors on armv7 -current
#156
Author: bob prohaska
Date: Mon, 02 Nov 2026 20:17
35 lines
4221 bytes
A few more tests were tried on the offending hard disk, with mixed
results. Then the disk was re-connected and booted up. The root
partition came up clean, but the /usr partition would not, failing
fsck repeatedly even after reporting "filesystem is clean".

Finally I gave up and ran diskroaster, which reported five errors.
Then I tried dd, sending output to /dev/null. That reported success.

Eventually I stumbled on the correct incantation of smartctl, which
didn't report any obvious faults. In particular "current pending 
sectors", which I understand to be indicative of problems, was zero.

The results of diskroaster, dd and smartctl are in
http://www.zefox.net/~fbsd/rpi2/disktrouble/
if anybody's willing to have a look. At this point
dd and smartctl seem to see nothing wrong, diskroaster
reports five errors but the last has an extra byte in
the block offset, which seems odd. Also, the runtime
values given were wildly off, two hours turned into
all day and into the night.

At this point 
smartctl -t long /dev/da1 is running. Any guidance in
what to look for would be much appreciated. It'll finish
in about three hours' from this writing.

Thanks for reading,

bob prohaska



--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Filesystem errors on armv7 -current
#157
Author: Sulev-Madis Silber
Date: Mon, 02 Nov 2026 21:00
55 lines
6337 bytes
disk might still be corrupting

it could corrupt it's internal system sectors too

i have one like that

it corrupted even it's smart data and eventually failed to start and just clicks

i yet have to repair it which last time i checked costs 200 eur. apparently i had too old backup and i never got time to mirror it which was planned

now i mirror all my disks :)



On November 2, 2026 10:17:36 PM GMT+02:00, bob prohaska <fbsd@www.zefox.net> wrote:
>A few more tests were tried on the offending hard disk, with mixed
>results. Then the disk was re-connected and booted up. The root
>partition came up clean, but the /usr partition would not, failing
>fsck repeatedly even after reporting "filesystem is clean".
>
>Finally I gave up and ran diskroaster, which reported five errors.
>Then I tried dd, sending output to /dev/null. That reported success.
>
>Eventually I stumbled on the correct incantation of smartctl, which
>didn't report any obvious faults. In particular "current pending 
>sectors", which I understand to be indicative of problems, was zero.
>
>The results of diskroaster, dd and smartctl are in
>http://www.zefox.net/~fbsd/rpi2/disktrouble/
>if anybody's willing to have a look. At this point
>dd and smartctl seem to see nothing wrong, diskroaster
>reports five errors but the last has an extra byte in
>the block offset, which seems odd. Also, the runtime
>values given were wildly off, two hours turned into
>all day and into the night.
>
>At this point 
>smartctl -t long /dev/da1 is running. Any guidance in
>what to look for would be much appreciated. It'll finish
>in about three hours' from this writing.
>
>Thanks for reading,
>
>bob prohaska
>
>


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads