[Skiboot] [PATCH 2/2] external/gard: Check the validity of the flash
stewart at linux.vnet.ibm.com
Fri Aug 28 15:18:08 AEST 2015
Cyril Bur <cyril.bur at au1.ibm.com> writes:
> If the GUARD partition has been corrupted such that ECC checks fail and not
> even the first gard record can be read then the gard tool will be unable to
> do anything. If this happens it is possible that hostboot will have a
> similar problem.
> The only sane thing to do at is point is probably to wipe the GUARD
> This patch adds a check for this case and provides the user with the option
> to wipe the entirety of the GUARD partition to attempt recovery.
thanks, merged to skiboot master (which will become 5.1.2)
i'm increasingly thinking we could/should have a bunch of unit tests for
gard. Should be relatively easy at least.
More information about the Skiboot