Unable to safely detach external HDD on USB 3.0

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

 



Hello,

I'm experiencing a problem I'm not able to troubleshoot.

I own a WD Elements Portable USB 3.0 HDD (WDBU6Y0020BBK) containing a drive model WD20NMVW-11AV3S3. When connected to a USB 3.0 port the drive works perfectly fine until I try to stop and detach the drive from the system, either with gnome-disk-utility or udisksctl: it stops spinning but it restarts soon after and reattaches itself to the system again. The problem does not occur when using a USB 2.0 port and does not occur under Windows 10 with both USB 2.0 and 3.0, spinning down and modifying the led activity accordingly, as expected.

I'm not sure whether the problem is a non compliant USB-Sata bridge (probably a JMicron) or bad timing, bad FSM implementation or something else, but I would like to determine the cause to either solve the problem or steer away from this vendor in the future. Please note the this issue is not distribution specific and is affecting a lot of people and other manufacturers as well, e.g.:
https://bugzilla.novell.com/show_bug.cgi?id=922634
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/792085
https://bugzilla.redhat.com/show_bug.cgi?id=1278944

Here you can find a few captures with Wireshark on both Ubuntu Linux (3.13.0 & 4.4.0) and Windows 10:
https://drive.google.com/open?id=0B2tgr9hETOtgbVFvdExQZkpTQmc

However USBPcap for Windows cannot capture a bunch of relevant messages, so there is almost nothing to see when detaching. Under Linux, USB 3.0 seems to be chattier than 2.0 after the SCSI START STOP UNIT command.

Any suggestion on how to investigate the issue is very welcome.

Thank you,
Regards
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux