Am Thu, 4 Jan 2018 12:14:47 +0100
"O. Hartmann" <ohartm...@walstatt.org> schrieb:

> On Thu, 4 Jan 2018 09:10:37 +0100
> Michael Tuexen <tue...@freebsd.org> wrote:
> 
> > > On 31. Dec 2017, at 02:45, Warner Losh <i...@bsdimp.com> wrote:
> > > 
> > > On Sat, Dec 30, 2017 at 4:41 PM, O. Hartmann <ohartm...@walstatt.org> 
> > > wrote:
> > >     
> > >> On most recent CURRENT I face the error shwon below on /tmp filesystem
> > >> (UFS2) residing
> > >> on a Samsung 850 Pro SSD:
> > >> 
> > >> UFS /dev/gpt/tmp (/tmp) cylinder checksum failed: cg 0, cgp: 0x4515d2a3 
> > >> !=
> > >> bp: 0xd9fba319
> > >> handle_workitem_freefile: got error 5 while accessing filesystem
> > >> UFS /dev/gpt/tmp (/tmp) cylinder checksum failed: cg 0, cgp: 0x4515d2a3
> > >> != bp: 0xd9fba319
> > >> handle_workitem_freefile: got error 5 while accessing filesystem
> > >> UFS /dev/gpt/tmp (/tmp) cylinder checksum failed: cg 0, cgp: 0x4515d2a3
> > >> != bp: 0xd9fba319
> > >> handle_workitem_freefile: got error 5 while accessing filesystem
> > >> UFS /dev/gpt/tmp (/tmp) cylinder checksum failed: cg 0, cgp: 0x4515d2a3
> > >> != bp: 0xd9fba319
> > >> handle_workitem_freefile: got error 5 while accessing filesystem
> > >> UFS /dev/gpt/tmp (/tmp) cylinder checksum failed: cg 0, cgp: 0x4515d2a3
> > >> != bp: 0xd9fba319
> > >> handle_workitem_freefile: got error 5 while accessing filesystem
> > >> 
> > >> I've already formatted the /tmp filesystem, but obviously without any
> > >> success.
> > >> 
> > >> Since I face such strange errors also on NanoBSD images dd'ed to SD 
> > >> cards,
> > >> I guess there
> > >> is something fishy ...    
> > > 
> > > 
> > > It indicates a problem. We've seen these 'corruptions' on data in motion 
> > > at
> > > work, but I hacked fsck to report checksum mismatches (it silently 
> > > corrects
> > > them today) and we've not seen any mismatch when we unmount and fsck the
> > > filesystem.    
> > Not sure this helps: But we have seen this also after system panics
> > when having soft update journaling enabled. Having soft update journaling
> > disabled, we do not observed this after several panics.
> > Just to be clear: The panics are not related to this issue,
> > but to other network development we do.
> > 
> > You can check using tunefs -p devname if soft update journaling is enabled 
> > or
> > not.  
> 
> In all cases I reported in earlier and now, softupdates ARE ENABLED on all
> partitions in question (always GPT, in my cases also all on flash based
> devices, SD card and/or SSD).


... and journalling as well!

In case of the SD, I produced the layout of the NanoBSD image via "dd" 
including the /cfg
partition. The problem occured even when having overwritten the SD card with a 
new image.
The problem went away once I unmounted /cfg and reformatted via newfs. After 
that, I did
not see any faults again! I have no explanation for this behaviour except the 
dd didn't
overwrite "faulty" areas or the obligate "gpart recover" at the end of the 
procedure
restored something faulty.

The /tmp filesystem I reported in was also from an earlier date - and I didn't 
formatted
it as I said - I confused the partition in question with another one. The 
partition has
been created and formatted months ago under CURRENT.

In single user mode, I reformatted the partition again - with journaling and 
softupdates
enabled. As with the /cfg partition on NanoBSD with SD card, I didn't realise 
any faults
again since then. 

> 
> 
> > 
> > Best regards
> > Michael  
> > > 
> > > Warner
> > > _______________________________________________
> > > freebsd-current@freebsd.org mailing list
> > > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > > To unsubscribe, send any mail to 
> > > "freebsd-current-unsubscr...@freebsd.org"    
> > 
> > _______________________________________________
> > freebsd-current@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"  
> 



-- 
O. Hartmann

Ich widerspreche der Nutzung oder Übermittlung meiner Daten für
Werbezwecke oder für die Markt- oder Meinungsforschung (§ 28 Abs. 4 BDSG).

Attachment: pgpjfX7synlMU.pgp
Description: OpenPGP digital signature

Reply via email to