Skip to contentSkip to conversation

New: kernel panic on f2fs filesystem when f2fs_commit_atomic_write

f2fs-dev [email protected] 3 participants 11 messages Mar 29, 2023 – Apr 3, 2023

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=217266

            Bug ID: 217266
           Summary: kernel panic on f2fs filesystem when
                    f2fs_commit_atomic_write
           Product: File System
           Version: 2.5
    Kernel Version: 6.2.8
          Hardware: Intel
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: blocking
          Priority: P1
         Component: f2fs
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 304050
--> https://bugzilla.kernel.org/attachment.cgi?id=304050&action=edit
system journal

Under daily usage senario, kernel panic occurred.
OS: Archlinux x64 with kernel 6.2.8-1
Hardware: Dell XPS 13 7390 laptop

1 │ Mar 28 18:13:53 shilka kernel: BUG: kernel NULL pointer dereference,
address: 0000000000000000
2 │ Mar 28 18:13:53 shilka kernel: #PF: supervisor read access in kernel
mode
3 │ Mar 28 18:13:53 shilka kernel: #PF: error_code(0x0000) - not-present
page

   4   │ Mar 28 18:13:53 shilka kernel: PGD 0 P4D 0 
   5   │ Mar 28 18:13:53 shilka kernel: Oops: 0000 [#1] PREEMPT SMP NOPTI
   6   │ Mar 28 18:13:53 shilka kernel: CPU: 6 PID: 82195 Comm: ThreadPoolForeg
Tainted: G           OE      6.2.8-arch1-1 #1

97507a85a20085e4c7bd7722b8899840c7d0bffd
7 │ Mar 28 18:13:53 shilka kernel: Hardware name: Dell Inc. XPS 13
7390/0X2XTG, BIOS 1.17.0 07/11/2022
8 │ Mar 28 18:13:53 shilka kernel: RIP:
0010:__replace_atomic_write_block+0x184/0x620 [f2fs]
9 │ Mar 28 18:13:53 shilka kernel: Code: 74 0b 48 3b 5c 24 38 0f 85 29 01
00 00 48 8b 04 24 48 8b 95 80 03 00 00 48 c7 44 24 38 00 00 00 00 48 c7 44 24 30 00 00 00 00 <44> 8b 00 66 90 48 8b 44 24 58 65 48 2b

       │ 04 25 28 00 00 00 0f 85 7c
  10   │ Mar 28 18:13:53 shilka kernel: RSP: 0018:ffffb4a246817c80 EFLAGS:

00010246
11 │ Mar 28 18:13:53 shilka kernel: RAX: 0000000000000000 RBX:
ffffee060710d500 RCX: 0000000000ec8c06
12 │ Mar 28 18:13:53 shilka kernel: RDX: ffff963c72a217e8 RSI:
0000000000000001 RDI: ffffee060710d500
13 │ Mar 28 18:13:53 shilka kernel: RBP: ffff963ab0333960 R08:
ffff963aebe108a0 R09: 0000000080380011
14 │ Mar 28 18:13:53 shilka kernel: R10: 0000000000000088 R11:
ffffffffffffffff R12: 0000000000000000
15 │ Mar 28 18:13:53 shilka kernel: R13: 00000000010ea75c R14:
0000000000000000 R15: ffff963a412e3000
16 │ Mar 28 18:13:53 shilka kernel: FS: 00007f68dff0a6c0(0000)
GS:ffff963dbe780000(0000) knlGS:0000000000000000
17 │ Mar 28 18:13:53 shilka kernel: CS: 0010 DS: 0000 ES: 0000 CR0:
0000000080050033
18 │ Mar 28 18:13:53 shilka kernel: CR2: 0000000000000000 CR3:
0000000378db8001 CR4: 00000000003706e0

  19   │ Mar 28 18:13:53 shilka kernel: Call Trace:
  20   │ Mar 28 18:13:53 shilka kernel:  <TASK>
  21   │ Mar 28 18:13:53 shilka kernel:  f2fs_commit_atomic_write+0x619/0x990
[f2fs a1b985b80f5babd6f3ea778384908880812bfa43]
  22   │ Mar 28 18:13:53 shilka kernel:  __f2fs_ioctl+0xd8e/0x4080 [f2fs
a1b985b80f5babd6f3ea778384908880812bfa43]
  23   │ Mar 28 18:13:53 shilka kernel:  ? vfs_write+0x2ae/0x3f0
  24   │ Mar 28 18:13:53 shilka kernel:  ? vfs_write+0x2ae/0x3f0
  25   │ Mar 28 18:13:53 shilka kernel:  __x64_sys_ioctl+0x91/0xd0
  26   │ Mar 28 18:13:53 shilka kernel:  do_syscall_64+0x5c/0x90
  27   │ Mar 28 18:13:53 shilka kernel: 
entry_SYSCALL_64_after_hwframe+0x72/0xdc
  28   │ Mar 28 18:13:53 shilka kernel: RIP: 0033:0x7f69095fe53f
  29   │ Mar 28 18:13:53 shilka kernel: Code: 00 48 89 44 24 18 31 c0 48 8d 44
24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10
00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24 
       │ 18 64 48 2b 04 25 28 00 00
  30   │ Mar 28 18:13:53 shilka kernel: RSP: 002b:00007f68dff085a0 EFLAGS:

00000246 ORIG_RAX: 0000000000000010
31 │ Mar 28 18:13:53 shilka kernel: RAX: ffffffffffffffda RBX:
000000000000000c RCX: 00007f69095fe53f
32 │ Mar 28 18:13:53 shilka kernel: RDX: 0000000000000000 RSI:
000000000000f502 RDI: 000000000000004d
33 │ Mar 28 18:13:53 shilka kernel: RBP: 00007f68dff08700 R08:
00005573b5920960 R09: 00005573b5920a88
34 │ Mar 28 18:13:53 shilka kernel: R10: 0000000000368000 R11:
0000000000000246 R12: 00000b98003ba800
35 │ Mar 28 18:13:53 shilka kernel: R13: 00000b98007da080 R14:
0000000000000000 R15: 0000000000000000

  36   │ Mar 28 18:13:53 shilka kernel:  </TASK>
  37   │ Mar 28 18:13:53 shilka kernel: Modules linked in: nls_utf8 cifs

cifs_arc4 cifs_md4 dns_resolver fscache netfs rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device ccm typec_displayport nf_conntrack_net
│ bios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6
nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat snd_hda_codec_hdmi nf_tables ip6table_nat ip6tab
│ le_mangle ip6table_raw ip6table_security iptable_nat nf_nat
nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c crc32c_generic iptable_mangle iptable_raw iptable_security nfnetlink ip6table_filter ip6_ta
│ bles iptable_filter cmac algif_hash algif_skcipher af_alg bnep
r8153_ecm cdc_ether usbnet tun r8152 mii snd_sof_pci_intel_cnl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwir
│ e_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof
snd_sof_utils soundwire_bus snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match
38 │ Mar 28 18:13:53 shilka kernel: snd_soc_acpi x86_pkg_temp_thermal
intel_powerclamp coretemp snd_soc_core snd_ctl_led kvm_intel snd_compress snd_hda_codec_realtek snd_hda_codec_generic ac97_bus snd_pcm_dma
│ engine kvm iwlmvm snd_hda_intel irqbypass snd_intel_dspcfg
crct10dif_pclmul btusb mac80211 crc32c_intel joydev btrtl uvcvideo snd_intel_sdw_acpi btbcm polyval_clmulni videobuf2_vmalloc polyval_generic iTC
│ O_wdt snd_hda_codec mousedev videobuf2_memops libarc4 gf128mul btintel
processor_thermal_device_pci_legacy dell_laptop intel_pmc_bxt btmtk snd_hda_core ghash_clmulni_intel processor_thermal_device videobu
│ f2_v4l2 dell_wmi hid_multitouch i915 cdc_acm mei_pxp
iTCO_vendor_support mei_hdcp intel_rapl_msr snd_hwdep processor_thermal_rfim sha512_ssse3 bluetooth videodev processor_thermal_mbox snd_pcm dell_smbios
│ dell_wmi_ddv dell_wmi_sysman aesni_intel drm_buddy iwlwifi
intel_wmi_thunderbolt ledtrig_audio firmware_attributes_class usbhid dell_wmi_descriptor ecdh_generic wmi_bmof videobuf2_common ttm dcdbas

 Mar 28 18:13:53 shilka kernel:  snd_timer vfat ucsi_acpi crypto_simd

processor_thermal_rapl crc16 mc fat dell_smm_hwmon cfg80211 cryptd rapl typec_ucsi spi_nor intel_cstate i2c_hid_acpi mei_me drm_display
│ _helper i2c_i801 typec snd intel_rapl_common int3403_thermal
intel_uncore soundcore psmouse rfkill pcspkr thunderbolt mtd i2c_smbus i2c_hid video intel_lpss_pci int340x_thermal_zone intel_soc_dts_iosf int
│ el_pch_thermal roles cec intel_lpss mei intel_hid idma64 intel_gtt
sparse_keymap acpi_tad wmi int3400_thermal acpi_thermal_rel acpi_pad mac_hid vboxnetflt(OE) vboxnetadp(OE) vboxdrv(OE) pkcs8_key_parser c
│ rypto_user fuse dm_mod loop bpf_preload ip_tables x_tables
rtsx_pci_sdmmc serio_raw atkbd mmc_core nvme libps2 vivaldi_fmap nvme_core spi_intel_pci xhci_pci nvme_common i8042 spi_intel rtsx_pci xhci_pci_r

       │ enesas serio f2fs crc32_generic crc32_pclmul lz4hc_compress
  40   │ Mar 28 18:13:53 shilka kernel: CR2: 0000000000000000
  41   │ Mar 28 18:13:53 shilka kernel: ---[ end trace 0000000000000000 ]---
  42   │ Mar 28 18:13:53 shilka kernel: RIP:

0010:__replace_atomic_write_block+0x184/0x620 [f2fs]
43 │ Mar 28 18:13:53 shilka kernel: Code: 74 0b 48 3b 5c 24 38 0f 85 29 01
00 00 48 8b 04 24 48 8b 95 80 03 00 00 48 c7 44 24 38 00 00 00 00 48 c7 44 24 30 00 00 00 00 <44> 8b 00 66 90 48 8b 44 24 58 65 48 2b

       │ 04 25 28 00 00 00 0f 85 7c
  44   │ Mar 28 18:13:53 shilka kernel: RSP: 0018:ffffb4a246817c80 EFLAGS:

00010246
45 │ Mar 28 18:13:53 shilka kernel: RAX: 0000000000000000 RBX:
ffffee060710d500 RCX: 0000000000ec8c06
46 │ Mar 28 18:13:53 shilka kernel: RDX: ffff963c72a217e8 RSI:
0000000000000001 RDI: ffffee060710d500
47 │ Mar 28 18:13:53 shilka kernel: RBP: ffff963ab0333960 R08:
ffff963aebe108a0 R09: 0000000080380011
48 │ Mar 28 18:13:53 shilka kernel: R10: 0000000000000088 R11:
ffffffffffffffff R12: 0000000000000000
49 │ Mar 28 18:13:53 shilka kernel: R13: 00000000010ea75c R14:
0000000000000000 R15: ffff963a412e3000
50 │ Mar 28 18:13:53 shilka kernel: FS: 00007f68dff0a6c0(0000)
GS:ffff963dbe780000(0000) knlGS:0000000000000000
51 │ Mar 28 18:13:53 shilka kernel: CS: 0010 DS: 0000 ES: 0000 CR0:
0000000080050033
52 │ Mar 28 18:13:53 shilka kernel: CR2: 0000000000000000 CR3:
0000000378db8001 CR4: 00000000003706e0
53 │ Mar 28 18:13:53 shilka kernel: note: ThreadPoolForeg[82195] exited
with irqs disabled

Signature · 9 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
#1 lore raw

[f2fs-dev] [Bug 217266] kernel panic on f2fs filesystem when f2fs_commit_atomic_write

https://bugzilla.kernel.org/show_bug.cgi?id=217266

--- Comment #1 from [email protected] --- That looks identical to what I reported last week here:

https://sourceforge.net/p/linux-f2fs/mailman/message/37794257/

Am Mi., 29. März 2023 um 09:02 Uhr schrieb <[email protected]>:

Quoted 187 lines

https://bugzilla.kernel.org/show_bug.cgi?id=217266

            Bug ID: 217266
           Summary: kernel panic on f2fs filesystem when
                    f2fs_commit_atomic_write
           Product: File System
           Version: 2.5
    Kernel Version: 6.2.8
          Hardware: Intel
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: blocking
          Priority: P1
         Component: f2fs
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 304050
--> https://bugzilla.kernel.org/attachment.cgi?id=304050&action=edit
system journal

Under daily usage senario, kernel panic occurred.
OS: Archlinux x64 with kernel 6.2.8-1
Hardware: Dell XPS 13 7390 laptop

1 │ Mar 28 18:13:53 shilka kernel: BUG: kernel NULL pointer dereference,
address: 0000000000000000
2 │ Mar 28 18:13:53 shilka kernel: #PF: supervisor read access in kernel
mode
3 │ Mar 28 18:13:53 shilka kernel: #PF: error_code(0x0000) - not-present
page

   4   │ Mar 28 18:13:53 shilka kernel: PGD 0 P4D 0
   5   │ Mar 28 18:13:53 shilka kernel: Oops: 0000 [#1] PREEMPT SMP NOPTI
   6   │ Mar 28 18:13:53 shilka kernel: CPU: 6 PID: 82195 Comm:
   ThreadPoolForeg
Tainted: G           OE      6.2.8-arch1-1 #1

97507a85a20085e4c7bd7722b8899840c7d0bffd
7 │ Mar 28 18:13:53 shilka kernel: Hardware name: Dell Inc. XPS 13
7390/0X2XTG, BIOS 1.17.0 07/11/2022
8 │ Mar 28 18:13:53 shilka kernel: RIP:
0010:__replace_atomic_write_block+0x184/0x620 [f2fs]
9 │ Mar 28 18:13:53 shilka kernel: Code: 74 0b 48 3b 5c 24 38 0f 85 29
01
00 00 48 8b 04 24 48 8b 95 80 03 00 00 48 c7 44 24 38 00 00 00 00 48 c7 44 24 30 00 00 00 00 <44> 8b 00 66 90 48 8b 44 24 58 65 48 2b

       │ 04 25 28 00 00 00 0f 85 7c
  10   │ Mar 28 18:13:53 shilka kernel: RSP: 0018:ffffb4a246817c80 EFLAGS:

00010246
11 │ Mar 28 18:13:53 shilka kernel: RAX: 0000000000000000 RBX:
ffffee060710d500 RCX: 0000000000ec8c06
12 │ Mar 28 18:13:53 shilka kernel: RDX: ffff963c72a217e8 RSI:
0000000000000001 RDI: ffffee060710d500
13 │ Mar 28 18:13:53 shilka kernel: RBP: ffff963ab0333960 R08:
ffff963aebe108a0 R09: 0000000080380011
14 │ Mar 28 18:13:53 shilka kernel: R10: 0000000000000088 R11:
ffffffffffffffff R12: 0000000000000000
15 │ Mar 28 18:13:53 shilka kernel: R13: 00000000010ea75c R14:
0000000000000000 R15: ffff963a412e3000
16 │ Mar 28 18:13:53 shilka kernel: FS: 00007f68dff0a6c0(0000)
GS:ffff963dbe780000(0000) knlGS:0000000000000000
17 │ Mar 28 18:13:53 shilka kernel: CS: 0010 DS: 0000 ES: 0000 CR0:
0000000080050033
18 │ Mar 28 18:13:53 shilka kernel: CR2: 0000000000000000 CR3:
0000000378db8001 CR4: 00000000003706e0

  19   │ Mar 28 18:13:53 shilka kernel: Call Trace:
  20   │ Mar 28 18:13:53 shilka kernel:  <TASK>
  21   │ Mar 28 18:13:53 shilka kernel:  f2fs_commit_atomic_write+0x619/0x990
[f2fs a1b985b80f5babd6f3ea778384908880812bfa43]
  22   │ Mar 28 18:13:53 shilka kernel:  __f2fs_ioctl+0xd8e/0x4080 [f2fs
a1b985b80f5babd6f3ea778384908880812bfa43]
  23   │ Mar 28 18:13:53 shilka kernel:  ? vfs_write+0x2ae/0x3f0
  24   │ Mar 28 18:13:53 shilka kernel:  ? vfs_write+0x2ae/0x3f0
  25   │ Mar 28 18:13:53 shilka kernel:  __x64_sys_ioctl+0x91/0xd0
  26   │ Mar 28 18:13:53 shilka kernel:  do_syscall_64+0x5c/0x90
  27   │ Mar 28 18:13:53 shilka kernel:
entry_SYSCALL_64_after_hwframe+0x72/0xdc
  28   │ Mar 28 18:13:53 shilka kernel: RIP: 0033:0x7f69095fe53f
  29   │ Mar 28 18:13:53 shilka kernel: Code: 00 48 89 44 24 18 31 c0 48 8d
  44
24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10
00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24
       │ 18 64 48 2b 04 25 28 00 00
  30   │ Mar 28 18:13:53 shilka kernel: RSP: 002b:00007f68dff085a0 EFLAGS:

00000246 ORIG_RAX: 0000000000000010
31 │ Mar 28 18:13:53 shilka kernel: RAX: ffffffffffffffda RBX:
000000000000000c RCX: 00007f69095fe53f
32 │ Mar 28 18:13:53 shilka kernel: RDX: 0000000000000000 RSI:
000000000000f502 RDI: 000000000000004d
33 │ Mar 28 18:13:53 shilka kernel: RBP: 00007f68dff08700 R08:
00005573b5920960 R09: 00005573b5920a88
34 │ Mar 28 18:13:53 shilka kernel: R10: 0000000000368000 R11:
0000000000000246 R12: 00000b98003ba800
35 │ Mar 28 18:13:53 shilka kernel: R13: 00000b98007da080 R14:
0000000000000000 R15: 0000000000000000

  36   │ Mar 28 18:13:53 shilka kernel:  </TASK>
  37   │ Mar 28 18:13:53 shilka kernel: Modules linked in: nls_utf8 cifs

cifs_arc4 cifs_md4 dns_resolver fscache netfs rfcomm snd_seq_dummy snd_hrtimer
snd_seq snd_seq_device ccm typec_displayport nf_conntrack_net
│ bios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6
nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat snd_hda_codec_hdmi nf_tables ip6table_nat ip6tab
│ le_mangle ip6table_raw ip6table_security iptable_nat nf_nat
nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c crc32c_generic iptable_mangle iptable_raw iptable_security nfnetlink ip6table_filter ip6_ta
│ bles iptable_filter cmac algif_hash algif_skcipher af_alg bnep
r8153_ecm cdc_ether usbnet tun r8152 mii snd_sof_pci_intel_cnl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwir
│ e_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof
snd_sof_utils soundwire_bus snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match
38 │ Mar 28 18:13:53 shilka kernel: snd_soc_acpi x86_pkg_temp_thermal
intel_powerclamp coretemp snd_soc_core snd_ctl_led kvm_intel snd_compress snd_hda_codec_realtek snd_hda_codec_generic ac97_bus snd_pcm_dma
│ engine kvm iwlmvm snd_hda_intel irqbypass snd_intel_dspcfg
crct10dif_pclmul btusb mac80211 crc32c_intel joydev btrtl uvcvideo snd_intel_sdw_acpi btbcm polyval_clmulni videobuf2_vmalloc polyval_generic iTC
│ O_wdt snd_hda_codec mousedev videobuf2_memops libarc4 gf128mul btintel
processor_thermal_device_pci_legacy dell_laptop intel_pmc_bxt btmtk snd_hda_core ghash_clmulni_intel processor_thermal_device videobu
│ f2_v4l2 dell_wmi hid_multitouch i915 cdc_acm mei_pxp
iTCO_vendor_support mei_hdcp intel_rapl_msr snd_hwdep processor_thermal_rfim sha512_ssse3 bluetooth videodev processor_thermal_mbox snd_pcm dell_smbios
│ dell_wmi_ddv dell_wmi_sysman aesni_intel drm_buddy iwlwifi
intel_wmi_thunderbolt ledtrig_audio firmware_attributes_class usbhid dell_wmi_descriptor ecdh_generic wmi_bmof videobuf2_common ttm dcdbas

 Mar 28 18:13:53 shilka kernel:  snd_timer vfat ucsi_acpi crypto_simd

processor_thermal_rapl crc16 mc fat dell_smm_hwmon cfg80211 cryptd rapl typec_ucsi spi_nor intel_cstate i2c_hid_acpi mei_me drm_display
│ _helper i2c_i801 typec snd intel_rapl_common int3403_thermal
intel_uncore soundcore psmouse rfkill pcspkr thunderbolt mtd i2c_smbus i2c_hid
video intel_lpss_pci int340x_thermal_zone intel_soc_dts_iosf int
│ el_pch_thermal roles cec intel_lpss mei intel_hid idma64 intel_gtt
sparse_keymap acpi_tad wmi int3400_thermal acpi_thermal_rel acpi_pad mac_hid vboxnetflt(OE) vboxnetadp(OE) vboxdrv(OE) pkcs8_key_parser c
│ rypto_user fuse dm_mod loop bpf_preload ip_tables x_tables
rtsx_pci_sdmmc serio_raw atkbd mmc_core nvme libps2 vivaldi_fmap nvme_core spi_intel_pci xhci_pci nvme_common i8042 spi_intel rtsx_pci xhci_pci_r

       │ enesas serio f2fs crc32_generic crc32_pclmul lz4hc_compress
  40   │ Mar 28 18:13:53 shilka kernel: CR2: 0000000000000000
  41   │ Mar 28 18:13:53 shilka kernel: ---[ end trace 0000000000000000 ]---
  42   │ Mar 28 18:13:53 shilka kernel: RIP:

0010:__replace_atomic_write_block+0x184/0x620 [f2fs]
43 │ Mar 28 18:13:53 shilka kernel: Code: 74 0b 48 3b 5c 24 38 0f 85 29
01
00 00 48 8b 04 24 48 8b 95 80 03 00 00 48 c7 44 24 38 00 00 00 00 48 c7 44 24 30 00 00 00 00 <44> 8b 00 66 90 48 8b 44 24 58 65 48 2b

       │ 04 25 28 00 00 00 0f 85 7c
  44   │ Mar 28 18:13:53 shilka kernel: RSP: 0018:ffffb4a246817c80 EFLAGS:

00010246
45 │ Mar 28 18:13:53 shilka kernel: RAX: 0000000000000000 RBX:
ffffee060710d500 RCX: 0000000000ec8c06
46 │ Mar 28 18:13:53 shilka kernel: RDX: ffff963c72a217e8 RSI:
0000000000000001 RDI: ffffee060710d500
47 │ Mar 28 18:13:53 shilka kernel: RBP: ffff963ab0333960 R08:
ffff963aebe108a0 R09: 0000000080380011
48 │ Mar 28 18:13:53 shilka kernel: R10: 0000000000000088 R11:
ffffffffffffffff R12: 0000000000000000
49 │ Mar 28 18:13:53 shilka kernel: R13: 00000000010ea75c R14:
0000000000000000 R15: ffff963a412e3000
50 │ Mar 28 18:13:53 shilka kernel: FS: 00007f68dff0a6c0(0000)
GS:ffff963dbe780000(0000) knlGS:0000000000000000
51 │ Mar 28 18:13:53 shilka kernel: CS: 0010 DS: 0000 ES: 0000 CR0:
0000000080050033
52 │ Mar 28 18:13:53 shilka kernel: CR2: 0000000000000000 CR3:
0000000378db8001 CR4: 00000000003706e0
53 │ Mar 28 18:13:53 shilka kernel: note: ThreadPoolForeg[82195] exited
with irqs disabled

--
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Signature · 9 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
#2 lore raw

[f2fs-dev] [Bug 217266] kernel panic on f2fs filesystem when f2fs_commit_atomic_write

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=217266

--- Comment #2 from shilka ([email protected]) --- (In reply to michalechner92 from comment #1)

Quoted 5 lines

That looks identical to what I reported last week here:

https://sourceforge.net/p/linux-f2fs/mailman/message/37794257/

Yep, it seems very similar, but I do not encounter this problem until update to kernel 6.2.8.
Before I saw your reply, I guess there might exist some subtle conflicts between new feature in 6.2.8 kernel and the f2fs module. With your info, it is highly possible that the implementation of f2fs exists some bug, and new kernel feature might frequently trigger it.

Signature · 9 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
#3 lore raw

Re: [f2fs-dev] [Bug 217266] kernel panic on f2fs filesystem when f2fs_commit_atomic_write

Quoted 7 lines · On 2023/3/30 10:48, [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=217266

--- Comment #2 from shilka ([email protected]) --- (In reply to michalechner92 from comment #1)

Quoted 3 lines

That looks identical to what I reported last week here:

https://sourceforge.net/p/linux-f2fs/mailman/message/37794257/

Could you please have a try w/ below patch?

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a46bebd502fe1a3bd1d22f64cedd93e7e7702693

Quoted 10 lines
Quoted 2 lines

Yep, it seems very similar, but I do not encounter this problem until update to kernel 6.2.8.
Before I saw your reply, I guess there might exist some subtle conflicts between new feature in 6.2.8 kernel and the f2fs module. With your info, it is highly possible that the implementation of f2fs exists some bug, and new kernel feature might frequently trigger it.

_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

#4 lore raw

Re: [f2fs-dev] [Bug 217266] kernel panic on f2fs filesystem when f2fs_commit_atomic_write

Am Do., 30. März 2023 um 05:31 Uhr schrieb Chao Yu <[email protected]>:

Quoted 6 lines · On 2023/3/30 10:48, [email protected] wrote:
Quoted 4 lines

https://bugzilla.kernel.org/show_bug.cgi?id=217266

--- Comment #2 from shilka ([email protected]) --- (In reply to michalechner92 from comment #1)

Quoted 8 lines
Quoted 3 lines
Quoted 3 lines

That looks identical to what I reported last week here:

https://sourceforge.net/p/linux-f2fs/mailman/message/37794257/

Could you please have a try w/ below patch?

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a46bebd502fe1a3bd1d22f64cedd93e7e7702693

Hello Chao,

Thanks for the answer.

The crashes were reported to me after I merged the latest f2fs-stable patches for 5.10 from
https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-stable.git/log/?h=linux-5.10.y

Which includes the commit you just mentioned
https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-stable.git/commit/?h=linux-5.10.y&id=720709c3276220fdb70e9385d87c6169476f04e7

My source is here:
https://github.com/freak07/Kirisakura_Pantah/commits/pantah-tq2a.230305/fs/f2fs

The crashes were reported to me after I merged the latest tag of f2fs-stable, if you look back through my history on March 4th and March 11th.

I reverted the latest f2fs-stable patches on march 23rd and didn´t receive a further report of the crash so far.

Quoted 12 lines
Quoted 10 lines
Quoted 2 lines

Yep, it seems very similar, but I do not encounter this problem until update to kernel 6.2.8.
Before I saw your reply, I guess there might exist some subtle conflicts between new feature in 6.2.8 kernel and the f2fs module. With your info, it is highly possible that the implementation of f2fs exists some bug, and new kernel feature might frequently trigger it.

Quoted 4 lines

_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

#5 lore raw

[f2fs-dev] [Bug 217266] kernel panic on f2fs filesystem when f2fs_commit_atomic_write

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=217266

--- Comment #3 from Chao Yu ([email protected]) ---

Quoted 7 lines · On 2023/3/30 10:48, [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=217266

--- Comment #2 from shilka ([email protected]) --- (In reply to michalechner92 from comment #1)

Quoted 3 lines

That looks identical to what I reported last week here:

https://sourceforge.net/p/linux-f2fs/mailman/message/37794257/

Could you please have a try w/ below patch?

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a46bebd502fe1a3bd1d22f64cedd93e7e7702693

Quoted 13 lines
Quoted 2 lines

Yep, it seems very similar, but I do not encounter this problem until update to
kernel 6.2.8.
Before I saw your reply, I guess there might exist some subtle conflicts between new feature in 6.2.8 kernel and the f2fs module. With your info, it is
highly possible that the implementation of f2fs exists some bug, and new kernel
feature might frequently trigger it.

Signature · 9 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
#6 lore raw

[f2fs-dev] [Bug 217266] kernel panic on f2fs filesystem when f2fs_commit_atomic_write

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=217266

--- Comment #4 from [email protected] ---
Am Do., 30. März 2023 um 05:31 Uhr schrieb Chao Yu <[email protected]>:

Quoted 6 lines · On 2023/3/30 10:48, [email protected] wrote:
Quoted 4 lines

https://bugzilla.kernel.org/show_bug.cgi?id=217266

--- Comment #2 from shilka ([email protected]) --- (In reply to michalechner92 from comment #1)

Quoted 9 lines
Quoted 3 lines
Quoted 3 lines

That looks identical to what I reported last week here:

https://sourceforge.net/p/linux-f2fs/mailman/message/37794257/

Could you please have a try w/ below patch?

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a46bebd502fe1a3bd1d22f64cedd93e7e7702693

Hello Chao,

Thanks for the answer.

The crashes were reported to me after I merged the latest f2fs-stable patches for 5.10 from
https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-stable.git/log/?h=linux-5.10.y

Which includes the commit you just mentioned
https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-stable.git/commit/?h=linux-5.10.y&id=720709c3276220fdb70e9385d87c6169476f04e7

My source is here:
https://github.com/freak07/Kirisakura_Pantah/commits/pantah-tq2a.230305/fs/f2fs

The crashes were reported to me after I merged the latest tag of f2fs-stable, if you look back through my history on March 4th and March 11th.

I reverted the latest f2fs-stable patches on march 23rd and didn´t receive a further report of the crash so far.

Quoted 19 lines
Quoted 4 lines
Quoted 2 lines

Yep, it seems very similar, but I do not encounter this problem until

update to

Quoted 3 lines

kernel 6.2.8.
Before I saw your reply, I guess there might exist some subtle conflicts between new feature in 6.2.8 kernel and the f2fs module. With your info, it

is

Quoted 1 line

highly possible that the implementation of f2fs exists some bug, and new

kernel

Quoted 2 lines

feature might frequently trigger it.

_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Signature · 9 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
#7 lore raw

[f2fs-dev] [Bug 217266] kernel panic on f2fs filesystem when f2fs_commit_atomic_write

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=217266

Chao Yu ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |ASSIGNED
                 CC|                            |[email protected]

--- Comment #5 from Chao Yu ([email protected]) ---
Hi shilka, Micha L,

Do you have a reproducer?

Signature · 9 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
#8 lore raw

[f2fs-dev] [Bug 217266] kernel panic on f2fs filesystem when f2fs_commit_atomic_write

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=217266

Jaegeuk Kim ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #6 from Jaegeuk Kim ([email protected]) --- I think this fixes the panic.
https://lore.kernel.org/linux-f2fs-devel/[email protected]/T/#u

Signature · 9 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
#9 lore raw

Re: [f2fs-dev] [Bug 217266] kernel panic on f2fs filesystem when f2fs_commit_atomic_write

Am Mo., 3. Apr. 2023 um 16:08 Uhr schrieb <[email protected]>:

Quoted 18 lines

https://bugzilla.kernel.org/show_bug.cgi?id=217266

Chao Yu ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |ASSIGNED
                 CC|                            |[email protected]

--- Comment #5 from Chao Yu ([email protected]) ---
Hi shilka, Micha L,

Do you have a reproducer?

--
You may reply to this email to add a comment.

Quoted 7 lines

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Hey Chao,

I don´t have a reproducer. It just seems to happen randomly while using the device very rarely.

Am Mo., 3. Apr. 2023 um 19:00 Uhr schrieb <[email protected]>:

Quoted 16 lines

https://bugzilla.kernel.org/show_bug.cgi?id=217266

Jaegeuk Kim ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #6 from Jaegeuk Kim ([email protected]) --- I think this fixes the panic.
https://lore.kernel.org/linux-f2fs-devel/[email protected]/T/#u

--
You may reply to this email to add a comment.

Quoted 7 lines

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Hey Jaegeuk,

Thanks for the link and taking a look! I will cherry-pick the fix to my tree and ship it on the next release on XDA.

I´ll report back in case I get more logs with the panic I shared earlier.

_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

#10 lore raw

[f2fs-dev] [Bug 217266] kernel panic on f2fs filesystem when f2fs_commit_atomic_write

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=217266

--- Comment #7 from [email protected] ---
Am Mo., 3. Apr. 2023 um 16:08 Uhr schrieb <[email protected]>:

Quoted 18 lines

https://bugzilla.kernel.org/show_bug.cgi?id=217266

Chao Yu ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |ASSIGNED
                 CC|                            |[email protected]

--- Comment #5 from Chao Yu ([email protected]) ---
Hi shilka, Micha L,

Do you have a reproducer?

--
You may reply to this email to add a comment.

Quoted 7 lines

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Hey Chao,

I don´t have a reproducer. It just seems to happen randomly while using the device very rarely.

Am Mo., 3. Apr. 2023 um 19:00 Uhr schrieb <[email protected]>:

Quoted 16 lines

https://bugzilla.kernel.org/show_bug.cgi?id=217266

Jaegeuk Kim ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #6 from Jaegeuk Kim ([email protected]) --- I think this fixes the panic.
https://lore.kernel.org/linux-f2fs-devel/[email protected]/T/#u

--
You may reply to this email to add a comment.

Quoted 7 lines

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Hey Jaegeuk,

Thanks for the link and taking a look! I will cherry-pick the fix to my tree and ship it on the next release on XDA.

I´ll report back in case I get more logs with the panic I shared earlier.

Signature · 9 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel