Bug 947316 - btrfs kernel BUG in extent-tree.c
Summary: btrfs kernel BUG in extent-tree.c
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: fs-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-02 06:49 UTC by Alexander Larsson
Modified: 2013-09-23 20:22 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-09-23 20:22:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Full dmesg (72.12 KB, application/octet-stream)
2013-04-02 06:49 UTC, Alexander Larsson
no flags Details

Description Alexander Larsson 2013-04-02 06:49:14 UTC
Created attachment 730623 [details]
Full dmesg

I was just using my F18 desktop box as usual, and suddenly it froze, now whenever i boot I get this kernel BUG a while after the btrfs root fs is mounted:

[   15.198722] ------------[ cut here ]------------
[   15.199838] kernel BUG at fs/btrfs/extent-tree.c:5234!
[   15.200936] invalid opcode: 0000 [#1] SMP 
[   15.202026] Modules linked in: eeepc_wmi asus_wmi sparse_keymap rfkill kvm uvcvideo iTCO_wdt snd_hda_intel(+) videobuf2_vmalloc snd_usb_audio iTCO_vendor_support snd_hda_codec videobuf2_memops snd_usbmidi_lib snd_rawmidi snd_hwdep videobuf2_core videodev media snd_seq serio_raw microcode snd_seq_device i2c_i801 snd_pcm joydev snd_page_alloc snd_timer snd atl1c soundcore lpc_ich mei mfd_core ata_generic btrfs pata_acpi zlib_deflate libcrc32c i915 i2c_algo_bit drm_kms_helper drm crc32c_intel ghash_clmulni_intel usb_storage pata_via i2c_core wmi video
[   15.206835] CPU 3 
[   15.206844] Pid: 653, comm: mount Not tainted 3.8.3-201.fc18.x86_64 #1 System manufacturer System Product Name/P8H67-V
[   15.209276] RIP: 0010:[<ffffffffa01923ff>]  [<ffffffffa01923ff>] __btrfs_free_extent+0x78f/0x870 [btrfs]
[   15.210534] RSP: 0018:ffff880222e0b958  EFLAGS: 00010202
[   15.211777] RAX: 0000000000000001 RBX: ffff88021ed5d990 RCX: ffff880214273000
[   15.213028] RDX: 0000000000000005 RSI: 000000000000092b RDI: ffff8802149ac2b0
[   15.214281] RBP: ffff880222e0ba28 R08: 0000000000001000 R09: ffff880222e0b908
[   15.215529] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000020
[   15.216773] R13: 0000000000000020 R14: 000000000000092b R15: 0000000000000000
[   15.218018] FS:  00007f1c27fa6840(0000) GS:ffff88022fac0000(0000) knlGS:0000000000000000
[   15.219273] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   15.220533] CR2: 00007f183c223760 CR3: 0000000223b86000 CR4: 00000000000407e0
[   15.221795] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   15.223040] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[   15.224262] Process mount (pid: 653, threadinfo ffff880222e0a000, task ffff88021fc92ec0)
[   15.225473] Stack:
[   15.226654]  0000000000000000 0000000000000005 0000000001696a4c 00000000007ac000
[   15.227847]  0000000000000000 0000000180200006 0000003500000001 ffff8802149ac2b0
[   15.229037]  ffff88021f5a9800 01ff880200000001 0000000b5b7e9000 ffff88021d6ad000
[   15.230212] Call Trace:
[   15.231364]  [<ffffffffa0195dc9>] run_clustered_refs+0x2f9/0xb50 [btrfs]
[   15.232530]  [<ffffffffa01ea143>] ? find_ref_head+0x83/0xf0 [btrfs]
[   15.233715]  [<ffffffffa0199e48>] btrfs_run_delayed_refs+0xc8/0x2f0 [btrfs]
[   15.234877]  [<ffffffffa01aa1ce>] __btrfs_end_transaction+0xee/0x400 [btrfs]
[   15.236046]  [<ffffffffa01aa530>] btrfs_end_transaction+0x10/0x20 [btrfs]
[   15.237208]  [<ffffffffa01b4c46>] btrfs_evict_inode+0x226/0x330 [btrfs]
[   15.238365]  [<ffffffff811b6da2>] evict+0xa2/0x1a0
[   15.239512]  [<ffffffff811b7563>] iput+0x103/0x190
[   15.240660]  [<ffffffffa01b5617>] btrfs_orphan_cleanup+0x1b7/0x460 [btrfs]
[   15.241813]  [<ffffffffa01a4828>] btrfs_cleanup_fs_roots+0x78/0xa0 [btrfs]
[   15.242956]  [<ffffffff810f68d7>] ? call_rcu_sched+0x17/0x20
[   15.244097]  [<ffffffff811b1d7c>] ? d_free+0x4c/0x70
[   15.245232]  [<ffffffff811b30fd>] ? d_kill+0xbd/0x110
[   15.246363]  [<ffffffffa0181858>] btrfs_remount+0x1a8/0x2a0 [btrfs]
[   15.247497]  [<ffffffff811a1071>] do_remount_sb+0x81/0x1b0
[   15.248624]  [<ffffffff811bd39c>] do_mount+0x68c/0xaa0
[   15.249748]  [<ffffffff8114f71b>] ? strndup_user+0x5b/0x80
[   15.250867]  [<ffffffff811bd83e>] sys_mount+0x8e/0xe0
[   15.251983]  [<ffffffff81658699>] system_call_fastpath+0x16/0x1b
[   15.253102] Code: 8c 00 00 e9 8a fb ff ff 0f 0b 48 8b 75 88 48 8b 7d 90 45 89 f8 b9 2e 14 00 00 48 c7 c2 c0 22 21 a0 e8 a6 ea fe ff e9 b3 fa ff ff <0f> 0b be 6e 14 00 00 48 c7 c7 ae 43 21 a0 e8 5e c2 ec e0 e9 a4 
[   15.256773] RIP  [<ffffffffa01923ff>] __btrfs_free_extent+0x78f/0x870 [btrfs]
[   15.258490]  RSP <ffff880222e0b958>
[   15.260187] ---[ end trace 0903884629860931 ]---

Also, this seem to crash with some kernel lock held, because after this happens i regularly get oopses with "BUG: soft lockup - CPU#2 stuck for 22s! [btrfs-transacti:483]" when trying to while it calls btrfs_try_tree_write_lock(). Eventually the system locks up on some i/o and i have to reboot.

Attaching the full dmesg output from boot.

Comment 1 Alexander Larsson 2013-04-02 09:21:37 UTC
I wasn't able to figure out a way to make this remount and i had to use the machine, so i'm reinstalling it now. You can close this bug if its not possible to figure out the problem from the info here.

Comment 2 Josef Bacik 2013-09-23 20:22:12 UTC
You likely had corruption.  Closing.


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