Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #81785 > unrolled thread
| Started by | Dhya <dhya@picorealm.net> |
|---|---|
| First post | 2024-02-08 05:40 +0100 |
| Last post | 2024-02-20 03:50 +0100 |
| Articles | 9 — 4 participants |
Back to article view | Back to linux.debian.kernel
Bug#1063422: linux-image-6.1.0-18-amd64: F2FS rw mount at boot fails with "invalid zstd compress level: 6" Dhya <dhya@picorealm.net> - 2024-02-08 05:40 +0100
Bug#1063422: mount options Dhya <dhya@picorealm.net> - 2024-02-08 06:20 +0100
Bug#1063422: fstab Dhya <dhya@picorealm.net> - 2024-02-08 06:20 +0100
Bug#1063422: linux-image-6.1.0-18-amd64: F2FS rw mount at boot fails with "invalid zstd compress level: 6" Salvatore Bonaccorso <carnil@debian.org> - 2024-02-08 07:40 +0100
Bug#1063422: [regression 6.1.y] f2fs: invalid zstd compress level: 6 Salvatore Bonaccorso <carnil@debian.org> - 2024-02-08 21:30 +0100
Bug#1063422: [regression 6.1.y] f2fs: invalid zstd compress level: 6 Jaegeuk Kim <jaegeuk@kernel.org> - 2024-02-09 03:00 +0100
Bug#1063422: [regression 6.1.y] f2fs: invalid zstd compress level: 6 Chao Yu <chao@kernel.org> - 2024-02-19 03:50 +0100
Bug#1063422: [regression 6.1.y] f2fs: invalid zstd compress level: 6 Salvatore Bonaccorso <carnil@debian.org> - 2024-02-19 21:00 +0100
Bug#1063422: [regression 6.1.y] f2fs: invalid zstd compress level: 6 Chao Yu <chao@kernel.org> - 2024-02-20 03:50 +0100
| From | Dhya <dhya@picorealm.net> |
|---|---|
| Date | 2024-02-08 05:40 +0100 |
| Subject | Bug#1063422: linux-image-6.1.0-18-amd64: F2FS rw mount at boot fails with "invalid zstd compress level: 6" |
| Message-ID | <I54mB-8FlR-1@gated-at.bofh.it> |
Package: src:linux Version: 6.1.76-1 Severity: critical Justification: breaks the whole system Dear Maintainer, After upgrade to linux-image-6.1.0-18-amd64 6.1.76-1 F2FS filesystem fails to mount rw. Message in the boot journal: kernel: F2FS-fs (nvme0n1p6): invalid zstd compress level: 6 There was recently an f2fs patch to the 6.1 kernel tree which might be related: https://www.spinics.net/lists/stable-commits/msg329957.html Was able to recover the system by doing: sudo mount -o remount,rw,relatime,lazytime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,active_logs=6,alloc_mode=default,checkpoint_merge,fsync_mode=posix,compress_algorithm=lz4,compress_log_size=2,compress_mode=fs,atgc,discard_unit=block,memory=normal /dev/nvme0n1p6 / under the running bad 6.1.0-18-amd64 kernel, then editing /etc/default/grub: GRUB_DEFAULT="Advanced options for Debian GNU/Linux>Debian GNU/Linux, with Linux 6.1.0-17-amd64" and running 'update-grub' and rebooting to boot the 6.1.0-17-amd64 kernel. -- Package-specific info: ** Kernel log: boot messages should be attached ** Model information sys_vendor: Dell Inc. product_name: Wyse 7040 product_version: chassis_vendor: Dell Inc. chassis_version: bios_vendor: Dell Inc. bios_version: 1.20.0 board_vendor: Dell Inc. board_name: 0080PM board_version: A00 ** PCI devices: 00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers [8086:191f] (rev 07) Subsystem: Dell Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers [1028:0727] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx- Latency: 0 IOMMU group: 1 Capabilities: <access denied> Kernel driver in use: skl_uncore Kernel modules: ie31200_edac 00:01.0 PCI bridge [0604]: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) [8086:1901] (rev 07) (prog-if 00 [Normal decode]) Subsystem: Dell 6th-10th Gen Core Processor PCIe Controller (x16) [1028:0727] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 122 IOMMU group: 2 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: [disabled] [16-bit] Memory behind bridge: [disabled] [32-bit] Prefetchable memory behind bridge: [disabled] [64-bit] Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR- BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16+ MAbort- >Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: <access denied> Kernel driver in use: pcieport 00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:1912] (rev 06) (prog-if 00 [VGA controller]) Subsystem: Dell HD Graphics 530 [1028:0727] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 133 IOMMU group: 0 Region 0: Memory at f6000000 (64-bit, non-prefetchable) [size=16M] Region 2: Memory at e0000000 (64-bit, prefetchable) [size=256M] Region 4: I/O ports at f000 [size=64] Expansion ROM at 000c0000 [virtual] [disabled] [size=128K] Capabilities: <access denied> Kernel driver in use: i915 Kernel modules: i915 00:14.0 USB controller [0c03]: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller [8086:a12f] (rev 31) (prog-if 30 [XHCI]) Subsystem: Dell 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller [1028:0727] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin C routed to IRQ 126 IOMMU group: 3 Region 0: Memory at f7130000 (64-bit, non-prefetchable) [size=64K] Capabilities: <access denied> Kernel driver in use: xhci_hcd Kernel modules: xhci_pci 00:14.2 Signal processing controller [1180]: Intel Corporation 100 Series/C230 Series Chipset Family Thermal Subsystem [8086:a131] (rev 31) Subsystem: Dell 100 Series/C230 Series Chipset Family Thermal Subsystem [1028:0727] Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Interrupt: pin C routed to IRQ 18 IOMMU group: 3 Region 0: Memory at f714f000 (64-bit, non-prefetchable) [size=4K] Capabilities: <access denied> Kernel driver in use: intel_pch_thermal Kernel modules: intel_pch_thermal 00:16.0 Communication controller [0780]: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 [8086:a13a] (rev 31) Subsystem: Dell 100 Series/C230 Series Chipset Family MEI Controller [1028:0727] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 132 IOMMU group: 4 Region 0: Memory at f714e000 (64-bit, non-prefetchable) [size=4K] Capabilities: <access denied> Kernel driver in use: mei_me Kernel modules: mei_me 00:16.3 Serial controller [0700]: Intel Corporation 100 Series/C230 Series Chipset Family KT Redirection [8086:a13d] (rev 31) (prog-if 02 [16550]) Subsystem: Dell 100 Series/C230 Series Chipset Family KT Redirection [1028:0727] Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Interrupt: pin D routed to IRQ 19 IOMMU group: 4 Region 0: I/O ports at f0a0 [size=8] Region 1: Memory at f714d000 (32-bit, non-prefetchable) [size=4K] Capabilities: <access denied> Kernel driver in use: serial 00:17.0 SATA controller [0106]: Intel Corporation Q170/Q150/B150/H170/H110/Z170/CM236 Chipset SATA Controller [AHCI Mode] [8086:a102] (rev 31) (prog-if 01 [AHCI 1.0]) Subsystem: Dell Q170/Q150/B150/H170/H110/Z170/CM236 Chipset SATA Controller [AHCI Mode] [1028:0727] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+ Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin B routed to IRQ 125 IOMMU group: 5 Region 0: Memory at f7148000 (32-bit, non-prefetchable) [size=8K] Region 1: Memory at f714c000 (32-bit, non-prefetchable) [size=256] Region 2: I/O ports at f090 [size=8] Region 3: I/O ports at f080 [size=4] Region 4: I/O ports at f060 [size=32] Region 5: Memory at f714b000 (32-bit, non-prefetchable) [size=2K] Capabilities: <access denied> Kernel driver in use: ahci Kernel modules: ahci 00:1b.0 PCI bridge [0604]: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #17 [8086:a167] (rev f1) (prog-if 00 [Normal decode]) Subsystem: Dell 100 Series/C230 Series Chipset Family PCI Express Root Port [1028:0727] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 123 IOMMU group: 6 Bus: primary=00, secondary=02, subordinate=02, sec-latency=0 I/O behind bridge: [disabled] [16-bit] Memory behind bridge: f7000000-f70fffff [size=1M] [32-bit] Prefetchable memory behind bridge: [disabled] [64-bit] Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR- BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16+ MAbort- >Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: <access denied> Kernel driver in use: pcieport 00:1f.0 ISA bridge [0601]: Intel Corporation Q170 Chipset LPC/eSPI Controller [8086:a146] (rev 31) Subsystem: Dell Q170 Chipset LPC/eSPI Controller [1028:0727] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 IOMMU group: 7 00:1f.2 Memory controller [0580]: Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller [8086:a121] (rev 31) Subsystem: Dell 100 Series/C230 Series Chipset Family Power Management Controller [1028:0727] Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- IOMMU group: 7 Region 0: Memory at f7144000 (32-bit, non-prefetchable) [disabled] [size=16K] 00:1f.3 Audio device [0403]: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller [8086:a170] (rev 31) Subsystem: Dell 100 Series/C230 Series Chipset Family HD Audio Controller [1028:0727] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 32 Interrupt: pin A routed to IRQ 134 IOMMU group: 7 Region 0: Memory at f7140000 (64-bit, non-prefetchable) [size=16K] Region 4: Memory at f7120000 (64-bit, non-prefetchable) [size=64K] Capabilities: <access denied> Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel 00:1f.4 SMBus [0c05]: Intel Corporation 100 Series/C230 Series Chipset Family SMBus [8086:a123] (rev 31) Subsystem: Dell 100 Series/C230 Series Chipset Family SMBus [1028:0727] Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Interrupt: pin A routed to IRQ 16 IOMMU group: 7 Region 0: Memory at f714a000 (64-bit, non-prefetchable) [size=256] Region 4: I/O ports at f040 [size=32] Kernel driver in use: i801_smbus Kernel modules: i2c_i801 00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (2) I219-LM [8086:15b7] (rev 31) Subsystem: Dell Ethernet Connection (2) I219-LM [1028:0727] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin D routed to IRQ 124 IOMMU group: 8 Region 0: Memory at f7100000 (32-bit, non-prefetchable) [size=128K] Capabilities: <access denied> Kernel driver in use: e1000e Kernel modules: e1000e 02:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961/SM963 [144d:a804] (prog-if 02 [NVM Express]) Subsystem: Samsung Electronics Co Ltd SM963 2.5" NVMe PCIe SSD [144d:a801] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 16 IOMMU group: 9 Region 0: Memory at f7000000 (64-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: nvme Kernel modules: nvme ** USB devices: Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub -- System Information: Debian Release: 12.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'proposed-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-17-amd64 (SMP w/4 CPU threads; PREEMPT) Kernel taint flags: TAINT_FIRMWARE_WORKAROUND Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages linux-image-6.1.0-18-amd64 depends on: ii initramfs-tools [linux-initramfs-tool] 0.142 ii kmod 30+20221128-1 ii linux-base 4.9 Versions of packages linux-image-6.1.0-18-amd64 recommends: ii apparmor 3.0.8-3 ii firmware-linux-free 20200122-1 Versions of packages linux-image-6.1.0-18-amd64 suggests: pn debian-kernel-handbook <none> ii grub-efi-amd64 2.06-13+deb12u1 pn linux-doc-6.1 <none> Versions of packages linux-image-6.1.0-18-amd64 is related to: ii firmware-amd-graphics 20230210-5 pn firmware-atheros <none> pn firmware-bnx2 <none> pn firmware-bnx2x <none> pn firmware-brcm80211 <none> pn firmware-cavium <none> pn firmware-intel-sound <none> pn firmware-intelwimax <none> pn firmware-ipw2x00 <none> pn firmware-ivtv <none> pn firmware-iwlwifi <none> pn firmware-libertas <none> ii firmware-linux-nonfree 20230210-5 ii firmware-misc-nonfree 20230210-5 pn firmware-myricom <none> pn firmware-netxen <none> pn firmware-qlogic <none> pn firmware-realtek <none> pn firmware-samsung <none> pn firmware-siano <none> pn firmware-ti-connectivity <none> pn xen-hypervisor <none> -- no debconf information
[toc] | [next] | [standalone]
| From | Dhya <dhya@picorealm.net> |
|---|---|
| Date | 2024-02-08 06:20 +0100 |
| Subject | Bug#1063422: mount options |
| Message-ID | <I54Zj-8FNI-1@gated-at.bofh.it> |
| In reply to | #81785 |
Under the 6.1.0-17-amd64 kernel the mount command reports: /dev/nvme0n1p6 on / type f2fs (rw,relatime,lazytime,background_gc=on,gc_merge,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,alloc_mode=default,checkpoint_merge,fsync_mode=posix,compress_algorithm=zstd:6,compress_log_size=2,compress_chksum,compress_mode=fs,atgc,discard_unit=block,memory=normal)
[toc] | [prev] | [next] | [standalone]
| From | Dhya <dhya@picorealm.net> |
|---|---|
| Date | 2024-02-08 06:20 +0100 |
| Subject | Bug#1063422: fstab |
| Message-ID | <I54Zj-8FNI-3@gated-at.bofh.it> |
| In reply to | #81785 |
fstab entry: UUID=xxxxxxx / f2fs compress_algorithm=zstd:6,compress_chksum,atgc,gc_merge,lazytime 0 1 Allowable levels for zstd compression are 1-22: https://docs.kernel.org/filesystems/f2fs.html
[toc] | [prev] | [next] | [standalone]
| From | Salvatore Bonaccorso <carnil@debian.org> |
|---|---|
| Date | 2024-02-08 07:40 +0100 |
| Message-ID | <I56eK-8GzQ-1@gated-at.bofh.it> |
| In reply to | #81785 |
Control: tags -1 + upstream Control: severity -1 important Hi On Wed, Feb 07, 2024 at 10:43:47PM -0500, Dhya wrote: > Package: src:linux > Version: 6.1.76-1 > Severity: critical > Justification: breaks the whole system > > Dear Maintainer, > > After upgrade to linux-image-6.1.0-18-amd64 6.1.76-1 F2FS filesystem > fails to mount rw. Message in the boot journal: > > kernel: F2FS-fs (nvme0n1p6): invalid zstd compress level: 6 > > There was recently an f2fs patch to the 6.1 kernel tree which might be > related: https://www.spinics.net/lists/stable-commits/msg329957.html > > Was able to recover the system by doing: > > sudo mount -o remount,rw,relatime,lazytime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,active_logs=6,alloc_mode=default,checkpoint_merge,fsync_mode=posix,compress_algorithm=lz4,compress_log_size=2,compress_mode=fs,atgc,discard_unit=block,memory=normal /dev/nvme0n1p6 / > > under the running bad 6.1.0-18-amd64 kernel, then editing > /etc/default/grub: > > GRUB_DEFAULT="Advanced options for Debian GNU/Linux>Debian GNU/Linux, with Linux 6.1.0-17-amd64" > > and running 'update-grub' and rebooting to boot the 6.1.0-17-amd64 > kernel. Thanks for the report. Can you please report your finding upstream and keep this downstream report in the loop as well please? Regards, Salvatore
[toc] | [prev] | [next] | [standalone]
| From | Salvatore Bonaccorso <carnil@debian.org> |
|---|---|
| Date | 2024-02-08 21:30 +0100 |
| Subject | Bug#1063422: [regression 6.1.y] f2fs: invalid zstd compress level: 6 |
| Message-ID | <I5jbX-8Ohv-1@gated-at.bofh.it> |
| In reply to | #81785 |
Hi Jaegeuk Kim, Chao Yu, In Debian the following regression was reported after a Dhya updated to 6.1.76: On Wed, Feb 07, 2024 at 10:43:47PM -0500, Dhya wrote: > Package: src:linux > Version: 6.1.76-1 > Severity: critical > Justification: breaks the whole system > > Dear Maintainer, > > After upgrade to linux-image-6.1.0-18-amd64 6.1.76-1 F2FS filesystem > fails to mount rw. Message in the boot journal: > > kernel: F2FS-fs (nvme0n1p6): invalid zstd compress level: 6 > > There was recently an f2fs patch to the 6.1 kernel tree which might be > related: https://www.spinics.net/lists/stable-commits/msg329957.html > > Was able to recover the system by doing: > > sudo mount -o remount,rw,relatime,lazytime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,active_logs=6,alloc_mode=default,checkpoint_merge,fsync_mode=posix,compress_algorithm=lz4,compress_log_size=2,compress_mode=fs,atgc,discard_unit=block,memory=normal /dev/nvme0n1p6 / > > under the running bad 6.1.0-18-amd64 kernel, then editing > /etc/default/grub: > > GRUB_DEFAULT="Advanced options for Debian GNU/Linux>Debian GNU/Linux, with Linux 6.1.0-17-amd64" > > and running 'update-grub' and rebooting to boot the 6.1.0-17-amd64 > kernel. The issue is easily reproducible by: # dd if=/dev/zero of=test.img count=100 bs=1M # mkfs.f2fs -f -O compression,extra_attr ./test.img # mount -t f2fs -o compress_algorithm=zstd:6,compress_chksum,atgc,gc_merge,lazytime ./test.img /mnt resulting in [ 60.789982] F2FS-fs (loop0): invalid zstd compress level: 6 A bugzilla report has been submitted in https://bugzilla.kernel.org/show_bug.cgi?id=218471 #regzbot introduced: v6.1.69..v6.1.76 #regzbot link: https://bugs.debian.org/1063422 #regzbot link: https://bugzilla.kernel.org/show_bug.cgi?id=218471 Regards, Salvatore
[toc] | [prev] | [next] | [standalone]
| From | Jaegeuk Kim <jaegeuk@kernel.org> |
|---|---|
| Date | 2024-02-09 03:00 +0100 |
| Subject | Bug#1063422: [regression 6.1.y] f2fs: invalid zstd compress level: 6 |
| Message-ID | <I5olj-8Rix-1@gated-at.bofh.it> |
| In reply to | #81797 |
Hi, Let me check this soon. Thanks, On 02/08, Salvatore Bonaccorso wrote: > Hi Jaegeuk Kim, Chao Yu, > > In Debian the following regression was reported after a Dhya updated > to 6.1.76: > > On Wed, Feb 07, 2024 at 10:43:47PM -0500, Dhya wrote: > > Package: src:linux > > Version: 6.1.76-1 > > Severity: critical > > Justification: breaks the whole system > > > > Dear Maintainer, > > > > After upgrade to linux-image-6.1.0-18-amd64 6.1.76-1 F2FS filesystem > > fails to mount rw. Message in the boot journal: > > > > kernel: F2FS-fs (nvme0n1p6): invalid zstd compress level: 6 > > > > There was recently an f2fs patch to the 6.1 kernel tree which might be > > related: https://www.spinics.net/lists/stable-commits/msg329957.html > > > > Was able to recover the system by doing: > > > > sudo mount -o remount,rw,relatime,lazytime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,active_logs=6,alloc_mode=default,checkpoint_merge,fsync_mode=posix,compress_algorithm=lz4,compress_log_size=2,compress_mode=fs,atgc,discard_unit=block,memory=normal /dev/nvme0n1p6 / > > > > under the running bad 6.1.0-18-amd64 kernel, then editing > > /etc/default/grub: > > > > GRUB_DEFAULT="Advanced options for Debian GNU/Linux>Debian GNU/Linux, with Linux 6.1.0-17-amd64" > > > > and running 'update-grub' and rebooting to boot the 6.1.0-17-amd64 > > kernel. > > The issue is easily reproducible by: > > # dd if=/dev/zero of=test.img count=100 bs=1M > # mkfs.f2fs -f -O compression,extra_attr ./test.img > # mount -t f2fs -o compress_algorithm=zstd:6,compress_chksum,atgc,gc_merge,lazytime ./test.img /mnt > > resulting in > > [ 60.789982] F2FS-fs (loop0): invalid zstd compress level: 6 > > A bugzilla report has been submitted in > https://bugzilla.kernel.org/show_bug.cgi?id=218471 > > #regzbot introduced: v6.1.69..v6.1.76 > #regzbot link: https://bugs.debian.org/1063422 > #regzbot link: https://bugzilla.kernel.org/show_bug.cgi?id=218471 > > Regards, > Salvatore
[toc] | [prev] | [next] | [standalone]
| From | Chao Yu <chao@kernel.org> |
|---|---|
| Date | 2024-02-19 03:50 +0100 |
| Subject | Bug#1063422: [regression 6.1.y] f2fs: invalid zstd compress level: 6 |
| Message-ID | <I91Tb-b6zZ-1@gated-at.bofh.it> |
| In reply to | #81797 |
On 2024/2/9 4:19, Salvatore Bonaccorso wrote: > Hi Jaegeuk Kim, Chao Yu, > > In Debian the following regression was reported after a Dhya updated > to 6.1.76: > > On Wed, Feb 07, 2024 at 10:43:47PM -0500, Dhya wrote: >> Package: src:linux >> Version: 6.1.76-1 >> Severity: critical >> Justification: breaks the whole system >> >> Dear Maintainer, >> >> After upgrade to linux-image-6.1.0-18-amd64 6.1.76-1 F2FS filesystem >> fails to mount rw. Message in the boot journal: >> >> kernel: F2FS-fs (nvme0n1p6): invalid zstd compress level: 6 >> >> There was recently an f2fs patch to the 6.1 kernel tree which might be >> related: https://www.spinics.net/lists/stable-commits/msg329957.html >> >> Was able to recover the system by doing: >> >> sudo mount -o remount,rw,relatime,lazytime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,active_logs=6,alloc_mode=default,checkpoint_merge,fsync_mode=posix,compress_algorithm=lz4,compress_log_size=2,compress_mode=fs,atgc,discard_unit=block,memory=normal /dev/nvme0n1p6 / >> >> under the running bad 6.1.0-18-amd64 kernel, then editing >> /etc/default/grub: >> >> GRUB_DEFAULT="Advanced options for Debian GNU/Linux>Debian GNU/Linux, with Linux 6.1.0-17-amd64" >> >> and running 'update-grub' and rebooting to boot the 6.1.0-17-amd64 >> kernel. > > The issue is easily reproducible by: > > # dd if=/dev/zero of=test.img count=100 bs=1M > # mkfs.f2fs -f -O compression,extra_attr ./test.img > # mount -t f2fs -o compress_algorithm=zstd:6,compress_chksum,atgc,gc_merge,lazytime ./test.img /mnt > > resulting in > > [ 60.789982] F2FS-fs (loop0): invalid zstd compress level: 6 Hi Salvatore, Can you please try below fixes: [PATCH 6.1] f2fs: add helper to check compression level https://lore.kernel.org/linux-f2fs-devel/20240212160530.1017205-1-chao@kernel.org [PATCH] f2fs: compress: fix to check zstd compress level correctly in mount option https://lore.kernel.org/linux-f2fs-devel/20240212160818.1020903-1-chao@kernel.org Thanks, > > A bugzilla report has been submitted in > https://bugzilla.kernel.org/show_bug.cgi?id=218471 > > #regzbot introduced: v6.1.69..v6.1.76 > #regzbot link: https://bugs.debian.org/1063422 > #regzbot link: https://bugzilla.kernel.org/show_bug.cgi?id=218471 > > Regards, > Salvatore
[toc] | [prev] | [next] | [standalone]
| From | Salvatore Bonaccorso <carnil@debian.org> |
|---|---|
| Date | 2024-02-19 21:00 +0100 |
| Subject | Bug#1063422: [regression 6.1.y] f2fs: invalid zstd compress level: 6 |
| Message-ID | <I9hXY-bgha-5@gated-at.bofh.it> |
| In reply to | #81906 |
Hi, On Mon, Feb 19, 2024 at 10:35:13AM +0800, Chao Yu wrote: > On 2024/2/9 4:19, Salvatore Bonaccorso wrote: > > Hi Jaegeuk Kim, Chao Yu, > > > > In Debian the following regression was reported after a Dhya updated > > to 6.1.76: > > > > On Wed, Feb 07, 2024 at 10:43:47PM -0500, Dhya wrote: > > > Package: src:linux > > > Version: 6.1.76-1 > > > Severity: critical > > > Justification: breaks the whole system > > > > > > Dear Maintainer, > > > > > > After upgrade to linux-image-6.1.0-18-amd64 6.1.76-1 F2FS filesystem > > > fails to mount rw. Message in the boot journal: > > > > > > kernel: F2FS-fs (nvme0n1p6): invalid zstd compress level: 6 > > > > > > There was recently an f2fs patch to the 6.1 kernel tree which might be > > > related: https://www.spinics.net/lists/stable-commits/msg329957.html > > > > > > Was able to recover the system by doing: > > > > > > sudo mount -o remount,rw,relatime,lazytime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,active_logs=6,alloc_mode=default,checkpoint_merge,fsync_mode=posix,compress_algorithm=lz4,compress_log_size=2,compress_mode=fs,atgc,discard_unit=block,memory=normal /dev/nvme0n1p6 / > > > > > > under the running bad 6.1.0-18-amd64 kernel, then editing > > > /etc/default/grub: > > > > > > GRUB_DEFAULT="Advanced options for Debian GNU/Linux>Debian GNU/Linux, with Linux 6.1.0-17-amd64" > > > > > > and running 'update-grub' and rebooting to boot the 6.1.0-17-amd64 > > > kernel. > > > > The issue is easily reproducible by: > > > > # dd if=/dev/zero of=test.img count=100 bs=1M > > # mkfs.f2fs -f -O compression,extra_attr ./test.img > > # mount -t f2fs -o compress_algorithm=zstd:6,compress_chksum,atgc,gc_merge,lazytime ./test.img /mnt > > > > resulting in > > > > [ 60.789982] F2FS-fs (loop0): invalid zstd compress level: 6 > > Hi Salvatore, > > Can you please try below fixes: > > [PATCH 6.1] f2fs: add helper to check compression level > https://lore.kernel.org/linux-f2fs-devel/20240212160530.1017205-1-chao@kernel.org Confirmed that this fixes the reported issue as it was reported to us in Debian in https://bugs.debian.org/1063422 . Thanks a lot! (note just tested with the first commit as it landed in 6.1.78 to confirm the immediate regression). #regzbot fixed-by: cf3d57ad6ff8b566deba3544b9ad3384781fb604 Regards, Salvatore
[toc] | [prev] | [next] | [standalone]
| From | Chao Yu <chao@kernel.org> |
|---|---|
| Date | 2024-02-20 03:50 +0100 |
| Subject | Bug#1063422: [regression 6.1.y] f2fs: invalid zstd compress level: 6 |
| Message-ID | <I9omJ-bk9r-3@gated-at.bofh.it> |
| In reply to | #81909 |
On 2024/2/20 3:54, Salvatore Bonaccorso wrote: > Hi, > > On Mon, Feb 19, 2024 at 10:35:13AM +0800, Chao Yu wrote: >> On 2024/2/9 4:19, Salvatore Bonaccorso wrote: >>> Hi Jaegeuk Kim, Chao Yu, >>> >>> In Debian the following regression was reported after a Dhya updated >>> to 6.1.76: >>> >>> On Wed, Feb 07, 2024 at 10:43:47PM -0500, Dhya wrote: >>>> Package: src:linux >>>> Version: 6.1.76-1 >>>> Severity: critical >>>> Justification: breaks the whole system >>>> >>>> Dear Maintainer, >>>> >>>> After upgrade to linux-image-6.1.0-18-amd64 6.1.76-1 F2FS filesystem >>>> fails to mount rw. Message in the boot journal: >>>> >>>> kernel: F2FS-fs (nvme0n1p6): invalid zstd compress level: 6 >>>> >>>> There was recently an f2fs patch to the 6.1 kernel tree which might be >>>> related: https://www.spinics.net/lists/stable-commits/msg329957.html >>>> >>>> Was able to recover the system by doing: >>>> >>>> sudo mount -o remount,rw,relatime,lazytime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,active_logs=6,alloc_mode=default,checkpoint_merge,fsync_mode=posix,compress_algorithm=lz4,compress_log_size=2,compress_mode=fs,atgc,discard_unit=block,memory=normal /dev/nvme0n1p6 / >>>> >>>> under the running bad 6.1.0-18-amd64 kernel, then editing >>>> /etc/default/grub: >>>> >>>> GRUB_DEFAULT="Advanced options for Debian GNU/Linux>Debian GNU/Linux, with Linux 6.1.0-17-amd64" >>>> >>>> and running 'update-grub' and rebooting to boot the 6.1.0-17-amd64 >>>> kernel. >>> >>> The issue is easily reproducible by: >>> >>> # dd if=/dev/zero of=test.img count=100 bs=1M >>> # mkfs.f2fs -f -O compression,extra_attr ./test.img >>> # mount -t f2fs -o compress_algorithm=zstd:6,compress_chksum,atgc,gc_merge,lazytime ./test.img /mnt >>> >>> resulting in >>> >>> [ 60.789982] F2FS-fs (loop0): invalid zstd compress level: 6 >> >> Hi Salvatore, >> >> Can you please try below fixes: >> >> [PATCH 6.1] f2fs: add helper to check compression level >> https://lore.kernel.org/linux-f2fs-devel/20240212160530.1017205-1-chao@kernel.org > > Confirmed that this fixes the reported issue as it was reported to us > in Debian in https://bugs.debian.org/1063422 . Thanks a lot! > (note just tested with the first commit as it landed in 6.1.78 to > confirm the immediate regression). > > #regzbot fixed-by: cf3d57ad6ff8b566deba3544b9ad3384781fb604 Hi, Thank you for confirmation. Thanks, > > Regards, > Salvatore
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.kernel
csiph-web