Johannes Obermayr changed bug 897774
What Removed Added
Flags needinfo?(johannesobermayr@gmx.de)  

Comment # 10 on bug 897774 from
Still there on openSUSE Tumbleweed with Kernel
kernel-default-4.10.rc2-1.1.g870a2f2.x86_64:

[ 1776.648462] WARNING: CPU: 0 PID: 3813 at ../fs/btrfs/extent-tree.c:6935
__btrfs_free_extent.isra.58+0x7a8/0xe10 [btrfs]
[ 1776.648464] Modules linked in: fuse iscsi_ibft iscsi_boot_sysfs msr btrfs
xor raid6_pq snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi
snd_hda_intel snd_hda_codec btusb snd_hda_core btrtl btbcm snd_hwdep btintel
snd_pcm_oss snd_pcm hid_generic snd_seq usbhid snd_seq_device arc4 ath9k
ath9k_common ath9k_hw ath snd_timer snd_mixer_oss snd mac80211 ath3k bluetooth
cfg80211 eeepc_wmi asus_wmi r8169 mii sp5100_tco soundcore shpchp i2c_piix4
k10temp sparse_keymap rfkill video kvm_amd acpi_cpufreq fjes pcspkr kvm tpm_tis
tpm_tis_core tpm irqbypass ohci_pci ata_generic amdkfd amd_iommu_v2 xhci_pci
xhci_hcd pata_atiixp ohci_hcd ehci_pci ehci_hcd usbcore radeon sr_mod cdrom
i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm
drm wmi button sg dm_multipath dm_mod scsi_dh_rdac
[ 1776.648550]  scsi_dh_emc scsi_dh_alua
[ 1776.648558] CPU: 0 PID: 3813 Comm: btrfs-transacti Tainted: G        W      
4.10.0-rc2-1.g870a2f2-default #1
[ 1776.648560] Hardware name: System manufacturer System Product Name/E35M1-I
DELUXE, BIOS 1402 07/26/2012
[ 1776.648562] Call Trace:
[ 1776.648574]  dump_stack+0x63/0x83
[ 1776.648580]  __warn+0xcb/0xf0
[ 1776.648583]  warn_slowpath_null+0x1d/0x20
[ 1776.648616]  __btrfs_free_extent.isra.58+0x7a8/0xe10 [btrfs]
[ 1776.648647]  ? update_block_group.isra.57+0x51/0x450 [btrfs]
[ 1776.648679]  __btrfs_run_delayed_refs+0xb0c/0x1350 [btrfs]
[ 1776.648686]  ? kmem_cache_alloc+0xa3/0x580
[ 1776.648717]  btrfs_run_delayed_refs+0x8a/0x2a0 [btrfs]
[ 1776.648752]  commit_cowonly_roots+0xd5/0x2e0 [btrfs]
[ 1776.648790]  ? btrfs_qgroup_account_extents+0x75/0x170 [btrfs]
[ 1776.648825]  btrfs_commit_transaction+0x380/0x980 [btrfs]
[ 1776.648860]  transaction_kthread+0x177/0x1b0 [btrfs]
[ 1776.648864]  kthread+0x101/0x140
[ 1776.648897]  ? btrfs_cleanup_transaction+0x520/0x520 [btrfs]
[ 1776.648901]  ? kthread_create_on_node+0x40/0x40
[ 1776.648904]  ret_from_fork+0x25/0x30
[ 1776.648907] ---[ end trace d31c8d02d7758ac5 ]---
[ 1776.648914] BTRFS info (device sda2): leaf 4206592 total ptrs 38 free space
2052
[ 1776.648918]  item 0 key (37601935360 192 1073741824) itemoff 3971 itemsize
24
[ 1776.648920]          block group used 0
[ 1776.648923]  item 1 key (38675677184 192 1073741824) itemoff 3947 itemsize
24
[ 1776.648924]          block group used 0
[ 1776.648926]  item 2 key (39749419008 192 1073741824) itemoff 3923 itemsize
24
[ 1776.648927]          block group used 0
[ 1776.648930]  item 3 key (40823160832 192 1073741824) itemoff 3899 itemsize
24
[ 1776.648931]          block group used 0
[ 1776.648933]  item 4 key (41896902656 192 1073741824) itemoff 3875 itemsize
24
[ 1776.648934]          block group used 0
[ 1776.648936]  item 5 key (42970644480 192 1073741824) itemoff 3851 itemsize
24
[ 1776.648937]          block group used 0
[ 1776.648939]  item 6 key (44044386304 192 1073741824) itemoff 3827 itemsize
24
[ 1776.648941]          block group used 0
[ 1776.648943]  item 7 key (45118128128 192 1073741824) itemoff 3803 itemsize
24
[ 1776.648944]          block group used 0
[ 1776.648946]  item 8 key (46191869952 192 1073741824) itemoff 3779 itemsize
24
[ 1776.648947]          block group used 0
[ 1776.648949]  item 9 key (47265611776 192 1073741824) itemoff 3755 itemsize
24
[ 1776.648950]          block group used 0
[ 1776.648952]  item 10 key (48339353600 192 1073741824) itemoff 3731 itemsize
24
[ 1776.648953]          block group used 0
[ 1776.648956]  item 11 key (49413095424 192 1073741824) itemoff 3707 itemsize
24
[ 1776.648957]          block group used 0
[ 1776.648959]  item 12 key (50486837248 192 1073741824) itemoff 3683 itemsize
24
[ 1776.648960]          block group used 0
[ 1776.648962]  item 13 key (51560579072 192 1073741824) itemoff 3659 itemsize
24
[ 1776.648963]          block group used 0
[ 1776.648966]  item 14 key (52634320896 192 1073741824) itemoff 3635 itemsize
24
[ 1776.648967]          block group used 0
[ 1776.648969]  item 15 key (53708062720 192 1073741824) itemoff 3611 itemsize
24
[ 1776.648970]          block group used 0
[ 1776.648972]  item 16 key (54781804544 192 1073741824) itemoff 3587 itemsize
24
[ 1776.648973]          block group used 0
[ 1776.648975]  item 17 key (55855546368 192 1073741824) itemoff 3563 itemsize
24
[ 1776.648976]          block group used 0
[ 1776.648979]  item 18 key (56929288192 192 1073741824) itemoff 3539 itemsize
24
[ 1776.648980]          block group used 0
[ 1776.648982]  item 19 key (58003030016 192 1073741824) itemoff 3515 itemsize
24
[ 1776.648983]          block group used 0
[ 1776.648985]  item 20 key (59076771840 192 1073741824) itemoff 3491 itemsize
24
[ 1776.648986]          block group used 0
[ 1776.648988]  item 21 key (60150513664 192 1073741824) itemoff 3467 itemsize
24
[ 1776.648989]          block group used 0
[ 1776.648991]  item 22 key (61224255488 192 1073741824) itemoff 3443 itemsize
24
[ 1776.648992]          block group used 0
[ 1776.648995]  item 23 key (62297997312 192 1073741824) itemoff 3419 itemsize
24
[ 1776.648996]          block group used 0
[ 1776.648998]  item 24 key (63371739136 192 1073741824) itemoff 3395 itemsize
24
[ 1776.648999]          block group used 0
[ 1776.649001]  item 25 key (64445480960 192 1073741824) itemoff 3371 itemsize
24
[ 1776.649002]          block group used 0
[ 1776.649004]  item 26 key (65519222784 192 1073741824) itemoff 3347 itemsize
24
[ 1776.649005]          block group used 0
[ 1776.649007]  item 27 key (66592964608 192 1073741824) itemoff 3323 itemsize
24
[ 1776.649008]          block group used 0
[ 1776.649011]  item 28 key (67666706432 192 8388608) itemoff 3299 itemsize 24
[ 1776.649012]          block group used 28672
[ 1776.649014]  item 29 key (67666710528 168 4096) itemoff 3248 itemsize 51
[ 1776.649016]          extent refs 1 gen 386003 flags 2
[ 1776.649019]          tree block key (18446744073709551605 0 10758389760)
level 0
[ 1776.649020]          tree block backref root 1
[ 1776.649023]  item 30 key (67666714624 168 4096) itemoff 3197 itemsize 51
[ 1776.649024]          extent refs 1 gen 386003 flags 2
[ 1776.649026]          tree block key (0 0 0) level 0
[ 1776.649028]          tree block backref root 18446744073709551607
[ 1776.649030]  item 31 key (67666739200 168 4096) itemoff 3146 itemsize 51
[ 1776.649031]          extent refs 1 gen 386004 flags 2
[ 1776.649033]          tree block key (0 192 4194304) level 0
[ 1776.649034]          tree block backref root 1
[ 1776.649037]  item 32 key (67675095040 192 8388608) itemoff 3122 itemsize 24
[ 1776.649038]          block group used 0
[ 1776.649040]  item 33 key (67683483648 192 8388608) itemoff 3098 itemsize 24
[ 1776.649041]          block group used 0
[ 1776.649043]  item 34 key (67691872256 192 8388608) itemoff 3074 itemsize 24
[ 1776.649044]          block group used 0
[ 1776.649046]  item 35 key (67700260864 192 8388608) itemoff 3050 itemsize 24
[ 1776.649047]          block group used 0
[ 1776.649050]  item 36 key (67708649472 192 8388608) itemoff 3026 itemsize 24
[ 1776.649051]          block group used 0
[ 1776.649053]  item 37 key (67717038080 192 8388608) itemoff 3002 itemsize 24
[ 1776.649054]          block group used 0
[ 1776.649057] BTRFS error (device sda2): unable to find ref byte nr
67676614656 parent 0 root 4  owner 1 offset 0
[ 1776.649059] ------------[ cut here ]------------
[ 1776.649091] WARNING: CPU: 0 PID: 3813 at ../fs/btrfs/extent-tree.c:6941
__btrfs_free_extent.isra.58+0x809/0xe10 [btrfs]
[ 1776.649093] BTRFS: Transaction aborted (error -2)
[ 1776.649094] Modules linked in: fuse iscsi_ibft iscsi_boot_sysfs msr btrfs
xor raid6_pq snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi
snd_hda_intel snd_hda_codec btusb snd_hda_core btrtl btbcm snd_hwdep btintel
snd_pcm_oss snd_pcm hid_generic snd_seq usbhid snd_seq_device arc4 ath9k
ath9k_common ath9k_hw ath snd_timer snd_mixer_oss snd mac80211 ath3k bluetooth
cfg80211 eeepc_wmi asus_wmi r8169 mii sp5100_tco soundcore shpchp i2c_piix4
k10temp sparse_keymap rfkill video kvm_amd acpi_cpufreq fjes pcspkr kvm tpm_tis
tpm_tis_core tpm irqbypass ohci_pci ata_generic amdkfd amd_iommu_v2 xhci_pci
xhci_hcd pata_atiixp ohci_hcd ehci_pci ehci_hcd usbcore radeon sr_mod cdrom
i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm
drm wmi button sg dm_multipath dm_mod scsi_dh_rdac
[ 1776.649151]  scsi_dh_emc scsi_dh_alua
[ 1776.649156] CPU: 0 PID: 3813 Comm: btrfs-transacti Tainted: G        W      
4.10.0-rc2-1.g870a2f2-default #1
[ 1776.649157] Hardware name: System manufacturer System Product Name/E35M1-I
DELUXE, BIOS 1402 07/26/2012
[ 1776.649158] Call Trace:
[ 1776.649162]  dump_stack+0x63/0x83
[ 1776.649165]  __warn+0xcb/0xf0
[ 1776.649169]  warn_slowpath_fmt+0x4f/0x60
[ 1776.649200]  __btrfs_free_extent.isra.58+0x809/0xe10 [btrfs]
[ 1776.649231]  ? update_block_group.isra.57+0x51/0x450 [btrfs]
[ 1776.649263]  __btrfs_run_delayed_refs+0xb0c/0x1350 [btrfs]
[ 1776.649267]  ? kmem_cache_alloc+0xa3/0x580
[ 1776.649299]  btrfs_run_delayed_refs+0x8a/0x2a0 [btrfs]
[ 1776.649333]  commit_cowonly_roots+0xd5/0x2e0 [btrfs]
[ 1776.649371]  ? btrfs_qgroup_account_extents+0x75/0x170 [btrfs]
[ 1776.649405]  btrfs_commit_transaction+0x380/0x980 [btrfs]
[ 1776.649440]  transaction_kthread+0x177/0x1b0 [btrfs]
[ 1776.649443]  kthread+0x101/0x140
[ 1776.649477]  ? btrfs_cleanup_transaction+0x520/0x520 [btrfs]
[ 1776.649480]  ? kthread_create_on_node+0x40/0x40
[ 1776.649483]  ret_from_fork+0x25/0x30
[ 1776.649486] ---[ end trace d31c8d02d7758ac6 ]---
[ 1776.649490] BTRFS: error (device sda2) in __btrfs_free_extent:6941: errno=-2
No such entry
[ 1776.649492] BTRFS info (device sda2): forced readonly
[ 1776.649497] BTRFS: error (device sda2) in btrfs_run_delayed_refs:2953:
errno=-2 No such entry
[ 1776.649500] BTRFS warning (device sda2): Skipping commit of aborted
transaction.
[ 1776.649503] BTRFS: error (device sda2) in cleanup_transaction:1872: errno=-2
No such entry





