From: Tom Rini Date: Fri, 22 Mar 2019 19:18:47 -0400 Subject: [U-Boot] [U-Boot, 1/1] fs: ext4: do not write on filesystem with metadata_csum feature In-Reply-To: <20190322083352.24443-1-sebastien.szymanski@armadeus.com> References: <20190322083352.24443-1-sebastien.szymanski@armadeus.com> Message-ID: <20190322231847.GV18421@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On Fri, Mar 22, 2019 at 09:33:52AM +0100, Sébastien Szymanski wrote: > U-Boot doesn't support metadata_csum feature. Writing to filesystem with > metadata_csum feature makes the filesystem corrupted and unbootable by > Linux: > > [ 2.527495] EXT4-fs (mmcblk0p2): ext4_check_descriptors: Checksum for group 0 failed (52188!=0) > [ 2.537421] EXT4-fs (mmcblk0p2): ext4_check_descriptors: Checksum for group 1 failed (5262!=0) > ... > [ 2.653308] EXT4-fs (mmcblk0p2): ext4_check_descriptors: Checksum for group 14 failed (42611!=0) > [ 2.662179] EXT4-fs (mmcblk0p2): ext4_check_descriptors: Checksum for group 15 failed (21527!=0) > [ 2.687920] JBD2: journal checksum error > [ 2.691982] EXT4-fs (mmcblk0p2): error loading journal > [ 2.698292] VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2): error -74 > > Don't write to filesystem with meatadata_csum feature to not corrupt the > filesystem. > > Signed-off-by: Sébastien Szymanski Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: