Bug 1170876 - [abrt] WARNING: CPU: 11 PID: 1852 at fs/btrfs/super.c:259 __btrfs_abort_transaction+0x50/0x110 [btrfs]() [btrfs]
Summary: [abrt] WARNING: CPU: 11 PID: 1852 at fs/btrfs/super.c:259 __btrfs_abort_trans...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: fedora-kernel-btrfs
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:f8ca1b25e69c08f785bec45a983...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-05 03:49 UTC by David Stoup
Modified: 2015-11-02 19:43 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-02 19:43:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: dmesg (72.09 KB, text/plain)
2014-12-05 03:49 UTC, David Stoup
no flags Details

Description David Stoup 2014-12-05 03:49:04 UTC
Description of problem:
I unplugged a btrfs formated external drive.

Additional info:
reporter:       libreport-2.3.0
WARNING: CPU: 11 PID: 1852 at fs/btrfs/super.c:259 __btrfs_abort_transaction+0x50/0x110 [btrfs]()
BTRFS: Transaction aborted (error -5)
Modules linked in: arc4 md4 nls_utf8 cifs dns_resolver fscache ip6t_rpfilter ip6t_REJECT xt_conntrack cfg80211 rfkill ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw x86_pkg_temp_thermal ses coretemp enclosure joydev btrfs xor raid6_pq kvm_intel kvm crct10dif_pclmul crc32_pclmul crc32c_intel iTCO_wdt iTCO_vendor_support lpc_ich ghash_clmulni_intel snd_hda_codec_hdmi mfd_core sb_edac edac_core mei_me serio_raw shpchp mei dcdbas tpm_tis tpm snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_controller snd_hda_codec
 snd_hwdep i2c_i801 snd_seq snd_seq_device snd_pcm snd_timer snd soundcore uas usb_storage nouveau video mxm_wmi wmi i2c_algo_bit drm_kms_helper ttm isci drm e1000e libsas ptp scsi_transport_sas pps_core
CPU: 11 PID: 1852 Comm: umount Not tainted 3.17.4-300.fc21.x86_64 #1
Hardware name: Dell Inc. Precision T3600/08HPGT, BIOS A13 05/11/2014
 0000000000000000 0000000047d5c8a3 ffff88080b72b9d0 ffffffff8173f929
 ffff88080b72ba18 ffff88080b72ba08 ffffffff810970ad 00000000fffffffb
 ffff880812714000 ffff88081f8cf000 ffffffffa0572330 000000000000174d
Call Trace:
 [<ffffffff8173f929>] dump_stack+0x45/0x56
 [<ffffffff810970ad>] warn_slowpath_common+0x7d/0xa0
 [<ffffffff8109712c>] warn_slowpath_fmt+0x5c/0x80
 [<ffffffffa04c7c10>] __btrfs_abort_transaction+0x50/0x110 [btrfs]
 [<ffffffffa04db073>] __btrfs_free_extent+0x173/0xc80 [btrfs]
 [<ffffffffa04d5a23>] ? block_group_cache_tree_search+0x23/0xe0 [btrfs]
 [<ffffffffa0540649>] ? btrfs_merge_delayed_refs+0x3b9/0x490 [btrfs]
 [<ffffffffa04e0e3e>] __btrfs_run_delayed_refs+0x8ee/0x1200 [btrfs]
 [<ffffffffa04e585e>] btrfs_run_delayed_refs.part.66+0x6e/0x280 [btrfs]
 [<ffffffffa04cd986>] ? btrfs_cow_block+0x116/0x1b0 [btrfs]
 [<ffffffffa04e5a87>] btrfs_run_delayed_refs+0x17/0x20 [btrfs]
 [<ffffffffa04f45be>] commit_cowonly_roots+0xbe/0x250 [btrfs]
 [<ffffffffa04f665f>] btrfs_commit_transaction+0x3ff/0x950 [btrfs]
 [<ffffffffa04f0a1f>] btrfs_commit_super+0x8f/0xa0 [btrfs]
 [<ffffffffa04f2588>] close_ctree+0x2b8/0x2f0 [btrfs]
 [<ffffffff81229838>] ? evict_inodes+0xc8/0x120
 [<ffffffffa04c3a89>] btrfs_put_super+0x19/0x20 [btrfs]
 [<ffffffff8120e8d2>] generic_shutdown_super+0x72/0xf0
 [<ffffffff8120ebf2>] kill_anon_super+0x12/0x20
 [<ffffffffa04c7676>] btrfs_kill_super+0x16/0x90 [btrfs]
 [<ffffffff8120efb9>] deactivate_locked_super+0x49/0x60
 [<ffffffff8120f3f4>] deactivate_super+0x64/0x70
 [<ffffffff8122cf7b>] mntput_no_expire+0xab/0x110
 [<ffffffff8122e5cb>] SyS_umount+0x9b/0x110
 [<ffffffff81746ae9>] system_call_fastpath+0x16/0x1b

Comment 1 David Stoup 2014-12-05 03:49:07 UTC
Created attachment 964965 [details]
File: dmesg

Comment 2 David Stoup 2014-12-05 04:12:03 UTC
Description of problem:
I was rsyncing a bunch of files to external drive

Version-Release number of selected component:
kernel

Additional info:
reporter:       libreport-2.3.0
cmdline:        BOOT_IMAGE=/vmlinuz-3.17.4-300.fc21.x86_64 root=UUID=254bb844-9c98-4159-a748-784172a83524 ro rhgb quiet LANG=en_US.UTF-8
kernel:         3.17.4-300.fc21.x86_64
runlevel:       N 5
type:           Kerneloops

Truncated backtrace:
WARNING: CPU: 11 PID: 1875 at fs/btrfs/super.c:259 __btrfs_abort_transaction+0x50/0x110 [btrfs]()
BTRFS: Transaction aborted (error -5)
Modules linked in: arc4 md4 nls_utf8 cifs dns_resolver fscache ip6t_rpfilter ip6t_REJECT xt_conntrack cfg80211 rfkill ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw x86_pkg_temp_thermal coretemp btrfs xor ses joydev enclosure raid6_pq kvm_intel kvm crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_controller snd_hda_codec sb_edac iTCO_wdt snd_hwdep snd_seq snd_seq_device snd_pcm snd_timer iTCO_vendor_support edac_core dcdbas
 mei_me mei shpchp lpc_ich serio_raw tpm_tis tpm snd i2c_i801 mfd_core soundcore uas usb_storage nouveau video mxm_wmi wmi i2c_algo_bit drm_kms_helper ttm e1000e isci drm libsas ptp scsi_transport_sas pps_core
CPU: 11 PID: 1875 Comm: umount Not tainted 3.17.4-300.fc21.x86_64 #1
Hardware name: Dell Inc. Precision T3600/08HPGT, BIOS A13 05/11/2014
 0000000000000000 0000000013aec83f ffff8800a62639d0 ffffffff8173f929
 ffff8800a6263a18 ffff8800a6263a08 ffffffff810970ad 00000000fffffffb
 ffff8807fce88000 ffff88081f8ba800 ffffffffa0584330 000000000000174d
