Bug 746121

Summary: [abrt] kernel: kernel BUG at fs/btrfs/disk-io.c:2362!: TAINTED P------D
Product: [Fedora] Fedora Reporter: Bruno Martins <bruno>
Component: kernelAssignee: Zach Brown <zab>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: adrin.jalali, alevy, gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, sweil
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:383ad4197efa6ba4505e1f8e237402de70cc3264
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-11 17:49:26 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 Bruno Martins 2011-10-13 23:42:19 UTC
abrt version: 2.0.3
architecture:   x86_64
cmdline:        ro root=UUID=cdf2826b-f5c8-4ed1-8650-de1f859c93f8 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=pt-latin1 rhgb quiet
comment:        Clicked unmount on a BTRFS partition, on an external disk, through GParted.
component:      kernel
kernel:         2.6.40.6-0.fc15.x86_64
kernel_tainted: 129
os_release:     Fedora release 15 (Lovelock)
package:        kernel
reason:         kernel BUG at fs/btrfs/disk-io.c:2362!
time:           Fri Oct 14 00:41:31 2011

backtrace:
:kernel BUG at fs/btrfs/disk-io.c:2362!
:invalid opcode: 0000 [#1] SMP 
:CPU 0 
:Modules linked in: btrfs zlib_deflate libcrc32c fuse usb_storage uas ppdev parport_pc lp parport vboxpci vboxnetadp vboxnetflt vboxdrv 8021q garp stp llc cpufreq_ondemand acpi_cpufreq mperf ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack bnep bluetooth snd_hda_codec_hdmi snd_hda_codec_realtek lib80211_crypt_tkip snd_hda_intel snd_hda_codec snd_hwdep snd_seq uvcvideo videodev media v4l2_compat_ioctl32 hp_wmi snd_seq_device wl(P) snd_pcm snd_timer snd sparse_keymap r8169 rfkill soundcore serio_raw mii snd_page_alloc i2c_i801 lib80211 microcode iTCO_wdt iTCO_vendor_support joydev ipv6 wmi i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan]
:Pid: 2482, comm: umount Tainted: P            2.6.40.6-0.fc15.x86_64 #1 Hewlett-Packard HP G62 Notebook PC              /1439
:RIP: 0010:[<ffffffffa07098d2>]  [<ffffffffa07098d2>] write_all_supers+0x229/0x23c [btrfs]
:RSP: 0018:ffff880125f01cb8  EFLAGS: 00010292
:RAX: 000000000000003a RBX: ffff88014f746978 RCX: 0000000000000ed8
:RDX: 0000000000000000 RSI: 0000000000000046 RDI: 0000000000000246
:RBP: ffff880125f01d18 R08: 0000000000000002 R09: 0000ffff00066c0a
:R10: 0000ffff00066c0a R11: 0000000000000003 R12: 0000000000000001
:R13: ffff88014f746900 R14: ffff880150052000 R15: 0000000000000000
:FS:  00007feb17f76820(0000) GS:ffff880157c00000(0000) knlGS:0000000000000000
:CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
:CR2: 0000000001d1de11 CR3: 0000000125d7d000 CR4: 00000000000006f0
:DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
:DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
:Process umount (pid: 2482, threadinfo ffff880125f00000, task ffff880125f49730)
:Stack:
: 0000000025f01cd0 ffff88014f746978 ffff88013b974e63 0000000000000001
: 0000000000000000 ffff88014f746978 ffff880125f01d18 ffff880150052000
: ffff8801371e1000 ffff8801373aa000 ffff8801373aa078 0000000000000000
:Call Trace:
: [<ffffffffa07098f8>] write_ctree_super+0x13/0x15 [btrfs]
: [<ffffffffa070dbdd>] btrfs_commit_transaction+0x5dc/0x706 [btrfs]
: [<ffffffff8107064a>] ? remove_wait_queue+0x3a/0x3a
: [<ffffffffa070e188>] ? start_transaction+0x20a/0x262 [btrfs]
: [<ffffffffa06f14fd>] btrfs_sync_fs+0x8d/0xa8 [btrfs]
: [<ffffffff811488a3>] __sync_filesystem+0x63/0x77
: [<ffffffff81148918>] sync_filesystem+0x49/0x4d
: [<ffffffff81128cc0>] generic_shutdown_super+0x32/0xde
: [<ffffffff81128de9>] kill_anon_super+0x13/0x4c
: [<ffffffff81129018>] deactivate_locked_super+0x37/0x5c
: [<ffffffff81129832>] deactivate_super+0x37/0x3b
: [<ffffffff8113e4e2>] mntput_no_expire+0xcc/0xd1
: [<ffffffff8113f09c>] sys_umount+0x2ac/0x2da
: [<ffffffff8148ed02>] system_call_fastpath+0x16/0x1b
:Code: 20 01 00 00 48 8b b8 48 23 00 00 48 83 c7 58 e8 99 dd d7 e0 44 3b 65 bc 7e 13 44 89 e6 48 c7 c7 84 2c 75 a0 31 c0 e8 95 61 d7 e0 <0f> 0b 48 83 c4 38 31 c0 5b 41 5c 41 5d 41 5e 41 5f 5d c3 55 48 
:RIP  [<ffffffffa07098d2>] write_all_supers+0x229/0x23c [btrfs]
: RSP <ffff880125f01cb8>

kernel_tainted_long:
:Proprietary module has been loaded.
:Kernel has oopsed before.

Comment 1 Josh Boyer 2011-10-19 19:29:35 UTC
Can you recreate that without the vbox modules loaded?

Comment 2 Alon Levy 2011-10-26 19:39:03 UTC
Package: kernel
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment
-----
I have an external usb drive that is formated with btrfs (no partition table).

1. Removed from computer A (I thought it was after it completed syncing, probably was wrong).
2. Inserted into this computer.
3. No popup, not automatically mounted. So removed it (physically, nothing to unmount since it wasn't mounted)
4. bam, got kernel BUG.

Comment 3 Dave Jones 2011-10-27 18:41:49 UTC
Alon, please open an f16 bug with the backtrace.

Comment 4 Adrin Jalali 2011-10-27 19:23:20 UTC
Package: kernel
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment
-----
ooops? don't know.

Comment 5 Adrin Jalali 2011-10-31 20:21:26 UTC
Package: kernel
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment
-----
don't know.

Comment 6 Adrin Jalali 2011-11-20 02:12:07 UTC
Package: kernel
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment
-----
btrfs could not be mounted after this.

Comment 7 Adrin Jalali 2011-11-24 22:13:02 UTC
Package: kernel
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment
-----
nothing special.

Comment 8 Alon Levy 2011-12-05 06:07:05 UTC
Package: kernel
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment
-----
I have an external usb drive that is formated with btrfs (no partition table).

1. Removed from computer A (I thought it was after it completed syncing, probably was wrong).
2. Inserted into this computer.
3. No popup, not automatically mounted. So removed it (physically, nothing to unmount since it wasn't mounted)
4. bam, got kernel BUG.

Comment 9 Dave Jones 2012-04-11 15:56:40 UTC
Bruno, can you still reproduce this ?
Had this been hibernated at all ?

Comment 10 Josh Boyer 2012-07-11 17:49:26 UTC
Fedora 15 has reached it's end of life as of June 26, 2012.  As a result, we will not be fixing any remaining bugs found in Fedora 15.

In the event that you have upgraded to a newer release and the bug you reported is still present, please reopen the bug and set the version field to the newest release you have encountered the issue with.  Before doing so, please ensure you are testing the latest kernel update in that release and attach any new and relevant information you may have gathered.

Thank you for taking the time to file a report.  We hope newer versions of Fedora suit your needs.