$ gdb btrfsck --batch -ex "set args /dev/sda2" -ex "run" -ex "bt full"
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Checking filesystem on /dev/sda2
UUID: 9e12d35c-87ab-47e3-aecb-01f7c09e3c96
parent transid verify failed on 67666722816 wanted 385998 found 386004
Ignoring transid failure

Program received signal SIGSEGV, Segmentation fault.
__memcpy_ssse3 () at ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:102
102             movdqu  (%rsi), %xmm0
#0  __memcpy_ssse3 () at ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:102
No locals.
#1  0x000000000042de5f in check_chunks_and_extents (root=root@entry=0x6bb1f0)
at cmds-check.c:8536
        offset = <optimized out>
        dev_cache = {rb_node = 0x0}
        chunk_cache = {root = {rb_node = 0x0}}
        block_group_cache = {tree = {root = {rb_node = 0x0}}, block_groups =
{next = 0x7fffffffd608, prev = 0x7fffffffd608}}
        dev_extent_cache = {tree = {root = {rb_node = 0x0}}, no_chunk_orphans =
{next = 0x7fffffffd628, prev = 0x7fffffffd628}, no_device_orphans = {next =
0x7fffffffd638, prev = 0x7fffffffd638}}
        extent_cache = {root = {rb_node = 0x0}}
        seen = {root = {rb_node = 0x0}}
        pending = {root = {rb_node = 0x0}}
        reada = {root = {rb_node = 0x0}}
        nodes = {root = {rb_node = 0x0}}
        excluded_extents = {state = {root = {rb_node = 0x0}}, cache = {root =
{rb_node = 0x0}}, lru = {next = 0x7fffffffd660, prev = 0x7fffffffd660},
cache_size = 0}
        corrupt_blocks = {root = {rb_node = 0x0}}
        path = {nodes = {0x6b2630, 0x6b2630, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
slots = {33, 29, 0, 0, 0, 0, 0, 0}, locks = {0, 0, 0, 0, 0, 0, 0, 0}, reada =
0, lowest_level = 0, search_for_split = 0, skip_check_block = 0}
        key = {objectid = 0, type = 132 '\204', offset = 0}
        found_key = {objectid = 2253, type = <optimized out>, offset =
<optimized out>}
        ret = <optimized out>
        err = <optimized out>
        bits = <optimized out>
        leaf = 0x6b2630
        slot = <optimized out>
        ri = {inode = {generation = 1, transid = 0, size = 3, nbytes = 4096,
block_group = 0, nlink = 1, uid = 0, gid = 0, mode = 16877, rdev = 0, flags =
18446744071562067968, sequence = 0, reserved = {0, 0, 0, 0}, atime = {sec = 0,
nsec = 0}, ctime = {sec = 0, nsec = 0}, mtime = {sec = 0, nsec = 0}, otime =
{sec = 0, nsec = 0}}, generation = 131146, root_dirid = 256, bytenr =
21056712704, byte_limit = 0, bytes_used = 242896896, last_snapshot = 131145,
flags = 1, refs = 1, drop_progress = {objectid = 0, type = 0 '\000', offset =
0}, drop_level = 0 '\000', level = 3 '\003', generation_v2 = 131146, uuid =
"|\265\245\345\266r\fB\272\201��\321���", parent_uuid = '\000' <repeats 15 times>,
received_uuid = '\000' <repeats 15 times>, ctransid = 131145, otransid =
131145, stransid = 0, rtransid = 0, ctime = {sec = 1397824883, nsec =
949234324}, otime = {sec = 1397824884, nsec = 7233596}, stime = {sec = 0, nsec
= 0}, rtime = {sec = 0, nsec = 0}, reserved = {0, 0, 0, 0, 0, 0, 0, 0}}
        dropping_trees = {next = 0x7fffffffd590, prev = 0x7fffffffd590}
        normal_trees = {next = 0x6ac1d0, prev = 0x6c2a40}
        root1 = <optimized out>
        objectid = <optimized out>
        level_size = <optimized out>
#2  0x0000000000430424 in cmd_check (argc=<optimized out>, argv=<optimized
out>) at cmds-check.c:11509
        root_cache = {root = {rb_node = 0x0}}
        root = 0x6bb1f0
        info = 0x6ad3a0
        bytenr = <optimized out>
        subvolid = <optimized out>
        tree_root_bytenr = <optimized out>
        chunk_root_bytenr = <optimized out>
        uuidbuf = "9e12d35c-87ab-47e3-aecb-01f7c09e3c96"
        ret = <optimized out>
        num = <optimized out>
        init_csum_tree = <optimized out>
        readonly = <optimized out>
        qgroup_report = 0
        qgroups_repaired = 0
        ctree_flags = <optimized out>
#3  0x000000000040b96b in main (argc=2, argv=0x7fffffffdde8) at btrfs.c:243
        cmd = 0x6a4858 <btrfs_cmd_group+216>
        bname = <optimized out>
        ret = <optimized out>


You are receiving this mail because: