File corruptions

userHead markusdages 2019-10-17 17:47:04 12206 Views0 Replies
Hello,

we've trouble with strange file corruptions on LattePanda Boards 2G/32GB.

We using LP on industrial applications by measuring different aspects of air quality. Our application writes the measured data of the sensors to logfiles.
As OS we're using Windows 10 Enterprise LTSC (drivers from LP Github repository), formerly known as IoT with activated file based write filter UWF to protect the OS against power loss.

Currently we've about 20 of this devices in our development and production sites and all of them have the same problems.

Our logfiles, txt format, got corrupted with some different garbage. So far we try in vain to narrow down the problem. For example, we wrote small test programs in .NET and Labview that simply write the same text into a text file. Also this files got corruption.

To get you a picture of this corruption, here some small sections:

Code: Select all

10-16-2019 12:39:08123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 10-16-2019 12:39:12123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 10-16-2019 12:39:16123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 10-16-2019 12:39:20123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 10-16-2019 12:39:24123 456 789 000 123 456 789 000 123 4ÿþ< ? x m l v e r s i o n = " 1 . 0 " e n c o d i n g = " U T F - 1 6 " ? > < T a s k v e r s i o n = " 1 . 6 " x m l n s = " h t t p : / / s c h e m a s . m i c r o s o f t . c o m / w i n d o w s / 2 0 0 4 / 0 2 / m i t / t a s k " > < R e g i s t r a t i o n I n f o > < S o u r c e > $ ( @ % s y s t e m r o o t % \ s y s t e m 3 2 \ w o s c . d l l , - 6 0 2 ) < / S o u r c e > < A u t h o r > $ ( @ % s y s t e m r o o t % \ s y s t e m 3 2 \ w o s c . d l l , - 6 0 1 ) < / A u t h o r > < D e s c r i p t i o n > $ ( @ % s y s t e m r o o t % \ s y s t e m 3 2 \ w o s c . d l l , - 6 0 3 ) < / D e s c r i p t i o n > < U R I > \ M i c r o s o f t \ W i n d o w s \ F l i g h t i n g \ O n e S e t t i n g s \ R e f r e s h C a c h e < / U R I > < S e c u r i t y D e s c r i p t o r > D : P ( A ; ; F A ; ; ; S Y ) ( A ; ; F A ; ; ; B A ) ( A ; ; F R F X ; ; ; A U ) < / S e c u r i t y D e s c r i p t o r > < / R e g i s t r a t i o n I n f o > < T r i g g e r s > < T i m e T r i g g e r > < R e p e t i t i o n > < I n t e r v a l > P T 1 38 0 M < / I n t e r v a l > < S t o p A t D u r a t i o n E n d > f a l s e < / S t o p A t D u r a t i o n E n d > < / R e p e t i t i o n > < S t a r t B o u n d a r y > 2 0 1 9 - 1 0 - 1 7 T 1 1 : 3 9 : 4 8 . 1 9 1 Z < / S t a r t B o u n d a r y > < E n a b l e d > t r u e < / E n a b l e d > < R a n d o m D e l a y > P T 1 H < / R a n d o m D e l a y > < / T i m e T r i g g e r > < / T r i g g e r s > < P r i n c i p a l s > < P r i n c i p a l i d = " L o c a l S y s t e m " > < U s e r I d > S - 1 - 5 - 1 8 < / U s e r I d > < R u n L e v e l > L e a s t P r i v i l e g e < / R u n L e v e l > < / P r i n c i p a l > < / P r i n c i p a l s > < S e t t i n g s > < M u l t i p l e I n s t a n c es P o l i c y > I g n o r e N e w < / M u l t i p l e I n s t a n c e s P o l i c y > < D i s a l l o w S t a r t I f O n B a t t e r i e s > f a l s e < / D i s a l l o w S t a r t I f O n B a t t e r i e s > < C l a s s I d > { E 0 7 6 4 7 F 7 - A E D 2 - 4 8 D 9 - 9 7 2 0 - 9 3 9 B C 2 4 23 456 789 000 123 456 789 000 123 456 789 000 10-16-2019 12:42:12123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 10-16-2019 12:42:16123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 10-16-2019 12:42:20123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 10-16-2019 12:42:24123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 10-16-2019 12:42:28123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 10-16-2019 12:42:32123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000

Code: Select all

10-16-2019 14:28:27123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 10-16-2019 14:28:31123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 10-16-2019 14:28:35123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 10-16-2019 14:28:39123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 0†² 31bf3856 ad364e35 ~amd64~~ 10.0.177 63.1, ap plicable state: In lle 2019-10 -17 09:12:4 bInfo¢ CBS&A œ : Evalua ting packagegili@ty forM icrosoft -Windows@-Langu 4F eatures-€HandwriP¨-dePV~ÔäÀel-gr-rrÁXren-gb?9¿«ç¿«—« 9us?9?9Ÿ¿rur@t@ ßUa?Lœ mxÛ?9¿«tŸl ŸŸ¿«ng-eu-?9__ÈßU_È_È_ÈeRÈfüi-@ ßUßU?9?9ÿäÇ#èÿäêäfr- Oÿπππππ§ï*OA‡?9OπȀga-üie?9ßèOOO T OOýIdrooÁŸŸÿŸŸooooodüglGOOO?9¿«ÿh ŸŸqï*ŸŸÁ˜hi-inï*ï*ÿï*ï*ï*ï*xOOOï*º c ºhr- ÿGGGï*ï*ï*WOOOOOLid-ÿ OOOOOOO??9?9?9?9?949itþ- OOOOOOOOOOOODjða-jp?9?9?9?9ÿ?9?97oOóÂùGGŽGŒ² Handwrit ing-ko-k r-Packag e~31bf38 56ad364e 35~amd64 ~~10.0.1 7763.1, applicab le state: In lle d 2019- 10-17 09 :12:4 bInˆfo CBSA N: Evaldua“ pgi lity forMicroso ft-Windo ws-Langu ÂFeatures- älb-luÁÝämi-nzrrÁYrms-bn?9¿«ç¿«—« 9my?9?9Ÿƒrurnb-noŸùtaLœñnl-@ ¿«¿«Ÿ=l ŸŸ¿«@Ènn??9_È_È_È_È_ÈgeRÈnso-zaÿUÿUÿU-9_9òÿUüUpül- ÿ*߀߀߀߀ÿ߀·ÿ*߀Q‡O߀߀á(pt-b//O9ÿ///éOOO0Tþ OOKpŸŸŸ¿ŸŸŸŸR¦ õ£ŸOOHrm-cþh?9Ï«Ï«Ï«Ï«Ï«¨?ŸŸŸŸÏ«Ì«roþ- &³" CBS`Ap pl: dete ct Parent, 8ckage : Micros oft-Wind ows-Langu 6Featur es-Speec h-en-ca-Pap~31bf 3856ad36 4e35~amd 64~~10.0 .17763.1fneFound ation$R050 Z, Disposi9 = DÖ, Vers K Comp: EQ€, Build GE, ReviExist: p€p€ˆ 20 19-10-17 09:12:4á€_Info¡‹¬çƒ« '‚¯ fnB{…¤stat ×In lled7XEva„lu@^ng ps a€ˆicabiÐlity /rF¿‡#™‡Åle ÿ7 çCºÿ7•¿gb¬¿ÿ7žA œForciÀnGÀE on rĵÁúpž:lmÌwcm_LÈb_ZServeàrCore_,"Œ_ˆCIÿ¡ÿ¡n-iŸ—ÿ¡£®4r4ÿ¡ÿ¡:þ ÿ¡ÿ¡ÅoÍÿ¡ß:Ëÿÿ…¸ÿ…ÿ¡ÙåßCÌåÿ…ïÔa]*]ÿP uÿ^ÏCóï€æ€usÏ:Oè€ÿ ÿÿlxÓ;Y ÿ ÿlÿl0§ïŽÿåŽs-°PïŽÿïŽæŽÿ 89 000 10-16-2019 14:31:27123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 10-16-2019 14:31:31123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 10-16-2019 14:31:35123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 123 456 789 000 It seems that sometimes the storages system produces wrong file references or sector links on the ssd. It's an absolutely strange behaviour and not reproduce on demand. The problems appear very sporadically, but on all devices. Sometimes we've such error one a week, and sometimes every day. But it seems only on files that are written over longer period.

On about 5 devices with also have some sort of NTFS corruption detected by OS and chkdsk will become necessary.

Could this be a problem with Windows 10 Enterprise LTSC on the LP?
We've tried to reproduce it on a LP with the preinstalled Windows 10 Home and so far nothing has happened yet. But Win 10 Home contains no UWF and seems less suitable for IoT devices.

Btw, the same OS and programs on another Computerboard doesn't show such problems.

Any ideas on this?

Thanks.
regards
Markus