| Summary: | USB xHCI: Random disconnects of a USB 3.0 HDD enclosure | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Vasiliy Pupkin <probspot2prob> |
| Component: | [OLD] Core system | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Vasiliy Pupkin
2015-09-10 11:20:01 UTC
=====> kernel config on the hardware where it doesn't work: http://pastebin.com/yg65zBdU =====> kernel config on the hardware where it works: http://pastebin.com/Yt1f4HXV Found this on a WD page: Problem: A USB 3.0 drive randomly disconnects and reconnects from the computer in one of the following scenarios: - Drives appear to disconnect and reconnect from the computer repeatedly while it is not transferring any data. This can be identified by notifications such as the sound of a USB device being disconnected or the pop-up on the bottom right of the screen. - Autoplay dialog appears repeatedly after closing it, or the device temporarily disappears from the Explorer. - The drive sometimes disconnects and immediately reconnects during small data transfers, which may cause an error message such as Delayed Write Failed. Cause: Western Digital has found that a small number of newer computer systems with USB 3.0, have a USB 3.0 Redriver vendor ASIC (Application-specific Integrated Circuit) - particularly with Intel USB 3.0 and Renesas (formerly NEC) host chipsets, when used with our USB 3.0 products with Initio CP48 Gen2 and Jmicron CP48 (FW 1.014 or higher) device controllers - may have problems interacting with the advanced power management features of the WD USB 3.0 drives. Solution: - Resolution to the issue at hand requires to guide the Customer to disable the advanced USB 3.0 power management modes (known as U1/U2), on either the computer or the drive. WD can provide a software tool to the Customer which will disable the USB 3.0 power management modes on the WD drive and should permanently resolve the issue. - Some USB 3.0 host adapters (typically Reneas [formerly NEC]) and their drivers, have an option to disable USB 3.0 power management functions. This is done within a vendor provided utility (USB 3.0 Host Controller Information) or in Windows Driver Details tab. - Another option, if available, is to guide the Customer to connect the drive to a USB 3.0 hub, instead of directly to the computer. The reason is because many USB 3.0 hubs don't support the U1/U2 power management modes, and the issue may be resolved in this way. Ensure that the USB 3.0 hub's firmware is updated to the latest version. To determine if the system has a problem with U1/U2 power management, have the Customer connect the drive to a USB 2.0 port on the computer. If the drive does not disconnect and reconnect as before, it is safe to assume that the advanced power management feature is causing the issue in the USB 3.0 port. Make sure to let the Customer know that it is likely that the issue will occur most often when the drive is idle. With smaller, infrequent data transfers, the drive may disconnect during the data transfer resulting in an error message that the file transfer did not complete. During large data transfers, however, the device may stay connected as normal. https://wdc.custhelp.com/app/answers/detail/a_id/9588/~/a-usb-3.0-drive-randomly-disconnects-and-reconnects-from-a-pc Now the question is how to disable U1/U2 in Linux. Issue resolved. The root cause was the cable. USB 3.0 requires really thick and well-shielded cables for error-free operation. |