Bug 748553

Summary: [abrt] kernel: kernel BUG at fs/btrfs/extent-tree.c:5528!
Product: [Fedora] Fedora Reporter: Ling Li <liling>
Component: kernelAssignee: Josef Bacik <jbacik>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:40d0ab86a898ff9a12d3865345a6edd1c1320d97
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-22 18:54:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ling Li 2011-10-24 19:30:31 UTC
libreport version: 2.0.6
abrt_version:   2.0.4.981
cmdline:        BOOT_IMAGE=/vmlinuz-3.1.0-0.rc10.git0.1.fc16.x86_64 root=/dev/mapper/vg_os-root1 ro rd.lvm.lv=vg_sys/swap rd.md=0 rd.dm=0 rd.lvm.lv=vg_os/root1 KEYTABLE=us quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 LANG=en_US.UTF-8
comment:        I believe btrfs choked on a somewhat-slightly-corrupted btrfs fs.  The fs was created/used in a Fedora 14 system, which recently got upgraded to Fedora 16 beta.  Mounting the fs as read-only is fine, but read-write mounting (with noatime) lead to this crash.
kernel:         undefined
reason:         kernel BUG at fs/btrfs/extent-tree.c:5528!
time:           Fri Oct 21 22:07:35 2011

backtrace:
:kernel BUG at fs/btrfs/extent-tree.c:5528!
:invalid opcode: 0000 [#1] SMP 
:CPU 0 
:Modules linked in: btrfs zlib_deflate libcrc32c tcp_lp fuse ecryptfs encrypted ecryptfs_format trusted ebtable_nat ebtables sha256_generic dm_crypt ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle tun bridge stp llc tpm_infineon lockd ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep microcode snd_seq snd_seq_device snd_pcm snd_timer iTCO_wdt iTCO_vendor_support i2c_i801 r8169 mii snd soundcore snd_page_alloc virtio_net kvm_intel kvm sunrpc uinput i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan]
:Pid: 22610, comm: umount Not tainted 3.1.0-0.rc10.git0.1.fc16.x86_64 #1                  /DG41MJ
:RIP: 0010:[<ffffffffa032f247>]  [<ffffffffa032f247>] run_clustered_refs+0x356/0x656 [btrfs]
:RSP: 0018:ffff88010c2b7b78  EFLAGS: 00010282
:RAX: 00000000fffffffb RBX: ffff88008753c480 RCX: 0000000000001000
:RDX: 000000314a21b000 RSI: ffff88010c2b6000 RDI: 0000000000000000
:RBP: ffff88010c2b7c48 R08: ffff88010c2b6000 R09: 0000000000000000
:R10: 0000000000000001 R11: ffff88010c2b7c03 R12: ffff880090518380
:R13: ffff8800b537d380 R14: ffff880040da3400 R15: ffff88010f001a50
:FS:  00007f385d62f800(0000) GS:ffff88013fc00000(0000) knlGS:0000000000000000
:CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
:CR2: 000000000362dff0 CR3: 0000000112fde000 CR4: 00000000000406e0
:DR0: 0000000000000003 DR1: 00000000000000b0 DR2: 0000000000000001
:DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
:Process umount (pid: 22610, threadinfo ffff88010c2b6000, task ffff8800b7794590)
:Stack:
: ffff880040da3400 ffff880052683d20 ffff880102490320 ffff88010f0006c0
: ffff88005fdf8000 ffff88010f001b08 ffff88010c2b7c78 0000000000000000
: 0000000000000000 0000000000000001 0000000000000000 0000000000000000
:Call Trace:
: [<ffffffffa036b401>] ? btrfs_find_ref_cluster+0xbd/0x145 [btrfs]
: [<ffffffffa032f618>] btrfs_run_delayed_refs+0xd1/0x17c [btrfs]
: [<ffffffffa033be27>] commit_cowonly_roots+0x78/0x188 [btrfs]
: [<ffffffff8104402b>] ? should_resched+0xe/0x2d
: [<ffffffffa033d0dd>] btrfs_commit_transaction+0x3fa/0x700 [btrfs]
: [<ffffffff8107340e>] ? remove_wait_queue+0x3a/0x3a
: [<ffffffffa033d85b>] ? start_transaction+0x1fd/0x253 [btrfs]
: [<ffffffffa0321487>] btrfs_sync_fs+0x8a/0xa1 [btrfs]
: [<ffffffff8114b500>] __sync_filesystem+0x63/0x77
: [<ffffffff8114b575>] sync_filesystem+0x49/0x4d
: [<ffffffff8112a914>] generic_shutdown_super+0x32/0xb9
: [<ffffffff8112aa18>] kill_anon_super+0x13/0x1e
: [<ffffffff8112ace5>] deactivate_locked_super+0x37/0x68
: [<ffffffff8112b553>] deactivate_super+0x37/0x3b
: [<ffffffff81140241>] mntput_no_expire+0xcc/0xd1
: [<ffffffff81140dfe>] sys_umount+0x2ac/0x2da
: [<ffffffff814bc0c2>] system_call_fastpath+0x16/0x1b
:Code: 00 08 4c 8d 45 cc 48 8d 4d bb 48 8b 72 20 48 8b 7d a0 41 b9 01 00 00 00 48 89 c2 c7 45 cc 33 00 00 00 e8 10 94 ff ff 85 c0 74 02 <0f> 0b 48 8b 45 98 48 8b 00 48 89 45 a8 48 8b 45 98 48 8b 7d a8 
:RIP  [<ffffffffa032f247>] run_clustered_refs+0x356/0x656 [btrfs]
: RSP <ffff88010c2b7b78>

event_log:
:2011-10-24-15:29:23> Submitting oops report to http://submit.kerneloops.org/submitoops.php
:2011-10-24-15:30:27  Kernel oops has not been sent due to Couldn't connect to server
:2011-10-24-15:30:27* (exited with 1)

Comment 1 Dave Jones 2012-03-22 16:38:08 UTC
[mass update]
kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository.
Please retest with this update.

Comment 2 Dave Jones 2012-03-22 16:43:31 UTC
[mass update]
kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository.
Please retest with this update.

Comment 3 Dave Jones 2012-03-22 16:51:35 UTC
[mass update]
kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository.
Please retest with this update.

Comment 4 Ling Li 2012-03-22 17:20:11 UTC
Sorry, I don't possess that machine/harddrive any more.

Comment 5 Dave Jones 2012-03-22 17:27:29 UTC
ok, I'll leave it to Josef to decide whether it's worth keeping this bug open.

Comment 6 Josef Bacik 2012-03-22 18:54:42 UTC
Closing then, but AFAIK this sort of situation should be taken care of in 3.4.