BB blue: make-microSD-flasher-from-eMMC produces a fs with all sort of errors

I attach a log with the output of /opt/scripts/tools/eMMC/beaglebone-black-make-microSD-flasher-from-eMMC.sh and a fragment of output of e2fsck -f /dev/mmcblk0p1.

BBB can boot from it, then it gets slowly worse until halt. Still, BBB works normally with its eMMC. One of the reasons might be, that /dev/mmcblk0p1 is reported as having 4GB or 16GB, depending on the software.

Unattached inode 793363
Connect to /lost+found? yes

Inode 793363 ref count is 2, should be 1. Fix? yes

Unattached inode 793364
Connect to /lost+found? yes

Inode 793364 ref count is 2, should be 1. Fix? yes

Unattached inode 793365
Connect to /lost+found? yes

Inode 793365 ref count is 2, should be 1. Fix? yes

Unattached inode 793366
Connect to /lost+found? yes

Inode 793366 ref count is 2, should be 1. Fix? yes

Unattached inode 793367
Connect to /lost+found? yes

Inode 793367 ref count is 2, should be 1. Fix? yes

Unattached inode 793368
Connect to /lost+found? yes

Inode 793368 ref count is 2, should be 1. Fix? yes

Unattached inode 793369
Connect to /lost+found? yes

Inode 793369 ref count is 2, should be 1. Fix? yes

Unattached inode 793370
Connect to /lost+found? yes

Inode 793370 ref count is 2, should be 1. Fix? yes

Inode 793421 ref count is 1, should be 2. Fix? yes

Inode 794552 ref count is 6, should be 4. Fix? yes

Inode 794553 ref count is 6, should be 4. Fix? yes

Inode 794554 ref count is 6, should be 4. Fix? yes

Inode 794555 ref count is 6, should be 4. Fix? yes

Unattached inode 794592
Connect to /lost+found? yes

Inode 794592 ref count is 2, should be 1. Fix? yes

Unattached inode 794600
Connect to /lost+found? yes

Inode 794600 ref count is 2, should be 1. Fix? yes

Unattached inode 794601
Connect to /lost+found? yes

Inode 794601 ref count is 2, should be 1. Fix? yes

Unattached inode 794605
Connect to /lost+found? yes

Inode 794605 ref count is 2, should be 1. Fix? yes

flasher.log (14.9 KB)