[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1015295: linux-image-5.10.0-16-arm64: Unbootable system due to F2FS sanity_check_inode errors after upgrading kernel



Package: linux-image-5.10.0-16-arm64
Severity: critical
Justification: breaks the whole system
X-Debbugs-Cc: movrax@cryptolab.net

Dear Maintainer,

After upgrading kernel from linux-image-5.10.0-14-arm64 to
linux-image-5.10.0-16-arm64 my system became unbootable due to F2FS
sanity_check_inode errors.

Going back to previous kernel fixed the issue.

This does not appear to be limited only to Debian, as could be seen in this
thread:
https://github.com/raspberrypi/linux/issues/5068

Error messages are (aside from different device) the same as in the linked
thread above:
[   10.395372] F2FS-fs (mmcblk0p2): sanity_check_inode: inode (ino=85f5, mode=33188) should not have inline_data, run fsck to fix
[...]

I am using F2FS for my root partition with zstd compression enabled.

Partition was created with:
mkfs.f2fs -f -O extra_attr,inode_checksum,sb_checksum,compression,quota,encrypt DEVICE

And is mounted with:
flush_merge,data_flush,compress_algorithm=zstd

Compression was explicitly enabled for entire root partition during installation
with:
mount -t f2fs -o flush_merge,data_flush,compress_algorithm=zstd DEVICE /target
chattr -R -V +c /target

Linked thread also mentions that this was fixed upstream.


-- System Information:
Debian Release: 11.4
  APT prefers stable-updates
  APT policy: (900, 'stable-updates'), (900, 'stable-security'), (900, 'stable')
Architecture: arm64 (aarch64)

Kernel: Linux 5.10.0-14-arm64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages linux-image-5.10.0-16-arm64 depends on:
ii  initramfs-tools [linux-initramfs-tool]  0.140
ii  kmod                                    28-1
ii  linux-base                              4.6

Versions of packages linux-image-5.10.0-16-arm64 recommends:
ii  apparmor             2.13.6-10
ii  firmware-linux-free  20200122-1

Versions of packages linux-image-5.10.0-16-arm64 suggests:
pn  debian-kernel-handbook  <none>
pn  linux-doc-5.10          <none>


Reply to: