Bug 968139 - [abrt] kernel BUG at fs/btrfs/tree-log.c:4122!
[abrt] kernel BUG at fs/btrfs/tree-log.c:4122!
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
18
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: fedora-kernel-btrfs
Fedora Extras Quality Assurance
abrt_hash:cdc5282b25049da73961e0ebebe...
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-29 00:51 EDT by dim
Modified: 2013-09-23 16:14 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-09-23 16:14:06 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
File: dmesg (81.37 KB, text/plain)
2013-05-29 00:51 EDT, dim
no flags Details

  None (edit)
Description dim 2013-05-29 00:51:01 EDT
Description of problem:
I use btrfs with lzo compression for Virtual mashine image.
After system crash i can't mount fs (core dump)

Additional info:
kernel BUG at fs/btrfs/tree-log.c:4122!
invalid opcode: 0000 [#1] SMP 
Modules linked in: ebtable_nat xt_CHECKSUM bridge stp llc fuse ipt_MASQUERADE nf_conntrack_netbios_ns nf_conntrack_broadcast ip6table_mangle ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 iptable_nat nf_nat_ipv4 nf_nat iptable_mangle nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ebtable_filter ebtables ip6table_filter ip6_tables be2iscsi iscsi_boot_sysfs rfcomm bnx2i bnep cnic uio cxgb4i cxgb4 cxgb3i cxgb3 mdio libcxgbi ib_iser rdma_cm ib_addr iw_cm ib_cm ib_sa ib_mad ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi btrfs zlib_deflate raid6_pq libcrc32c xor snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_intel vhost_net snd_hda_codec snd_hwdep btusb tun macvtap macvlan acpi_cpufreq bluetooth snd_seq iTCO_wdt mperf coretemp kvm_intel rtsx_pci_sdmmc arc4 iTCO_vendor_support iwldvm mac80211 snd_seq_device snd_pcm r8169 rtsx_pci_ms memstick mmc_core iwlwifi joydev tpm_tis mei i2c_i801 lpc_ich microcode thinkpad_acpi snd_page_alloc snd_timer mii snd kvm rtsx_pci cfg80211 mfd_core tpm tpm_bios soundcore rfkill binfmt_misc uinput i915 crc32_pclmul crc32c_intel i2c_algo_bit drm_kms_helper ghash_clmulni_intel drm i2c_core wmi video
CPU 3 
Pid: 5612, comm: mount Not tainted 3.9.4-200.fc18.x86_64 #1 LENOVO 2479BK5/2479BK5
RIP: 0010:[<ffffffffa05e2c00>]  [<ffffffffa05e2c00>] btrfs_recover_log_trees+0x360/0x3a0 [btrfs]
RSP: 0018:ffff8800c15d1ac8  EFLAGS: 00010282
RAX: 00000000fffffffb RBX: ffff88005d5a4800 RCX: 00000001801c001b
RDX: 00000001801c001c RSI: 00000000801c001b RDI: ffff8801151feb00
RBP: ffff8800c15d1b88 R08: 0000000000000000 R09: 0000000000000001
R10: 0000000000000001 R11: 0000000000000004 R12: ffff88006ff93b40
R13: ffff8800beb0ef00 R14: ffff88005d5a6000 R15: ffff88005d5b6000
FS:  00007f4521d7d840(0000) GS:ffff88011f2c0000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f25e4ede019 CR3: 000000005d415000 CR4: 00000000001407e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process mount (pid: 5612, threadinfo ffff8800c15d0000, task ffff880085499770)
Stack:
 ffff8800c15d1b48 ffff8800c15d1b28 0000000000000000 fffffffa00000000
 ffffff84ffffffff fffffaffffffffff 000584ffffffffff 0005000000000000
 ff84000000000000 faffffffffffffff 84ffffffffffffff 0000000000000005
Call Trace:
 [<ffffffffa05dfcf0>] ? fixup_inode_link_counts+0x150/0x150 [btrfs]
 [<ffffffffa05a42e8>] open_ctree+0x1808/0x1f00 [btrfs]
 [<ffffffff812eaaba>] ? disk_name+0xba/0xc0
 [<ffffffffa057cadc>] btrfs_mount+0x62c/0x770 [btrfs]
 [<ffffffff8118a135>] ? __kmalloc_track_caller+0x55/0x250
 [<ffffffff811a3bf3>] mount_fs+0x43/0x1b0
 [<ffffffff81156390>] ? __alloc_percpu+0x10/0x20
 [<ffffffff811bd26f>] vfs_kern_mount+0x6f/0x100
 [<ffffffff811bf6b9>] do_mount+0x259/0xa20
 [<ffffffff8115079b>] ? memdup_user+0x4b/0x90
 [<ffffffff8115083b>] ? strndup_user+0x5b/0x80
 [<ffffffff811bff0e>] sys_mount+0x8e/0xe0
 [<ffffffff81669f59>] system_call_fastpath+0x16/0x1b
Code: 8b 77 28 4c 89 ef 41 c7 87 b8 0f 00 00 00 00 00 00 e8 15 39 fc ff 4c 89 f7 e8 6d 3c ba e0 45 31 c9 eb 8b 41 b9 f4 ff ff ff eb 83 <0f> 0b 41 89 c1 49 c7 c0 d0 b5 61 a0 89 c1 ba 13 10 00 00 e9 36 
RIP  [<ffffffffa05e2c00>] btrfs_recover_log_trees+0x360/0x3a0 [btrfs]
 RSP <ffff8800c15d1ac8>
Comment 1 dim 2013-05-29 00:51:08 EDT
Created attachment 754140 [details]
File: dmesg
Comment 2 dim 2013-05-29 00:57:54 EDT
btrfsck can`t help:

btrfsck /dev/mapper/vg_cw4000221-virt 
checking extents
checking fs roots
checking root refs
*** glibc detected *** btrfsck: double free or corruption (!prev): 0x00000000007b1540 ***
======= Backtrace: =========
/lib64/libc.so.6[0x31ca27ca8e]
btrfsck[0x40e466]
btrfsck[0x401d8d]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x31ca221a05]
btrfsck[0x4021e1]
======= Memory map: ========
00400000-0042f000 r-xp 00000000 fd:01 1399                               /usr/sbin/btrfsck
0062e000-0062f000 r--p 0002e000 fd:01 1399                               /usr/sbin/btrfsck
0062f000-00630000 rw-p 0002f000 fd:01 1399                               /usr/sbin/btrfsck
007a4000-0118c000 rw-p 00000000 00:00 0                                  [heap]
31c9e00000-31c9e20000 r-xp 00000000 fd:01 132769                         /usr/lib64/ld-2.16.so
31ca020000-31ca021000 r--p 00020000 fd:01 132769                         /usr/lib64/ld-2.16.so
31ca021000-31ca022000 rw-p 00021000 fd:01 132769                         /usr/lib64/ld-2.16.so
31ca022000-31ca023000 rw-p 00000000 00:00 0 
31ca200000-31ca3ad000 r-xp 00000000 fd:01 132835                         /usr/lib64/libc-2.16.so
31ca3ad000-31ca5ad000 ---p 001ad000 fd:01 132835                         /usr/lib64/libc-2.16.so
31ca5ad000-31ca5b1000 r--p 001ad000 fd:01 132835                         /usr/lib64/libc-2.16.so
31ca5b1000-31ca5b3000 rw-p 001b1000 fd:01 132835                         /usr/lib64/libc-2.16.so
31ca5b3000-31ca5b8000 rw-p 00000000 00:00 0 
31cb200000-31cb300000 r-xp 00000000 fd:01 140034                         /usr/lib64/libm-2.16.so
31cb300000-31cb4ff000 ---p 00100000 fd:01 140034                         /usr/lib64/libm-2.16.so
31cb4ff000-31cb500000 r--p 000ff000 fd:01 140034                         /usr/lib64/libm-2.16.so
31cb500000-31cb501000 rw-p 00100000 fd:01 140034                         /usr/lib64/libm-2.16.so
31cba00000-31cba15000 r-xp 00000000 fd:01 146600                         /usr/lib64/libgcc_s-4.7.2-20121109.so.1
31cba15000-31cbc14000 ---p 00015000 fd:01 146600                         /usr/lib64/libgcc_s-4.7.2-20121109.so.1
31cbc14000-31cbc15000 r--p 00014000 fd:01 146600                         /usr/lib64/libgcc_s-4.7.2-20121109.so.1
31cbc15000-31cbc16000 rw-p 00015000 fd:01 146600                         /usr/lib64/libgcc_s-4.7.2-20121109.so.1
31d0200000-31d0204000 r-xp 00000000 fd:01 137091                         /usr/lib64/libuuid.so.1.3.0
31d0204000-31d0403000 ---p 00004000 fd:01 137091                         /usr/lib64/libuuid.so.1.3.0
31d0403000-31d0404000 r--p 00003000 fd:01 137091                         /usr/lib64/libuuid.so.1.3.0
31d0404000-31d0405000 rw-p 00004000 fd:01 137091                         /usr/lib64/libuuid.so.1.3.0
7fb703b89000-7fb703b8c000 rw-p 00000000 00:00 0 
7fb703bae000-7fb703bb0000 rw-p 00000000 00:00 0 
7fff0eadb000-7fff0eafc000 rw-p 00000000 00:00 0                          [stack]
7fff0eba5000-7fff0eba7000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Aborted (core dumped)
Comment 3 Josef Bacik 2013-09-23 16:14:06 EDT
Fixed upstream, you'll want to do btrfs-zero-log to be able to mount again.  If you still have issues please file a bugzilla at bugzilla.kernel.org and set the component to btrfs.

Note You need to log in before you can comment on or make changes to this bug.