u-boot is not tolerant of unclean ext2 file systems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Adana |
Incomplete
|
High
|
Unassigned |
Bug Description
u-boot will fail to load files from an unclean filesystem. As an ext2 filesystem can be marked unclean just by a sudden restart, this means that the system will then fail to load the uImage and uInitrd from the filesystem. As power interruptions, or a sudden restart is always possible, this creates a situation where the system then must be rescued with an external boot media.
STEPS TO REPRODUCE:
1. Crash the system in a way that causes an ext2 partition to be unclean. (mounting a partition, then suddenly hitting the reset switch should work)
2. Try to load a file at the u-boot prompt, and watch how it fails with an error
EXPECTED BEHAVIOR:
1. u-boot attempt to load despite the clean/non-clean status of the filesystem
Changed in adana: | |
importance: | Undecided → High |
visibility: | private → public |
It seems this doesn't always happen when the filesystem is marked unclean, as I just had my Y1 come up properly on an unclean file system, but there were no issues with the directory tree. Obviously the lack of robustness with ext2 is still an issue.