Re: resistance against single-even upsets

2023-03-15 Thread Sebastian Benoit
p...@delphinusdns.org(p...@delphinusdns.org) on 2023.03.14 17:32:09 +0100: > >Fix: > I propose all these variables to be monitored occasionally with a CRC > check and if there is a bit flip happening to unset it to the right value. You just invented data scrubbing. Don't forget to occasiona

Re: resistance against single-even upsets

2023-03-14 Thread Hiltjo Posthuma
On Tue, Mar 14, 2023 at 01:17:00PM -0500, Scott Cheloha wrote: > > On Mar 14, 2023, at 11:32 AM, p...@delphinusdns.org wrote: > > > >> Synopsis: can we resist agains bit flipping? > >> Category: system > >> Environment: > > System : OpenBSD 7.2 > > Details : OpenBSD 7.2 (GENERIC.MP) #2: T

Re: resistance against single-even upsets

2023-03-14 Thread Scott Cheloha
> On Mar 14, 2023, at 11:32 AM, p...@delphinusdns.org wrote: > >> Synopsis: can we resist agains bit flipping? >> Category: system >> Environment: > System : OpenBSD 7.2 > Details : OpenBSD 7.2 (GENERIC.MP) #2: Thu Nov 24 23:53:03 MST 2022 > r...@syspatch-72-arm64.openbsd.org:/usr/src/sys

Re: resistance against single-even upsets

2023-03-14 Thread Theo de Raadt
Peter J. Philipp wrote: > On Tue, Mar 14, 2023 at 10:34:48AM -0600, Theo de Raadt wrote: > > Good god, imagine this bit flip happened *anywhere else*, like in the > > page tables, or in the code or data or stack of chrome, or basically > > *anywhere* > > > > Shall we change them all? > > The ex

Re: resistance against single-even upsets

2023-03-14 Thread Peter J. Philipp
On Tue, Mar 14, 2023 at 10:34:48AM -0600, Theo de Raadt wrote: > Good god, imagine this bit flip happened *anywhere else*, like in the > page tables, or in the code or data or stack of chrome, or basically > *anywhere* > > Shall we change them all? The example I gave was the last resort other tha

Re: resistance against single-even upsets

2023-03-14 Thread Raul Miller
This is a hardware issue. Hardware failure is best guarded against using redundant systems. Since random errors tend to lead to different outcomes, machines which agree on what they were told would be the ones which did not experience hardware failure. Personally, I'd recommend 5x redundancy for

Re: resistance against single-even upsets

2023-03-14 Thread Theo de Raadt
Good god, imagine this bit flip happened *anywhere else*, like in the page tables, or in the code or data or stack of chrome, or basically *anywhere* Shall we change them all? Shall we change the compiler to not allow checks like this? Shall we wait for a compiler diff from you? p...@delphinusd