* Re: oops on 6.11-rc4 loong64 with RST & subpage enabled.
2024-08-25 10:49 ` Roman Mamedov
@ 2024-08-25 12:50 ` Yuwei Han
0 siblings, 0 replies; 4+ messages in thread
From: Yuwei Han @ 2024-08-25 12:50 UTC (permalink / raw)
To: Roman Mamedov; +Cc: linux-btrfs@vger.kernel.org
ok. complete log attached.
[ 277.024145] assertion failed: !is_subpage || found_start + found_len
>= page_end, in fs/btrfs/extent_io.c:1307
[ 277.034155] ------------[ cut here ]------------
[ 277.038743] kernel BUG at fs/btrfs/extent_io.c:1307!
[ 277.043673] Oops - BUG[#1]:
[ 277.046443] CPU: 2 UID: 169 PID: 2724 Comm: transmission-da Not
tainted 6.11.0-rc4 #2
[ 277.054224] Hardware name: Loongson
Loongson-3A6000-HV-7A2000-1w-V0.1-EVB/Loongson-3A6000-HV-7A2000-1w-EVB-V1.21,
BIOS Loongson-UDK2018-V4.0.05756-prestab
[ 277.067965] pc ffff800002346270 ra ffff800002346270 tp
90000001a1d7c000 sp 90000001a1d7f670
[ 277.076264] a0 0000000000000062 a1 900000000a800708 a2
900000000a804cf8 a3 9000000004eafcd8
[ 277.084561] a4 9000000004eafcd0 a5 90000001a1d7f4b0 a6
0000000000000001 a7 0000000000000001
[ 277.092859] t0 f538b35f335c4af3 t1 f538b35f335c4af3 t2
0000000000000000 t3 0000000000000001
[ 277.101157] t4 0000000000000002 t5 00000000000003e4 t6
0000000000000003 t7 74735f646e756f66
[ 277.109455] t8 0000000000005e51 u0 900000011afab330 s9
0000000000001000 s0 000000013f7bffff
[ 277.117753] s1 000000013f7bcfff s2 ffffff000216c280 s3
000000013f7bc000 s4 0000000000000001
[ 277.126050] s5 900000011afab330 s6 900000011afab4b8 s7
0000000000001000 s8 0000000000000001
[ 277.134349] ra: ffff800002346270 writepage_delalloc+0x470/0x480
[btrfs]
[ 277.141224] ERA: ffff800002346270 writepage_delalloc+0x470/0x480
[btrfs]
[ 277.148089] CRMD: 000000b0 (PLV0 -IE -DA +PG DACF=CC DACM=CC -WE)
[ 277.154234] PRMD: 00000004 (PPLV0 +PIE -PWE)
[ 277.158559] EUEN: 00000003 (+FPE +SXE -ASXE -BTE)
[ 277.163317] ECFG: 00071c1d (LIE=0,2-4,10-12 VS=7)
[ 277.168075] ESTAT: 000c0000 [BRK] (IS= ECode=12 EsubCode=0)
[ 277.173609] PRID: 0014d000 (Loongson-64bit, Loongson-3A6000-HV)
[ 277.179575] Modules linked in: tun nf_conntrack_netbios_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 wireguard
libchacha20poly1305 libcurve25519_generic libpoly1305 libchacha nft_ct
nft_chain_nat ip6table_nat ip6table_mangle ip6table_raw
ip6table_security iptable_nat nf_nat nf_conntrack nf_defrag_ipv6
nf_defrag_ipv4 iptable_mangle iptable_raw iptable_security cfg80211
rfkill ip_set nf_tables iptable_filter binfmt_misc vfat fat kvm
spi_loongson_pci spi_loongson_core fuse efi_pstore pstore nfnetlink
ip_tables amdgpu drm_exec amdxcp drm_buddy gpu_sched drm_suballoc_helper
drm_display_helper btrfs blake2b_generic libcrc32c xor zlib_deflate
raid6_pq dm_mirror dm_region_hash dm_log qla4xxx iscsi_boot_sysfs
iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi dm_multipath efivarfs
[ 277.255151] Process transmission-da (pid: 2724,
threadinfo=00000000c765e288, task=0000000069961b7c)
[ 277.264142] Stack : ffffffffffffffff 900000010efab000
ffffff000216c280 90000001a1d7fa10
[ 277.272097] 90000001050cf640 0000100003575b94
000000013f7bc000 000000013f7bffff
[ 277.280053] 000000013f7bc000 f538b35f335c4af3
ffffff000216c280 90000001a1d7f8f0
[ 277.288008] 900000011afab4b8 900000011afab628
90000001a1d7fa10 ffffff000216c280
[ 277.295962] 90000001a1d7f790 90000001a1d7f788
000000000004fdf0 ffffff000216c280
[ 277.303917] 000000013f7bc962 ffff8000023486e4
0000000000000040 000000000004fdef
[ 277.311872] 900000011afab330 0000000000000000
0001ffffffffffff 0000000000000002
[ 277.319828] 0000000000360000 0000000000000001
0000000000000000 900000011afab4b8
[ 277.327783] 0000000000000000 00000000335c4af3
0002000000000000 0000000000000001
[ 277.335738] ffffff000216c280 0000000000000000
0000000000000000 0000000000000000
[ 277.343693] ...
[ 277.346116] Call Trace:
[ 277.346119] [<ffff800002346270>] writepage_delalloc+0x470/0x480 [btrfs]
[ 277.355148] [<ffff8000023486e0>] extent_write_cache_pages+0x320/0x9c0
[btrfs]
[ 277.362273] [<ffff80000234a188>] btrfs_writepages+0xa8/0x1a0 [btrfs]
[ 277.368620] [<900000000349ed48>] do_writepages+0xa8/0x360
[ 277.373984] [<900000000348d1b4>] filemap_fdatawrite_wbc+0x94/0x100
[ 277.380125] [<90000000034917ec>] __filemap_fdatawrite_range+0x6c/0xc0
[ 277.386524] [<ffff80000232ffec>] btrfs_fdatawrite_range+0x2c/0xa0 [btrfs]
[ 277.393304] [<ffff800002342318>] btrfs_wait_ordered_range+0xd8/0x2c0
[btrfs]
[ 277.400344] [<ffff800002320560>] btrfs_setattr+0x520/0x8c0 [btrfs]
[ 277.406520] [<90000000035cbd28>] notify_change+0x248/0x620
[ 277.411970] [<90000000035940cc>] do_truncate+0xcc/0x180
[ 277.417159] [<90000000035947bc>] do_ftruncate+0x17c/0x1e0
[ 277.422520] [<9000000003594924>] sys_ftruncate+0x44/0xc0
[ 277.427795] [<90000000044c2f50>] do_syscall+0xb0/0x160
[ 277.434372] Code: 02cc60a5 02c0c084 5476c403 <002a0001> 03400000
03400000 03400000 02fe4063 29c14078
[ 277.445591] ---[ end trace 0000000000000000 ]---
[ 684.425585] assertion failed: !is_subpage || found_start + found_len
>= page_end, in fs/btrfs/extent_io.c:1307
[ 684.435596] ------------[ cut here ]------------
[ 684.440185] kernel BUG at fs/btrfs/extent_io.c:1307!
[ 684.445120] Oops - BUG[#2]:
[ 684.447890] CPU: 3 UID: 169 PID: 3779 Comm: transmission-da Tainted:
G D 6.11.0-rc4 #2
[ 684.457138] Tainted: [D]=DIE
[ 684.459991] Hardware name: Loongson
Loongson-3A6000-HV-7A2000-1w-V0.1-EVB/Loongson-3A6000-HV-7A2000-1w-EVB-V1.21,
BIOS Loongson-UDK2018-V4.0.05756-prestab
[ 684.473732] pc ffff800002346270 ra ffff800002346270 tp
900000010d860000 sp 900000010d863670
[ 684.482030] a0 0000000000000062 a1 900000000ac00708 a2
900000000ac04cf8 a3 9000000004eafcd8
[ 684.490327] a4 9000000004eafcd0 a5 900000010d8634b0 a6
0000000000000001 a7 0000000000000001
[ 684.498624] t0 f538b35f335c4af3 t1 f538b35f335c4af3 t2
0000000000000000 t3 0000000000000001
[ 684.506921] t4 0000000000000003 t5 000000000000041a t6
0000000000000003 t7 74735f646e756f66
[ 684.515218] t8 0000000000067e71 u0 900000011be62b50 s9
0000000000003000 s0 000000012cbabfff
[ 684.523515] s1 000000012cbaafff s2 ffffff000209e240 s3
000000012cba8000 s4 0000000000000001
[ 684.531812] s5 900000011be62b50 s6 900000011be62cd8 s7
0000000000003000 s8 0000000000000001
[ 684.540110] ra: ffff800002346270 writepage_delalloc+0x470/0x480
[btrfs]
[ 684.546984] ERA: ffff800002346270 writepage_delalloc+0x470/0x480
[btrfs]
[ 684.553850] CRMD: 000000b0 (PLV0 -IE -DA +PG DACF=CC DACM=CC -WE)
[ 684.559995] PRMD: 00000004 (PPLV0 +PIE -PWE)
[ 684.564320] EUEN: 00000003 (+FPE +SXE -ASXE -BTE)
[ 684.569078] ECFG: 00071c1d (LIE=0,2-4,10-12 VS=7)
[ 684.573835] ESTAT: 000c0000 [BRK] (IS= ECode=12 EsubCode=0)
[ 684.579369] PRID: 0014d000 (Loongson-64bit, Loongson-3A6000-HV)
[ 684.585333] Modules linked in: tun nf_conntrack_netbios_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 wireguard
libchacha20poly1305 libcurve25519_generic libpoly1305 libchacha nft_ct
nft_chain_nat ip6table_nat ip6table_mangle ip6table_raw
ip6table_security iptable_nat nf_nat nf_conntrack nf_defrag_ipv6
nf_defrag_ipv4 iptable_mangle iptable_raw iptable_security cfg80211
rfkill ip_set nf_tables iptable_filter binfmt_misc vfat fat kvm
spi_loongson_pci spi_loongson_core fuse efi_pstore pstore nfnetlink
ip_tables amdgpu drm_exec amdxcp drm_buddy gpu_sched drm_suballoc_helper
drm_display_helper btrfs blake2b_generic libcrc32c xor zlib_deflate
raid6_pq dm_mirror dm_region_hash dm_log qla4xxx iscsi_boot_sysfs
iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi dm_multipath efivarfs
[ 684.660908] Process transmission-da (pid: 3779,
threadinfo=00000000a8e8917a, task=00000000443d429c)
[ 684.669898] Stack : ffffffffffffffff 900000010efab000
ffffff000209e240 900000010d863a10
[ 684.677854] 900000016c077a40 0000100003575b94
000000012cba8000 000000012cbabfff
[ 684.685810] 000000012cbaa000 f538b35f335c4af3
ffffff000209e240 900000010d8638f0
[ 684.693765] 900000011be62cd8 900000011be62e48
900000010d863a10 ffffff000209e240
[ 684.701721] 900000010d863790 900000010d863788
000000000004b2eb ffffff000209e240
[ 684.709676] 000000012cbaa933 ffff8000023486e4
0000000000000040 000000000004b2ea
[ 684.717631] 900000011be62b50 0000000000000000
0001ffffffffffff 0000000000000002
[ 684.725586] 0000000000220000 0000000000000001
0000000000000000 900000011be62cd8
[ 684.733542] 0000000000000000 00000000335c4af3
0002000000000000 0000000000000001
[ 684.741497] ffffff000209e240 0000000000000000
0000000000000000 0000000000000000
[ 684.749451] ...
[ 684.751874] Call Trace:
[ 684.751876] [<ffff800002346270>] writepage_delalloc+0x470/0x480 [btrfs]
[ 684.760909] [<ffff8000023486e0>] extent_write_cache_pages+0x320/0x9c0
[btrfs]
[ 684.768037] [<ffff80000234a188>] btrfs_writepages+0xa8/0x1a0 [btrfs]
[ 684.774384] [<900000000349ed48>] do_writepages+0xa8/0x360
[ 684.779748] [<900000000348d1b4>] filemap_fdatawrite_wbc+0x94/0x100
[ 684.785889] [<90000000034917ec>] __filemap_fdatawrite_range+0x6c/0xc0
[ 684.792289] [<ffff80000232ffec>] btrfs_fdatawrite_range+0x2c/0xa0 [btrfs]
[ 684.799069] [<ffff800002342318>] btrfs_wait_ordered_range+0xd8/0x2c0
[btrfs]
[ 684.806107] [<ffff800002320560>] btrfs_setattr+0x520/0x8c0 [btrfs]
[ 684.812283] [<90000000035cbd28>] notify_change+0x248/0x620
[ 684.817733] [<90000000035940cc>] do_truncate+0xcc/0x180
[ 684.822922] [<90000000035947bc>] do_ftruncate+0x17c/0x1e0
[ 684.828284] [<9000000003594924>] sys_ftruncate+0x44/0xc0
[ 684.833560] [<90000000044c2f50>] do_syscall+0xb0/0x160
[ 684.840136] Code: 02cc60a5 02c0c084 5476c403 <002a0001> 03400000
03400000 03400000 02fe4063 29c14078
在 2024/8/25 18:49, Roman Mamedov 写道:
> Hello,
>
> On Sun, 25 Aug 2024 16:44:12 +0800
> Yuwei Han <hrx@bupt.moe> wrote:
>
>> Hi,
>> There is a oops when I am testing RST & subpage support.
>> https://fars.ee/vTGd
>
> It is better to post all output in the message itself, even if large - for
> archiving purposes, as external websites may disappear later, and also for
> better searchability.
>
> If it is complex to deal with auto-wrapping in the client, then I'd suggest to
> attach a .txt file.
>
^ permalink raw reply [flat|nested] 4+ messages in thread