USB external harddrive hang

Bug #1767738 reported by Francois Coulombe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have a powered external usb harddrive
https://www.bestbuy.ca/en-ca/product/western-digital-wd-my-book-4tb-2-5-usb-3-0-external-hard-drive-wdbbgb0040hbk-nesn-wdbbgb0040hbk-nesn/10482142.aspx

which i'm trying to mount.

connecting it shows in dmesg that it's picking up on a usb device.

after some time, it reports that a bunch of kernel tasks hung with some callstacks

I first encountered this bug on a raspberry pi by running an upgrade (i can't remember the original version but it use to work)

I then figured that i should check if the problem is also on my ubuntu machine running 16.04.
it did

i then upgraded to 17.10 and the problem was still there.

i then tested on 18.04 and the problem is still there.

running fdisk -l, blkid, parted, etc never finishes

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-20-generic 4.15.0-20.21
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sat Apr 28 20:27:26 2018
InstallationDate: Installed on 2015-08-06 (996 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
SourcePackage: linux-signed
UpgradeStatus: Upgraded to bionic on 2018-04-28 (0 days ago)
---
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: fcoulombe 2930 F.... pulseaudio
 /dev/snd/controlC1: fcoulombe 2930 F.... pulseaudio
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 18.04
HibernationDevice: RESUME=UUID=65c5f96f-bc21-4d1f-8253-82cb3117fbb6
InstallationDate: Installed on 2015-08-06 (996 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
MachineType: LENOVO 20378
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-20-generic root=UUID=c01a4e9a-489b-4b14-bd79-ce1cefb2f318 ro quiet splash vt.handoff=1
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
RelatedPackageVersions:
 linux-restricted-modules-4.15.0-20-generic N/A
 linux-backports-modules-4.15.0-20-generic N/A
 linux-firmware 1.173
Tags: bionic
Uname: Linux 4.15.0-20-generic x86_64
UpgradeStatus: Upgraded to bionic on 2018-04-28 (0 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 02/11/2015
dmi.bios.vendor: LENOVO
dmi.bios.version: 9ECN37WW(V2.01)
dmi.board.asset.tag: 31900058WIN
dmi.board.name: Lenovo Y50-70
dmi.board.vendor: LENOVO
dmi.board.version: 31900058WIN
dmi.chassis.asset.tag: 31900058WIN
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Lenovo Y50-70
dmi.modalias: dmi:bvnLENOVO:bvr9ECN37WW(V2.01):bd02/11/2015:svnLENOVO:pn20378:pvrLenovoY50-70:rvnLENOVO:rnLenovoY50-70:rvr31900058WIN:cvnLENOVO:ct10:cvrLenovoY50-70:
dmi.product.family: IDEAPAD
dmi.product.name: 20378
dmi.product.version: Lenovo Y50-70
dmi.sys.vendor: LENOVO

Revision history for this message
Francois Coulombe (fcoulombe) wrote :
tags: added: apport-collected
description: updated
Revision history for this message
Francois Coulombe (fcoulombe) wrote : AlsaInfo.txt

apport information

Revision history for this message
Francois Coulombe (fcoulombe) wrote : CRDA.txt

apport information

Revision history for this message
Francois Coulombe (fcoulombe) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Francois Coulombe (fcoulombe) wrote : IwConfig.txt

apport information

Revision history for this message
Francois Coulombe (fcoulombe) wrote : Lspci.txt

apport information

Revision history for this message
Francois Coulombe (fcoulombe) wrote : Lsusb.txt

apport information

Revision history for this message
Francois Coulombe (fcoulombe) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Francois Coulombe (fcoulombe) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Francois Coulombe (fcoulombe) wrote : ProcEnviron.txt

apport information

Revision history for this message
Francois Coulombe (fcoulombe) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Francois Coulombe (fcoulombe) wrote : ProcModules.txt

apport information

Revision history for this message
Francois Coulombe (fcoulombe) wrote : PulseList.txt

apport information

Revision history for this message
Francois Coulombe (fcoulombe) wrote : RfKill.txt

apport information

Revision history for this message
Francois Coulombe (fcoulombe) wrote : UdevDb.txt

apport information

Revision history for this message
Francois Coulombe (fcoulombe) wrote : WifiSyslog.txt

apport information

description: updated
Revision history for this message
Francois Coulombe (fcoulombe) wrote :

running with 4.17 rc2 mainline gives me this callstack

[Apr29 12:17] usb 4-2: reset SuperSpeed USB device number 2 using xhci_hcd
[Apr29 12:19] INFO: task pool:3929 blocked for more than 120 seconds.
[ +0.000005] Not tainted 4.17.0-041700rc2-generic #201804230622
[ +0.000001] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ +0.000002] pool D 0 3929 1 0x00000000
[ +0.000004] Call Trace:
[ +0.000008] __schedule+0x28e/0x830
[ +0.000005] ? enqueue_task_fair+0xdc/0x850
[ +0.000005] ? get_work_pool+0x40/0x40
[ +0.000003] schedule+0x2c/0x80
[ +0.000004] schedule_timeout+0x1db/0x360
[ +0.000004] ? ttwu_do_activate+0x77/0x80
[ +0.000003] ? get_work_pool+0x40/0x40
[ +0.000002] wait_for_completion+0xba/0x140
[ +0.000003] ? wake_up_q+0x80/0x80
[ +0.000004] flush_work+0x127/0x1e0
[ +0.000003] ? worker_detach_from_pool+0xa0/0xa0
[ +0.000003] __cancel_work_timer+0x131/0x1b0
[ +0.000005] ? exact_lock+0x11/0x20
[ +0.000003] cancel_delayed_work_sync+0x13/0x20
[ +0.000003] disk_block_events+0x78/0x80
[ +0.000005] __blkdev_get+0x73/0x510
[ +0.000005] blkdev_get+0x22e/0x340
[ +0.000005] ? mntput+0x24/0x40
[ +0.000003] ? path_put+0x1e/0x30
[ +0.000003] blkdev_get_by_path+0x53/0x90
[ +0.000003] mount_bdev+0x44/0x1b0
[ +0.000004] ? hfsplus_iget+0x210/0x210 [hfsplus]
[ +0.000004] hfsplus_mount+0x15/0x20 [hfsplus]
[ +0.000002] mount_fs+0x37/0x150
[ +0.000004] vfs_kern_mount.part.25+0x5d/0x110
[ +0.000002] do_mount+0x5ed/0xce0
[ +0.000002] ? copy_mount_options+0x2c/0x220
[ +0.000003] ksys_mount+0x98/0xe0
[ +0.000002] __x64_sys_mount+0x25/0x30
[ +0.000004] do_syscall_64+0x5a/0x120
[ +0.000003] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ +0.000003] RIP: 0033:0x7f5aa3c653ca
[ +0.000002] RSP: 002b:00007f5a8f1fb2a8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
[ +0.000003] RAX: ffffffffffffffda RBX: 00007f5a84008bb0 RCX: 00007f5aa3c653ca
[ +0.000001] RDX: 00007f5a84008520 RSI: 00007f5a84008d90 RDI: 00007f5a84008540
[ +0.000002] RBP: 0000000000000000 R08: 00007f5a84008dc0 R09: 00007f5a8400864f
[ +0.000002] R10: 00000000c0ed0006 R11: 0000000000000202 R12: 00007f5a84008540
[ +0.000001] R13: 00007f5a84008520 R14: 0000000000000000 R15: 00007f5aa55c88a4

i suspect it's related to the hfsplus partition that's on the harddrive

affects: linux-signed (Ubuntu) → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
W-barath-hotmail (w-barath-hotmail) wrote :

There's a lot of reviews from Windows users saying this drive hangs if connected to a USB 2.0 port, however I see you have it connected to a USB 3.0 port (xhci_hcd).

The other issue could be that you are using an unpowered hub, or plugging it into a regular USB 3.0 port (900mA) instead of a dedicated charging port (1500mA) which many drives require.

Is the port colour yellow? Does it feature a lightning bolt silkscreened above it? Can you rapid-charge a compatible phone from that port?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.