Bug 2419731

Summary: btrfs file system forced read only, WARNING fs/btrfs/extent_map.c:422 btrfs_unpin_extent_cache
Product: [Fedora] Fedora Reporter: Chris Murphy <bugzilla>
Component: kernelAssignee: fedora-kernel-btrfs
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 43CC: acaringi, adscvr, airlied, hans, hpa, jforbes, josef, kernel-maint, linville, masami256, mchehab, ptalbert, steved, suraj.ghimire7
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64le   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
dmesg none

Description Chris Murphy 2025-12-06 23:42:45 UTC
Created attachment 2117765 [details]
dmesg

1. Please describe the problem:

Root file system goes read-only following btrfs error.


2. What is the Version-Release number of the kernel:

6.17.8-300.fc43.ppc64le

3. Did it work previously in Fedora? If so, what kernel version did the issue
   *first* appear?  Old kernels are available for download at
   https://koji.fedoraproject.org/koji/packageinfo?packageID=8 :

Some evidence it appeared as early as 6.13 series.
https://pagure.io/fedora-infrastructure/issue/12540#comment-970998



4. Can you reproduce this issue? If so, please provide the steps to reproduce
   the issue below:

Uncertain, could be a one off.


5. Does this problem occur with the latest Rawhide kernel? To install the
   Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by
   ``sudo dnf update --enablerepo=rawhide kernel``:

Uncertain.


6. Are you running any modules that not shipped with directly Fedora's kernel?:

No.


7. Please attach the kernel logs. You can get the complete kernel log
   for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the
   issue occurred on a previous boot, use the journalctl ``-b`` flag.

Attached.

Excerpt:

Dec  6 21:37:22 buildvm-ppc64le-12 kernel: ------------[ cut here ]------------
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: WARNING: CPU: 5 PID: 3085920 at fs/btrfs/extent_map.c:422 btrfs_unpin_extent_cache+0x84/0x1b0
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: Modules linked in: wireguard curve25519_ppc64le libcurve25519_generic vxlan vrf ip6_vti xfrm6_tunnel ip_vti sit macvtap tap macvlan ipip tunnel4 ip6_gre ip6_tunnel tunnel6 ip_gre ip_tunnel gre 8021q garp mrp team sch_tbf bridge stp llc veth sch_ingress sch_sfq dummy can_bcm sctp ip6_udp_tunnel udp_tunnel bluetooth can_j1939 can_isotp can_raw can ib_core overlay tun nfsv3 nfs_acl bonding tls rfkill nfs lockd grace nfs_localio netfs nft_reject_ipv6 nf_reject_ipv6 nft_reject nft_ct nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables binfmt_misc xfs joydev virtio_net net_failover virtio_balloon vmx_crypto failover auth_rpcgss sunrpc loop nfnetlink vsock_loopback vmw_vsock_virtio_transport_common zram lz4hc_compress vsock lz4_compress bochs pseries_wdt i2c_dev fuse aes_gcm_p10_crypto crypto_simd cryptd
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: CPU: 5 UID: 0 PID: 3085920 Comm: kworker/u46:11 Not tainted 6.17.8-300.fc43.ppc64le #1 PREEMPT(voluntary) 
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: Hardware name: IBM pSeries (emulated by qemu) POWER10 (architected) 0x800200 0xf000006 of:SLOF,HEAD hv:linux,kvm pSeries
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: Workqueue: btrfs-endio-write btrfs_work_helper
Dec  6 21:37:22 buildvm-ppc64le-12 systemd[1]: Stopping machine-b2a4df599bc44a58bf9bfb55f7c9fd5b.scope - Container b2a4df599bc44a58bf9bfb55f7c9fd5b...
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: REGS: c0000000129ff960 TRAP: 0700   Not tainted  (6.17.8-300.fc43.ppc64le)
Dec  6 21:37:22 buildvm-ppc64le-12 systemd[1]: machine-b2a4df599bc44a58bf9bfb55f7c9fd5b.scope: Deactivated successfully.
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: MSR:  800000000282b033 <SF,VEC,VSX,EE,FP,ME,IR,DR,RI,LE>  CR: 24000484  XER: 200400b4
Dec  6 21:37:22 buildvm-ppc64le-12 systemd[1]: Stopped machine-b2a4df599bc44a58bf9bfb55f7c9fd5b.scope - Container b2a4df599bc44a58bf9bfb55f7c9fd5b.
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: CFAR: c000000000a9154c IRQMASK: 0 #012GPR00: c000000000a92158 c0000000129ffc00 c00000000265a900 0000000000000000 #012GPR04: 0000000000088000 0000000000001000 0000000000000001 0000000000000000 #012GPR08: 0000000000080000 0000000000000001 0000000000088000 0000015b51c5a005 #012GPR12: c00000051a328208 c00000097fff7f00 0000000000000000 0000000000000000 #012GPR16: 0000000000000000 c00000023f51e5f8 0000000000000000 0000000000000000 #012GPR20: c00000000d383c10 c000000021887000 0000000000000000 0000000000001000 #012GPR24: 0000000000088000 c000000021887000 0000000000001000 c00000023f51e5f0 #012GPR28: 0000000000015493 0000000000088000 c00000023f51e5c8 0000000000000000 
Dec  6 21:37:22 buildvm-ppc64le-12 systemd[1]: machine-b2a4df599bc44a58bf9bfb55f7c9fd5b.scope: Consumed 19min 29.517s CPU time, 1.5G memory peak.
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: NIP [c000000000a92164] btrfs_unpin_extent_cache+0x84/0x1b0
Dec  6 21:37:22 buildvm-ppc64le-12 systemd-machined[952]: Machine b2a4df599bc44a58bf9bfb55f7c9fd5b terminated.
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: LR [c000000000a92158] btrfs_unpin_extent_cache+0x78/0x1b0
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: Call Trace:
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: [c0000000129ffc00] [c000000000a92158] btrfs_unpin_extent_cache+0x78/0x1b0 (unreliable)
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: [c0000000129ffca0] [c000000000a75088] btrfs_finish_one_ordered+0x458/0xe00
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: [c0000000129ffdf0] [c000000000a9c640] finish_ordered_fn+0x20/0x40
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: [c0000000129ffe10] [c000000000ac1468] btrfs_work_helper+0x118/0x2c0
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: [c0000000129ffe60] [c0000000002897b4] process_one_work+0x1d4/0x530
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: [c0000000129fff10] [c00000000028a61c] worker_thread+0x2dc/0x450
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: [c0000000129fff90] [c000000000298878] kthread+0x188/0x1a0
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: [c0000000129fffe0] [c00000000000ded8] start_kernel_thread+0x14/0x18
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: Code: e9290208 7d394b78 48e63f4d 60000000 38c00001 7fe3fb78 7f45d378 7fa4eb78 4bfff215 7c690074 7c7f1b78 7929d182 <0b090000> 2c230000 41820084 e9030018 
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: ---[ end trace 0000000000000000 ]---
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: BTRFS warning (device vda3): no extent map found for inode 304326735 (root 256) when unpinning extent range [557056, 561152), generation 87187
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: ------------[ cut here ]------------
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: BTRFS: Transaction aborted (error -2)
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: WARNING: CPU: 5 PID: 3085920 at fs/btrfs/inode.c:3202 btrfs_finish_one_ordered+0xd94/0xe00
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: Modules linked in: wireguard curve25519_ppc64le libcurve25519_generic vxlan vrf ip6_vti xfrm6_tunnel ip_vti sit macvtap tap macvlan ipip tunnel4 ip6_gre ip6_tunnel tunnel6 ip_gre ip_tunnel gre 8021q garp mrp team sch_tbf bridge stp llc veth sch_ingress sch_sfq dummy can_bcm sctp ip6_udp_tunnel udp_tunnel bluetooth can_j1939 can_isotp can_raw can ib_core overlay tun nfsv3 nfs_acl bonding tls rfkill nfs lockd grace nfs_localio netfs nft_reject_ipv6 nf_reject_ipv6 nft_reject nft_ct nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables binfmt_misc xfs joydev virtio_net net_failover virtio_balloon vmx_crypto failover auth_rpcgss sunrpc loop nfnetlink vsock_loopback vmw_vsock_virtio_transport_common zram lz4hc_compress vsock lz4_compress bochs pseries_wdt i2c_dev fuse aes_gcm_p10_crypto crypto_simd cryptd
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: CPU: 5 UID: 0 PID: 3085920 Comm: kworker/u46:11 Tainted: G        W           6.17.8-300.fc43.ppc64le #1 PREEMPT(voluntary) 
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: Tainted: [W]=WARN
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: Hardware name: IBM pSeries (emulated by qemu) POWER10 (architected) 0x800200 0xf000006 of:SLOF,HEAD hv:linux,kvm pSeries
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: Workqueue: btrfs-endio-write btrfs_work_helper
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: REGS: c0000000129ffa00 TRAP: 0700   Tainted: G        W            (6.17.8-300.fc43.ppc64le)
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: MSR:  800000000282b033 <SF,VEC,VSX,EE,FP,ME,IR,DR,RI,LE>  CR: 24000280  XER: 000000b4
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: CFAR: c000000000253c08 IRQMASK: 0 #012GPR00: c000000000a759c0 c0000000129ffca0 c00000000265a900 0000000000000025 #012GPR04: 00000001000016ca 000000000017a840 000000097a9b0000 0000000000000001 #012GPR08: 0000000000000027 0000000000000000 c000000008882a00 c0000000129ffaa0 #012GPR12: c000000003abdff0 c00000097fff7f00 0000000000000000 0000000000000000 #012GPR16: 0000000000000000 c00000023f51e5f8 0000000000000000 0000000000000000 #012GPR20: c00000000d383c10 c000000021887000 0000000000000000 0000000000001000 #012GPR24: 0000000000088000 000000000000c042 0000000000088fff c00000023f51e5c8 #012GPR28: 0000000000000000 c000000009539300 fffffffffffffffe c000000156346180 
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: NIP [c000000000a759c4] btrfs_finish_one_ordered+0xd94/0xe00
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: LR [c000000000a759c0] btrfs_finish_one_ordered+0xd90/0xe00
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: Call Trace:
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: [c0000000129ffca0] [c000000000a759c0] btrfs_finish_one_ordered+0xd90/0xe00 (unreliable)
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: [c0000000129ffdf0] [c000000000a9c640] finish_ordered_fn+0x20/0x40
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: [c0000000129ffe10] [c000000000ac1468] btrfs_work_helper+0x118/0x2c0
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: [c0000000129ffe60] [c0000000002897b4] process_one_work+0x1d4/0x530
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: [c0000000129fff10] [c00000000028a61c] worker_thread+0x2dc/0x450
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: [c0000000129fff90] [c000000000298878] kthread+0x188/0x1a0
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: [c0000000129fffe0] [c00000000000ded8] start_kernel_thread+0x14/0x18
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: Code: 38a00c59 3884b1d0 7fa3eb78 4bff4819 60000000 3b80ffea 4bfffc68 3c62ff80 7fc4f378 386384e0 4b7de12d 60000000 <0fe00000> 4bfffd1c 3c62ff80 7cc43378 
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: ---[ end trace 0000000000000000 ]---
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: BTRFS: error (device vda3 state A) in btrfs_finish_one_ordered:3202: errno=-2 No such entry
Dec  6 21:37:22 buildvm-ppc64le-12 kernel: BTRFS info (device vda3 state EA): forced readonly

Comment 2 Aoife Moloney 2026-11-10 18:38:30 UTC
This message is a reminder that Fedora Linux 43 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 43 on 2026-12-02.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '43'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 43 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.