Summary: | UFS "cylinder checksum failed" messages after crash, with SU+J enabled | ||
---|---|---|---|
Product: | Base System | Reporter: | Ed Maste <emaste> |
Component: | kern | Assignee: | freebsd-fs (Nobody) <fs> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | arshankhanifar, cem, chris, dumbbell, emaste, mckusick, mizhka |
Priority: | --- | ||
Version: | CURRENT | ||
Hardware: | Any | ||
OS: | Any |
Description
Ed Maste
2018-01-12 15:34:18 UTC
A commit references this bug: Author: emaste Date: Fri Jan 12 20:25:57 UTC 2018 New revision: 327890 URL: https://svnweb.freebsd.org/changeset/base/327890 Log: bsdinstall: disable SUJ by default SUJ + cg checksums produce spurious warnings after an unclean shutdown (e.g. a crash). For now disable SUJ for UFS installs so installing from a FreeBSD 12 snapshot results in a usable filesystem, until this can be fixed. PR: 225110 Submitted by: Arshan Khanifar <arshankhanifar gmail.com> Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D13890 Changes: head/usr.sbin/bsdinstall/partedit/gpart_ops.c Please retry with this change included as I believe it will fix the problem. New Revision: 328092 URL: https://svnweb.freebsd.org/changeset/base/328092 Log: Correct fsck journal-recovery code to update a cylinder-group check-hash after making changes to the cylinder group. The problem was that the journal-recovery code was calling the libufs bwrite() function instead of the cgput() function. The cgput() function updates the cylinder-group check-hash before writing the cylinder group. I tried this patch with success on my laptop! Thank you Kirk :) With softupdates journaling enabled and this patch applied, I made my system panic three times followed by a reboot. System reboot was fine and no problems were observed. A commit references this bug: Author: emaste Date: Thu Jan 25 19:57:21 UTC 2018 New revision: 328410 URL: https://svnweb.freebsd.org/changeset/base/328410 Log: bsdinstall: enable SUJ by default (revert r327890) fsck should be fixed as of r328092. PR: 225110 Tested by: dumbbell, Arshan Khanifar <arshankhanifar gmail.com> Changes: head/usr.sbin/bsdinstall/partedit/gpart_ops.c |