USB口的传输忽然慢了下来

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
dfsr
帖子: 227
注册时间: 2007-10-20 22:48

USB口的传输忽然慢了下来

#1

帖子 dfsr » 2017-06-04 11:11

我的系统是16.04.2,以前接这个移动硬盘的传输速率大约在30M/秒的样子,现在忽然变成了<=1M/秒的样子,但是这块移动硬盘接到另一台win10的机器上传输速率不减,如此可排除盘的问题。
现在请问各位大侠解决的思路是什么?谢谢。
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: USB口的传输忽然慢了下来

#2

帖子 vickycq » 2017-06-04 13:37

看看是不是变成 USB 1.0/1.1 了
插入移动硬盘后立即执行以下指令将结果全部复制贴上来

代码: 全选

dmesg | tail -n50
lsusb
lsusb -t
uname -a
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
dfsr
帖子: 227
注册时间: 2007-10-20 22:48

Re: USB口的传输忽然慢了下来

#3

帖子 dfsr » 2017-06-05 17:54

vickycq 写了:看看是不是变成 USB 1.0/1.1 了
插入移动硬盘后立即执行以下指令将结果全部复制贴上来

代码: 全选

dmesg | tail -n50
lsusb
lsusb -t
uname -a
非常感谢,此刻移动一盘不在身边,等拿回来我立即试试!
dfsr
帖子: 227
注册时间: 2007-10-20 22:48

Re: USB口的传输忽然慢了下来

#4

帖子 dfsr » 2017-06-11 15:29

vickycq 写了:看看是不是变成 USB 1.0/1.1 了
插入移动硬盘后立即执行以下指令将结果全部复制贴上来

代码: 全选

dmesg | tail -n50
lsusb
lsusb -t
uname -a
dmesg | tail -n50
[ 8.389408] input: HDA Intel Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[ 8.389474] input: HDA Intel Headphone Front as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
[ 8.389542] input: HDA Intel Front Headphone Surround as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
[ 9.417931] XFS (sda3): Mounting V5 Filesystem
[ 9.514510] Adding 3906556k swap on /dev/sda2. Priority:-1 extents:1 across:3906556k FS
[ 10.083711] XFS (sda3): Ending clean mount
[ 13.074193] audit: type=1400 audit(1497165403.665:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/sbin/dhclient" pid=599 comm="apparmor_parser"
[ 13.074202] audit: type=1400 audit(1497165403.665:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=599 comm="apparmor_parser"
[ 13.074207] audit: type=1400 audit(1497165403.665:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=599 comm="apparmor_parser"
[ 13.074212] audit: type=1400 audit(1497165403.665:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=599 comm="apparmor_parser"
[ 13.128766] audit: type=1400 audit(1497165403.721:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/lightdm/lightdm-guest-session" pid=598 comm="apparmor_parser"
[ 13.128776] audit: type=1400 audit(1497165403.721:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/lightdm/lightdm-guest-session//chromium" pid=598 comm="apparmor_parser"
[ 13.257355] audit: type=1400 audit(1497165403.849:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="webbrowser-app" pid=602 comm="apparmor_parser"
[ 13.257366] audit: type=1400 audit(1497165403.849:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="webbrowser-app//oxide_helper" pid=602 comm="apparmor_parser"
[ 13.290238] audit: type=1400 audit(1497165403.881:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine" pid=603 comm="apparmor_parser"
[ 13.290248] audit: type=1400 audit(1497165403.881:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=603 comm="apparmor_parser"
[ 18.968368] IPv6: ADDRCONF(NETDEV_UP): enp3s0: link is not ready
[ 18.985191] r8169 0000:03:00.0 enp3s0: link down
[ 18.985192] r8169 0000:03:00.0 enp3s0: link down
[ 18.985246] IPv6: ADDRCONF(NETDEV_UP): enp3s0: link is not ready
[ 20.620439] r8169 0000:03:00.0 enp3s0: link up
[ 20.620455] IPv6: ADDRCONF(NETDEV_CHANGE): enp3s0: link becomes ready
[ 294.039082] perf: interrupt took too long (2502 > 2500), lowering kernel.perf_event_max_sample_rate to 79750
[ 426.256595] perf: interrupt took too long (3133 > 3127), lowering kernel.perf_event_max_sample_rate to 63750
[ 474.036029] usb 1-2: new high-speed USB device number 4 using ehci-pci
[ 474.844038] usb 2-2: new full-speed USB device number 3 using uhci_hcd
[ 475.003752] usb 2-2: not running at top speed; connect to a high speed hub
[ 475.031748] usb 2-2: New USB device found, idVendor=1058, idProduct=07a8
[ 475.031753] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 475.031756] usb 2-2: Product: My Passport 07A8
[ 475.031759] usb 2-2: Manufacturer: Western Digital
[ 475.031762] usb 2-2: SerialNumber: 575837314533335958413939
[ 475.071287] usb-storage 2-2:1.0: USB Mass Storage device detected
[ 475.072969] scsi host2: usb-storage 2-2:1.0
[ 475.073105] usbcore: registered new interface driver usb-storage
[ 475.078898] usbcore: registered new interface driver uas
[ 476.096788] scsi 2:0:0:0: Direct-Access WD My Passport 07A8 1042 PQ: 0 ANSI: 6
[ 476.099766] scsi 2:0:0:1: Enclosure WD SES Device 1042 PQ: 0 ANSI: 6
[ 476.148524] sd 2:0:0:0: Attached scsi generic sg2 type 0
[ 476.150262] scsi 2:0:0:1: Attached scsi generic sg3 type 13
[ 476.171928] sd 2:0:0:0: [sdb] Spinning up disk...
[ 477.153809] ses 2:0:0:1: Attached Enclosure device
[ 477.180023] .ready
[ 477.185776] sd 2:0:0:0: [sdb] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
[ 477.190781] sd 2:0:0:0: [sdb] Write Protect is off
[ 477.190787] sd 2:0:0:0: [sdb] Mode Sense: 53 00 10 08
[ 477.195777] sd 2:0:0:0: [sdb] No Caching mode page found
[ 477.195785] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 477.222793] sdb: sdb1
[ 477.250781] sd 2:0:0:0: [sdb] Attached SCSI disk

lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 1058:07a8 Western Digital Technologies, Inc. My Passport (WDBBEP), My Passport for Mac (WDBLUZ)
Bus 002 Device 002: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

lsusb -t
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 2: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/8p, 480M

uname -a
Linux master-OEM 4.8.0-54-generic #57~16.04.1-Ubuntu SMP Wed May 24 16:22:28 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
dfsr
帖子: 227
注册时间: 2007-10-20 22:48

Re: USB口的传输忽然慢了下来

#5

帖子 dfsr » 2017-06-11 15:36

vickycq, 大侠,我已贴信息,请帮忙看看。 :em51
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: USB口的传输忽然慢了下来

#6

帖子 poloshiao » 2017-06-11 17:08

移动硬盘的传输速率大约在30M/秒的样子,现在忽然变成了<=1M/秒的样子,
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/8p, 480M
看看 移动硬盘 是不是 插到上述 Bus 01.Port 1: Dev 1 以外的 USB 插孔
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: USB口的传输忽然慢了下来

#7

帖子 vickycq » 2017-06-11 17:42

dfsr 写了: |__ Port 2: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 12M
Linux master-OEM 4.8.0-54-generic
先从大处着手测试一下
如果您还没有移除老内核 (4.4),重新启动计算机,在 GRUB 界面选择 4.4 内核启动试试。
有条件可制作一个其它版本 Ubuntu (如 17.04) 的 LiveCD/LiveUSB 启动测试。看看是不是硬件/BIOS 问题。
dfsr 写了: 现在请问各位大侠解决的思路是什么?谢谢。
如果车坏了,直接先换一辆车。如果换车都解决不了,说明这是世界上所有汽车的通病。如果换车能解决,说明是原来那辆车的个例,可以继续缩小范围修原来的车。
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
回复