使用 Ubuntu 12.04 三年后,今天我决定是时候转换到 Ubuntu MATE 15.04 了。
安装过程很顺利,但是当我连接 HDD 基座来恢复文件时,Ubuntu 照常挂载了每个磁盘,但几秒钟后,连接到 USB 端口的所有内容都停止工作约 5-10 秒,包括鼠标(但只有 USB 鼠标,触摸板工作正常)。在此期间,CPU 在后台疯狂工作,但我无法看到哪个进程消耗了这么多电量。之后,一切恢复正常,鼠标再次工作,但基座中的磁盘对系统来说完全不可见。事实上,在我重新启动计算机之前,连接到该端口的所有内容都是不可见的。我确信问题出在基座和 USB3 之间的交互上,因为我可以在崩溃之前和之后将基座连接到任何其他 USB2 端口,并且我可以在崩溃之前将其他设备连接到 USB3 端口。
一些技术细节:我的笔记本电脑是 Acer Aspire TimelineX 4830T,有一个 USB3 端口和两个 USB2 端口。扩展坞是 Sharkoon 的 SATA QuickPort Quattro(http://www.sharkoon.com/?q=en/node/1825) 配备 4 个 HDD,每个 3 TB,并使用 ext4 格式化。
通过 USB3 端口连接期间,磁盘管理器只能短时间看到扩展坞中的磁盘,lsusb 等到 USB 系统“重新启动”后才给出任何输出(否则正常工作),并且设备只会短暂地出现在 /dev 中。
我尝试在连接之前或之后打开所有磁盘或仅打开一个磁盘,我甚至尝试使用较小的磁盘(1 TB),我注意到的唯一变化是在最后一次尝试中,使用较小的磁盘时,计算机似乎需要更长的时间才能意识到出现了问题,但这次除了鼠标之外,整个计算机都被阻塞了几秒钟。
我不得不说,在 7 月到 12 月期间,我使用 Ubuntu 12.04 时遇到了同样的问题,或者类似的问题。很难说得更准确,我已经不得不查看我的文档来设置这些限制。当时有一个内核更新,在通常的重启后,我无法连接我的扩展坞。“解决方案”是卸载较新的内核并使用旧内核,所以从那一刻起,我就不敢安装较新的版本,经过这么多个月,我完全忘记了这个问题,直到它再次回到我身边。
我希望有足够的细节来找到解决方案,但如果您需要更多细节,我很乐意在这里发布它们。
编辑:根据要求,我将在这里留下一份副本dmesg
:
[ 119.659267] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 119.823870] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd
[ 119.844253] usb 2-1: New USB device found, idVendor=152d, idProduct=0539
[ 119.844264] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 119.844270] usb 2-1: Product: USB to ATA/ATAPI Bridge
[ 119.844274] usb 2-1: Manufacturer: JMicron
[ 119.844278] usb 2-1: SerialNumber: 1F40FFFFFFFF
[ 119.881162] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 119.881483] usb-storage 2-1:1.0: Quirks match for vid 152d pid 0539: 4000000
[ 119.881535] scsi host6: usb-storage 2-1:1.0
[ 119.881728] usbcore: registered new interface driver usb-storage
[ 119.886041] usbcore: registered new interface driver uas
[ 120.881959] scsi 6:0:0:0: Direct-Access ST3000DM 001-1CH166 PQ: 0 ANSI: 5
[ 120.882641] sd 6:0:0:0: Attached scsi generic sg2 type 0
[ 120.882853] sd 6:0:0:0: [sdb] Very big device. Trying to use READ CAPACITY(16).
[ 120.883092] sd 6:0:0:0: [sdb] 5860533168 512-byte logical blocks: (3.00 TB/2.72 TiB)
[ 120.883683] sd 6:0:0:0: [sdb] Write Protect is off
[ 120.883691] sd 6:0:0:0: [sdb] Mode Sense: 28 00 00 00
[ 120.884270] sd 6:0:0:0: [sdb] No Caching mode page found
[ 120.884276] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 120.885840] sd 6:0:0:0: [sdb] Very big device. Trying to use READ CAPACITY(16).
[ 121.177771] sdb: unknown partition table
[ 121.179119] sd 6:0:0:0: [sdb] Very big device. Trying to use READ CAPACITY(16).
[ 121.180538] sd 6:0:0:0: [sdb] Attached SCSI disk
[ 121.547759] EXT4-fs (sdb): recovery complete
[ 121.547766] EXT4-fs (sdb): mounted filesystem with ordered data mode. Opts: (null)
[ 129.676767] xhci_hcd 0000:05:00.0: xHCI host not responding to stop endpoint command.
[ 129.676817] xhci_hcd 0000:05:00.0: Assuming host is dying, halting host.
[ 129.762256] xhci_hcd 0000:05:00.0: Host not halted after 16000 microseconds.
[ 129.762262] xhci_hcd 0000:05:00.0: Non-responsive xHCI host is not halting.
[ 129.762266] xhci_hcd 0000:05:00.0: Completing active URBs anyway.
[ 129.762286] xhci_hcd 0000:05:00.0: HC died; cleaning up
[ 153.621001] xhci_hcd 0000:05:00.0: Stopped the command ring failed, maybe the host is dead
[ 153.696800] xhci_hcd 0000:05:00.0: Host not halted after 16000 microseconds.
[ 153.696806] xhci_hcd 0000:05:00.0: Abort command ring failed
[ 153.696812] xhci_hcd 0000:05:00.0: HC died; cleaning up
[ 153.699429] usb usb1-port1: couldn't allocate usb_device
[ 153.699500] usb 2-1: USB disconnect, device number 2
[ 153.731614] cfg80211: Calling CRDA to update world regulatory domain
[ 153.749228] cfg80211: World regulatory domain updated:
[ 153.749234] cfg80211: DFS Master region: unset
[ 153.749237] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 153.749242] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 153.749246] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 153.749249] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 153.749253] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 153.749256] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[ 154.687510] wlan0: authenticate with 08:96:d7:00:8c:8d
[ 154.712853] wlan0: send auth to 08:96:d7:00:8c:8d (try 1/3)
[ 154.720156] wlan0: authenticated
[ 154.722927] wlan0: associate with 08:96:d7:00:8c:8d (try 1/3)
[ 154.745197] wlan0: RX AssocResp from 08:96:d7:00:8c:8d (capab=0x431 status=0 aid=1)
[ 154.745356] wlan0: associated
[ 154.745641] cfg80211: Calling CRDA for country: DE
[ 154.749231] ath: EEPROM regdomain: 0x8114
[ 154.749236] ath: EEPROM indicates we should expect a country code
[ 154.749239] ath: doing EEPROM country->regdmn map search
[ 154.749241] ath: country maps to regdmn code: 0x37
[ 154.749243] ath: Country alpha2 being used: DE
[ 154.749244] ath: Regpair used: 0x37
[ 154.749247] ath: regdomain 0x8114 dynamically updated by country IE
[ 154.749294] cfg80211: Regulatory domain changed to country: DE
[ 154.749296] cfg80211: DFS Master region: ETSI
[ 154.749298] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 154.749302] cfg80211: (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 154.749304] cfg80211: (5150000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 154.749307] cfg80211: (5250000 KHz - 5350000 KHz @ 40000 KHz), (N/A, 2000 mBm), (0 s)
[ 154.749310] cfg80211: (5470000 KHz - 5725000 KHz @ 40000 KHz), (N/A, 2698 mBm), (0 s)
[ 154.749313] cfg80211: (57240000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
这就是我将扩展坞连接到 USB2 端口时附加的内容(我每次只打开一个硬盘,总是一样的):
[ 694.549927] usb 4-1.1: new high-speed USB device number 4 using ehci-pci
[ 694.644044] usb 4-1.1: New USB device found, idVendor=152d, idProduct=0539
[ 694.644055] usb 4-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 694.644062] usb 4-1.1: Product: USB to ATA/ATAPI Bridge
[ 694.644067] usb 4-1.1: Manufacturer: JMicron
[ 694.644072] usb 4-1.1: SerialNumber: 1F40FFFFFFFF
[ 694.645061] usb-storage 4-1.1:1.0: USB Mass Storage device detected
[ 694.645431] usb-storage 4-1.1:1.0: Quirks match for vid 152d pid 0539: 4000000
[ 694.645479] scsi host7: usb-storage 4-1.1:1.0
[ 695.643745] scsi 7:0:0:0: Direct-Access ST3000DM 001-1CH166 PQ: 0 ANSI: 5
[ 695.644616] sd 7:0:0:0: Attached scsi generic sg2 type 0
[ 695.645956] sd 7:0:0:0: [sdb] Very big device. Trying to use READ CAPACITY(16).
[ 695.646405] sd 7:0:0:0: [sdb] 5860533168 512-byte logical blocks: (3.00 TB/2.72 TiB)
[ 695.648324] sd 7:0:0:0: [sdb] Write Protect is off
[ 695.648338] sd 7:0:0:0: [sdb] Mode Sense: 28 00 00 00
[ 695.651575] sd 7:0:0:0: [sdb] No Caching mode page found
[ 695.651589] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[ 695.652694] sd 7:0:0:0: [sdb] Very big device. Trying to use READ CAPACITY(16).
[ 695.949304] sdb: unknown partition table
[ 695.951901] sd 7:0:0:0: [sdb] Very big device. Trying to use READ CAPACITY(16).
[ 695.954296] sd 7:0:0:0: [sdb] Attached SCSI disk
[ 696.417189] EXT4-fs (sdb): recovery complete
[ 696.417196] EXT4-fs (sdb): mounted filesystem with ordered data mode. Opts: (null)