Thread View: muc.lists.freebsd.current
2 messages
2 total messages
Started by bob prohaska
Mon, 19 Oct 2026 15:42
Filesystem errors on armv7 -current
Author: bob prohaska
Date: Mon, 19 Oct 2026 15:42
Date: Mon, 19 Oct 2026 15:42
58 lines
4720 bytes
4720 bytes
A Pi2B running FreeBSD pelorus.zefox.org 16.0-CURRENT FreeBSD 16.0-CURRENT #76 main-n289925-6c305c3c3129: Sun Oct 11 15:20:02 PDT 2026 bob@pelorus.zefox.org:/usr/obj/usr/src/arm.armv7/sys/GENERIC arm armv7 1600027 1600028 is reporting errors during installworld of the form /usr: inode 67896768: check-hash failed and UFS /dev/da0s2d (/usr) cylinder checkhash failed: cg 846, cgp: 0xce917fd != bp: 0x4e2a15c5 There's an old bug report, https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267654 which looks somewhat similar but is marked "Closed FIXED". So far, the errors have not resulted in any build or install stoppages, but the install and reboot haven't completed yet. Is it worth reporting this behavior as a new bug? Old bug? Other? Not? It's true that the kernel lags world by one index digit. Not sure how that happened. I can post console output, but it's mostly repetitive, as if the errors correct eventually or are ignored. /etc/fstab contains # more /etc/fstab # Custom /etc/fstab for FreeBSD embedded images #/dev/ufs/rootfs / ufs rw 1 1 #/dev/msdosfs/EFI /boot/efi msdosfs rw,noatime 0 0 #tmpfs /tmp tmpfs rw,mode=1777 0 0 /dev/da0s2a / ufs rw 1 1 /dev/da0s2d /usr ufs rw 1 1 /dev/da0s1 /boot/msdos msdosfs rw,noatime 0 0 /dev/da0s2b none swap sw Swap is # swapinfo Device 1K-blocks Used Avail Capacity /dev/da0s2b 1843200 15644 1827556 1% so below the warning limit The storage device is SATA spinning rust on ugen0.6: <JMS578 SATA 6Gb/s JMicron Technology Corp. / JMicron USA Technology Corp.> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) 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
Author: Warner Losh
Date: Mon, 19 Oct 2026 15:57
Date: Mon, 19 Oct 2026 15:57
199 lines
14146 bytes
14146 bytes
--0000000000003f7d65065e3393eb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Oct 19, 2026 at 9:40=E2=80=AFAM bob prohaska <fbsd@www.zefox.net> w= rote: > A Pi2B running > FreeBSD pelorus.zefox.org 16.0-CURRENT FreeBSD 16.0-CURRENT #76 > main-n289925-6c305c3c3129: Sun Oct 11 15:20:02 PDT 2026 > bob@pelorus.zefox.org:/usr/obj/usr/src/arm.armv7/sys/GENERIC arm armv7 > 1600027 1600028 > > is reporting errors during installworld of the form > > /usr: inode 67896768: check-hash failed > > and > > UFS /dev/da0s2d (/usr) cylinder checkhash failed: cg 846, cgp: 0xce917fd > !=3D bp: 0x4e2a15c5 > So this is a data corruption bug. Almost certainly. It may be related to caching (or memory observability), or it may be something else. If the errors are on boot, then something is writing it before the system went down. If this occurs at runtime, it is likely a transfer error. > There's an old bug report, > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267654 > > which looks somewhat similar but is marked "Closed FIXED". > So symptoms may be the same, but the root cause is likely different. > So far, the errors have not resulted in any build or install stoppages, > but the install and reboot haven't completed yet. > > Is it worth reporting this behavior as a new bug? Old bug? Other? Not? > New bug. For the love of all that's holy, do not reopen the old bug. > It's true that the kernel lags world by one index digit. Not sure how > that happened. > > I can post console output, but it's mostly repetitive, as if the > errors correct eventually or are ignored. > > /etc/fstab contains > > # more /etc/fstab > # Custom /etc/fstab for FreeBSD embedded images > #/dev/ufs/rootfs / ufs rw 1 > 1 > #/dev/msdosfs/EFI /boot/efi msdosfs rw,noatime 0 > 0 > #tmpfs /tmp tmpfs rw,mode=3D1777 0 = 0 > > /dev/da0s2a / ufs rw 1 1 > /dev/da0s2d /usr ufs rw 1 1 > /dev/da0s1 /boot/msdos msdosfs rw,noatime 0 0 > /dev/da0s2b none swap sw > > Swap is > > # swapinfo > Device 1K-blocks Used Avail Capacity > /dev/da0s2b 1843200 15644 1827556 1% > so below the warning limit > > The storage device is SATA spinning rust on > ugen0.6: <JMS578 SATA 6Gb/s JMicron Technology Corp. / JMicron USA > Technology Corp.> at usbus0, cfg=3D0 md=3DHOST spd=3DHIGH (480Mbps) pwr= =3DON (500mA) > So what's the actual disk? It could be that the disk is going bad too. Though JMicron has a history of dodgy adapters (though that history pre-dates this one, I think). tl;dr: This is rare data corruption, but any is bad. So far, though, there doesn't seem to be enough to trace the problem. I suggest A/B tests if you can, starting with a different non-JMicron-based USB adapter. Warner --0000000000003f7d65065e3393eb 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 Mon, Oct 19,= 2026 at 9:40=E2=80=AFAM bob prohaska <<a href=3D"mailto:fbsd@www.zefox.= net">fbsd@www.zefox.net</a>> wrote:<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">A Pi2B running<br> FreeBSD <a href=3D"http://pelorus.zefox.org" rel=3D"noreferrer" target=3D"_= blank">pelorus.zefox.org</a> 16.0-CURRENT FreeBSD 16.0-CURRENT #76 main-n28= 9925-6c305c3c3129: Sun Oct 11 15:20:02 PDT 2026=C2=A0 =C2=A0 =C2=A0bob@pelo= rus.zefox.org:/usr/obj/usr/src/arm.armv7/sys/GENERIC arm armv7 1600027 1600= 028<br> <br> is reporting errors during installworld of the form<br> <br> /usr: inode 67896768: check-hash failed<br> <br> and<br> <br> UFS /dev/da0s2d (/usr) cylinder checkhash failed: cg 846, cgp: 0xce917fd != =3D bp: 0x4e2a15c5<br></blockquote><div><br></div><div>So this is a data co= rruption bug. Almost certainly. It may be related to caching (or memory obs= ervability), or it may be something else. If the errors are on boot, then s= omething is writing it before the system went down. If this occurs at runti= me, it is likely a transfer error.</div><div>=C2=A0</div><blockquote class= =3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg= b(204,204,204);padding-left:1ex"> There's an old bug report, <br> <a href=3D"https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267654" rel= =3D"noreferrer" target=3D"_blank">https://bugs.freebsd.org/bugzilla/show_bu= g.cgi?id=3D267654</a><br> <br> which looks somewhat similar but is marked "Closed FIXED".<br></b= lockquote><div><br></div><div>So symptoms may be the same, but the root cau= se is likely different.</div><div>=C2=A0</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"> So far, the errors have not resulted in any build or install stoppages,<br> but the install and reboot haven't completed yet.<br> <br> Is it worth reporting this behavior as a new bug? Old bug? Other? Not?<br><= /blockquote><div><br></div><div>New bug. For the love of all that's hol= y, do not reopen the old bug.</div><div>=C2=A0</div><blockquote class=3D"gm= ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,= 204,204);padding-left:1ex"> It's true that the kernel lags world by one index digit. Not sure how<b= r> that happened.<br> <br> I can post console output, but it's mostly repetitive, as if the<br> errors correct eventually or are ignored.<br> <br> /etc/fstab contains<br> <br> # more /etc/fstab<br> # Custom /etc/fstab for FreeBSD embedded images<br> #/dev/ufs/rootfs=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 /= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ufs=C2=A0 =C2=A0 =C2= =A0rw=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 1<br> #/dev/msdosfs/EFI=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/bo= ot/efi=C2=A0 =C2=A0 =C2=A0 =C2=A0msdosfs rw,noatime=C2=A0 =C2=A0 =C2=A0 0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0<br> #tmpfs=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 /tmp= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 tmpfs=C2=A0 =C2=A0rw,mode=3D1777= =C2=A0 =C2=A0 0=C2=A0 =C2=A0 =C2=A0 =C2=A00<br> <br> /dev/da0s2a=C2=A0 =C2=A0 =C2=A0/=C2=A0 =C2=A0 =C2=A0 =C2=A0ufs=C2=A0 =C2=A0= =C2=A0rw=C2=A0 =C2=A0 =C2=A0 1=C2=A0 =C2=A0 =C2=A0 =C2=A01<br> /dev/da0s2d=C2=A0 =C2=A0 /usr=C2=A0 =C2=A0 ufs=C2=A0 =C2=A0 =C2=A0rw=C2=A0 = =C2=A0 =C2=A0 1=C2=A0 =C2=A0 =C2=A0 =C2=A01<br> /dev/da0s1=C2=A0 =C2=A0 =C2=A0 /boot/msdos msdosfs rw,noatime 0 0<br> /dev/da0s2b=C2=A0 =C2=A0 =C2=A0none=C2=A0 =C2=A0 swap=C2=A0 =C2=A0 sw<br> <br> Swap is <br> <br> # swapinfo<br> Device=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1K-blocks=C2=A0 =C2=A0 =C2=A0Used= =C2=A0 =C2=A0 Avail Capacity<br> /dev/da0s2b=C2=A0 =C2=A0 =C2=A0 =C2=A01843200=C2=A0 =C2=A0 15644=C2=A0 1827= 556=C2=A0 =C2=A0 =C2=A01%<br> so below the warning limit<br> <br> The storage device is SATA spinning rust on <br> ugen0.6: <JMS578 SATA 6Gb/s JMicron Technology Corp. / JMicron USA Techn= ology Corp.> at usbus0, cfg=3D0 md=3DHOST spd=3DHIGH (480Mbps) pwr=3DON = (500mA)<br></blockquote><div><br></div><div><span style=3D"background-color= :transparent">So=C2=A0 what's the actual disk? It could be that the dis= k is going bad too.=C2=A0 Though JMicron has a history of dodgy adapters (t= hough that history pre-dates this one, I think).=C2=A0</span></div><div><sp= an style=3D"background-color:transparent"><br></span></div><div><span style= =3D"background-color:transparent">tl;dr: This is rare data corruption, but = any is bad. So far, though, there doesn't seem to be enough to trace th= e problem.=C2=A0 I suggest A/B tests if you can, starting with a different = non-JMicron-based USB adapter.</span></div><div><span style=3D"background-c= olor:transparent"><br></span></div><div><span style=3D"background-color:tra= nsparent">Warner</span></div></div></div> --0000000000003f7d65065e3393eb-- -- 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