2022-04-28 13:06:34

by Borislav Petkov

[permalink] [raw]
Subject: EXT4-fs error (device sda5) in ext4_update_backup_sb:165: Filesystem failed CRC

Hi,

the errors at the end of this mail come from one of my test boxes booted
with latest Linus:

8f4dd16603ce ("Merge branch 'akpm' (patches from Andrew)")

+ tip/master.

A second boot into the same kernel says:

[ 5.427329] EXT4-fs (sda5): warning: mounting fs with errors, running e2fsck is recommended
[ 5.435681] EXT4-fs (sda5): mounted filesystem with ordered data mode. Quota mode: disabled.
...

[ 316.621377] EXT4-fs (sda5): error count since last fsck: 14
[ 316.621645] EXT4-fs (sda5): initial error at time 1651146136: ext4_update_backup_sb:165
[ 316.621948] EXT4-fs (sda5): last error at time 1651146136: ext4_update_backup_sb:165


And it used to work fine with rc3:

EXT4-fs (sda5): mounted filesystem with ordered data mode. Quota mode: disabled.

so before I go and fsck the partition, I thought I should report it
first - maybe something new in ext4 land is not behaving as it should...

And since rc3 I see:

$ git log --oneline v5.18-rc3.. fs/ext4/
c00c5e1d157b Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4
eb7054212eac ext4: update the cached overhead value in the superblock
85d825dbf489 ext4: force overhead calculation if the s_overhead_cluster makes no sense
10b01ee92df5 ext4: fix overhead calculation to account for the reserved gdt blocks
2da376228a24 ext4: limit length to bitmap_maxbytes - blocksize in punch_hole
c186f0887fe7 ext4: fix use-after-free in ext4_search_dir
b98535d09179 ext4: fix bug_on in start_this_handle during umount filesystem
a2b0b205d125 ext4: fix symlink file size not match to file content
ad5cd4f4ee4d ext4: fix fallocate to use file_modified to update permissions consistently

so there is something which just got applied...

[ 4.742960] device-mapper: ioctl: 4.46.0-ioctl (2022-02-22) initialised: [email protected]
[ 4.766518] loop: module loaded
[ 4.836287] EXT4-fs (sda5): mounted filesystem with ordered data mode. Quota mode: disabled.
[ 4.840733] EXT4-fs (sda5): Invalid checksum for backup superblock 32768

[ 4.843142] EXT4-fs error (device sda5) in ext4_update_backup_sb:165: Filesystem failed CRC
[ 4.844802] EXT4-fs (sda5): Invalid checksum for backup superblock 98304

[ 4.847239] EXT4-fs error (device sda5) in ext4_update_backup_sb:165: Filesystem failed CRC
[ 4.848942] EXT4-fs (sda5): Invalid checksum for backup superblock 163840

[ 4.851344] EXT4-fs error (device sda5) in ext4_update_backup_sb:165: Filesystem failed CRC
[ 4.852919] EXT4-fs (sda5): Invalid checksum for backup superblock 229376

[ 4.855270] EXT4-fs error (device sda5) in ext4_update_backup_sb:165: Filesystem failed CRC
[ 4.856910] EXT4-fs (sda5): Invalid checksum for backup superblock 294912

[ 4.859279] EXT4-fs error (device sda5) in ext4_update_backup_sb:165: Filesystem failed CRC
[ 4.860946] EXT4-fs (sda5): Invalid checksum for backup superblock 819200

[ 4.863429] EXT4-fs error (device sda5) in ext4_update_backup_sb:165: Filesystem failed CRC
[ 4.865182] EXT4-fs (sda5): Invalid checksum for backup superblock 884736

[ 4.867793] EXT4-fs error (device sda5) in ext4_update_backup_sb:165: Filesystem failed CRC
[ 4.869583] EXT4-fs (sda5): Invalid checksum for backup superblock 1605632

[ 4.872285] EXT4-fs error (device sda5) in ext4_update_backup_sb:165: Filesystem failed CRC
[ 4.874109] EXT4-fs (sda5): Invalid checksum for backup superblock 2654208

[ 4.877056] EXT4-fs error (device sda5) in ext4_update_backup_sb:165: Filesystem failed CRC
[ 4.878751] EXT4-fs error (device sda5) in ext4_update_backup_sb:165: Filesystem failed CRC

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette