[Kernel-packages] [Bug 1363329] [NEW] USB devices have issues mounting / unmounting on Lenovo B570

2014-08-29 Thread Eric Ye
Public bug reported:

On my laptop, a Lenovo B570, I had issues mounting a hard drive with
BTRFS partition through USB using the 3.13.0-35-generic kernel. I booted
the system with 3.13.0-34-generic kernel and it seems to work, so this
is like a regression.

Relevant areas of syslog:

Aug 29 21:25:05 eric-xubuntu kernel: [  828.141833] end_request: critical 
target error, dev sdc, sector 0
Aug 29 21:25:05 eric-xubuntu udisksd[2195]: Unmounted /dev/sdc1 on behalf of 
uid 1000
Aug 29 21:25:10 eric-xubuntu udisksd[2195]: Cleaning up mount point 
/media/eric/1cb79382-b46b-437c-b029-91abfac70fe2 (device 8:35 is not mounte
d)
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277439] end_request: critical 
target error, dev sdc, sector 0
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277518] btrfs: bdev /dev/sdc3 errs: 
wr 0, rd 0, flush 1, corrupt 0, gen 0
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277534] BTRFS error (device sdc3) 
in write_all_supers:3382: errno=-5 IO failure (errors while submi
tting device barriers.)
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277539] BTRFS info (device sdc3): 
forced readonly
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277544] BTRFS warning (device 
sdc3): Skipping commit of aborted transaction.
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277548] [ cut here 
]
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277576] WARNING: CPU: 0 PID: 2893 
at /build/buildd/linux-3.13.0/fs/btrfs/super.c:254 __btrfs_abort_
transaction+0x50/0x110 [btrfs]()
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277580] btrfs: Transaction aborted 
(error -5)
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277582] Modules linked in: btrfs 
raid6_pq libcrc32c xor usb_storage ctr ccm rfcomm bnep bluetooth d
m_crypt arc4 intel_rapl ath9k rts5139(C) ath9k_common snd_hda_codec_hdmi 
x86_pkg_temp_thermal intel_powerclamp ath9k_hw uvcvideo snd_hda_codec_
realtek videobuf2_vmalloc coretemp videobuf2_memops videobuf2_core videodev 
acer_wmi snd_hda_intel ath ideapad_laptop mac80211 snd_hda_codec sn
d_hwdep kvm_intel cfg80211 snd_pcm kvm parport_pc ppdev lp snd_page_alloc 
snd_seq_midi snd_seq_midi_event crct10dif_pclmul snd_rawmidi crc32_pc
lmul mei_me parport snd_seq ghash_clmulni_intel sparse_keymap snd_seq_device 
snd_timer cryptd snd joydev mac_hid soundcore lpc_ich mei serio_ra
w hid_microsoft usbhid hid i915 i2c_algo_bit drm_kms_helper psmouse r8169 drm 
mii ahci libahci wmi video
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277662] CPU: 0 PID: 2893 Comm: 
umount Tainted: G C   3.13.0-35-generic #62-Ubuntu
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277663] Hardware name: LENOVO 
10685LU/Emerald Lake, BIOS 44CN43WW 10/27/2011
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277665]  0009 
8801fae6fc50 8171e320 8801fae6fc98
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277668]  8801fae6fc88 
8106775d fffb 88022f51b800
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277670]  880209725000 
a0784e90 060b 8801fae6fce8
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277672] Call Trace:
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277678]  [] 
dump_stack+0x45/0x56
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277682]  [] 
warn_slowpath_common+0x7d/0xa0
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277684]  [] 
warn_slowpath_fmt+0x4c/0x50
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277691]  [] 
__btrfs_abort_transaction+0x50/0x110 [btrfs]
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277701]  [] 
cleanup_transaction+0x6e/0x290 [btrfs]
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277706]  [] ? 
prepare_to_wait_event+0x100/0x100
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277716]  [] 
btrfs_commit_transaction+0x6ea/0x970 [btrfs]
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277724]  [] 
btrfs_commit_super+0x8f/0xa0 [btrfs]
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277732]  [] 
close_ctree+0x1e0/0x290 [btrfs]
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277736]  [] ? 
evict_inodes+0x11c/0x130
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277742]  [] 
btrfs_put_super+0x19/0x20 [btrfs]
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277746]  [] 
generic_shutdown_super+0x72/0xf0
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277749]  [] 
kill_anon_super+0x12/0x20
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277755]  [] 
btrfs_kill_super+0x16/0x90 [btrfs]
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277758]  [] 
deactivate_locked_super+0x3d/0x60
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277760]  [] 
deactivate_super+0x46/0x60
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277763]  [] 
mntput_no_expire+0xd6/0x170
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277765]  [] 
SyS_umount+0x8e/0x100
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277576] WARNING: CPU: 0 PID: 2893 
at /build/buildd/linux-3.13.0/fs/btrfs/super.c:254 __btrfs_abort_
transaction+0x50/0x110 [btrfs]()
Aug 29 21:25:11 eric-xubuntu kernel: [  834.277580] btrfs: Transaction aborted 
(error -5)
Aug 29 2

[Kernel-packages] [Bug 1363329] Re: BTRFS USB drive has issue mounting / unmounting on Lenovo B570

2014-09-06 Thread Eric Ye
** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

** Tags added: kernel-bug-exists-upstream

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1363329

Title:
  BTRFS USB drive has issue mounting / unmounting on Lenovo B570

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  On my laptop, a Lenovo B570, I had issues mounting a hard drive with
  BTRFS partition through USB using the 3.13.0-35-generic kernel. I
  booted the system with 3.13.0-34-generic kernel and it seems to work,
  so this is like a regression.

  Relevant areas of syslog:

  Aug 29 21:25:05 eric-xubuntu kernel: [  828.141833] end_request: critical 
target error, dev sdc, sector 0
  Aug 29 21:25:05 eric-xubuntu udisksd[2195]: Unmounted /dev/sdc1 on behalf of 
uid 1000
  Aug 29 21:25:10 eric-xubuntu udisksd[2195]: Cleaning up mount point 
/media/eric/1cb79382-b46b-437c-b029-91abfac70fe2 (device 8:35 is not mounte
  d)
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277439] end_request: critical 
target error, dev sdc, sector 0
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277518] btrfs: bdev /dev/sdc3 
errs: wr 0, rd 0, flush 1, corrupt 0, gen 0
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277534] BTRFS error (device sdc3) 
in write_all_supers:3382: errno=-5 IO failure (errors while submi
  tting device barriers.)
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277539] BTRFS info (device sdc3): 
forced readonly
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277544] BTRFS warning (device 
sdc3): Skipping commit of aborted transaction.
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277548] [ cut here 
]
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277576] WARNING: CPU: 0 PID: 2893 
at /build/buildd/linux-3.13.0/fs/btrfs/super.c:254 __btrfs_abort_
  transaction+0x50/0x110 [btrfs]()
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277580] btrfs: Transaction 
aborted (error -5)
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277582] Modules linked in: btrfs 
raid6_pq libcrc32c xor usb_storage ctr ccm rfcomm bnep bluetooth d
  m_crypt arc4 intel_rapl ath9k rts5139(C) ath9k_common snd_hda_codec_hdmi 
x86_pkg_temp_thermal intel_powerclamp ath9k_hw uvcvideo snd_hda_codec_
  realtek videobuf2_vmalloc coretemp videobuf2_memops videobuf2_core videodev 
acer_wmi snd_hda_intel ath ideapad_laptop mac80211 snd_hda_codec sn
  d_hwdep kvm_intel cfg80211 snd_pcm kvm parport_pc ppdev lp snd_page_alloc 
snd_seq_midi snd_seq_midi_event crct10dif_pclmul snd_rawmidi crc32_pc
  lmul mei_me parport snd_seq ghash_clmulni_intel sparse_keymap snd_seq_device 
snd_timer cryptd snd joydev mac_hid soundcore lpc_ich mei serio_ra
  w hid_microsoft usbhid hid i915 i2c_algo_bit drm_kms_helper psmouse r8169 drm 
mii ahci libahci wmi video
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277662] CPU: 0 PID: 2893 Comm: 
umount Tainted: G C   3.13.0-35-generic #62-Ubuntu
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277663] Hardware name: LENOVO 
10685LU/Emerald Lake, BIOS 44CN43WW 10/27/2011
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277665]  0009 
8801fae6fc50 8171e320 8801fae6fc98
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277668]  8801fae6fc88 
8106775d fffb 88022f51b800
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277670]  880209725000 
a0784e90 060b 8801fae6fce8
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277672] Call Trace:
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277678]  [] 
dump_stack+0x45/0x56
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277682]  [] 
warn_slowpath_common+0x7d/0xa0
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277684]  [] 
warn_slowpath_fmt+0x4c/0x50
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277691]  [] 
__btrfs_abort_transaction+0x50/0x110 [btrfs]
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277701]  [] 
cleanup_transaction+0x6e/0x290 [btrfs]
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277706]  [] ? 
prepare_to_wait_event+0x100/0x100
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277716]  [] 
btrfs_commit_transaction+0x6ea/0x970 [btrfs]
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277724]  [] 
btrfs_commit_super+0x8f/0xa0 [btrfs]
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277732]  [] 
close_ctree+0x1e0/0x290 [btrfs]
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277736]  [] ? 
evict_inodes+0x11c/0x130
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277742]  [] 
btrfs_put_super+0x19/0x20 [btrfs]
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277746]  [] 
generic_shutdown_super+0x72/0xf0
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277749]  [] 
kill_anon_super+0x12/0x20
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277755]  [] 
btrfs_kill_super+0x16/0x90 [btrfs]
  Aug 29 21:25:11 eric-xubuntu kernel: [  834.277758]  [] 
deactivate_locked_super+0x3d/0x60
  Aug 29 21:25:11 eric-xubuntu kernel