Call Trace:
 [<ffffffff8173f929>] dump_stack+0x45/0x56
 [<ffffffff810970ad>] warn_slowpath_common+0x7d/0xa0
 [<ffffffff8109712c>] warn_slowpath_fmt+0x5c/0x80
 [<ffffffffa04d9c10>] __btrfs_abort_transaction+0x50/0x110 [btrfs]
 [<ffffffffa04ed073>] __btrfs_free_extent+0x173/0xc80 [btrfs]
 [<ffffffff810ada9b>] ? __queue_delayed_work+0x8b/0x1c0
 [<ffffffffa0552649>] ? btrfs_merge_delayed_refs+0x3b9/0x490 [btrfs]
 [<ffffffffa04f2e3e>] __btrfs_run_delayed_refs+0x8ee/0x1200 [btrfs]
 [<ffffffffa04ffdfe>] ? btree_set_page_dirty+0xe/0x10 [btrfs]
 [<ffffffff8119d027>] ? set_page_dirty+0x37/0x60
 [<ffffffffa052b8e1>] ? set_extent_buffer_dirty+0x71/0xc0 [btrfs]
 [<ffffffffa04f785e>] btrfs_run_delayed_refs.part.66+0x6e/0x280 [btrfs]
 [<ffffffffa04df986>] ? btrfs_cow_block+0x116/0x1b0 [btrfs]
 [<ffffffffa04f7a87>] btrfs_run_delayed_refs+0x17/0x20 [btrfs]
 [<ffffffffa05065be>] commit_cowonly_roots+0xbe/0x250 [btrfs]
 [<ffffffffa050865f>] btrfs_commit_transaction+0x3ff/0x950 [btrfs]
 [<ffffffffa0502a1f>] btrfs_commit_super+0x8f/0xa0 [btrfs]
 [<ffffffffa0504588>] close_ctree+0x2b8/0x2f0 [btrfs]
 [<ffffffff81229838>] ? evict_inodes+0xc8/0x120
 [<ffffffffa04d5a89>] btrfs_put_super+0x19/0x20 [btrfs]
 [<ffffffff8120e8d2>] generic_shutdown_super+0x72/0xf0
 [<ffffffff8120ebf2>] kill_anon_super+0x12/0x20
 [<ffffffffa04d9676>] btrfs_kill_super+0x16/0x90 [btrfs]
 [<ffffffff8120efb9>] deactivate_locked_super+0x49/0x60
 [<ffffffff8120f3f4>] deactivate_super+0x64/0x70
 [<ffffffff8122cf7b>] mntput_no_expire+0xab/0x110
 [<ffffffff8122e5cb>] SyS_umount+0x9b/0x110
 [<ffffffff81746ae9>] system_call_fastpath+0x16/0x1b

Comment 3 linuxdev-ofuku 2014-12-11 03:13:47 UTC
Hi,

This seems not a bug of btrfs since in your dmesg, it shows that your external USB
disk disconnected. And error -5(-EIO) also indicates it.

For such case, btrfs must abort transaction to try to keep its sane status.

Thanks,
Qu

Comment 4 Justin M. Forbes 2015-01-27 14:59:32 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There are a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 21 kernel bugs.

Fedora 21 has now been rebased to 3.18.3-201.fc21.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you experience different issues, please open a new bug report for those.

Comment 5 Jan Vlug 2015-02-09 07:27:13 UTC
Description of problem:
unplugged mounted btfs usb disk.

Version-Release number of selected component:
kernel

Additional info:
reporter:       libreport-2.3.0
cmdline:        BOOT_IMAGE=/vmlinuz-3.18.5-201.fc21.x86_64 root=UUID=7b53028e-a822-44b0-9435-798c97be7d6c ro rd.md=0 rd.dm=0 SYSFONT=True rd.lvm.lv=NewVolumeGroup/NewSwapVolume KEYTABLE=us rd.luks=0 LANG=en_US.UTF-8 rd.lvm.lv=HomeVolumeGroup/SwapVolume2 rhgb quiet
kernel:         3.18.5-201.fc21.x86_64
runlevel:       N 5
type:           Kerneloops

Truncated backtrace:
WARNING: CPU: 0 PID: 7058 at fs/btrfs/super.c:260 __btrfs_abort_transaction+0x54/0x120 [btrfs]()
BTRFS: Transaction aborted (error -5)
Modules linked in: btrfs xor raid6_pq cdc_acm rfcomm fuse xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun nf_conntrack_netbios_ns nf_conntrack_broadcast ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw bnep btusb bluetooth rfkill coretemp snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi kvm_intel gpio_ich kvm snd_hda_intel snd_hda_controller iTCO_wdt snd_hda_codec iTCO_vendor_support snd_hwdep snd_seq snd_seq_device snd_pcm ppdev snd_timer snd lpc_ich
 mfd_core serio_raw i2c_i801 soundcore shpchp parport_pc parport asus_atk0110 acpi_cpufreq nfsd auth_rpcgss nfs_acl lockd grace sunrpc uas usb_storage radeon i2c_algo_bit drm_kms_helper ttm drm atl1 ata_generic pata_acpi mii
CPU: 0 PID: 7058 Comm: umount Not tainted 3.18.5-201.fc21.x86_64 #1
Hardware name: System manufacturer System Product Name/P5B-MX, BIOS 0704    06/26/2008
 0000000000000000 00000000e2d35ff6 ffff8800ac8178e8 ffffffff8175e196
 0000000000000000 ffff8800ac817940 ffff8800ac817928 ffffffff810991a1
 ffff88000c131000 00000000fffffffb ffff88000c131000 ffff88006255e000
Call Trace:
 [<ffffffff8175e196>] dump_stack+0x46/0x58
 [<ffffffff810991a1>] warn_slowpath_common+0x81/0xa0
 [<ffffffff81099215>] warn_slowpath_fmt+0x55/0x70
 [<ffffffffa06ad284>] __btrfs_abort_transaction+0x54/0x120 [btrfs]
 [<ffffffffa06c0a09>] __btrfs_free_extent+0x179/0xca0 [btrfs]
 [<ffffffff810ff078>] ? add_timer+0x18/0x30
 [<ffffffff810b060b>] ? __queue_delayed_work+0x8b/0x1c0
 [<ffffffff8176461b>] ? _raw_spin_unlock_bh+0x1b/0x20
 [<ffffffffa0728449>] ? btrfs_merge_delayed_refs+0x3b9/0x490 [btrfs]
 [<ffffffffa06c676e>] __btrfs_run_delayed_refs+0x8fe/0x1210 [btrfs]
 [<ffffffffa06d3aae>] ? btree_set_page_dirty+0xe/0x10 [btrfs]
 [<ffffffff811a35cb>] ? set_page_dirty+0x3b/0x70
 [<ffffffffa0700611>] ? set_extent_buffer_dirty+0x71/0xc0 [btrfs]
 [<ffffffffa06cb2ce>] btrfs_run_delayed_refs.part.64+0x6e/0x280 [btrfs]
 [<ffffffffa06b30b6>] ? btrfs_cow_block+0x116/0x1b0 [btrfs]
 [<ffffffffa06cb4f7>] btrfs_run_delayed_refs+0x17/0x20 [btrfs]
 [<ffffffffa0752a51>] commit_cowonly_roots+0x9a/0x234 [btrfs]
 [<ffffffffa06dc651>] btrfs_commit_transaction+0x491/0xa20 [btrfs]
 [<ffffffffa06d6783>] btrfs_commit_super+0x93/0xa0 [btrfs]
 [<ffffffffa06d8300>] close_ctree+0x2c0/0x2f0 [btrfs]
 [<ffffffff812332e8>] ? evict_inodes+0xc8/0x120
 [<ffffffffa06a8b99>] btrfs_put_super+0x19/0x20 [btrfs]
 [<ffffffff81217b36>] generic_shutdown_super+0x76/0x100
 [<ffffffff81217e76>] kill_anon_super+0x16/0x30
 [<ffffffffa06ace08>] btrfs_kill_super+0x18/0x120 [btrfs]
 [<ffffffff81218259>] deactivate_locked_super+0x49/0x60
 [<ffffffff812186ac>] deactivate_super+0x6c/0x80
 [<ffffffff81236653>] cleanup_mnt+0x43/0xa0
 [<ffffffff81236702>] __cleanup_mnt+0x12/0x20
 [<ffffffff810b6574>] task_work_run+0xd4/0xf0
 [<ffffffff81013e27>] do_notify_resume+0x97/0xb0
 [<ffffffff81765187>] int_signal+0x12/0x17

Comment 6 Sylvain Arth 2015-05-08 13:12:35 UTC
Description of problem:
Probably time relative to  hard reboot due to a power failure 

Version-Release number of selected component:
kernel

Additional info:
reporter:       libreport-2.3.0
cmdline:        BOOT_IMAGE=/vmlinuz-3.19.5-200.fc21.i686 root=/dev/mapper/esus_divers-root ro quiet rhgb ifname=bootnet:f0:7d:68:d0:b5:4f ip=192.168.2.2::192.168.2.1:255.255.255.0:esus:bootnet:off:192.168.2.150 netroot=iscsi:192.168.2.150::::iqn.2015-03-23.org.gwenved:lug.target-2
kernel:         3.19.5-200.fc21.i686
type:           Kerneloops

Truncated backtrace:
#1 dump_stack
#2 warn_slowpath_common
#3 ? __btrfs_abort_transaction in btrfs
#4 ? __btrfs_abort_transaction in btrfs
#5 warn_slowpath_fmt
#6 __btrfs_abort_transaction in btrfs
#7 __btrfs_free_extent in btrfs
#8 ? add_timer
#9 ? __queue_delayed_work
#10 ? add_delayed_tree_ref in btrfs


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