[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#752916: linux-image-3.14-1-amd64: btrfs error after USB device goes to sleep (super.c:257 and extent-tree.c:134)



Package: src:linux
Version: 3.14.7-1
Severity: normal
Tags: upstream

Dear Maintainer,

I have an USB disk that turns off automatically after a certain time of inactivity
(but that is another problem), and when this happens, accesses to the (still) mounted
filesystem leads to the messages stated below in the kernel log.

Although I do not expect miracles there, I would tend to think that upstream may
appreciate the feedback to provide a saner behaviour to handle that situation.

On a side note, I did a quick check on changelogs in kernel.org and have not seen
any commit that would help in 3.14.8 and 3.14.9. I made light cleanup in the stuff
below to try to keep only what would be relevant.

Regards,
Christophe.


-- Package-specific info:
** Version:
Linux version 3.14-1-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.3 (Debian 4.8.3-3) ) #1 SMP Debian 3.14.7-1 (2014-06-16)

** Command line:
BOOT_IMAGE=/boot/vmlinuz-3.14-1-amd64 root=UUID=7ddaf671-497f-466a-a0d6-10cdb92def68 ro

** Tainted: W (512)
 * Taint on warning.

** Kernel log:
[457550.712214] ------------[ cut here ]------------
[457550.712245] WARNING: CPU: 1 PID: 5764 at /build/linux-er_USM/linux-3.14.7/fs/btrfs/super.c:257 __btrfs_abort_transaction+0x46/0x100 [btrfs]()
[457550.712249] BTRFS: Transaction aborted (error -5)
[457550.712252] Modules linked in: nls_cp437 crc32c btrfs raid6_pq xor nls_utf8 isofs usb_storage ip6t_REJECT ip6table_filter ip6_tables xt_multiport xt_tcpudp ipt_REJECT nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack xt_LOG iptable_filter ip_tables x_tables bnep rfcomm bluetooth 6lowpan_iphc cpufreq_stats cpufreq_powersave cpufreq_conservative cpufreq_userspace binfmt_misc autofs4 uinput nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc vfat fat firewire_sbp2 loop fuse parport_pc ppdev lp parport joydev arc4 snd_hda_codec_si3054 iwl3945 iwlegacy mac80211 i915 snd_hda_codec_realtek snd_hda_codec_generic coretemp snd_hda_intel drm_kms_helper snd_hda_codec drm kvm_intel snd_hwdep snd_pcm_oss kvm i2c_algo_bit cfg80211 iTCO_wdt snd_mixer_oss i2c_i801 iTCO_vendor_support snd_pcm i2c_core compal_laptop snd_seq_midi snd_seq_midi_event tpm_tis psmouse evdev pcspkr snd_rawmidi tpm serio_raw lpc_ich mfd_core r592 video memstick acpi_cpufreq processor snd_seq thermal_sy
 s rfkill snd_seq_device snd_timer wmi snd battery ene_ir ac rc_core button soundcore ext4 crc16 mbcache jbd2 md_mod sg sd_mod sr_mod crc_t10dif crct10dif_common cdrom ata_generic hid_cherry hid_generic usbhid hid firewire_ohci ahci libahci ata_piix firewire_core crc_itu_t sdhci_pci sdhci mmc_core libata scsi_mod tg3 ptp pps_core libphy ehci_pci uhci_hcd ehci_hcd usbcore usb_common
[457550.712439] CPU: 1 PID: 5764 Comm: umount Tainted: G        W    3.14-1-amd64 #1 Debian 3.14.7-1
[457550.712443] Hardware name: - N/A                                            /IFL91         , BIOS 1.18 06/18/2008
[457550.712446]  0000000000000009 ffffffff814ba0ac ffff88004d8a9c90 ffffffff8105efa2
[457550.712453]  00000000fffffffb ffff88004d8a9ce0 ffff88004fa9fa00 ffffffffa0982c40
[457550.712459]  0000000000000a9a ffffffff8105f007 ffffffffa0986868 0000000000000020
[457550.712465] Call Trace:
[457550.712477]  [<ffffffff814ba0ac>] ? dump_stack+0x41/0x51
[457550.712484]  [<ffffffff8105efa2>] ? warn_slowpath_common+0x72/0x90
[457550.712490]  [<ffffffff8105f007>] ? warn_slowpath_fmt+0x47/0x50
[457550.712504]  [<ffffffffa08e64a6>] ? __btrfs_abort_transaction+0x46/0x100 [btrfs]
[457550.712521]  [<ffffffffa0901851>] ? btrfs_run_delayed_refs.part.60+0x121/0x270 [btrfs]
[457550.712538]  [<ffffffffa0901c42>] ? btrfs_write_dirty_block_groups+0x282/0x680 [btrfs]
[457550.712552]  [<ffffffffa097becd>] ? commit_cowonly_roots+0x14b/0x202 [btrfs]
[457550.712571]  [<ffffffffa09114ca>] ? btrfs_commit_transaction+0x42a/0x990 [btrfs]
[457550.712589]  [<ffffffffa090d620>] ? close_ctree+0x260/0x290 [btrfs]
[457550.712596]  [<ffffffff8119ed41>] ? dispose_list+0x31/0x40
[457550.712601]  [<ffffffff8119f958>] ? evict_inodes+0xa8/0x100
[457550.712608]  [<ffffffff81187a09>] ? generic_shutdown_super+0x69/0xe0
[457550.712613]  [<ffffffff81187bf9>] ? kill_anon_super+0x9/0x20
[457550.712625]  [<ffffffffa08e386d>] ? btrfs_kill_super+0xd/0x90 [btrfs]
[457550.712631]  [<ffffffff81187ed3>] ? deactivate_locked_super+0x23/0x40
[457550.712636]  [<ffffffff811a2af6>] ? mntput_no_expire+0xc6/0x150
[457550.712641]  [<ffffffff811a3ed5>] ? SyS_umount+0x85/0xf0
[457550.712647]  [<ffffffff814c7979>] ? system_call_fastpath+0x16/0x1b
[457550.712650] ---[ end trace 7c58d68ee4bcafa1 ]---
[457550.712656] BTRFS: error (device sdh1) in btrfs_run_delayed_refs:2714: errno=-5 IO failure
[457550.712660] BTRFS info (device sdh1): forced readonly
[457550.742422] BTRFS warning (device sdh1): Skipping commit of aborted transaction.
[457550.742437] BTRFS: error (device sdh1) in cleanup_transaction:1539: errno=-5 IO failure
[457550.743081] BTRFS error (device sdh1): commit super ret -5
[457550.754974] ------------[ cut here ]------------
[457550.755005] WARNING: CPU: 0 PID: 5764 at /build/linux-er_USM/linux-3.14.7/fs/btrfs/extent-tree.c:134 btrfs_put_block_group+0x57/0x60 [btrfs]()
[457550.755009] Modules linked in: nls_cp437 crc32c btrfs raid6_pq xor nls_utf8 isofs usb_storage ip6t_REJECT ip6table_filter ip6_tables xt_multiport xt_tcpudp ipt_REJECT nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack xt_LOG iptable_filter ip_tables x_tables bnep rfcomm bluetooth 6lowpan_iphc cpufreq_stats cpufreq_powersave cpufreq_conservative cpufreq_userspace binfmt_misc autofs4 uinput nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc vfat fat firewire_sbp2 loop fuse parport_pc ppdev lp parport joydev arc4 snd_hda_codec_si3054 iwl3945 iwlegacy mac80211 i915 snd_hda_codec_realtek snd_hda_codec_generic coretemp snd_hda_intel drm_kms_helper snd_hda_codec drm kvm_intel snd_hwdep snd_pcm_oss kvm i2c_algo_bit cfg80211 iTCO_wdt snd_mixer_oss i2c_i801 iTCO_vendor_support snd_pcm i2c_core compal_laptop snd_seq_midi snd_seq_midi_event tpm_tis psmouse evdev pcspkr snd_rawmidi tpm serio_raw lpc_ich mfd_core r592 video memstick acpi_cpufreq processor snd_seq thermal_sy
 s rfkill snd_seq_device snd_timer wmi snd battery ene_ir ac rc_core button soundcore ext4 crc16 mbcache jbd2 md_mod sg sd_mod sr_mod crc_t10dif crct10dif_common cdrom ata_generic hid_cherry hid_generic usbhid hid firewire_ohci ahci libahci ata_piix firewire_core crc_itu_t sdhci_pci sdhci mmc_core libata scsi_mod tg3 ptp pps_core libphy ehci_pci uhci_hcd ehci_hcd usbcore usb_common
[457550.755190] CPU: 0 PID: 5764 Comm: umount Tainted: G        W    3.14-1-amd64 #1 Debian 3.14.7-1
[457550.755194] Hardware name: - N/A                                            /IFL91         , BIOS 1.18 06/18/2008
[457550.755197]  0000000000000009 ffffffff814ba0ac 0000000000000000 ffffffff8105efa2
[457550.755204]  ffff88000375c280 ffff88000375c280 ffff88000d4aa080 ffff88000d4aa000
[457550.755209]  ffff88000d4aa090 ffffffffa08f7c27 ffff88000375c330 ffffffffa0900c30
[457550.755215] Call Trace:
[457550.755226]  [<ffffffff814ba0ac>] ? dump_stack+0x41/0x51
[457550.755233]  [<ffffffff8105efa2>] ? warn_slowpath_common+0x72/0x90
[457550.755248]  [<ffffffffa08f7c27>] ? btrfs_put_block_group+0x57/0x60 [btrfs]
[457550.755266]  [<ffffffffa0900c30>] ? btrfs_free_block_groups+0xa0/0x3b0 [btrfs]
[457550.755284]  [<ffffffffa090d517>] ? close_ctree+0x157/0x290 [btrfs]
[457550.755291]  [<ffffffff8119ed41>] ? dispose_list+0x31/0x40
[457550.755296]  [<ffffffff8119f958>] ? evict_inodes+0xa8/0x100
[457550.755303]  [<ffffffff81187a09>] ? generic_shutdown_super+0x69/0xe0
[457550.755308]  [<ffffffff81187bf9>] ? kill_anon_super+0x9/0x20
[457550.755320]  [<ffffffffa08e386d>] ? btrfs_kill_super+0xd/0x90 [btrfs]
[457550.755326]  [<ffffffff81187ed3>] ? deactivate_locked_super+0x23/0x40
[457550.755331]  [<ffffffff811a2af6>] ? mntput_no_expire+0xc6/0x150
[457550.755336]  [<ffffffff811a3ed5>] ? SyS_umount+0x85/0xf0
[457550.755342]  [<ffffffff814c7979>] ? system_call_fastpath+0x16/0x1b
[457550.755346] ---[ end trace 7c58d68ee4bcafa2 ]---

** Model information
sys_vendor: -
product_name: N/A                                            
product_version: N/A                             
chassis_vendor: No Enclosure
chassis_version: N/A
bios_vendor: COMPAL          
bios_version: 1.18
board_vendor: -
board_name: IFL91         
board_version: IFT00

** USB devices:
Bus 004 Device 021: ID 1f75:0611 Innostor Technology Corporation 
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 028: ID 0bc2:3320 Seagate RSS LLC SRD00F2 [Expansion Desktop Drive]
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages linux-image-3.14-1-amd64 depends on:
ii  debconf [debconf-2.0]                   1.5.53
ii  initramfs-tools [linux-initramfs-tool]  0.115
ii  kmod                                    16-2
ii  linux-base                              3.5
ii  module-init-tools                       16-2

Versions of packages linux-image-3.14-1-amd64 recommends:
ii  firmware-linux-free  3.3

Versions of packages linux-image-3.14-1-amd64 suggests:
pn  debian-kernel-handbook  <none>
ii  grub-pc                 2.00-22
ii  linux-doc-3.14          3.14.7-1

-- debconf information:
  linux-image-3.14-1-amd64/postinst/depmod-error-initrd-3.14-1-amd64: false
  linux-image-3.14-1-amd64/prerm/removing-running-kernel-3.14-1-amd64: true


Reply to: