* Re: [BUG] kernel BUG at fs/btrfs/extent_io.c:2062 (v4.2.0-rc8) [not found] <CAOE4rSwPNAY7fXjVa=Hyeb1yVMtVmpPhUvMVbZt6Qq9P+a0LCA@mail.gmail.com> @ 2016-08-25 17:26 ` Dāvis Mosāns 2016-08-25 17:45 ` Hans van Kranenburg 0 siblings, 1 reply; 7+ messages in thread From: Dāvis Mosāns @ 2016-08-25 17:26 UTC (permalink / raw) To: Btrfs BTRFS 2015-08-31 9:28 GMT+03:00 Dāvis Mosāns <davispuh@gmail.com>: > I'm getting kernel crash and complete system lockup when trying to access > journal on two disk btrfs filesystem with data/metadata as RAID1. I kept those drives untouched and now I tried again with Linux 4.7.1 and accessing that file it didn't crashed but shows Input/output error $ btrfs check --repair --check-data-csum /dev/vda enabling repair mode Checking filesystem on /dev/vda UUID: 247e6249-6de1-45cb-9dd0-fa8a654234bf checking extents Incorrect local backref count on 99753574400 root 261 owner 523015 offset 4063232 found 2 wanted 4 back 0xf1bd3c0 Incorrect global backref count on 99753574400 found 2 wanted 4 backpointer mismatch on [99753574400 8192] repair deleting extent record: key 99753574400 168 8192 adding new data backref on 99753574400 root 261 owner 523015 offset 4063232 found 2 Incorrect local backref count on 99781627904 root 261 owner 164282 offset 41943040 found 2 wanted 3 back 0xfd4ffb0 Incorrect global backref count on 99781627904 found 2 wanted 3 backpointer mismatch on [99781627904 8388608] repair deleting extent record: key 99781627904 168 8388608 adding new data backref on 99781627904 root 261 owner 164282 offset 41943040 found 2 Incorrect local backref count on 100102516736 root 261 owner 14518 offset 0 found 2 wanted 5 back 0x108af290 Incorrect global backref count on 100102516736 found 2 wanted 5 backpointer mismatch on [100102516736 12288] repair deleting extent record: key 100102516736 168 12288 adding new data backref on 100102516736 root 261 owner 14518 offset 0 found 2 Incorrect local backref count on 100105658368 root 261 owner 14518 offset 131072 found 2 wanted 5 back 0x16cefb10 Incorrect global backref count on 100105658368 found 2 wanted 5 backpointer mismatch on [100105658368 12288] repair deleting extent record: key 100105658368 168 12288 adding new data backref on 100105658368 root 261 owner 14518 offset 131072 found 2 Incorrect local backref count on 100107464704 root 261 owner 14518 offset 393216 found 2 wanted 3 back 0x1546b4a0 Incorrect global backref count on 100107464704 found 2 wanted 3 backpointer mismatch on [100107464704 12288] repair deleting extent record: key 100107464704 168 12288 adding new data backref on 100107464704 root 261 owner 14518 offset 393216 found 2 Incorrect local backref count on 101671235584 root 261 owner 14518 offset 524288 found 2 wanted 3 back 0xfd77910 Incorrect global backref count on 101671235584 found 2 wanted 3 backpointer mismatch on [101671235584 12288] repair deleting extent record: key 101671235584 168 12288 adding new data backref on 101671235584 root 261 owner 14518 offset 524288 found 2 Incorrect local backref count on 101671481344 root 261 owner 14518 offset 786432 found 2 wanted 3 back 0xfd79a50 Incorrect global backref count on 101671481344 found 2 wanted 3 backpointer mismatch on [101671481344 12288] repair deleting extent record: key 101671481344 168 12288 adding new data backref on 101671481344 root 261 owner 14518 offset 786432 found 2 Incorrect local backref count on 101672292352 root 261 owner 14518 offset 917504 found 2 wanted 3 back 0xfd7fbb0 Incorrect global backref count on 101672292352 found 2 wanted 3 backpointer mismatch on [101672292352 12288] repair deleting extent record: key 101672292352 168 12288 adding new data backref on 101672292352 root 261 owner 14518 offset 917504 found 2 Incorrect local backref count on 101676888064 root 261 owner 14518 offset 1310720 found 2 wanted 5 back 0x163d3f10 Incorrect global backref count on 101676888064 found 2 wanted 5 backpointer mismatch on [101676888064 12288] repair deleting extent record: key 101676888064 168 12288 adding new data backref on 101676888064 root 261 owner 14518 offset 1310720 found 2 Incorrect local backref count on 101676920832 root 261 owner 14518 offset 1441792 found 2 wanted 3 back 0x163d4500 Incorrect global backref count on 101676920832 found 2 wanted 3 backpointer mismatch on [101676920832 12288] repair deleting extent record: key 101676920832 168 12288 adding new data backref on 101676920832 root 261 owner 14518 offset 1441792 found 2 Incorrect local backref count on 101677518848 root 261 owner 14518 offset 1572864 found 2 wanted 3 back 0x163d8b10 Incorrect global backref count on 101677518848 found 2 wanted 3 backpointer mismatch on [101677518848 12288] repair deleting extent record: key 101677518848 168 12288 adding new data backref on 101677518848 root 261 owner 14518 offset 1572864 found 2 Incorrect local backref count on 101677531136 root 261 owner 14518 offset 1703936 found 2 wanted 6 back 0x163d8c40 Incorrect global backref count on 101677531136 found 2 wanted 6 backpointer mismatch on [101677531136 12288] repair deleting extent record: key 101677531136 168 12288 adding new data backref on 101677531136 root 261 owner 14518 offset 1703936 found 2 Incorrect local backref count on 101677596672 root 261 owner 14518 offset 1835008 found 2 wanted 3 back 0x163d9820 Incorrect global backref count on 101677596672 found 2 wanted 3 backpointer mismatch on [101677596672 12288] repair deleting extent record: key 101677596672 168 12288 adding new data backref on 101677596672 root 261 owner 14518 offset 1835008 found 2 Incorrect local backref count on 101677928448 root 261 owner 14518 offset 2097152 found 2 wanted 4 back 0x163db310 Incorrect global backref count on 101677928448 found 2 wanted 4 backpointer mismatch on [101677928448 12288] repair deleting extent record: key 101677928448 168 12288 adding new data backref on 101677928448 root 261 owner 14518 offset 2097152 found 2 Incorrect local backref count on 101677953024 root 261 owner 14518 offset 2359296 found 2 wanted 4 back 0x163db570 Incorrect global backref count on 101677953024 found 2 wanted 4 backpointer mismatch on [101677953024 12288] repair deleting extent record: key 101677953024 168 12288 adding new data backref on 101677953024 root 261 owner 14518 offset 2359296 found 2 Incorrect local backref count on 101681164288 root 261 owner 14518 offset 2621440 found 2 wanted 4 back 0x163eb200 Incorrect global backref count on 101681164288 found 2 wanted 4 backpointer mismatch on [101681164288 12288] repair deleting extent record: key 101681164288 168 12288 adding new data backref on 101681164288 root 261 owner 14518 offset 2621440 found 2 Incorrect local backref count on 101682548736 root 261 owner 14518 offset 3276800 found 2 wanted 3 back 0x163f0fd0 Incorrect global backref count on 101682548736 found 2 wanted 3 backpointer mismatch on [101682548736 12288] repair deleting extent record: key 101682548736 168 12288 adding new data backref on 101682548736 root 261 owner 14518 offset 3276800 found 2 Incorrect local backref count on 101682655232 root 261 owner 14518 offset 3407872 found 2 wanted 4 back 0x163f1f40 Incorrect global backref count on 101682655232 found 2 wanted 4 backpointer mismatch on [101682655232 12288] repair deleting extent record: key 101682655232 168 12288 adding new data backref on 101682655232 root 261 owner 14518 offset 3407872 found 2 Incorrect local backref count on 101682667520 root 261 owner 14518 offset 3538944 found 2 wanted 4 back 0x163f2070 Incorrect global backref count on 101682667520 found 2 wanted 4 backpointer mismatch on [101682667520 12288] repair deleting extent record: key 101682667520 168 12288 adding new data backref on 101682667520 root 261 owner 14518 offset 3538944 found 2 Incorrect local backref count on 101683253248 root 261 owner 14518 offset 3670016 found 2 wanted 6 back 0x163f68e0 Incorrect global backref count on 101683253248 found 2 wanted 6 backpointer mismatch on [101683253248 32768] repair deleting extent record: key 101683253248 168 32768 adding new data backref on 101683253248 root 261 owner 14518 offset 3670016 found 2 Incorrect local backref count on 101759348736 root 261 owner 14518 offset 13893632 found 2 wanted 3 back 0x16965c80 Incorrect global backref count on 101759348736 found 2 wanted 3 backpointer mismatch on [101759348736 28672] repair deleting extent record: key 101759348736 168 28672 adding new data backref on 101759348736 root 261 owner 14518 offset 13893632 found 2 Incorrect local backref count on 102060027904 root 261 owner 571175 offset 262144 found 2 wanted 8 back 0x15cc8c70 Incorrect global backref count on 102060027904 found 2 wanted 8 backpointer mismatch on [102060027904 16384] repair deleting extent record: key 102060027904 168 16384 adding new data backref on 102060027904 root 261 owner 571175 offset 262144 found 2 Incorrect local backref count on 102242910208 root 261 owner 571175 offset 393216 found 2 wanted 6 back 0x15d95500 Incorrect global backref count on 102242910208 found 2 wanted 6 backpointer mismatch on [102242910208 16384] repair deleting extent record: key 102242910208 168 16384 adding new data backref on 102242910208 root 261 owner 571175 offset 393216 found 2 Incorrect local backref count on 105077051392 root 261 owner 571175 offset 1179648 found 2 wanted 5 back 0xf1d5680 Incorrect global backref count on 105077051392 found 2 wanted 5 backpointer mismatch on [105077051392 16384] repair deleting extent record: key 105077051392 168 16384 adding new data backref on 105077051392 root 261 owner 571175 offset 1179648 found 2 Incorrect local backref count on 105079566336 root 261 owner 571175 offset 1310720 found 2 wanted 5 back 0xf1de700 Incorrect global backref count on 105079566336 found 2 wanted 5 backpointer mismatch on [105079566336 16384] repair deleting extent record: key 105079566336 168 16384 adding new data backref on 105079566336 root 261 owner 571175 offset 1310720 found 2 Incorrect local backref count on 105129340928 root 261 owner 571175 offset 2752512 found 2 wanted 7 back 0xf64f090 Incorrect global backref count on 105129340928 found 2 wanted 7 backpointer mismatch on [105129340928 16384] repair deleting extent record: key 105129340928 168 16384 adding new data backref on 105129340928 root 261 owner 571175 offset 2752512 found 2 Incorrect local backref count on 105617584128 root 261 owner 164282 offset 50331648 found 2 wanted 4 back 0xf032020 Incorrect global backref count on 105617584128 found 2 wanted 4 backpointer mismatch on [105617584128 8388608] repair deleting extent record: key 105617584128 168 8388608 adding new data backref on 105617584128 root 261 owner 164282 offset 50331648 found 2 Incorrect local backref count on 105650286592 root 261 owner 571175 offset 11665408 found 2 wanted 3 back 0xf21f3c0 Incorrect global backref count on 105650286592 found 2 wanted 3 backpointer mismatch on [105650286592 45056] repair deleting extent record: key 105650286592 168 45056 adding new data backref on 105650286592 root 261 owner 571175 offset 11665408 found 2 Incorrect local backref count on 105709547520 root 261 owner 571175 offset 21102592 found 2 wanted 4 back 0xf40d6f0 Incorrect global backref count on 105709547520 found 2 wanted 4 backpointer mismatch on [105709547520 36864] repair deleting extent record: key 105709547520 168 36864 adding new data backref on 105709547520 root 261 owner 571175 offset 21102592 found 2 Incorrect local backref count on 105730441216 root 261 owner 571175 offset 19005440 found 2 wanted 5 back 0xe709940 Incorrect global backref count on 105730441216 found 2 wanted 5 backpointer mismatch on [105730441216 45056] repair deleting extent record: key 105730441216 168 45056 adding new data backref on 105730441216 root 261 owner 571175 offset 19005440 found 2 Incorrect local backref count on 106138812416 root 261 owner 571175 offset 19136512 found 2 wanted 4 back 0xd8fa8e0 Incorrect global backref count on 106138812416 found 2 wanted 4 backpointer mismatch on [106138812416 49152] repair deleting extent record: key 106138812416 168 49152 adding new data backref on 106138812416 root 261 owner 571175 offset 19136512 found 2 Incorrect local backref count on 106179354624 root 261 owner 571175 offset 4063232 found 2 wanted 3 back 0xd8d7010 Incorrect global backref count on 106179354624 found 2 wanted 3 backpointer mismatch on [106179354624 49152] repair deleting extent record: key 106179354624 168 49152 adding new data backref on 106179354624 root 261 owner 571175 offset 4063232 found 2 Incorrect local backref count on 106212712448 root 261 owner 164282 offset 100663296 found 2 wanted 5 back 0x1009a8b0 Incorrect global backref count on 106212712448 found 2 wanted 5 backpointer mismatch on [106212712448 8388608] repair deleting extent record: key 106212712448 168 8388608 adding new data backref on 106212712448 root 261 owner 164282 offset 100663296 found 2 Incorrect local backref count on 106577088512 root 261 owner 571175 offset 17301504 found 2 wanted 3 back 0x100bcb60 Incorrect global backref count on 106577088512 found 2 wanted 3 backpointer mismatch on [106577088512 40960] repair deleting extent record: key 106577088512 168 40960 adding new data backref on 106577088512 root 261 owner 571175 offset 17301504 found 2 Incorrect local backref count on 106639605760 root 261 owner 571175 offset 12451840 found 2 wanted 3 back 0xfab5e50 Incorrect global backref count on 106639605760 found 2 wanted 3 backpointer mismatch on [106639605760 45056] repair deleting extent record: key 106639605760 168 45056 adding new data backref on 106639605760 root 261 owner 571175 offset 12451840 found 2 Incorrect local backref count on 106806984704 root 261 owner 164282 offset 58720256 found 2 wanted 4 back 0xebb3330 Incorrect global backref count on 106806984704 found 2 wanted 4 backpointer mismatch on [106806984704 8388608] repair deleting extent record: key 106806984704 168 8388608 adding new data backref on 106806984704 root 261 owner 164282 offset 58720256 found 2 Incorrect local backref count on 107528482816 root 267 owner 9519 offset 0 found 2 wanted 8 back 0xe0f06d0 Incorrect global backref count on 107528482816 found 2 wanted 8 backpointer mismatch on [107528482816 36864] repair deleting extent record: key 107528482816 168 36864 adding new data backref on 107528482816 root 267 owner 9519 offset 0 found 2 Incorrect local backref count on 107892748288 root 261 owner 23905 offset 4096 found 2 wanted 3 back 0x14723490 Incorrect global backref count on 107892748288 found 2 wanted 3 backpointer mismatch on [107892748288 8384512] repair deleting extent record: key 107892748288 168 8384512 adding new data backref on 107892748288 root 261 owner 23905 offset 4096 found 2 Incorrect local backref count on 108217237504 root 261 owner 23416 offset 4096 found 2 wanted 3 back 0x16b51ab0 Incorrect global backref count on 108217237504 found 2 wanted 3 backpointer mismatch on [108217237504 8384512] repair deleting extent record: key 108217237504 168 8384512 adding new data backref on 108217237504 root 261 owner 23416 offset 4096 found 2 Incorrect local backref count on 109818101760 root 261 owner 70632 offset 58720256 found 2 wanted 8 back 0x14fc9ea0 Incorrect global backref count on 109818101760 found 2 wanted 8 backpointer mismatch on [109818101760 8388608] repair deleting extent record: key 109818101760 168 8388608 adding new data backref on 109818101760 root 261 owner 70632 offset 58720256 found 2 Incorrect local backref count on 109830193152 root 261 owner 70632 offset 67108864 found 2 wanted 4 back 0x14fced00 Incorrect global backref count on 109830193152 found 2 wanted 4 backpointer mismatch on [109830193152 8388608] repair deleting extent record: key 109830193152 168 8388608 adding new data backref on 109830193152 root 261 owner 70632 offset 67108864 found 2 Incorrect local backref count on 114876686336 root 261 owner 571175 offset 5636096 found 2 wanted 5 back 0x2667c70 Incorrect global backref count on 114876686336 found 2 wanted 5 backpointer mismatch on [114876686336 53248] repair deleting extent record: key 114876686336 168 53248 adding new data backref on 114876686336 root 261 owner 571175 offset 5636096 found 2 Incorrect local backref count on 115684376576 root 261 owner 571175 offset 6160384 found 2 wanted 3 back 0x1463ca80 Incorrect global backref count on 115684376576 found 2 wanted 3 backpointer mismatch on [115684376576 49152] repair deleting extent record: key 115684376576 168 49152 adding new data backref on 115684376576 root 261 owner 571175 offset 6160384 found 2 Incorrect local backref count on 115886948352 root 261 owner 571175 offset 9830400 found 2 wanted 3 back 0xcf81970 Incorrect global backref count on 115886948352 found 2 wanted 3 backpointer mismatch on [115886948352 53248] repair deleting extent record: key 115886948352 168 53248 adding new data backref on 115886948352 root 261 owner 571175 offset 9830400 found 2 Incorrect local backref count on 116005281792 root 261 owner 103261 offset 8388608 found 2 wanted 6 back 0x14f7b700 Incorrect global backref count on 116005281792 found 2 wanted 6 backpointer mismatch on [116005281792 8388608] repair deleting extent record: key 116005281792 168 8388608 adding new data backref on 116005281792 root 261 owner 103261 offset 8388608 found 2 Incorrect local backref count on 116106932224 root 261 owner 99219 offset 8388608 found 2 wanted 3 back 0x14650d80 Incorrect global backref count on 116106932224 found 2 wanted 3 backpointer mismatch on [116106932224 8388608] repair deleting extent record: key 116106932224 168 8388608 adding new data backref on 116106932224 root 261 owner 99219 offset 8388608 found 2 Incorrect local backref count on 118884319232 root 261 owner 50375 offset 4096 found 2 wanted 3 back 0x1490e320 Incorrect global backref count on 118884319232 found 2 wanted 3 backpointer mismatch on [118884319232 8384512] repair deleting extent record: key 118884319232 168 8384512 adding new data backref on 118884319232 root 261 owner 50375 offset 4096 found 2 Incorrect local backref count on 118915481600 root 261 owner 50456 offset 8388608 found 2 wanted 9 back 0x151fbc90 Incorrect global backref count on 118915481600 found 2 wanted 9 backpointer mismatch on [118915481600 8388608] repair deleting extent record: key 118915481600 168 8388608 adding new data backref on 118915481600 root 261 owner 50456 offset 8388608 found 2 Incorrect local backref count on 118952853504 root 261 owner 50562 offset 16777216 found 2 wanted 6 back 0x151ff330 Incorrect global backref count on 118952853504 found 2 wanted 6 backpointer mismatch on [118952853504 8388608] repair deleting extent record: key 118952853504 168 8388608 adding new data backref on 118952853504 root 261 owner 50562 offset 16777216 found 2 Incorrect local backref count on 118961242112 root 261 owner 50691 offset 4096 found 2 wanted 3 back 0x151ff460 Incorrect global backref count on 118961242112 found 2 wanted 3 backpointer mismatch on [118961242112 8384512] repair deleting extent record: key 118961242112 168 8384512 adding new data backref on 118961242112 root 261 owner 50691 offset 4096 found 2 Incorrect local backref count on 119117934592 root 261 owner 50755 offset 16777216 found 2 wanted 12 back 0x15218430 Incorrect global backref count on 119117934592 found 2 wanted 12 backpointer mismatch on [119117934592 8388608] repair deleting extent record: key 119117934592 168 8388608 adding new data backref on 119117934592 root 261 owner 50755 offset 16777216 found 2 Incorrect local backref count on 119136927744 root 261 owner 50755 offset 25165824 found 2 wanted 6 back 0x1521aa30 Incorrect global backref count on 119136927744 found 2 wanted 6 backpointer mismatch on [119136927744 8388608] repair deleting extent record: key 119136927744 168 8388608 adding new data backref on 119136927744 root 261 owner 50755 offset 25165824 found 2 Incorrect local backref count on 119153704960 root 261 owner 50755 offset 33554432 found 2 wanted 4 back 0x1521ac90 Incorrect global backref count on 119153704960 found 2 wanted 4 backpointer mismatch on [119153704960 8388608] repair deleting extent record: key 119153704960 168 8388608 adding new data backref on 119153704960 root 261 owner 50755 offset 33554432 found 2 Incorrect local backref count on 119175401472 root 261 owner 29151 offset 75497472 found 2 wanted 8 back 0xf84d2b0 Incorrect global backref count on 119175401472 found 2 wanted 8 backpointer mismatch on [119175401472 8388608] repair deleting extent record: key 119175401472 168 8388608 adding new data backref on 119175401472 root 261 owner 29151 offset 75497472 found 2 Incorrect local backref count on 119183790080 root 261 owner 29151 offset 83886080 found 2 wanted 7 back 0xf84d3e0 Incorrect global backref count on 119183790080 found 2 wanted 7 backpointer mismatch on [119183790080 8388608] repair deleting extent record: key 119183790080 168 8388608 adding new data backref on 119183790080 root 261 owner 29151 offset 83886080 found 2 Incorrect local backref count on 119192178688 root 261 owner 29151 offset 92274688 found 2 wanted 4 back 0xf84d510 Incorrect global backref count on 119192178688 found 2 wanted 4 backpointer mismatch on [119192178688 8388608] repair deleting extent record: key 119192178688 168 8388608 adding new data backref on 119192178688 root 261 owner 29151 offset 92274688 found 2 Incorrect local backref count on 121346105344 root 261 owner 103265 offset 25165824 found 2 wanted 4 back 0x14970aa0 Incorrect global backref count on 121346105344 found 2 wanted 4 backpointer mismatch on [121346105344 8388608] repair deleting extent record: key 121346105344 168 8388608 adding new data backref on 121346105344 root 261 owner 103265 offset 25165824 found 2 Incorrect local backref count on 121400180736 root 266 owner 121703 offset 2101248 found 2 wanted 3 back 0x15243040 Incorrect global backref count on 121400180736 found 2 wanted 3 backpointer mismatch on [121400180736 737280] repair deleting extent record: key 121400180736 168 737280 adding new data backref on 121400180736 root 266 owner 121703 offset 2101248 found 2 Incorrect local backref count on 121405538304 root 266 owner 121703 offset 8732672 found 2 wanted 4 back 0x152439c0 Incorrect global backref count on 121405538304 found 2 wanted 4 backpointer mismatch on [121405538304 2871296] repair deleting extent record: key 121405538304 168 2871296 adding new data backref on 121405538304 root 266 owner 121703 offset 8732672 found 2 Incorrect local backref count on 121453096960 root 266 owner 121703 offset 10125312 found 2 wanted 3 back 0x143ece30 Incorrect global backref count on 121453096960 found 2 wanted 3 backpointer mismatch on [121453096960 1478656] repair deleting extent record: key 121453096960 168 1478656 adding new data backref on 121453096960 root 266 owner 121703 offset 10125312 found 2 Incorrect local backref count on 121457029120 root 266 owner 121703 offset 3899392 found 2 wanted 7 back 0x1524e330 Incorrect global backref count on 121457029120 found 2 wanted 7 backpointer mismatch on [121457029120 2297856] repair deleting extent record: key 121457029120 168 2297856 adding new data backref on 121457029120 root 266 owner 121703 offset 3899392 found 2 Incorrect local backref count on 121471447040 root 266 owner 121703 offset 2101248 found 2 wanted 4 back 0x152578d0 Incorrect global backref count on 121471447040 found 2 wanted 4 backpointer mismatch on [121471447040 9420800] repair deleting extent record: key 121471447040 168 9420800 adding new data backref on 121471447040 root 266 owner 121703 offset 2101248 found 2 Incorrect local backref count on 121496403968 root 266 owner 121669 offset 2101248 found 2 wanted 8 back 0x15ab3b00 Incorrect global backref count on 121496403968 found 2 wanted 8 backpointer mismatch on [121496403968 13680640] repair deleting extent record: key 121496403968 168 13680640 adding new data backref on 121496403968 root 266 owner 121669 offset 2101248 found 2 Incorrect local backref count on 121511731200 root 266 owner 121669 offset 4063232 found 2 wanted 4 back 0x15ab3e90 Incorrect global backref count on 121511731200 found 2 wanted 4 backpointer mismatch on [121511731200 2297856] repair deleting extent record: key 121511731200 168 2297856 adding new data backref on 121511731200 root 266 owner 121669 offset 4063232 found 2 Incorrect local backref count on 121515352064 root 266 owner 121669 offset 8077312 found 2 wanted 5 back 0x15ab4350 Incorrect global backref count on 121515352064 found 2 wanted 5 backpointer mismatch on [121515352064 1478656] repair deleting extent record: key 121515352064 168 1478656 adding new data backref on 121515352064 root 266 owner 121669 offset 8077312 found 2 Incorrect local backref count on 121517080576 root 266 owner 121669 offset 9961472 found 2 wanted 3 back 0x15ab45b0 Incorrect global backref count on 121517080576 found 2 wanted 3 backpointer mismatch on [121517080576 741376] repair deleting extent record: key 121517080576 168 741376 adding new data backref on 121517080576 root 266 owner 121669 offset 9961472 found 2 Incorrect local backref count on 121517907968 root 266 owner 121669 offset 10944512 found 2 wanted 3 back 0x15ab4810 Incorrect global backref count on 121517907968 found 2 wanted 3 backpointer mismatch on [121517907968 495616] repair deleting extent record: key 121517907968 168 495616 adding new data backref on 121517907968 root 266 owner 121669 offset 10944512 found 2 Incorrect local backref count on 121519890432 root 266 owner 121669 offset 13402112 found 2 wanted 4 back 0x15ab4f30 Incorrect global backref count on 121519890432 found 2 wanted 4 backpointer mismatch on [121519890432 1970176] repair deleting extent record: key 121519890432 168 1970176 adding new data backref on 121519890432 root 266 owner 121669 offset 13402112 found 2 Incorrect local backref count on 121570537472 root 266 owner 109253 offset 1212416 found 2 wanted 5 back 0xf730a00 Incorrect global backref count on 121570537472 found 2 wanted 5 backpointer mismatch on [121570537472 5537792] repair deleting extent record: key 121570537472 168 5537792 adding new data backref on 121570537472 root 266 owner 109253 offset 1212416 found 2 Incorrect local backref count on 121578438656 root 266 owner 109250 offset 0 found 2 wanted 6 back 0xf7329b0 Incorrect global backref count on 121578438656 found 2 wanted 6 backpointer mismatch on [121578438656 9797632] repair deleting extent record: key 121578438656 168 9797632 adding new data backref on 121578438656 root 266 owner 109250 offset 0 found 2 Incorrect local backref count on 122374881280 root 261 owner 164282 offset 92274688 found 2 wanted 7 back 0xda989a0 Incorrect global backref count on 122374881280 found 2 wanted 7 backpointer mismatch on [122374881280 8388608] repair deleting extent record: key 122374881280 168 8388608 adding new data backref on 122374881280 root 261 owner 164282 offset 92274688 found 2 Incorrect local backref count on 122422677504 root 261 owner 379351 offset 4096 found 2 wanted 4 back 0xed172d0 Incorrect global backref count on 122422677504 found 2 wanted 4 backpointer mismatch on [122422677504 8384512] repair deleting extent record: key 122422677504 168 8384512 adding new data backref on 122422677504 root 261 owner 379351 offset 4096 found 2 Incorrect local backref count on 122431062016 root 261 owner 379502 offset 4096 found 2 wanted 3 back 0xed17400 Incorrect global backref count on 122431062016 found 2 wanted 3 backpointer mismatch on [122431062016 8384512] repair deleting extent record: key 122431062016 168 8384512 adding new data backref on 122431062016 root 261 owner 379502 offset 4096 found 2 Incorrect local backref count on 122445803520 root 261 owner 379569 offset 4096 found 2 wanted 3 back 0xed1f640 Incorrect global backref count on 122445803520 found 2 wanted 3 backpointer mismatch on [122445803520 8384512] repair deleting extent record: key 122445803520 168 8384512 adding new data backref on 122445803520 root 261 owner 379569 offset 4096 found 2 Incorrect local backref count on 122454188032 root 261 owner 379642 offset 4096 found 2 wanted 3 back 0xed1f770 Incorrect global backref count on 122454188032 found 2 wanted 3 backpointer mismatch on [122454188032 8384512] repair deleting extent record: key 122454188032 168 8384512 adding new data backref on 122454188032 root 261 owner 379642 offset 4096 found 2 Incorrect local backref count on 122690605056 root 261 owner 164282 offset 109051904 found 2 wanted 7 back 0x11b8b950 Incorrect global backref count on 122690605056 found 2 wanted 7 backpointer mismatch on [122690605056 8388608] repair deleting extent record: key 122690605056 168 8388608 adding new data backref on 122690605056 root 261 owner 164282 offset 109051904 found 2 Incorrect local backref count on 123219030016 root 266 owner 105119 offset 0 found 2 wanted 4 back 0x128f75b0 Incorrect global backref count on 123219030016 found 2 wanted 4 backpointer mismatch on [123219030016 5595136] repair deleting extent record: key 123219030016 168 5595136 adding new data backref on 123219030016 root 266 owner 105119 offset 0 found 2 Incorrect local backref count on 123312148480 root 266 owner 109250 offset 589824 found 2 wanted 3 back 0x12342740 Incorrect global backref count on 123312148480 found 2 wanted 3 backpointer mismatch on [123312148480 1900544] repair deleting extent record: key 123312148480 168 1900544 adding new data backref on 123312148480 root 266 owner 109250 offset 589824 found 2 Incorrect local backref count on 123355807744 root 266 owner 109253 offset 15859712 found 2 wanted 4 back 0x12550ed0 Incorrect global backref count on 123355807744 found 2 wanted 4 backpointer mismatch on [123355807744 1835008] repair deleting extent record: key 123355807744 168 1835008 adding new data backref on 123355807744 root 266 owner 109253 offset 15859712 found 2 Incorrect local backref count on 124800430080 root 261 owner 164282 offset 83886080 found 2 wanted 8 back 0xed5a070 Incorrect global backref count on 124800430080 found 2 wanted 8 backpointer mismatch on [124800430080 8388608] repair deleting extent record: key 124800430080 168 8388608 adding new data backref on 124800430080 root 261 owner 164282 offset 83886080 found 2 Incorrect local backref count on 125447946240 root 261 owner 443492 offset 4096 found 2 wanted 3 back 0xd4a2240 Incorrect global backref count on 125447946240 found 2 wanted 3 backpointer mismatch on [125447946240 8384512] repair deleting extent record: key 125447946240 168 8384512 adding new data backref on 125447946240 root 261 owner 443492 offset 4096 found 2 Incorrect local backref count on 299742502912 root 261 owner 103265 offset 8388608 found 2 wanted 4 back 0x109889c0 Incorrect global backref count on 299742502912 found 2 wanted 4 backpointer mismatch on [299742502912 8388608] repair deleting extent record: key 299742502912 168 8388608 adding new data backref on 299742502912 root 261 owner 103265 offset 8388608 found 2 Incorrect local backref count on 358968762368 root 261 owner 164282 offset 33554432 found 2 wanted 5 back 0xfb62250 Incorrect global backref count on 358968762368 found 2 wanted 5 backpointer mismatch on [358968762368 8388608] repair deleting extent record: key 358968762368 168 8388608 adding new data backref on 358968762368 root 261 owner 164282 offset 33554432 found 2 Incorrect local backref count on 383473442816 root 261 owner 164282 offset 67108864 found 2 wanted 3 back 0xab44eb0 Incorrect global backref count on 383473442816 found 2 wanted 3 backpointer mismatch on [383473442816 8388608] repair deleting extent record: key 383473442816 168 8388608 adding new data backref on 383473442816 root 261 owner 164282 offset 67108864 found 2 Incorrect local backref count on 384264065024 root 261 owner 475981 offset 8388608 found 2 wanted 3 back 0x9391900 Incorrect global backref count on 384264065024 found 2 wanted 3 backpointer mismatch on [384264065024 8388608] repair deleting extent record: key 384264065024 168 8388608 adding new data backref on 384264065024 root 261 owner 475981 offset 8388608 found 2 Incorrect local backref count on 384724803584 root 261 owner 443649 offset 4096 found 2 wanted 3 back 0x96f3d50 Incorrect global backref count on 384724803584 found 2 wanted 3 backpointer mismatch on [384724803584 8384512] repair deleting extent record: key 384724803584 168 8384512 adding new data backref on 384724803584 root 261 owner 443649 offset 4096 found 2 Incorrect local backref count on 387144613888 root 261 owner 443727 offset 8388608 found 2 wanted 5 back 0x7277040 Incorrect global backref count on 387144613888 found 2 wanted 5 backpointer mismatch on [387144613888 8388608] repair deleting extent record: key 387144613888 168 8388608 adding new data backref on 387144613888 root 261 owner 443727 offset 8388608 found 2 Incorrect local backref count on 387177525248 root 267 owner 83843 offset 32768 found 2 wanted 4 back 0x180e8fb0 Incorrect global backref count on 387177525248 found 2 wanted 4 backpointer mismatch on [387177525248 10452992] repair deleting extent record: key 387177525248 168 10452992 adding new data backref on 387177525248 root 267 owner 83843 offset 32768 found 2 Incorrect local backref count on 533698461696 root 261 owner 103265 offset 16777216 found 2 wanted 4 back 0x1430a450 Incorrect global backref count on 533698461696 found 2 wanted 4 backpointer mismatch on [533698461696 8388608] repair deleting extent record: key 533698461696 168 8388608 adding new data backref on 533698461696 root 261 owner 103265 offset 16777216 found 2 Incorrect local backref count on 617282523136 root 261 owner 523013 offset 25165824 found 2 wanted 7 back 0xa6ef9d0 Incorrect global backref count on 617282523136 found 2 wanted 7 backpointer mismatch on [617282523136 8388608] repair deleting extent record: key 617282523136 168 8388608 adding new data backref on 617282523136 root 261 owner 523013 offset 25165824 found 2 Incorrect local backref count on 617662447616 root 261 owner 476064 offset 117440512 found 2 wanted 3 back 0x9508d40 Incorrect global backref count on 617662447616 found 2 wanted 3 backpointer mismatch on [617662447616 8388608] repair deleting extent record: key 617662447616 168 8388608 adding new data backref on 617662447616 root 261 owner 476064 offset 117440512 found 2 Incorrect local backref count on 619055620096 root 261 owner 523013 offset 33554432 found 2 wanted 8 back 0x9367b40 Incorrect global backref count on 619055620096 found 2 wanted 8 backpointer mismatch on [619055620096 8388608] repair deleting extent record: key 619055620096 168 8388608 adding new data backref on 619055620096 root 261 owner 523013 offset 33554432 found 2 Incorrect local backref count on 620135100416 root 267 owner 42446 offset 37355520 found 2 wanted 3 back 0x94bbb70 Incorrect global backref count on 620135100416 found 2 wanted 3 backpointer mismatch on [620135100416 2490368] repair deleting extent record: key 620135100416 168 2490368 adding new data backref on 620135100416 root 267 owner 42446 offset 37355520 found 2 Incorrect local backref count on 620301402112 root 261 owner 476064 offset 92274688 found 2 wanted 5 back 0x27a0320 Incorrect global backref count on 620301402112 found 2 wanted 5 backpointer mismatch on [620301402112 8388608] repair deleting extent record: key 620301402112 168 8388608 adding new data backref on 620301402112 root 261 owner 476064 offset 92274688 found 2 Incorrect local backref count on 620319731712 root 261 owner 476064 offset 125829120 found 2 wanted 9 back 0x27a1c10 Incorrect global backref count on 620319731712 found 2 wanted 9 backpointer mismatch on [620319731712 8388608] repair deleting extent record: key 620319731712 168 8388608 adding new data backref on 620319731712 root 261 owner 476064 offset 125829120 found 2 Incorrect local backref count on 620339421184 root 261 owner 476064 offset 83886080 found 2 wanted 6 back 0x27a3760 Incorrect global backref count on 620339421184 found 2 wanted 6 backpointer mismatch on [620339421184 8388608] repair deleting extent record: key 620339421184 168 8388608 adding new data backref on 620339421184 root 261 owner 476064 offset 83886080 found 2 Incorrect local backref count on 620405080064 root 261 owner 476064 offset 75497472 found 2 wanted 5 back 0x27b45d0 Incorrect global backref count on 620405080064 found 2 wanted 5 backpointer mismatch on [620405080064 8388608] repair deleting extent record: key 620405080064 168 8388608 adding new data backref on 620405080064 root 261 owner 476064 offset 75497472 found 2 Incorrect local backref count on 620441411584 root 261 owner 476064 offset 109051904 found 2 wanted 4 back 0x27aa900 Incorrect global backref count on 620441411584 found 2 wanted 4 backpointer mismatch on [620441411584 8388608] repair deleting extent record: key 620441411584 168 8388608 adding new data backref on 620441411584 root 261 owner 476064 offset 109051904 found 2 Incorrect local backref count on 620484030464 root 261 owner 523013 offset 41943040 found 2 wanted 4 back 0x27abd30 Incorrect global backref count on 620484030464 found 2 wanted 4 backpointer mismatch on [620484030464 8388608] repair deleting extent record: key 620484030464 168 8388608 adding new data backref on 620484030464 root 261 owner 523013 offset 41943040 found 2 Incorrect local backref count on 620492419072 root 261 owner 523013 offset 50331648 found 2 wanted 6 back 0x27abe60 Incorrect global backref count on 620492419072 found 2 wanted 6 backpointer mismatch on [620492419072 8388608] repair deleting extent record: key 620492419072 168 8388608 adding new data backref on 620492419072 root 261 owner 523013 offset 50331648 found 2 Incorrect local backref count on 620523372544 root 261 owner 476064 offset 100663296 found 2 wanted 3 back 0x27afdc0 Incorrect global backref count on 620523372544 found 2 wanted 3 backpointer mismatch on [620523372544 8388608] repair deleting extent record: key 620523372544 168 8388608 adding new data backref on 620523372544 root 261 owner 476064 offset 100663296 found 2 Incorrect local backref count on 620629340160 root 261 owner 523013 offset 58720256 found 2 wanted 3 back 0x929cc40 Incorrect global backref count on 620629340160 found 2 wanted 3 backpointer mismatch on [620629340160 8388608] repair deleting extent record: key 620629340160 168 8388608 adding new data backref on 620629340160 root 261 owner 523013 offset 58720256 found 2 Incorrect local backref count on 621086306304 root 267 owner 42446 offset 17563648 found 2 wanted 4 back 0x94a4ee0 Incorrect global backref count on 621086306304 found 2 wanted 4 backpointer mismatch on [621086306304 2621440] repair deleting extent record: key 621086306304 168 2621440 adding new data backref on 621086306304 root 267 owner 42446 offset 17563648 found 2 Incorrect local backref count on 621287456768 root 267 owner 42445 offset 0 found 2 wanted 5 back 0x174b0940 Incorrect global backref count on 621287456768 found 2 wanted 5 backpointer mismatch on [621287456768 4456448] repair deleting extent record: key 621287456768 168 4456448 adding new data backref on 621287456768 root 267 owner 42445 offset 0 found 2 Incorrect local backref count on 626338304000 root 261 owner 504481 offset 109051904 found 2 wanted 3 back 0x9b51410 Incorrect global backref count on 626338304000 found 2 wanted 3 backpointer mismatch on [626338304000 8388608] repair deleting extent record: key 626338304000 168 8388608 adding new data backref on 626338304000 root 261 owner 504481 offset 109051904 found 2 Incorrect local backref count on 626346692608 root 261 owner 504481 offset 83886080 found 2 wanted 6 back 0x9b51540 Incorrect global backref count on 626346692608 found 2 wanted 6 backpointer mismatch on [626346692608 8388608] repair deleting extent record: key 626346692608 168 8388608 adding new data backref on 626346692608 root 261 owner 504481 offset 83886080 found 2 Incorrect local backref count on 626769547264 root 261 owner 504481 offset 117440512 found 2 wanted 5 back 0x176bcbc0 Incorrect global backref count on 626769547264 found 2 wanted 5 backpointer mismatch on [626769547264 8388608] repair deleting extent record: key 626769547264 168 8388608 adding new data backref on 626769547264 root 261 owner 504481 offset 117440512 found 2 Incorrect local backref count on 627077701632 root 261 owner 504481 offset 75497472 found 2 wanted 4 back 0x97dacb0 Incorrect global backref count on 627077701632 found 2 wanted 4 backpointer mismatch on [627077701632 8388608] repair deleting extent record: key 627077701632 168 8388608 adding new data backref on 627077701632 root 261 owner 504481 offset 75497472 found 2 Incorrect local backref count on 651636572160 root 261 owner 571245 offset 8388608 found 2 wanted 4 back 0xc8d9bd0 Incorrect global backref count on 651636572160 found 2 wanted 4 backpointer mismatch on [651636572160 8388608] repair deleting extent record: key 651636572160 168 8388608 adding new data backref on 651636572160 root 261 owner 571245 offset 8388608 found 2 Incorrect local backref count on 651727511552 root 261 owner 588700 offset 33554432 found 2 wanted 7 back 0xadfaa60 Incorrect global backref count on 651727511552 found 2 wanted 7 backpointer mismatch on [651727511552 8388608] repair deleting extent record: key 651727511552 168 8388608 adding new data backref on 651727511552 root 261 owner 588700 offset 33554432 found 2 Incorrect local backref count on 651764072448 root 261 owner 588700 offset 16777216 found 2 wanted 3 back 0x27c7310 Incorrect global backref count on 651764072448 found 2 wanted 3 backpointer mismatch on [651764072448 8388608] repair deleting extent record: key 651764072448 168 8388608 adding new data backref on 651764072448 root 261 owner 588700 offset 16777216 found 2 Incorrect local backref count on 651772723200 root 261 owner 588700 offset 25165824 found 2 wanted 9 back 0x27c7570 Incorrect global backref count on 651772723200 found 2 wanted 9 backpointer mismatch on [651772723200 8388608] repair deleting extent record: key 651772723200 168 8388608 adding new data backref on 651772723200 root 261 owner 588700 offset 25165824 found 2 Incorrect local backref count on 651782610944 root 261 owner 523013 offset 67108864 found 2 wanted 7 back 0x27c7900 Incorrect global backref count on 651782610944 found 2 wanted 7 backpointer mismatch on [651782610944 8388608] repair deleting extent record: key 651782610944 168 8388608 adding new data backref on 651782610944 root 261 owner 523013 offset 67108864 found 2 Incorrect local backref count on 651849945088 root 261 owner 523013 offset 75497472 found 2 wanted 4 back 0x27be620 Incorrect global backref count on 651849945088 found 2 wanted 4 backpointer mismatch on [651849945088 8388608] repair deleting extent record: key 651849945088 168 8388608 adding new data backref on 651849945088 root 261 owner 523013 offset 75497472 found 2 Incorrect local backref count on 651903942656 root 268 owner 133149 offset 51486720 found 2 wanted 3 back 0x27c48b0 Incorrect global backref count on 651903942656 found 2 wanted 3 backpointer mismatch on [651903942656 1204224] repair deleting extent record: key 651903942656 168 1204224 adding new data backref on 651903942656 root 268 owner 133149 offset 51486720 found 2 Incorrect local backref count on 651924652032 root 261 owner 588700 offset 4096 found 2 wanted 3 back 0xc7ef6d0 Incorrect global backref count on 651924652032 found 2 wanted 3 backpointer mismatch on [651924652032 8384512] repair deleting extent record: key 651924652032 168 8384512 adding new data backref on 651924652032 root 261 owner 588700 offset 4096 found 2 Incorrect local backref count on 652023672832 root 261 owner 588700 offset 8388608 found 2 wanted 14 back 0xaa00a80 Incorrect global backref count on 652023672832 found 2 wanted 14 backpointer mismatch on [652023672832 8388608] repair deleting extent record: key 652023672832 168 8388608 adding new data backref on 652023672832 root 261 owner 588700 offset 8388608 found 2 Incorrect local backref count on 652135686144 root 261 owner 588700 offset 41943040 found 2 wanted 23 back 0xad0bef0 Incorrect global backref count on 652135686144 found 2 wanted 23 backpointer mismatch on [652135686144 8388608] repair deleting extent record: key 652135686144 168 8388608 adding new data backref on 652135686144 root 261 owner 588700 offset 41943040 found 2 Incorrect local backref count on 652147728384 root 261 owner 588700 offset 58720256 found 2 wanted 25 back 0xad0c280 Incorrect global backref count on 652147728384 found 2 wanted 25 backpointer mismatch on [652147728384 8388608] repair deleting extent record: key 652147728384 168 8388608 adding new data backref on 652147728384 root 261 owner 588700 offset 58720256 found 2 Incorrect local backref count on 652163137536 root 261 owner 588700 offset 50331648 found 2 wanted 29 back 0xad0d320 Incorrect global backref count on 652163137536 found 2 wanted 29 backpointer mismatch on [652163137536 8388608] repair deleting extent record: key 652163137536 168 8388608 adding new data backref on 652163137536 root 261 owner 588700 offset 50331648 found 2 Incorrect local backref count on 652171526144 root 268 owner 133149 offset 59981824 found 2 wanted 6 back 0xad0d450 Incorrect global backref count on 652171526144 found 2 wanted 6 backpointer mismatch on [652171526144 5685248] repair deleting extent record: key 652171526144 168 5685248 adding new data backref on 652171526144 root 268 owner 133149 offset 59981824 found 2 Incorrect local backref count on 652182392832 root 261 owner 588700 offset 67108864 found 2 wanted 35 back 0xad0d6b0 Incorrect global backref count on 652182392832 found 2 wanted 35 backpointer mismatch on [652182392832 8388608] repair deleting extent record: key 652182392832 168 8388608 adding new data backref on 652182392832 root 261 owner 588700 offset 67108864 found 2 Incorrect local backref count on 652218540032 root 261 owner 588700 offset 100663296 found 2 wanted 10 back 0xad10890 Incorrect global backref count on 652218540032 found 2 wanted 10 backpointer mismatch on [652218540032 8388608] repair deleting extent record: key 652218540032 168 8388608 adding new data backref on 652218540032 root 261 owner 588700 offset 100663296 found 2 Incorrect local backref count on 655772450816 root 261 owner 588700 offset 83886080 found 2 wanted 12 back 0xc7fdd30 Incorrect global backref count on 655772450816 found 2 wanted 12 backpointer mismatch on [655772450816 8388608] repair deleting extent record: key 655772450816 168 8388608 adding new data backref on 655772450816 root 261 owner 588700 offset 83886080 found 2 Incorrect local backref count on 655894376448 root 268 owner 94568 offset 15204352 found 2 wanted 5 back 0x12d3d20 Incorrect global backref count on 655894376448 found 2 wanted 5 backpointer mismatch on [655894376448 2883584] repair deleting extent record: key 655894376448 168 2883584 adding new data backref on 655894376448 root 268 owner 94568 offset 15204352 found 2 Incorrect local backref count on 655926697984 root 261 owner 588700 offset 75497472 found 2 wanted 20 back 0x12d4dc0 Incorrect global backref count on 655926697984 found 2 wanted 20 backpointer mismatch on [655926697984 8388608] repair deleting extent record: key 655926697984 168 8388608 adding new data backref on 655926697984 root 261 owner 588700 offset 75497472 found 2 Incorrect local backref count on 655981510656 root 261 owner 588700 offset 92274688 found 2 wanted 17 back 0x132dbc0 Incorrect global backref count on 655981510656 found 2 wanted 17 backpointer mismatch on [655981510656 8388608] repair deleting extent record: key 655981510656 168 8388608 adding new data backref on 655981510656 root 261 owner 588700 offset 92274688 found 2 Incorrect local backref count on 656023379968 root 261 owner 571175 offset 16777216 found 2 wanted 5 back 0x132ec60 Incorrect global backref count on 656023379968 found 2 wanted 5 backpointer mismatch on [656023379968 8388608] repair deleting extent record: key 656023379968 168 8388608 adding new data backref on 656023379968 root 261 owner 571175 offset 16777216 found 2 Incorrect local backref count on 656056569856 root 268 owner 94568 offset 16646144 found 2 wanted 3 back 0x132eec0 Incorrect global backref count on 656056569856 found 2 wanted 3 backpointer mismatch on [656056569856 14155776] repair deleting extent record: key 656056569856 168 14155776 adding new data backref on 656056569856 root 268 owner 94568 offset 16646144 found 2 repaired damaged extent references Fixed 0 roots. checking free space cache cache and super generation don't match, space cache will be invalidated checking fs roots reset nbytes for ino 229313 root 266 checking csums checking root refs found 386840608768 bytes used err is 0 total csum bytes: 373853376 total tree bytes: 1761443840 total fs tree bytes: 1181761536 total extent tree bytes: 122601472 btree space waste bytes: 288802816 file data blocks allocated: 389546860544 referenced 408575717376 also seems this didn't repaired it because running check again it shows same errors. Interestingly btrfs scrub completed sucesfully without any errors but then when I tried balance, kernel crashed and now every time I try to mount this volume I get kernel crash. kernel: BTRFS info (device vda): disk space caching is enabled kernel: BTRFS info (device vda): has skinny extents kernel: BTRFS info (device vda): checking UUID tree kernel: BTRFS info (device vda): continuing balance kernel: BTRFS info (device vda): relocating block group 657025138688 flags 17 kernel: BTRFS info (device vda): relocating block group 655951396864 flags 17 kernel: BTRFS info (device vda): found 105 extents kernel: ------------[ cut here ]------------ kernel: kernel BUG at fs/btrfs/extent-tree.c:1872! there isn't any other output after this. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [BUG] kernel BUG at fs/btrfs/extent_io.c:2062 (v4.2.0-rc8) 2016-08-25 17:26 ` [BUG] kernel BUG at fs/btrfs/extent_io.c:2062 (v4.2.0-rc8) Dāvis Mosāns @ 2016-08-25 17:45 ` Hans van Kranenburg 2016-08-25 18:54 ` Dāvis Mosāns 0 siblings, 1 reply; 7+ messages in thread From: Hans van Kranenburg @ 2016-08-25 17:45 UTC (permalink / raw) To: Dāvis Mosāns, Btrfs BTRFS On 08/25/2016 07:26 PM, Dāvis Mosāns wrote: > 2015-08-31 9:28 GMT+03:00 Dāvis Mosāns <davispuh@gmail.com>: >> I'm getting kernel crash and complete system lockup when trying to access >> journal on two disk btrfs filesystem with data/metadata as RAID1. > > I kept those drives untouched and now I tried again with Linux 4.7.1 > and accessing that file it didn't crashed but shows Input/output error I don't see "Input/output error" anywhere in the messages? > $ btrfs check --repair --check-data-csum /dev/vda > enabling repair mode > Checking filesystem on /dev/vda > UUID: 247e6249-6de1-45cb-9dd0-fa8a654234bf > checking extents > Incorrect local backref count on 99753574400 root 261 owner 523015 > offset 4063232 found 2 wanted 4 back 0xf1bd3c0 > Incorrect global backref count on 99753574400 found 2 wanted 4 > backpointer mismatch on [99753574400 8192] > repair deleting extent record: key 99753574400 168 8192 > adding new data backref on 99753574400 root 261 owner 523015 offset > 4063232 found 2 > [...] These messages might be unrelated. Also see this email thread from yesterday, reporting the same, for more info: btrfs-progs 4.7, check reports many "incorrect local backref count" messages -- Hans van Kranenburg - System / Network Engineer T +31 (0)10 2760434 | hans.van.kranenburg@mendix.com | www.mendix.com ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [BUG] kernel BUG at fs/btrfs/extent_io.c:2062 (v4.2.0-rc8) 2016-08-25 17:45 ` Hans van Kranenburg @ 2016-08-25 18:54 ` Dāvis Mosāns 2016-10-19 17:59 ` Dāvis Mosāns 0 siblings, 1 reply; 7+ messages in thread From: Dāvis Mosāns @ 2016-08-25 18:54 UTC (permalink / raw) To: Hans van Kranenburg; +Cc: Btrfs BTRFS 2016-08-25 20:45 GMT+03:00 Hans van Kranenburg <hans.van.kranenburg@mendix.com>: > On 08/25/2016 07:26 PM, Dāvis Mosāns wrote: >> 2015-08-31 9:28 GMT+03:00 Dāvis Mosāns <davispuh@gmail.com>: >>> I'm getting kernel crash and complete system lockup when trying to access >>> journal on two disk btrfs filesystem with data/metadata as RAID1. >> >> I kept those drives untouched and now I tried again with Linux 4.7.1 >> and accessing that file it didn't crashed but shows Input/output error > > I don't see "Input/output error" anywhere in the messages? > I didn't included it here, it's very simple, any access to that file shows it $ cat system@00051e80d8810e86-e5a1ec29d9167e9f.journal~ cat: system@00051e80d8810e86-e5a1ec29d9167e9f.journal~: Input/output error even if scrub completed successfully without any errors. also I just noticed this thread "btrfs partition fails to mount - kernel BUG at ../fs/btrfs/extent-tree.c:1872" it's this same crash I'm hinting here with balance. kernel: kernel BUG at fs/btrfs/extent-tree.c:1872! ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [BUG] kernel BUG at fs/btrfs/extent_io.c:2062 (v4.2.0-rc8) 2016-08-25 18:54 ` Dāvis Mosāns @ 2016-10-19 17:59 ` Dāvis Mosāns 0 siblings, 0 replies; 7+ messages in thread From: Dāvis Mosāns @ 2016-10-19 17:59 UTC (permalink / raw) To: Hans van Kranenburg; +Cc: Btrfs BTRFS Now when trying to read this one file on 4.8.2 [ 131.497595] ------------[ cut here ]------------ [ 131.499411] kernel BUG at fs/btrfs/extent_io.c:2315! [ 131.500786] invalid opcode: 0000 [#1] PREEMPT SMP [ 131.500786] Modules linked in: rpcsec_gss_krb5 auth_rpcgss oid_registry nfsv4 dns_resolver nfs lockd grace sunrpc fscache kvm_amd mousedev kvm irqbypass crct10dif_pclmul crc32_pclmul nls_iso8859_1 ghash_clmulni_intel nls_cp437 aesni_intel vfat snd_intel8x0 input_leds aes_x86_64 fat ppdev evdev snd_ac97_codec led_class ac97_bus lrw snd_pcm snd_timer gf128mul glue_helper ablk_helper acpi_cpufreq cryptd mac_hid snd psmouse pcspkr tpm_tis intel_agp parport_pc soundcore intel_gtt qemu_fw_cfg i2c_piix4 tpm_tis_core parport tpm button sch_fq_codel ip_tables x_tables btrfs xor raid6_pq virtio_gpu drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm sd_mod virtio_balloon virtio_console virtio_blk virtio_net ata_generic drm pata_acpi xhci_pci xhci_hcd ahci serio_raw virtio_pci atkbd libps2 libahci usbcore ata_piix virtio_ring libata scsi_mod usb_common virtio crc32c_intel i8042 serio floppy [ 131.500786] CPU: 1 PID: 145 Comm: kworker/u12:7 Not tainted 4.8.2-1-ARCH #1 [ 131.500786] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 0.0.0 02/06/2015 [ 131.500786] Workqueue: btrfs-endio btrfs_endio_helper [btrfs] [ 131.500786] task: ffff880233f1e3c0 task.stack: ffff880233f30000 [ 131.500786] RIP: 0010:[<ffffffffa02b5bec>] [<ffffffffa02b5bec>] btrfs_check_repairable+0xfc/0x100 [btrfs] [ 131.500786] RSP: 0018:ffff880233f33cc0 EFLAGS: 00010206 [ 131.500786] RAX: 0000000000000001 RBX: ffff8802292e2f80 RCX: 0000000000000000 [ 131.500786] RDX: 0000000000000002 RSI: 0000000000000000 RDI: ffff880236148f70 [ 131.500786] RBP: ffff880233f33cd8 R08: 0000001721c00000 R09: 0000001761c00000 [ 131.500786] R10: ffffea0008d496c0 R11: 000000003294a8c0 R12: 000000003294a8c0 [ 131.500786] R13: ffff88023294b5a8 R14: ffff88023294b5a8 R15: ffff8802327a2830 [ 131.500786] FS: 0000000000000000(0000) GS:ffff88023fc40000(0000) knlGS:0000000000000000 [ 131.500786] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 131.500786] CR2: 00000000007477e0 CR3: 0000000002806000 CR4: 00000000000406e0 [ 131.500786] Stack: [ 131.500786] ffffea0008a2b240 00000000000a3000 ffff88023294b630 ffff880233f33d90 [ 131.500786] ffffffffa02b612f ffff880235d82d00 ffff880233f33d10 ffff880233f1e3c0 [ 131.500786] ffff880233f1e3c0 ffff88023294b540 ffff8802327a2680 0000000000000000 [ 131.500786] Call Trace: [ 131.500786] [<ffffffffa02b612f>] end_bio_extent_readpage+0x44f/0x5f0 [btrfs] [ 131.500786] [<ffffffff812c4f93>] bio_endio+0x53/0x60 [ 131.500786] [<ffffffffa0288a0c>] end_workqueue_fn+0x3c/0x40 [btrfs] [ 131.500786] [<ffffffffa02c837d>] btrfs_scrubparity_helper+0x7d/0x340 [btrfs] [ 131.500786] [<ffffffffa02c872e>] btrfs_endio_helper+0xe/0x10 [btrfs] [ 131.500786] [<ffffffff81095ef5>] process_one_work+0x1e5/0x470 [ 131.500786] [<ffffffff810961c8>] worker_thread+0x48/0x4e0 [ 131.500786] [<ffffffff81096180>] ? process_one_work+0x470/0x470 [ 131.500786] [<ffffffff81096180>] ? process_one_work+0x470/0x470 [ 131.500786] [<ffffffff8109be38>] kthread+0xd8/0xf0 [ 131.500786] [<ffffffff8102c782>] ? __switch_to+0x2d2/0x630 [ 131.500786] [<ffffffff815f7eff>] ret_from_fork+0x1f/0x40 [ 131.500786] [<ffffffff8109bd60>] ? kthread_worker_fn+0x170/0x170 [ 131.500786] Code: 25 89 4b 28 e9 7c ff ff ff 44 3b 63 28 75 1c c7 43 30 00 00 00 00 c7 43 28 00 00 00 00 b9 01 00 00 00 31 c0 eb d2 8d 48 02 eb d6 <0f> 0b 66 90 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 [ 131.500786] RIP [<ffffffffa02b5bec>] btrfs_check_repairable+0xfc/0x100 [btrfs] [ 131.500786] RSP <ffff880233f33cc0> [ 132.075621] ------------[ cut here ]------------ [ 132.078829] kernel BUG at fs/btrfs/extent_io.c:2315! [ 132.086719] ---[ end trace 6a5a7b58c27bde1c ]--- [ 132.096386] systemd-journald[230]: Compressed data object 806 -> 744 using LZ4 [ 132.086711] invalid opcode: 0000 [#2] PREEMPT SMP [ 132.086711] Modules linked in: rpcsec_gss_krb5 auth_rpcgss oid_registry nfsv4 dns_resolver nfs lockd grace sunrpc fscache kvm_amd mousedev kvm irqbypass crct10dif_pclmul crc32_pclmul nls_iso8859_1 ghash_clmulni_intel nls_cp437 aesni_intel vfat snd_intel8x0 input_leds aes_x86_64 fat ppdev evdev snd_ac97_codec led_class ac97_bus lrw snd_pcm snd_timer gf128mul glue_helper ablk_helper acpi_cpufreq cryptd mac_hid snd psmouse pcspkr tpm_tis intel_agp parport_pc soundcore intel_gtt qemu_fw_cfg i2c_piix4 tpm_tis_core parport tpm button sch_fq_codel ip_tables x_tables btrfs xor raid6_pq virtio_gpu drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm sd_mod virtio_balloon virtio_console virtio_blk virtio_net ata_generic drm pata_acpi xhci_pci xhci_hcd ahci serio_raw virtio_pci atkbd libps2 libahci usbcore ata_piix virtio_ring libata scsi_mod usb_common virtio crc32c_intel i8042 serio floppy [ 132.086711] CPU: 5 PID: 142 Comm: kworker/u12:4 Tainted: G D 4.8.2-1-ARCH #1 [ 132.086711] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 0.0.0 02/06/2015 [ 132.086711] Workqueue: btrfs-endio btrfs_endio_helper [btrfs] [ 132.086711] task: ffff880233f1aac0 task.stack: ffff880233f24000 [ 132.086711] RIP: 0010:[<ffffffffa02b5bec>] [<ffffffffa02b5bec>] btrfs_check_repairable+0xfc/0x100 [btrfs] [ 132.086711] RSP: 0018:ffff880233f27cc0 EFLAGS: 00010202 [ 132.086711] RAX: 0000000000000001 RBX: ffff8802292e2240 RCX: 0000000000000000 [ 132.086711] RDX: 0000000000000002 RSI: 0000000000000000 RDI: ffff880236148f70 [ 132.086711] RBP: ffff880233f27cd8 R08: 0000001721c00000 R09: 0000001761c00000 [ 132.086711] R10: ffff88022932e870 R11: 000000003294b180 R12: 000000003294b180 [ 132.086711] R13: ffff88023294af68 R14: ffff88023294af68 R15: ffff8802327a2830 [ 132.086711] FS: 0000000000000000(0000) GS:ffff88023fd40000(0000) knlGS:0000000000000000 [ 132.086711] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 132.086711] CR2: 00007f1118094160 CR3: 0000000234a12000 CR4: 00000000000406e0 [ 132.086711] Stack: [ 132.086711] ffffea0008a2b1c0 00000000000a1000 ffff88023294aff0 ffff880233f27d90 [ 132.086711] ffffffffa02b612f 00000001801c0019 ffff880233f27d10 ffff880233f1aac0 [ 132.086711] ffff880233f1aac0 ffff88023294af00 ffff8802327a2680 0000000000000000 [ 132.086711] Call Trace: [ 132.086711] [<ffffffffa02b612f>] end_bio_extent_readpage+0x44f/0x5f0 [btrfs] [ 132.086711] [<ffffffff812c4f93>] bio_endio+0x53/0x60 [ 132.086711] [<ffffffffa0288a0c>] end_workqueue_fn+0x3c/0x40 [btrfs] [ 132.086711] [<ffffffffa02c837d>] btrfs_scrubparity_helper+0x7d/0x340 [btrfs] [ 132.086711] [<ffffffffa02c872e>] btrfs_endio_helper+0xe/0x10 [btrfs] [ 132.086711] [<ffffffff81095ef5>] process_one_work+0x1e5/0x470 [ 132.086711] [<ffffffff810961c8>] worker_thread+0x48/0x4e0 [ 132.086711] [<ffffffff81096180>] ? process_one_work+0x470/0x470 [ 132.086711] [<ffffffff8109be38>] kthread+0xd8/0xf0 [ 132.086711] [<ffffffff8102c782>] ? __switch_to+0x2d2/0x630 [ 132.086711] [<ffffffff815f7eff>] ret_from_fork+0x1f/0x40 [ 132.086711] [<ffffffff8109bd60>] ? kthread_worker_fn+0x170/0x170 [ 132.086711] Code: 25 89 4b 28 e9 7c ff ff ff 44 3b 63 28 75 1c c7 43 30 00 00 00 00 c7 43 28 00 00 00 00 b9 01 00 00 00 31 c0 eb d2 8d 48 02 eb d6 <0f> 0b 66 90 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 [ 132.086711] RIP [<ffffffffa02b5bec>] btrfs_check_repairable+0xfc/0x100 [btrfs] [ 132.086711] RSP <ffff880233f27cc0> [ 133.028698] BUG: unable to handle kernel paging request at 00000000c70566d9 [ 133.095163] ---[ end trace 6a5a7b58c27bde1d ]--- [ 133.028698] IP: [<ffffffff810bfd1b>] __wake_up_common+0x2b/0x80 [ 133.116711] PGD 0 [ 133.116711] Oops: 0000 [#3] PREEMPT SMP [ 133.116711] Modules linked in: rpcsec_gss_krb5 auth_rpcgss oid_registry nfsv4 dns_resolver nfs lockd grace sunrpc fscache kvm_amd mousedev kvm irqbypass crct10dif_pclmul crc32_pclmul nls_iso8859_1 ghash_clmulni_intel nls_cp437 aesni_intel vfat snd_intel8x0 input_leds aes_x86_64 fat ppdev evdev snd_ac97_codec led_class ac97_bus lrw snd_pcm snd_timer gf128mul glue_helper ablk_helper acpi_cpufreq cryptd mac_hid snd psmouse pcspkr tpm_tis intel_agp parport_pc soundcore intel_gtt qemu_fw_cfg i2c_piix4 tpm_tis_core parport tpm button sch_fq_codel ip_tables x_tables btrfs xor raid6_pq virtio_gpu drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm sd_mod virtio_balloon virtio_console virtio_blk virtio_net ata_generic drm pata_acpi xhci_pci xhci_hcd ahci serio_raw virtio_pci atkbd libps2 libahci usbcore ata_piix virtio_ring libata scsi_mod usb_common virtio crc32c_intel i8042 serio floppy [ 133.116711] CPU: 1 PID: 145 Comm: kworker/u12:7 Tainted: G D 4.8.2-1-ARCH #1 [ 133.116711] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 0.0.0 02/06/2015 [ 133.116711] task: ffff880233f1e3c0 task.stack: ffff880233f30000 [ 133.116711] RIP: 0010:[<ffffffff810bfd1b>] [<ffffffff810bfd1b>] __wake_up_common+0x2b/0x80 [ 133.116711] RSP: 0018:ffff880233f33e40 EFLAGS: 00010096 [ 133.116711] RAX: 0000000000000282 RBX: ffff880233f33f10 RCX: 0000000000000000 [ 133.116711] RDX: 00000000c70566d9 RSI: 0000000000000003 RDI: ffff880233f33f10 [ 133.116711] RBP: ffff880233f33e78 R08: 0000000000000000 R09: 0000000000000024 [ 133.116711] R10: ffffffff81805200 R11: 0000000000073618 R12: ffff880233f33f18 [ 133.116711] R13: 0000000000000282 R14: 0000000000000000 R15: 0000000000000003 [ 133.116711] FS: 0000000000000000(0000) GS:ffff88023fc40000(0000) knlGS:0000000000000000 [ 133.116711] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 133.116711] CR2: 0000000000000028 CR3: 0000000002806000 CR4: 00000000000406e0 [ 133.116711] Stack: [ 133.116711] 0000000100000088 0000000000000000 ffff880233f33f10 ffff880233f33f08 [ 133.116711] 0000000000000282 0000000000000000 0000000000000000 ffff880233f33e88 [ 133.116711] ffffffff810bfdd3 ffff880233f33eb0 ffffffff810c0827 ffff880233f1ead0 [ 133.116711] Call Trace: [ 133.116711] [<ffffffff810bfdd3>] __wake_up_locked+0x13/0x20 [ 133.116711] [<ffffffff810c0827>] complete+0x37/0x50 [ 133.116711] [<ffffffff81079eef>] mm_release+0xbf/0x140 [ 133.116711] [<ffffffff81080bcf>] do_exit+0x7af/0xb50 [ 133.116711] [<ffffffff815f9497>] rewind_stack_do_exit+0x17/0x20 [ 133.116711] [<ffffffff8109bd60>] ? kthread_worker_fn+0x170/0x170 [ 133.116711] Code: 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 4c 8d 67 08 53 41 89 f7 48 83 ec 10 89 55 cc 48 8b 57 08 4c 89 45 d0 49 39 d4 <48> 8b 32 74 40 48 8d 42 e8 4c 8d 6e e8 41 89 ce 8b 18 48 8b 4d [ 133.116711] RIP [<ffffffff810bfd1b>] __wake_up_common+0x2b/0x80 [ 133.116711] RSP <ffff880233f33e40> [ 133.116711] CR2: 00000000c70566d9 [ 133.116711] ---[ end trace 6a5a7b58c27bde1e ]--- [ 132.085895] ------------[ cut here ]------------ [ 132.085895] kernel BUG at fs/btrfs/extent_io.c:2315! [ 132.085895] invalid opcode: 0000 [#4] PREEMPT SMP [ 132.085895] Modules linked in: rpcsec_gss_krb5 auth_rpcgss oid_registry nfsv4 dns_resolver nfs lockd grace sunrpc fscache kvm_amd mousedev kvm irqbypass crct10dif_pclmul crc32_pclmul nls_iso8859_1 ghash_clmulni_intel nls_cp437 aesni_intel vfat snd_intel8x0 input_leds aes_x86_64 fat ppdev evdev snd_ac97_codec led_class ac97_bus lrw snd_pcm snd_timer gf128mul glue_helper ablk_helper acpi_cpufreq cryptd mac_hid snd psmouse pcspkr tpm_tis intel_agp parport_pc soundcore intel_gtt qemu_fw_cfg i2c_piix4 tpm_tis_core parport tpm button sch_fq_codel ip_tables x_tables btrfs xor raid6_pq virtio_gpu drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm sd_mod virtio_balloon virtio_console virtio_blk virtio_net ata_generic drm pata_acpi xhci_pci xhci_hcd ahci serio_raw virtio_pci atkbd libps2 libahci usbcore ata_piix virtio_ring libata scsi_mod usb_common virtio crc32c_intel i8042 serio floppy [ 132.085895] CPU: 2 PID: 72 Comm: kworker/u12:1 Tainted: G D 4.8.2-1-ARCH #1 [ 132.085895] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 0.0.0 02/06/2015 [ 132.085895] Workqueue: btrfs-endio btrfs_endio_helper [btrfs] [ 132.085895] task: ffff88023449e3c0 task.stack: ffff880234530000 [ 132.085895] RIP: 0010:[<ffffffffa02b5bec>] [<ffffffffa02b5bec>] btrfs_check_repairable+0xfc/0x100 [btrfs] [ 132.085895] RSP: 0018:ffff880234533cc0 EFLAGS: 00010206 [ 132.085895] RAX: 0000000000000001 RBX: ffff8802292e2140 RCX: 0000000000000000 [ 132.085895] RDX: 0000000000000002 RSI: 0000000000000000 RDI: ffff880236148f70 [ 132.085895] RBP: ffff880234533cd8 R08: 0000001721c00000 R09: 0000001761c00000 [ 132.085895] R10: ffff88022932e2d0 R11: 000000003294b400 R12: 000000003294b400 [ 132.085895] R13: ffff88023294a7e8 R14: ffff88023294a7e8 R15: ffff8802327a2830 [ 132.085895] FS: 0000000000000000(0000) GS:ffff88023fc80000(0000) knlGS:0000000000000000 [ 132.085895] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 132.085895] CR2: 0000000000e08000 CR3: 000000022ab61000 CR4: 00000000000406e0 [ 132.085895] Stack: [ 132.085895] ffffea0008a2b680 00000000000a0000 ffff88023294a870 ffff880234533d90 [ 132.085895] ffffffffa02b612f 00000001801c0018 ffff880234533d20 ffff88023449e3c0 [ 132.085895] ffff88023449e3c0 ffff88023294a780 ffff8802327a2680 0000000000000000 [ 132.085895] Call Trace: [ 132.085895] [<ffffffffa02b612f>] end_bio_extent_readpage+0x44f/0x5f0 [btrfs] [ 132.085895] [<ffffffff812c4f93>] bio_endio+0x53/0x60 [ 132.085895] [<ffffffffa0288a0c>] end_workqueue_fn+0x3c/0x40 [btrfs] [ 132.085895] [<ffffffffa02c837d>] btrfs_scrubparity_helper+0x7d/0x340 [btrfs] [ 132.085895] [<ffffffffa02c872e>] btrfs_endio_helper+0xe/0x10 [btrfs] [ 132.085895] [<ffffffff81095ef5>] process_one_work+0x1e5/0x470 [ 132.085895] [<ffffffff810961c8>] worker_thread+0x48/0x4e0 [ 132.085895] [<ffffffff81096180>] ? process_one_work+0x470/0x470 [ 132.085895] [<ffffffff8109be38>] kthread+0xd8/0xf0 [ 132.085895] [<ffffffff8102c782>] ? __switch_to+0x2d2/0x630 [ 132.085895] [<ffffffff815f7eff>] ret_from_fork+0x1f/0x40 [ 132.085895] [<ffffffff8109bd60>] ? kthread_worker_fn+0x170/0x170 [ 132.085895] Code: 25 89 4b 28 e9 7c ff ff ff 44 3b 63 28 75 1c c7 43 30 00 00 00 00 c7 43 28 00 00 00 00 b9 01 00 00 00 31 c0 eb d2 8d 48 02 eb d6 <0f> 0b 66 90 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 [ 132.085895] RIP [<ffffffffa02b5bec>] btrfs_check_repairable+0xfc/0x100 [btrfs] [ 132.085895] RSP <ffff880234533cc0> [ 133.107915] ------------[ cut here ]------------ [ 133.107915] kernel BUG at fs/btrfs/extent_io.c:2315! [ 133.107915] invalid opcode: 0000 [#5] PREEMPT SMP [ 133.107915] Modules linked in: rpcsec_gss_krb5 auth_rpcgss oid_registry nfsv4 dns_resolver nfs lockd grace sunrpc fscache kvm_amd mousedev kvm irqbypass crct10dif_pclmul crc32_pclmul nls_iso8859_1 ghash_clmulni_intel nls_cp437 aesni_intel vfat snd_intel8x0 input_leds aes_x86_64 fat ppdev evdev snd_ac97_codec led_class ac97_bus lrw snd_pcm snd_timer gf128mul glue_helper ablk_helper acpi_cpufreq cryptd mac_hid snd psmouse pcspkr tpm_tis intel_agp parport_pc soundcore intel_gtt qemu_fw_cfg i2c_piix4 tpm_tis_core parport tpm button sch_fq_codel ip_tables x_tables btrfs xor raid6_pq virtio_gpu drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm sd_mod virtio_balloon virtio_console virtio_blk virtio_net ata_generic drm pata_acpi xhci_pci xhci_hcd ahci serio_raw virtio_pci atkbd libps2 libahci usbcore ata_piix virtio_ring libata scsi_mod usb_common virtio crc32c_intel i8042 serio floppy [ 133.107915] CPU: 4 PID: 6 Comm: kworker/u12:0 Tainted: G D 4.8.2-1-ARCH #1 [ 133.107915] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 0.0.0 02/06/2015 [ 133.107915] Workqueue: btrfs-endio btrfs_endio_helper [btrfs] [ 133.107915] task: ffff8802361c5580 task.stack: ffff880236218000 [ 133.107915] RIP: 0010:[<ffffffffa02b5bec>] [<ffffffffa02b5bec>] btrfs_check_repairable+0xfc/0x100 [btrfs] [ 133.107915] RSP: 0018:ffff88023621bcc0 EFLAGS: 00010206 [ 133.107915] RAX: 0000000000000001 RBX: ffff8802292e24c0 RCX: 0000000000000000 [ 133.107915] RDX: 0000000000000002 RSI: 0000000000000000 RDI: ffff880236148f70 [ 133.107915] RBP: ffff88023621bcd8 R08: 0000001721c00000 R09: 0000001761c00000 [ 133.107915] R10: ffff88022932ecf0 R11: 000000003294a3c0 R12: 000000003294a3c0 [ 133.107915] R13: ffff88023294b828 R14: ffff88023294b828 R15: ffff8802327a2830 [ 133.107915] FS: 0000000000000000(0000) GS:ffff88023fd00000(0000) knlGS:0000000000000000 [ 133.107915] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 133.107915] CR2: 00007f739b2a1010 CR3: 0000000233397000 CR4: 00000000000406e0 [ 133.107915] Stack: [ 133.107915] ffffea0008a2b200 00000000000a2000 ffff88023294b8b0 ffff88023621bd90 [ 133.107915] ffffffffa02b612f 00000001801c0016 ffff88023621bd20 ffff8802361c5580 [ 133.107915] ffff8802361c5580 ffff88023294b7c0 ffff8802327a2680 0000000000000000 [ 133.107915] Call Trace: [ 133.107915] [<ffffffffa02b612f>] end_bio_extent_readpage+0x44f/0x5f0 [btrfs] [ 133.107915] [<ffffffff812c4f93>] bio_endio+0x53/0x60 [ 133.107915] [<ffffffffa0288a0c>] end_workqueue_fn+0x3c/0x40 [btrfs] [ 133.107915] [<ffffffffa02c837d>] btrfs_scrubparity_helper+0x7d/0x340 [btrfs] [ 133.107915] [<ffffffffa02c872e>] btrfs_endio_helper+0xe/0x10 [btrfs] [ 133.107915] [<ffffffff81095ef5>] process_one_work+0x1e5/0x470 [ 133.107915] [<ffffffff810961c8>] worker_thread+0x48/0x4e0 [ 133.107915] [<ffffffff81096180>] ? process_one_work+0x470/0x470 [ 133.107915] [<ffffffff8109be38>] kthread+0xd8/0xf0 [ 133.107915] [<ffffffff8102c782>] ? __switch_to+0x2d2/0x630 [ 133.107915] [<ffffffff815f7eff>] ret_from_fork+0x1f/0x40 [ 133.107915] [<ffffffff8109bd60>] ? kthread_worker_fn+0x170/0x170 [ 133.107915] Code: 25 89 4b 28 e9 7c ff ff ff 44 3b 63 28 75 1c c7 43 30 00 00 00 00 c7 43 28 00 00 00 00 b9 01 00 00 00 31 c0 eb d2 8d 48 02 eb d6 <0f> 0b 66 90 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 [ 133.107915] RIP [<ffffffffa02b5bec>] btrfs_check_repairable+0xfc/0x100 [btrfs] [ 133.107915] RSP <ffff88023621bcc0> [ 133.948564] ---[ end trace 6a5a7b58c27bde1f ]--- [ 133.948594] BUG: unable to handle kernel paging request at 00000000e3c8f6ef [ 133.948601] IP: [<ffffffff810bfd1b>] __wake_up_common+0x2b/0x80 [ 133.948604] PGD 22a005067 PUD 0 [ 133.948606] Oops: 0000 [#6] PREEMPT SMP [ 133.948645] Modules linked in: rpcsec_gss_krb5 auth_rpcgss oid_registry nfsv4 dns_resolver nfs lockd grace sunrpc fscache kvm_amd mousedev kvm irqbypass crct10dif_pclmul crc32_pclmul nls_iso8859_1 ghash_clmulni_intel nls_cp437 aesni_intel vfat snd_intel8x0 input_leds aes_x86_64 fat ppdev evdev snd_ac97_codec led_class ac97_bus lrw snd_pcm snd_timer gf128mul glue_helper ablk_helper acpi_cpufreq cryptd mac_hid snd psmouse pcspkr tpm_tis intel_agp parport_pc soundcore intel_gtt qemu_fw_cfg i2c_piix4 tpm_tis_core parport tpm button sch_fq_codel ip_tables x_tables btrfs xor raid6_pq virtio_gpu drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm sd_mod virtio_balloon virtio_console virtio_blk virtio_net ata_generic drm pata_acpi xhci_pci xhci_hcd ahci serio_raw virtio_pci atkbd libps2 libahci usbcore ata_piix virtio_ring libata scsi_mod usb_common virtio crc32c_intel i8042 serio floppy [ 133.948653] CPU: 2 PID: 72 Comm: kworker/u12:1 Tainted: G D 4.8.2-1-ARCH #1 [ 133.948654] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 0.0.0 02/06/2015 [ 133.948685] task: ffff88023449e3c0 task.stack: ffff880234530000 [ 133.948691] RIP: 0010:[<ffffffff810bfd1b>] [<ffffffff810bfd1b>] __wake_up_common+0x2b/0x80 [ 133.948693] RSP: 0018:ffff880234533e40 EFLAGS: 00010092 [ 133.948694] RAX: 0000000000000282 RBX: ffff880234533f10 RCX: 0000000000000000 [ 133.948696] RDX: 00000000e3c8f6ef RSI: 0000000000000003 RDI: ffff880234533f10 [ 133.948697] RBP: ffff880234533e78 R08: 0000000000000000 R09: 0000000000000024 [ 133.948699] R10: ffffffff81805200 R11: 000000000006fd28 R12: ffff880234533f18 [ 133.948700] R13: 0000000000000282 R14: 0000000000000000 R15: 0000000000000003 [ 133.948705] FS: 0000000000000000(0000) GS:ffff88023fc80000(0000) knlGS:0000000000000000 [ 133.948707] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 133.948708] CR2: 0000000000000028 CR3: 000000022ab61000 CR4: 00000000000406e0 [ 133.948713] Stack: [ 133.948717] 0000000100000088 0000000000000000 ffff880234533f10 ffff880234533f08 [ 133.948720] 0000000000000282 0000000000000000 0000000000000000 ffff880234533e88 [ 133.948724] ffffffff810bfdd3 ffff880234533eb0 ffffffff810c0827 ffff88023449ead0 [ 133.948724] Call Trace: [ 133.948730] [<ffffffff810bfdd3>] __wake_up_locked+0x13/0x20 [ 133.948733] [<ffffffff810c0827>] complete+0x37/0x50 [ 133.948737] [<ffffffff81079eef>] mm_release+0xbf/0x140 [ 133.948741] [<ffffffff81080bcf>] do_exit+0x7af/0xb50 [ 133.948745] [<ffffffff815f9497>] rewind_stack_do_exit+0x17/0x20 [ 133.948749] [<ffffffff8109bd60>] ? kthread_worker_fn+0x170/0x170 [ 133.948780] Code: 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 4c 8d 67 08 53 41 89 f7 48 83 ec 10 89 55 cc 48 8b 57 08 4c 89 45 d0 49 39 d4 <48> 8b 32 74 40 48 8d 42 e8 4c 8d 6e e8 41 89 ce 8b 18 48 8b 4d [ 133.948783] RIP [<ffffffff810bfd1b>] __wake_up_common+0x2b/0x80 [ 133.948784] RSP <ffff880234533e40> [ 133.948785] CR2: 00000000e3c8f6ef [ 133.948788] ---[ end trace 6a5a7b58c27bde20 ]--- [ 133.948789] Fixing recursive fault but reboot is needed! [ 133.948791] BUG: scheduling while atomic: kworker/u12:1/72/0x00000003 [ 133.948828] Modules linked in: rpcsec_gss_krb5 auth_rpcgss oid_registry nfsv4 dns_resolver nfs lockd grace sunrpc fscache kvm_amd mousedev kvm irqbypass crct10dif_pclmul crc32_pclmul nls_iso8859_1 ghash_clmulni_intel nls_cp437 aesni_intel vfat snd_intel8x0 input_leds aes_x86_64 fat ppdev evdev snd_ac97_codec led_class ac97_bus lrw snd_pcm snd_timer gf128mul glue_helper ablk_helper acpi_cpufreq cryptd mac_hid snd psmouse pcspkr tpm_tis intel_agp parport_pc soundcore intel_gtt qemu_fw_cfg i2c_piix4 tpm_tis_core parport tpm button sch_fq_codel ip_tables x_tables btrfs xor raid6_pq virtio_gpu drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm sd_mod virtio_balloon virtio_console virtio_blk virtio_net ata_generic drm pata_acpi xhci_pci xhci_hcd ahci serio_raw virtio_pci atkbd libps2 libahci usbcore ata_piix virtio_ring libata scsi_mod usb_common virtio crc32c_intel i8042 serio floppy [ 133.948837] CPU: 2 PID: 72 Comm: kworker/u12:1 Tainted: G D 4.8.2-1-ARCH #1 [ 133.948838] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 0.0.0 02/06/2015 [ 133.948857] 0000000000000086 00000000e3c8f6ef ffff880234533e50 ffffffff812fe280 [ 133.948861] ffff88023fc97f80 0000000000000009 ffff880234533e60 ffffffff810a3434 [ 133.948864] ffff880234533eb8 ffffffff815f3bc0 00ffffff811760fd ffff880200000008 [ 133.948865] Call Trace: [ 133.948886] [<ffffffff812fe280>] dump_stack+0x63/0x83 [ 133.948891] [<ffffffff810a3434>] __schedule_bug+0x54/0x70 [ 133.948894] [<ffffffff815f3bc0>] __schedule+0x600/0x780 [ 133.948896] [<ffffffff815f3d7c>] schedule+0x3c/0x90 [ 133.948900] [<ffffffff81080d59>] do_exit+0x939/0xb50 [ 133.948904] [<ffffffff815f9497>] rewind_stack_do_exit+0x17/0x20 [ 133.948908] [<ffffffff8109bd60>] ? kthread_worker_fn+0x170/0x170 [ 133.948920] BUG: unable to handle kernel paging request at ffffffffffffffd8 [ 133.948923] IP: [<ffffffff8109c370>] kthread_data+0x10/0x20 [ 133.948933] PGD 2809067 PUD 280b067 PMD 0 [ 133.948935] Oops: 0000 [#7] PREEMPT SMP [ 133.948973] Modules linked in: rpcsec_gss_krb5 auth_rpcgss oid_registry nfsv4 dns_resolver nfs lockd grace sunrpc fscache kvm_amd mousedev kvm irqbypass crct10dif_pclmul crc32_pclmul nls_iso8859_1 ghash_clmulni_intel nls_cp437 aesni_intel vfat snd_intel8x0 input_leds aes_x86_64 fat ppdev evdev snd_ac97_codec led_class ac97_bus lrw snd_pcm snd_timer gf128mul glue_helper ablk_helper acpi_cpufreq cryptd mac_hid snd psmouse pcspkr tpm_tis intel_agp parport_pc soundcore intel_gtt qemu_fw_cfg i2c_piix4 tpm_tis_core parport tpm button sch_fq_codel ip_tables x_tables btrfs xor raid6_pq virtio_gpu drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm sd_mod virtio_balloon virtio_console virtio_blk virtio_net ata_generic drm pata_acpi xhci_pci xhci_hcd ahci serio_raw virtio_pci atkbd libps2 libahci usbcore ata_piix virtio_ring libata scsi_mod usb_common virtio crc32c_intel i8042 serio floppy [ 133.948982] CPU: 2 PID: 72 Comm: kworker/u12:1 Tainted: G D W 4.8.2-1-ARCH #1 [ 133.948983] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 0.0.0 02/06/2015 [ 133.949000] task: ffff88023449e3c0 task.stack: ffff880234530000 [ 133.949004] RIP: 0010:[<ffffffff8109c370>] [<ffffffff8109c370>] kthread_data+0x10/0x20 [ 133.949005] RSP: 0018:ffff880234533e50 EFLAGS: 00010002 [ 133.949007] RAX: 0000000000000000 RBX: ffff88023fc97f80 RCX: 0000000000000002 [ 133.949008] RDX: ffff8802370050c0 RSI: ffff88023449e440 RDI: ffff88023449e3c0 [ 133.949009] RBP: ffff880234533e50 R08: 00000000ffffffff R09: 0000000000000000 [ 133.949011] R10: 0000000000000000 R11: 0000000000056400 R12: ffff88023449e980 [ 133.949012] R13: ffff88023fc97f80 R14: ffff88023449e3c0 R15: 0000000000017f80 [ 133.949018] FS: 0000000000000000(0000) GS:ffff88023fc80000(0000) knlGS:0000000000000000 [ 133.949019] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 133.949021] CR2: 0000000000000028 CR3: 000000022ab61000 CR4: 00000000000406e0 [ 133.949025] Stack: [ 133.949029] ffff880234533e60 ffffffff81096aae ffff880234533eb8 ffffffff815f3ae7 [ 133.949032] 00ffffff811760fd ffff880200000008 ffff88023449e3c0 ffff880234533e98 [ 133.949036] ffff880234534000 0000000000000009 ffff880234533d98 00000000e3c8f6ef [ 133.949037] Call Trace: [ 133.949041] [<ffffffff81096aae>] wq_worker_sleeping+0xe/0x80 [ 133.949044] [<ffffffff815f3ae7>] __schedule+0x527/0x780 [ 133.949047] [<ffffffff815f3d7c>] schedule+0x3c/0x90 [ 133.949050] [<ffffffff81080d59>] do_exit+0x939/0xb50 [ 133.949054] [<ffffffff815f9497>] rewind_stack_do_exit+0x17/0x20 [ 133.949057] [<ffffffff8109bd60>] ? kthread_worker_fn+0x170/0x170 [ 133.949089] Code: 89 df e8 e4 d5 fd ff e9 3c ff ff ff 0f 1f 44 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 8b 87 60 05 00 00 55 48 89 e5 <48> 8b 40 d8 5d c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 [ 133.949092] RIP [<ffffffff8109c370>] kthread_data+0x10/0x20 [ 133.949093] RSP <ffff880234533e50> [ 133.949095] CR2: ffffffffffffffd8 [ 133.949096] ---[ end trace 6a5a7b58c27bde21 ]--- [ 133.949097] Fixing recursive fault but reboot is needed! [ 133.949099] BUG: scheduling while atomic: kworker/u12:1/72/0x00000003 [ 133.949145] Modules linked in: rpcsec_gss_krb5 auth_rpcgss oid_registry nfsv4 dns_resolver nfs lockd grace sunrpc fscache kvm_amd mousedev kvm irqbypass crct10dif_pclmul crc32_pclmul nls_iso8859_1 ghash_clmulni_intel nls_cp437 aesni_intel vfat snd_intel8x0 input_leds aes_x86_64 fat ppdev evdev snd_ac97_codec led_class ac97_bus lrw snd_pcm snd_timer gf128mul glue_helper ablk_helper acpi_cpufreq cryptd mac_hid snd psmouse pcspkr tpm_tis intel_agp parport_pc soundcore intel_gtt qemu_fw_cfg i2c_piix4 tpm_tis_core parport tpm button sch_fq_codel ip_tables x_tables btrfs xor raid6_pq virtio_gpu drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm sd_mod virtio_balloon virtio_console virtio_blk virtio_net ata_generic drm pata_acpi xhci_pci xhci_hcd ahci serio_raw virtio_pci atkbd libps2 libahci usbcore ata_piix virtio_ring libata scsi_mod usb_common virtio crc32c_intel i8042 serio floppy [ 133.949154] CPU: 2 PID: 72 Comm: kworker/u12:1 Tainted: G D W 4.8.2-1-ARCH #1 [ 133.949155] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 0.0.0 02/06/2015 [ 133.949174] 0000000000000086 00000000e3c8f6ef ffff880234533e50 ffffffff812fe280 [ 133.949177] ffff88023fc97f80 0000000000000009 ffff880234533e60 ffffffff810a3434 [ 133.949180] ffff880234533eb8 ffffffff815f3bc0 00ffffff811760fd ffff880200000008 [ 133.949181] Call Trace: [ 133.949185] [<ffffffff812fe280>] dump_stack+0x63/0x83 [ 133.949189] [<ffffffff810a3434>] __schedule_bug+0x54/0x70 [ 133.949191] [<ffffffff815f3bc0>] __schedule+0x600/0x780 [ 133.949194] [<ffffffff815f3d7c>] schedule+0x3c/0x90 [ 133.949197] [<ffffffff81080d59>] do_exit+0x939/0xb50 [ 133.949201] [<ffffffff815f9497>] rewind_stack_do_exit+0x17/0x20 [ 133.949204] [<ffffffff8109bd60>] ? kthread_worker_fn+0x170/0x170 [ 133.098411] BUG: unable to handle kernel paging request at 00000000c6d63b2c [ 133.098411] IP: [<ffffffff810bfd1b>] __wake_up_common+0x2b/0x80 [ 133.098411] PGD 0 [ 133.098411] Oops: 0000 [#8] PREEMPT SMP [ 133.098411] Modules linked in: rpcsec_gss_krb5 auth_rpcgss oid_registry nfsv4 dns_resolver nfs lockd grace sunrpc fscache kvm_amd mousedev kvm irqbypass crct10dif_pclmul crc32_pclmul nls_iso8859_1 ghash_clmulni_intel nls_cp437 aesni_intel vfat snd_intel8x0 input_leds aes_x86_64 fat ppdev evdev snd_ac97_codec led_class ac97_bus lrw snd_pcm snd_timer gf128mul glue_helper ablk_helper acpi_cpufreq cryptd mac_hid snd psmouse pcspkr tpm_tis intel_agp parport_pc soundcore intel_gtt qemu_fw_cfg i2c_piix4 tpm_tis_core parport tpm button sch_fq_codel ip_tables x_tables btrfs xor raid6_pq virtio_gpu drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm sd_mod virtio_balloon virtio_console virtio_blk virtio_net ata_generic drm pata_acpi xhci_pci xhci_hcd ahci serio_raw virtio_pci atkbd libps2 libahci usbcore ata_piix virtio_ring libata scsi_mod usb_common virtio crc32c_intel i8042 serio floppy [ 133.098411] CPU: 5 PID: 142 Comm: kworker/u12:4 Tainted: G D W 4.8.2-1-ARCH #1 [ 133.098411] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 0.0.0 02/06/2015 [ 133.098411] task: ffff880233f1aac0 task.stack: ffff880233f24000 [ 133.098411] RIP: 0010:[<ffffffff810bfd1b>] [<ffffffff810bfd1b>] __wake_up_common+0x2b/0x80 [ 133.098411] RSP: 0018:ffff880233f27e40 EFLAGS: 00010092 [ 133.098411] RAX: 0000000000000282 RBX: ffff880233f27f10 RCX: 0000000000000000 [ 133.098411] RDX: 00000000c6d63b2c RSI: 0000000000000003 RDI: ffff880233f27f10 [ 133.098411] RBP: ffff880233f27e78 R08: 0000000000000000 R09: 0000000000000024 [ 133.098411] R10: ffffffff81805200 R11: 000000000007271c R12: ffff880233f27f18 [ 133.098411] R13: 0000000000000282 R14: 0000000000000000 R15: 0000000000000003 [ 133.098411] FS: 0000000000000000(0000) GS:ffff88023fd40000(0000) knlGS:0000000000000000 [ 133.098411] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 133.098411] CR2: 0000000000000028 CR3: 0000000234a12000 CR4: 00000000000406e0 [ 133.098411] Stack: [ 133.098411] 0000000100000088 0000000000000000 ffff880233f27f10 ffff880233f27f08 [ 133.098411] 0000000000000282 0000000000000000 0000000000000000 ffff880233f27e88 [ 133.098411] ffffffff810bfdd3 ffff880233f27eb0 ffffffff810c0827 ffff880233f1b1d0 [ 133.098411] Call Trace: [ 133.098411] [<ffffffff810bfdd3>] __wake_up_locked+0x13/0x20 [ 133.098411] [<ffffffff810c0827>] complete+0x37/0x50 [ 133.098411] [<ffffffff81079eef>] mm_release+0xbf/0x140 [ 133.098411] [<ffffffff81080bcf>] do_exit+0x7af/0xb50 [ 133.098411] [<ffffffff815f9497>] rewind_stack_do_exit+0x17/0x20 [ 133.098411] [<ffffffff8109bd60>] ? kthread_worker_fn+0x170/0x170 [ 133.098411] Code: 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 4c 8d 67 08 53 41 89 f7 48 83 ec 10 89 55 cc 48 8b 57 08 4c 89 45 d0 49 39 d4 <48> 8b 32 74 40 48 8d 42 e8 4c 8d 6e e8 41 89 ce 8b 18 48 8b 4d [ 133.098411] RIP [<ffffffff810bfd1b>] __wake_up_common+0x2b/0x80 [ 133.098411] RSP <ffff880233f27e40> [ 133.098411] CR2: 00000000c6d63b2c [ 133.098411] ---[ end trace 6a5a7b58c27bde22 ]--- [ 133.098411] Fixing recursive fault but reboot is needed! [ 133.098411] BUG: scheduling while atomic: kworker/u12:4/142/0x00000003 [ 133.098411] Modules linked in: rpcsec_gss_krb5 auth_rpcgss oid_registry nfsv4 dns_resolver nfs lockd grace sunrpc fscache kvm_amd mousedev kvm irqbypass crct10dif_pclmul crc32_pclmul nls_iso8859_1 ghash_clmulni_intel nls_cp437 aesni_intel vfat snd_intel8x0 input_leds aes_x86_64 fat ppdev evdev snd_ac97_codec led_class ac97_bus lrw snd_pcm snd_timer gf128mul glue_helper ablk_helper acpi_cpufreq cryptd mac_hid snd psmouse pcspkr tpm_tis intel_agp parport_pc soundcore intel_gtt qemu_fw_cfg i2c_piix4 tpm_tis_core parport tpm button sch_fq_codel ip_tables x_tables btrfs xor raid6_pq virtio_gpu drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm sd_mod virtio_balloon virtio_console virtio_blk virtio_net ata_generic drm pata_acpi xhci_pci xhci_hcd ahci serio_raw virtio_pci atkbd libps2 libahci usbcore ata_piix virtio_ring libata scsi_mod usb_common virtio crc32c_intel i8042 serio floppy [ 133.098411] CPU: 5 PID: 142 Comm: kworker/u12:4 Tainted: G D W 4.8.2-1-ARCH #1 [ 133.098411] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 0.0.0 02/06/2015 [ 133.098411] 0000000000000086 00000000c6d63b2c ffff880233f27e50 ffffffff812fe280 [ 133.098411] ffff88023fd57f80 0000000000000009 ffff880233f27e60 ffffffff810a3434 [ 133.098411] ffff880233f27eb8 ffffffff815f3bc0 00ffffff811760fd ffff880200000008 [ 133.098411] Call Trace: [ 133.098411] [<ffffffff812fe280>] dump_stack+0x63/0x83 [ 133.098411] [<ffffffff810a3434>] __schedule_bug+0x54/0x70 [ 133.098411] [<ffffffff815f3bc0>] __schedule+0x600/0x780 [ 133.098411] [<ffffffff815f3d7c>] schedule+0x3c/0x90 [ 133.098411] [<ffffffff81080d59>] do_exit+0x939/0xb50 [ 133.098411] [<ffffffff815f9497>] rewind_stack_do_exit+0x17/0x20 [ 133.098411] [<ffffffff8109bd60>] ? kthread_worker_fn+0x170/0x170 [ 133.098411] BUG: unable to handle kernel paging request at ffffffffffffffd8 [ 133.098411] IP: [<ffffffff8109c370>] kthread_data+0x10/0x20 [ 133.098411] PGD 2809067 PUD 280b067 PMD 0 [ 133.098411] Oops: 0000 [#9] PREEMPT SMP [ 133.098411] Modules linked in: rpcsec_gss_krb5 auth_rpcgss oid_registry nfsv4 dns_resolver nfs lockd grace sunrpc fscache kvm_amd mousedev kvm irqbypass crct10dif_pclmul crc32_pclmul nls_iso8859_1 ghash_clmulni_intel nls_cp437 aesni_intel vfat snd_intel8x0 input_leds aes_x86_64 fat ppdev evdev snd_ac97_codec led_class ac97_bus lrw snd_pcm snd_timer gf128mul glue_helper ablk_helper acpi_cpufreq cryptd mac_hid snd psmouse pcspkr tpm_tis intel_agp parport_pc soundcore intel_gtt qemu_fw_cfg i2c_piix4 tpm_tis_core parport tpm button sch_fq_codel ip_tables x_tables btrfs xor raid6_pq virtio_gpu drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm sd_mod virtio_balloon virtio_console virtio_blk virtio_net ata_generic drm pata_acpi xhci_pci xhci_hcd ahci serio_raw virtio_pci atkbd libps2 libahci usbcore ata_piix virtio_ring libata scsi_mod usb_common virtio crc32c_intel i8042 serio floppy [ 133.098411] CPU: 5 PID: 142 Comm: kworker/u12:4 Tainted: G D W 4.8.2-1-ARCH #1 [ 133.098411] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 0.0.0 02/06/2015 [ 133.098411] task: ffff880233f1aac0 task.stack: ffff880233f24000 [ 133.098411] RIP: 0010:[<ffffffff8109c370>] [<ffffffff8109c370>] kthread_data+0x10/0x20 [ 133.098411] RSP: 0018:ffff880233f27e50 EFLAGS: 00010002 [ 133.098411] RAX: 0000000000000000 RBX: ffff88023fd57f80 RCX: 0000000000000005 [ 133.098411] RDX: ffff8802370050c0 RSI: ffff880233f1ab40 RDI: ffff880233f1aac0 [ 133.098411] RBP: ffff880233f27e50 R08: 00000000ffffffff R09: 0000000000000000 [ 133.098411] R10: 0000000000000000 R11: 0000000000000000 R12: ffff880233f1b080 [ 133.098411] R13: ffff88023fd57f80 R14: ffff880233f1aac0 R15: 0000000000017f80 [ 133.098411] FS: 0000000000000000(0000) GS:ffff88023fd40000(0000) knlGS:0000000000000000 [ 133.098411] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 133.098411] CR2: 0000000000000028 CR3: 0000000234a12000 CR4: 00000000000406e0 [ 133.098411] Stack: [ 133.098411] ffff880233f27e60 ffffffff81096aae ffff880233f27eb8 ffffffff815f3ae7 [ 133.098411] 00ffffff811760fd ffff880200000008 ffff880233f1aac0 ffff880233f27e98 [ 133.098411] ffff880233f28000 0000000000000009 ffff880233f27d98 00000000c6d63b2c [ 133.098411] Call Trace: [ 133.098411] [<ffffffff81096aae>] wq_worker_sleeping+0xe/0x80 [ 133.098411] [<ffffffff815f3ae7>] __schedule+0x527/0x780 [ 133.098411] [<ffffffff815f3d7c>] schedule+0x3c/0x90 [ 133.098411] [<ffffffff81080d59>] do_exit+0x939/0xb50 [ 133.098411] [<ffffffff815f9497>] rewind_stack_do_exit+0x17/0x20 [ 133.098411] [<ffffffff8109bd60>] ? kthread_worker_fn+0x170/0x170 [ 133.098411] Code: 89 df e8 e4 d5 fd ff e9 3c ff ff ff 0f 1f 44 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 8b 87 60 05 00 00 55 48 89 e5 <48> 8b 40 d8 5d c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 [ 133.098411] RIP [<ffffffff8109c370>] kthread_data+0x10/0x20 [ 133.098411] RSP <ffff880233f27e50> [ 133.098411] CR2: ffffffffffffffd8 [ 133.098411] ---[ end trace 6a5a7b58c27bde23 ]--- [ 133.098411] Fixing recursive fault but reboot is needed! [ 133.098411] BUG: scheduling while atomic: kworker/u12:4/142/0x00000003 [ 133.098411] Modules linked in: rpcsec_gss_krb5 auth_rpcgss oid_registry nfsv4 dns_resolver nfs lockd grace sunrpc fscache kvm_amd mousedev kvm irqbypass crct10dif_pclmul crc32_pclmul nls_iso8859_1 ghash_clmulni_intel nls_cp437 aesni_intel vfat snd_intel8x0 input_leds aes_x86_64 fat ppdev evdev snd_ac97_codec led_class ac97_bus lrw snd_pcm snd_timer gf128mul glue_helper ablk_helper acpi_cpufreq cryptd mac_hid snd psmouse pcspkr tpm_tis intel_agp parport_pc soundcore intel_gtt qemu_fw_cfg i2c_piix4 tpm_tis_core parport tpm button sch_fq_codel ip_tables x_tables btrfs xor raid6_pq virtio_gpu drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm sd_mod virtio_balloon virtio_console virtio_blk virtio_net ata_generic drm pata_acpi xhci_pci xhci_hcd ahci serio_raw virtio_pci atkbd libps2 libahci usbcore ata_piix virtio_ring libata scsi_mod usb_common virtio crc32c_intel i8042 serio floppy [ 133.098411] CPU: 5 PID: 142 Comm: kworker/u12:4 Tainted: G D W 4.8.2-1-ARCH #1 [ 133.098411] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 0.0.0 02/06/2015 [ 133.098411] 0000000000000086 00000000c6d63b2c ffff880233f27e50 ffffffff812fe280 [ 133.098411] ffff88023fd57f80 0000000000000009 ffff880233f27e60 ffffffff810a3434 [ 133.098411] ffff880233f27eb8 ffffffff815f3bc0 00ffffff811760fd ffff880200000008 [ 133.098411] Call Trace: [ 133.098411] [<ffffffff812fe280>] dump_stack+0x63/0x83 [ 133.098411] [<ffffffff810a3434>] __schedule_bug+0x54/0x70 [ 133.098411] [<ffffffff815f3bc0>] __schedule+0x600/0x780 [ 133.098411] [<ffffffff815f3d7c>] schedule+0x3c/0x90 [ 133.098411] [<ffffffff81080d59>] do_exit+0x939/0xb50 [ 133.098411] [<ffffffff815f9497>] rewind_stack_do_exit+0x17/0x20 [ 133.098411] [<ffffffff8109bd60>] ? kthread_worker_fn+0x170/0x170 [ 133.954423] ---[ end trace 6a5a7b58c27bde24 ]--- [ 133.954450] BUG: unable to handle kernel paging request at 000000008ee59acd [ 133.954457] IP: [<ffffffff810bfd1b>] __wake_up_common+0x2b/0x80 [ 133.954460] PGD 0 [ 133.954463] Oops: 0000 [#10] PREEMPT SMP [ 133.954520] Modules linked in: rpcsec_gss_krb5 auth_rpcgss oid_registry nfsv4 dns_resolver nfs lockd grace sunrpc fscache kvm_amd mousedev kvm irqbypass crct10dif_pclmul crc32_pclmul nls_iso8859_1 ghash_clmulni_intel nls_cp437 aesni_intel vfat snd_intel8x0 input_leds aes_x86_64 fat ppdev evdev snd_ac97_codec led_class ac97_bus lrw snd_pcm snd_timer gf128mul glue_helper ablk_helper acpi_cpufreq cryptd mac_hid snd psmouse pcspkr tpm_tis intel_agp parport_pc soundcore intel_gtt qemu_fw_cfg i2c_piix4 tpm_tis_core parport tpm button sch_fq_codel ip_tables x_tables btrfs xor raid6_pq virtio_gpu drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm sd_mod virtio_balloon virtio_console virtio_blk virtio_net ata_generic drm pata_acpi xhci_pci xhci_hcd ahci serio_raw virtio_pci atkbd libps2 libahci usbcore ata_piix virtio_ring libata scsi_mod usb_common virtio crc32c_intel i8042 serio floppy [ 133.954531] CPU: 4 PID: 6 Comm: kworker/u12:0 Tainted: G D W 4.8.2-1-ARCH #1 [ 133.954533] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 0.0.0 02/06/2015 [ 133.954551] task: ffff8802361c5580 task.stack: ffff880236218000 [ 133.954556] RIP: 0010:[<ffffffff810bfd1b>] [<ffffffff810bfd1b>] __wake_up_common+0x2b/0x80 [ 133.954558] RSP: 0018:ffff88023621be40 EFLAGS: 00010096 [ 133.954560] RAX: 0000000000000282 RBX: ffff88023621bf10 RCX: 0000000000000000 [ 133.954562] RDX: 000000008ee59acd RSI: 0000000000000003 RDI: ffff88023621bf10 [ 133.954564] RBP: ffff88023621be78 R08: 0000000000000000 R09: 0000000000000024 [ 133.954565] R10: ffffffff81805200 R11: 000000000006aa28 R12: ffff88023621bf18 [ 133.954567] R13: 0000000000000282 R14: 0000000000000000 R15: 0000000000000003 [ 133.954572] FS: 0000000000000000(0000) GS:ffff88023fd00000(0000) knlGS:0000000000000000 [ 133.954573] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 133.954575] CR2: 0000000000000028 CR3: 0000000233397000 CR4: 00000000000406e0 [ 133.954580] Stack: [ 133.954585] 0000000100000088 0000000000000000 ffff88023621bf10 ffff88023621bf08 [ 133.954589] 0000000000000282 0000000000000000 0000000000000000 ffff88023621be88 [ 133.954593] ffffffff810bfdd3 ffff88023621beb0 ffffffff810c0827 ffff8802361c5c90 [ 133.954594] Call Trace: [ 133.954600] [<ffffffff810bfdd3>] __wake_up_locked+0x13/0x20 [ 133.954603] [<ffffffff810c0827>] complete+0x37/0x50 [ 133.954606] [<ffffffff81079eef>] mm_release+0xbf/0x140 [ 133.954610] [<ffffffff81080bcf>] do_exit+0x7af/0xb50 [ 133.954615] [<ffffffff815f9497>] rewind_stack_do_exit+0x17/0x20 [ 133.954619] [<ffffffff8109bd60>] ? kthread_worker_fn+0x170/0x170 [ 133.954701] Code: 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 4c 8d 67 08 53 41 89 f7 48 83 ec 10 89 55 cc 48 8b 57 08 4c 89 45 d0 49 39 d4 <48> 8b 32 74 40 48 8d 42 e8 4c 8d 6e e8 41 89 ce 8b 18 48 8b 4d [ 133.954705] RIP [<ffffffff810bfd1b>] __wake_up_common+0x2b/0x80 [ 133.954706] RSP <ffff88023621be40> [ 133.954707] CR2: 000000008ee59acd [ 133.954710] ---[ end trace 6a5a7b58c27bde25 ]--- Label: 'RAID1' uuid: 247e6249-6de1-45cb-9dd0-fa8a654234bf Total devices 2 FS bytes used 360.15GiB devid 1 size 2.73TiB used 363.03GiB path /dev/vdb devid 2 size 2.73TiB used 363.03GiB path /dev/vda Overall: Device size: 5.46TiB Device allocated: 726.06GiB Device unallocated: 4.75TiB Device missing: 0.00B Used: 720.30GiB Free (estimated): 2.38TiB (min: 2.38TiB) Data ratio: 2.00 Metadata ratio: 2.00 Global reserve: 512.00MiB (used: 0.00B) Data,RAID1: Size:360.00GiB, Used:358.52GiB /dev/vda 360.00GiB /dev/vdb 360.00GiB Metadata,RAID1: Size:3.00GiB, Used:1.63GiB /dev/vda 3.00GiB /dev/vdb 3.00GiB System,RAID1: Size:32.00MiB, Used:80.00KiB /dev/vda 32.00MiB /dev/vdb 32.00MiB Unallocated: /dev/vda 2.37TiB /dev/vdb 2.37TiB Data, RAID1: total=360.00GiB, used=358.52GiB System, RAID1: total=32.00MiB, used=80.00KiB Metadata, RAID1: total=3.00GiB, used=1.63GiB GlobalReserve, single: total=512.00MiB, used=0.00B ^ permalink raw reply [flat|nested] 7+ messages in thread
* [BUG] kernel BUG at fs/btrfs/extent_io.c:2062 (v4.2.0-rc8) @ 2015-08-31 18:14 Dāvis Mosāns 2015-09-01 0:08 ` Dāvis Mosāns 0 siblings, 1 reply; 7+ messages in thread From: Dāvis Mosāns @ 2015-08-31 18:14 UTC (permalink / raw) To: linux-btrfs I'm getting kernel crash and complete system lockup when trying to access journal on two disk btrfs filesystem with data/metadata as RAID1. I can't get proper log because whole system hangs and even kdump fails, seems it doesn't start or I'm doing something wrong. Also because there are several call traces and they all get printed on screen within few seconds I can get photos only on few last ones. But I managed to get some low-quality blurry photos with 80 FPS recording. So from them I saw kernel BUG at fs/btrfs/extent_io.c:2062 extent_io.c@2062.png => http://i.imgur.com/uuxOGIR.png kernel BUG at fs/btrfs/extent_io.c:2140 extent_io.c@2140.png => http://i.imgur.com/j5xrt7w.png kernel BUG at fs/btrfs/extent_io.c:2338 extent_io.c@2338_0.png => http://i.imgur.com/EosplAu.png extent_io.c@2338_1.png => http://i.imgur.com/rsE9qNT.png kernel BUG at fs/btrfs/volumes.c:5399 volumes.c@5399_0.png => http://i.imgur.com/iV9zqAv.png volumes.c@5399_1.png => http://i.imgur.com/VCyr07R.png And better photos BUG: scheduling while atomic: kworker/u16 scheduling_while_atomic_0.jpg => http://i.imgur.com/asHjcM9.jpg scheduling_while_atomic_1.jpg => http://i.imgur.com/OJSFDUx.jpg scheduling_while_atomic_2.jpg => http://i.imgur.com/0nHQin8.jpg scheduling_while_atomic_3.jpg => http://i.imgur.com/ZmzOh7f.jpg Watchdog detected hard LOCKUP on cpu watchdog_detected_hard_LOCKUP_0.jpg => http://i.imgur.com/6W4FlfI.jpg watchdog_detected_hard_LOCKUP_1.jpg => http://i.imgur.com/WxxGozJ.jpg watchdog_detected_hard_LOCKUP_2.jpg => http://i.imgur.com/0Mmifwf.jpg BUG: unable to handle kernel paging request unable_to_handle_kernel_paging_request.jpg => http://i.imgur.com/4Sz4v96.jpg BUG: unable to handle kernel unable_to_handle_kernel.jpg => http://i.imgur.com/T0x7K4a.jpg Weird is that it crashes only sometimes and when reading all files then it doesn't crash, but only when try to open journal with journalctl. Also btrfs scrub and balance finishes without any errors. Even btrfs check and check --repair completed successfully without finding anything to repair. Also this crash happened on v4.1.6 too and now I'll recompile v4.2 as it got released. I'm getting this crash since I decided to test how well Linux handles one disk loss on btrfs RAID1 (I just pulled one disk out), it kept working but there were some call traces and when I plugged it back in then btrfs failed to write to it and after few mins system froze but before that SMART test passed on that disk. Then I rebooted and ran scrub which fixed errors on that disk. Next I was trying to test other disk and for it executed echo 1 > /sys/block/sdf/device/delete which caused immediate system hang. And now this filesystem crashes kernel when I try to view journal. I think RAID1 should handle well such cases when one disk disappears or is corrupted but currently it doesn't work and crashes whole system. PS. this is a resend without attachments. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [BUG] kernel BUG at fs/btrfs/extent_io.c:2062 (v4.2.0-rc8) 2015-08-31 18:14 Dāvis Mosāns @ 2015-09-01 0:08 ` Dāvis Mosāns 2015-09-24 13:37 ` Dāvis Mosāns 0 siblings, 1 reply; 7+ messages in thread From: Dāvis Mosāns @ 2015-09-01 0:08 UTC (permalink / raw) To: linux-btrfs 2015-08-31 18:14 GMT+00:00 Dāvis Mosāns <davispuh@gmail.com>: > I'm getting kernel crash and complete system lockup when trying to access > journal on two disk btrfs filesystem with data/metadata as RAID1. > > I can't get proper log because whole system hangs and even kdump fails, > seems it doesn't start or I'm doing something wrong. > > Also because there are several call traces and they all get printed on > screen within few seconds I can get photos only on few last ones. > But I managed to get some low-quality blurry photos with 80 FPS > recording. > > So from them I saw > > kernel BUG at fs/btrfs/extent_io.c:2062 > extent_io.c@2062.png => http://i.imgur.com/uuxOGIR.png > > kernel BUG at fs/btrfs/extent_io.c:2140 > extent_io.c@2140.png => http://i.imgur.com/j5xrt7w.png > > kernel BUG at fs/btrfs/extent_io.c:2338 > extent_io.c@2338_0.png => http://i.imgur.com/EosplAu.png > extent_io.c@2338_1.png => http://i.imgur.com/rsE9qNT.png > > kernel BUG at fs/btrfs/volumes.c:5399 > volumes.c@5399_0.png => http://i.imgur.com/iV9zqAv.png > volumes.c@5399_1.png => http://i.imgur.com/VCyr07R.png > > > And better photos > > BUG: scheduling while atomic: kworker/u16 > scheduling_while_atomic_0.jpg => http://i.imgur.com/asHjcM9.jpg > scheduling_while_atomic_1.jpg => http://i.imgur.com/OJSFDUx.jpg > scheduling_while_atomic_2.jpg => http://i.imgur.com/0nHQin8.jpg > scheduling_while_atomic_3.jpg => http://i.imgur.com/ZmzOh7f.jpg > > Watchdog detected hard LOCKUP on cpu > watchdog_detected_hard_LOCKUP_0.jpg => http://i.imgur.com/6W4FlfI.jpg > watchdog_detected_hard_LOCKUP_1.jpg => http://i.imgur.com/WxxGozJ.jpg > watchdog_detected_hard_LOCKUP_2.jpg => http://i.imgur.com/0Mmifwf.jpg > > BUG: unable to handle kernel paging request > unable_to_handle_kernel_paging_request.jpg => http://i.imgur.com/4Sz4v96.jpg > > BUG: unable to handle kernel > unable_to_handle_kernel.jpg => http://i.imgur.com/T0x7K4a.jpg > > > Weird is that it crashes only sometimes and when reading all files then > it doesn't crash, but only when try to open journal with journalctl. > Also btrfs scrub and balance finishes without any errors. > Even btrfs check and check --repair completed successfully without > finding anything to repair. Also this crash happened on v4.1.6 too and > now I'll recompile v4.2 as it got released. > > > I'm getting this crash since I decided to test how well Linux handles > one disk loss on btrfs RAID1 (I just pulled one disk out), it kept > working but there were some call traces and when I plugged it back > in then btrfs failed to write to it and after few mins system froze but > before that SMART test passed on that disk. > Then I rebooted and ran scrub which fixed errors on that disk. > Next I was trying to test other disk and for it executed > echo 1 > /sys/block/sdf/device/delete > which caused immediate system hang. > And now this filesystem crashes kernel when I try to view journal. > I think RAID1 should handle well such cases when one disk > disappears or is corrupted but currently it doesn't work and > crashes whole system. > I found that file which is causing kernel crash and most of time it gives I/O error /var/log/journal/873a5f55f2aa4b33b2568baca40e6a91/system@00051e80d8810e86-e5a1ec29d9167e9f.journal~: Input/output error but sometimes it causes instant system freeze cat system@00051e80d8810e86-e5a1ec29d9167e9f.journal~ > /dev/null <system freeze> There's nothing in kernel logs when freeze happens. Also any user who can read that file can cause kernel crash, nice DoS Here's a btrfs-image from that filesystems /dev/sdb https://drive.google.com/file/d/0B82_Tz1_6URAQmV5LTZHUmR4YXM/view?usp=sharing sha256sum 88fb561b4a581319ae18c1f27b6ac108e9c08ff80954e192cb3201cc5d4c19ff raid1_sdb.img size 142M only difference for btrfs-image between disks image from /dev/sdb => image from /dev/sdf 0x00000400 2fc3d988 => 8c421133 0x000004c9 02 => 01 0x0000050b 7ed7472cd5d44f5e842ede789208dfd9 => 3ceab04840a3412da65cab36dba5c17e mount options rw,noatime,compress=lzo,space_cache,autodefrag and features * big_metadata * compress_lzo * default_subvol * extended_iref * mixed_backref * no_holes * skinny_metadata $ btrfs filesystem show Label: 'RAID' uuid: 247e6249-6de1-45cb-9dd0-fa8a654234bf Total devices 2 FS bytes used 16.38GiB devid 1 size 2.73TiB used 18.03GiB path /dev/sdb devid 2 size 2.73TiB used 18.03GiB path /dev/sdf $ btrfs filesystem usage Overall: Device size: 5.46TiB Device allocated: 36.06GiB Device unallocated: 5.42TiB Device missing: 0.00B Used: 32.75GiB Free (estimated): 2.71TiB (min: 2.71TiB) Data ratio: 2.00 Metadata ratio: 2.00 Global reserve: 48.00MiB (used: 0.00B) Data,RAID1: Size:17.00GiB, Used:16.24GiB /dev/sdb 17.00GiB /dev/sdf 17.00GiB Metadata,RAID1: Size:1.00GiB, Used:136.64MiB /dev/sdb 1.00GiB /dev/sdf 1.00GiB System,RAID1: Size:32.00MiB, Used:16.00KiB /dev/sdb 32.00MiB /dev/sdf 32.00MiB Unallocated: /dev/sdb 2.71TiB /dev/sdf 2.71TiB $ btrfs scrub start -B -d -R /dev/sdb scrub device /dev/sdb (id 1) done scrub started at Mon Aug 31 20:58:45 2015 and finished after 00:01:29 data_extents_scrubbed: 359177 tree_extents_scrubbed: 8746 data_bytes_scrubbed: 17442004992 tree_bytes_scrubbed: 143294464 read_errors: 0 csum_errors: 0 verify_errors: 0 no_csum: 42403 csum_discards: 100132 super_errors: 0 malloc_errors: 0 uncorrectable_errors: 0 unverified_errors: 0 corrected_errors: 0 last_physical: 21504196608 $ btrfs scrub start -B -d -R /dev/sdf scrub device /dev/sdf (id 2) done scrub started at Mon Aug 31 21:18:33 2015 and finished after 00:01:31 data_extents_scrubbed: 359177 tree_extents_scrubbed: 8746 data_bytes_scrubbed: 17442004992 tree_bytes_scrubbed: 143294464 read_errors: 0 csum_errors: 0 verify_errors: 0 no_csum: 42403 csum_discards: 100132 super_errors: 0 malloc_errors: 0 uncorrectable_errors: 0 unverified_errors: 0 corrected_errors: 0 last_physical: 21484273664 $ btrfs balance start -v Dumping filters: flags 0x7, state 0x0, force is off DATA (flags 0x0): balancing METADATA (flags 0x0): balancing SYSTEM (flags 0x0): balancing Done, had to relocate 19 out of 19 chunks $ btrfs check --repair --check-data-csum /dev/sdb enabling repair mode Checking filesystem on /dev/sdb UUID: 247e6249-6de1-45cb-9dd0-fa8a654234bf checking extents Fixed 0 roots. checking free space cache cache and super generation don't match, space cache will be invalidated checking fs roots checking csums checking root refs found 17581105170 bytes used err is 0 total csum bytes: 16863596 total tree bytes: 143294464 total fs tree bytes: 111984640 total extent tree bytes: 12009472 btree space waste bytes: 25424343 file data blocks allocated: 17710305280 referenced 20970795008 btrfs-progs v4.1.2 $ btrfs check --repair --check-data-csum /dev/sdf enabling repair mode Checking filesystem on /dev/sdf UUID: 247e6249-6de1-45cb-9dd0-fa8a654234bf checking extents Fixed 0 roots. checking free space cache cache and super generation don't match, space cache will be invalidated checking fs roots checking csums checking root refs found 17581105170 bytes used err is 0 total csum bytes: 16863596 total tree bytes: 143294464 total fs tree bytes: 111984640 total extent tree bytes: 12009472 btree space waste bytes: 25424343 file data blocks allocated: 17710305280 referenced 20970795008 btrfs-progs v4.1.2 Seems btrfs-progs think everything is fine with filesystem even if some files give I/O error or crash kernel on RAID1 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [BUG] kernel BUG at fs/btrfs/extent_io.c:2062 (v4.2.0-rc8) 2015-09-01 0:08 ` Dāvis Mosāns @ 2015-09-24 13:37 ` Dāvis Mosāns 0 siblings, 0 replies; 7+ messages in thread From: Dāvis Mosāns @ 2015-09-24 13:37 UTC (permalink / raw) To: Btrfs BTRFS 2015-09-01 3:08 GMT+03:00 Dāvis Mosāns <davispuh@gmail.com>: > > Here's a btrfs-image from that filesystems /dev/sdb > https://drive.google.com/file/d/0B82_Tz1_6URAQmV5LTZHUmR4YXM/view?usp=sharing > sha256sum > 88fb561b4a581319ae18c1f27b6ac108e9c08ff80954e192cb3201cc5d4c19ff raid1_sdb.img > size 142M > > only difference for btrfs-image between disks > image from /dev/sdb => image from /dev/sdf > 0x00000400 2fc3d988 => 8c421133 > 0x000004c9 02 => 01 > 0x0000050b 7ed7472cd5d44f5e842ede789208dfd9 => 3ceab04840a3412da65cab36dba5c17e > When I tried to restore that image in VM $ btrfs-image -r raid1_sdb.img /dev/sdb1 warning devid 1 not found already disk-io.c:1437: write_dev_supers: Assertion `ret != BTRFS_SUPER_INFO_SIZE` failed. btrfs-image[0x40e128] btrfs-image(write_all_supers+0x1b6)[0x40f5c6] btrfs-image(write_ctree_super+0xd3)[0x40f733] btrfs-image(btrfs_commit_transaction+0xb3)[0x40fb73] btrfs-image[0x433fa9] btrfs-image(main+0x33d)[0x4080cd] /usr/lib/libc.so.6(__libc_start_main+0xf0)[0x7f75657a8610] btrfs-image(_start+0x29)[0x408489] $ btrfs-image -r raid1_sdf.img /dev/sdb2 warning devid 2 not found already disk-io.c:1437: write_dev_supers: Assertion `ret != BTRFS_SUPER_INFO_SIZE` failed. btrfs-image[0x40e128] btrfs-image(write_all_supers+0x1b6)[0x40f5c6] btrfs-image(write_ctree_super+0xd3)[0x40f733] btrfs-image(btrfs_commit_transaction+0xb3)[0x40fb73] btrfs-image[0x433fa9] btrfs-image(main+0x33d)[0x4080cd] /usr/lib/libc.so.6(__libc_start_main+0xf0)[0x7fa502f58610] btrfs-image(_start+0x29)[0x408489] Seems can't restore with just one image, but even with both it gave errors $ btrfs-image -r -m raid1_sdb.img /dev/sdb1 raid1_sdf.img /dev/sdb2 Error writing to device 28 Error writing to device 28 Error writing to device 28 Error writing to device 28 Error writing to device 28 [...] Error writing to device 28 Error writing to device 28 Error writing to device 28 Error writing to device 28 Error writing to device 28 Error writing to device 28 Error writing to device 28 restore failed (Success) Also I think it should prevent from restoring on mounted device because I accidentally restored on my / root partition... $ btrfs-image -r raid1_sdf.img /dev/sda1 $ it finished and didn't show any message, whoops... that was inside a VM so no big deal, but still... Now when I tried to mount disk with written image it doesn't work with subvol even if they show up with $ btrfs subvolume list ID 261 gen 2838 top level 258 path var $ mount -o subvol=var /dev/sdb1 /mnt/raid1img mount: mount(2) failed: No such file or directory but it mounted fine with subvolid, only folders are inaccessible and can't see anything more than root folder $ ls -l /mnt/raid1img d????????? ? ? ? ? ? 1% l????????? ? ? ? ? ? 2Y{m d????????? ? ? ? ? ? %42 d????????? ? ? ? ? ? $|&K -????????? ? ? ? ? ? :k}LT}Eh d????????? ? ? ? ? ? mB7 $ cd /mnt/raid1img/mB7 cd: /mnt/raid1img/mB7: No such file or directory so seems that image is useless for bug reproduction. I created a new image without sanitized names and when restoring single device it doesn't crash and shows different message $ btrfs-image -r raid1_sdb_new.img /dev/sdb1 Error writing to device 28 Error writing to device 28 Error writing to device 28 [...] Error writing to device 28 Error writing to device 28 Couldn't find a chunk, using logical Error writing to device 28 restore failed (Success) but it doesn't mount at all $ mount /dev/sdb1 /mnt/raid1img mount: wrong fs type, bad option, bad superblock on /dev/sdb, missing codepage or helper program, or other error BTRFS: open_ctree failed ah, looks like I need device that's atleast size of original device so now with bigger disk $ btrfs-image -r -m raid1_sdb_new.img /dev/sdb raid1_sdf_new.img /dev/sdc warning, device 1 is missing bytenr mismatch, want=588272107520, have=0 Couldn't read chunk root unable to open /dev/sdb error = Illegal seek $ btrfs-image -r raid1_sdb_new.img /dev/sdb warning devid 1 not found already checksum verify failed on 623598993408 found E4E3BDB6 wanted 00000000 checksum verify failed on 623598993408 found E4E3BDB6 wanted 00000000 bytenr mismatch, want=623598993408, have=0 Couldn't setup log root tree still doesn't mount $ mount /dev/sdb /mnt/raid1img mount: /dev/sdb: can't read superblock kernel: BTRFS info (device sdc): disk space caching is enabled kernel: BTRFS: has skinny extents kernel: BTRFS (device sdc): bad tree block start 0 623648882688 kernel: BTRFS: failed to read log tree kernel: BTRFS: open_ctree failed after $ btrfs check --repair /dev/sdb enabling repair mode checksum verify failed on 623204597760 found E4E3BDB6 wanted 00000000 checksum verify failed on 623204597760 found E4E3BDB6 wanted 00000000 bytenr mismatch, want=623204597760, have=0 Couldn't setup log root tree repair mode will force to clear out log tree, Are you sure? [y/N]: y Checking filesystem on /dev/sdb UUID: 247e6249-6de1-45cb-9dd0-fa8a654234bf checking extents Chunk[256, 228, 99350478848]: length(1073741824), offset(99350478848), type(1) mismatch with block group[99350478848, 192, 1073741824]: offset(1073741824), objectid(99350478848), flags(17) [...] Chunk[256, 228, 643066494976]: length(1073741824), offset(643066494976), type(1) mismatch with block group[643066494976, 192, 1073741824]: offset(1073741824), objectid(643066494976), flags(17) Block group[163774988288, 1073741824] (flags = 17) didn't find the relative chunk. [...] Block group[624812883968, 1073741824] (flags = 17) didn't find the relative chunk. Device extent[1, 1048576, 33554432] didn't find the relative chunk. [...] Device extent[1, 375844241408, 1073741824] didn't find its device. Errors found in extent allocation tree or chunk allocation Fixed 0 roots. checking free space cache cache and super generation don't match, space cache will be invalidated checking fs roots reset nbytes for ino 229313 root 266 checking csums checking root refs found 369461424388 bytes used err is 0 total csum bytes: 357534528 total tree bytes: 1705639936 total fs tree bytes: 1152352256 total extent tree bytes: 116981760 btree space waste bytes: 285539280 file data blocks allocated: 369964752896 referenced 390885834752 now it mounted, but accessing that file doesn't cause crash, probably need data too. So then on original filesystem I tried btrfs send, but $ btrfs send /mnt/raid1/var -f /mnt/raid1.img ERROR: /mnt/raid1/var is not read-only. why... it is mounted with ro oh, it wasn't really clear that it expects read-only snapshot rather than just subvolume mounted as ready-only. Ok, created read-only snapshot and then tried btrfs send again and got *kernel crash* nice, so I can't even copy it to other device. Any idea how to analyze this filesystem without using btrfs kernel module because as soon as it accesses that file it causes crash? ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-10-19 17:59 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CAOE4rSwPNAY7fXjVa=Hyeb1yVMtVmpPhUvMVbZt6Qq9P+a0LCA@mail.gmail.com>
2016-08-25 17:26 ` [BUG] kernel BUG at fs/btrfs/extent_io.c:2062 (v4.2.0-rc8) Dāvis Mosāns
2016-08-25 17:45 ` Hans van Kranenburg
2016-08-25 18:54 ` Dāvis Mosāns
2016-10-19 17:59 ` Dāvis Mosāns
2015-08-31 18:14 Dāvis Mosāns
2015-09-01 0:08 ` Dāvis Mosāns
2015-09-24 13:37 ` Dāvis Mosāns
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).