← Back to team overview

kernel-packages team mailing list archive

[Bug 177235] Re: slow USB 2.0 drive: it's mounted as USB 1.0, not USB 2.0!

 

Confirmed issue with slow transfer rates (<1.5 MB/s)  for 3 different
external USB 2.0 hardisk (toshiba 1 TB, SAMSUNG 512 GB, Hitachi 1 TB)
with 3.12.0-4-generic from trusty. It is mainly a bad detection as USB
1.0 instead of USB 2.0 in dmesg (check_highspeed is indeed bogus). I try
to test with kernel mainline v3.13-rc1-trusty but I cannot because I am
affected by the bug https://bugs.launchpad.net/ubuntu/+source/fglrx-
installer/+bug/1254424 in fglrx.

Copy 20 GB takes days, instead of hours for this issue. Thats
unacceptable for backups in a company or the medium user with multimedia
files. Please Ubuntu or Linux Team, contact with upstream, assign devs
and raise with more priority with this bug. Perfomance is a must in
GNU/Linux.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/177235

Title:
  slow USB 2.0 drive: it's mounted as USB 1.0, not USB 2.0!

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  
  In gutsy 7.10 dist-upgraded to the max:

  Ubuntu 64-bit sometimes does not mount USB 2.0 devices as 2.0.

  1) plugin in the USB drive
  2) mount it if not automounted (sometimes it doesn't)
  3) right-click, properties in nautilus, go to drive tab, see speed "12 Mbps"
  4) umount it, unplug it
  5) sudo rmmod ehci_hcd
  6) plugin the USB drive
  7) sudo modprobe ehci_hcd
  8) mount it if not automounted
  9) right-click, properties in nautilus, go to drive tab, see speed "480 Mbps"

  Something is horribly wrong at recognizing the proper USB speed mode
  of external drives.

  From /var/log/messages: note how the first time the drive is mounted properly as high speed, the second time as slow, then as high speed again with the trick of modprobe'ing the ehci_hcd driver.
  Somehow, the second time the driver sees the same USB hard drive, it fails to recognize it as USB 2.0.
  (when I modprobe the driver, the USB mouse and keyboard are also recognized, don't be confused by these).

  If you need more info let me know.

  
  Dec 18 11:46:50 instar kernel: [1089450.444192] usb 1-2: USB disconnect, address 3
  Dec 18 11:47:23 instar kernel: [1089483.715043] ehci_hcd 0000:00:1d.7: remove, state 4
  Dec 18 11:47:23 instar kernel: [1089483.715053] usb usb5: USB disconnect, address 1
  Dec 18 11:47:23 instar kernel: [1089483.719139] ehci_hcd 0000:00:1d.7: USB bus 5 deregistered
  Dec 18 11:47:23 instar kernel: [1089483.720334] ACPI: PCI interrupt for device 0000:00:1d.7 disabled
  Dec 18 11:47:45 instar kernel: [1089505.912002] usb 1-2: new full speed USB device using uhci_hcd and address 4
  Dec 18 11:47:45 instar kernel: [1089506.134623] usb 1-2: configuration #1 chosen from 1 choice
  Dec 18 11:47:45 instar kernel: [1089506.137630] scsi7 : SCSI emulation for USB Mass Storage devices
  Dec 18 11:47:50 instar kernel: [1089511.132544] scsi 7:0:0:0: Direct-Access     SEAGATE  ST3320820A       3.AA PQ: 0 ANSI: 2
  Dec 18 11:47:50 instar kernel: [1089511.137515] sd 7:0:0:0: [sde] 625142448 512-byte hardware sectors (320073 MB)
  Dec 18 11:47:50 instar kernel: [1089511.142502] sd 7:0:0:0: [sde] Write Protect is off
  Dec 18 11:47:50 instar kernel: [1089511.147491] sd 7:0:0:0: [sde] 625142448 512-byte hardware sectors (320073 MB)
  Dec 18 11:47:50 instar kernel: [1089511.152399] sd 7:0:0:0: [sde] Write Protect is off
  Dec 18 11:47:50 instar kernel: [1089511.152410]  sde: sde1
  Dec 18 11:47:50 instar kernel: [1089511.171501] sd 7:0:0:0: [sde] Attached SCSI disk
  Dec 18 11:47:50 instar kernel: [1089511.171542] sd 7:0:0:0: Attached scsi generic sg5 type 0
  Dec 18 11:48:12 instar kernel: [1089532.675957] ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 20 (level, low) -> IRQ 20
  Dec 18 11:48:12 instar kernel: [1089532.677029] ehci_hcd 0000:00:1d.7: EHCI Host Controller
  Dec 18 11:48:12 instar kernel: [1089532.677207] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 5
  Dec 18 11:48:12 instar kernel: [1089532.677244] ehci_hcd 0000:00:1d.7: debug port 1
  Dec 18 11:48:12 instar kernel: [1089532.677262] ehci_hcd 0000:00:1d.7: irq 20, io mem 0xffafbc00
  Dec 18 11:48:12 instar kernel: [1089532.682397] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
  Dec 18 11:48:12 instar kernel: [1089532.682516] usb usb5: configuration #1 chosen from 1 choice
  Dec 18 11:48:12 instar kernel: [1089532.682548] hub 5-0:1.0: USB hub found
  Dec 18 11:48:12 instar kernel: [1089532.682559] hub 5-0:1.0: 8 ports detected
  Dec 18 11:48:12 instar kernel: [1089533.022143] usb 5-2: new high speed USB device using ehci_hcd and address 2
  Dec 18 11:48:12 instar kernel: [1089533.154844] usb 5-2: configuration #1 chosen from 1 choice
  Dec 18 11:48:12 instar kernel: [1089533.155098] scsi8 : SCSI emulation for USB Mass Storage devices
  Dec 18 11:48:13 instar kernel: [1089533.521886] usb 1-2: USB disconnect, address 4
  Dec 18 11:48:13 instar kernel: [1089533.649595] usb 2-1: USB disconnect, address 3
  Dec 18 11:48:13 instar kernel: [1089533.889048] usb 2-1: new low speed USB device using uhci_hcd and address 4
  Dec 18 11:48:13 instar kernel: [1089534.065223] usb 2-1: configuration #1 chosen from 1 choice
  Dec 18 11:48:13 instar kernel: [1089534.082362] input: Logitech USB Receiver as /class/input/input12
  Dec 18 11:48:13 instar kernel: [1089534.082393] input: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-0000:00:1d.1-1
  Dec 18 11:48:13 instar kernel: [1089534.111043] /build/buildd/linux-source-2.6.22-2.6.22/drivers/hid/usbhid/hid-core.c: Fixing up Logitech keyboard report descriptor
  Dec 18 11:48:13 instar kernel: [1089534.111596] input: Logitech USB Receiver as /class/input/input13
  Dec 18 11:48:13 instar kernel: [1089534.111651] input,hiddev96: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:1d.1-1
  Dec 18 11:48:13 instar kernel: [1089534.289736] usb 3-2: reset low speed USB device using uhci_hcd and address 8
  Dec 18 11:48:17 instar kernel: [1089538.146023] scsi 8:0:0:0: Direct-Access     SEAGATE  ST3320820A       3.AA PQ: 0 ANSI: 2
  Dec 18 11:48:17 instar kernel: [1089538.147625] sd 8:0:0:0: [sde] 625142448 512-byte hardware sectors (320073 MB)
  Dec 18 11:48:17 instar kernel: [1089538.148498] sd 8:0:0:0: [sde] Write Protect is off
  Dec 18 11:48:17 instar kernel: [1089538.149495] sd 8:0:0:0: [sde] 625142448 512-byte hardware sectors (320073 MB)
  Dec 18 11:48:17 instar kernel: [1089538.150369] sd 8:0:0:0: [sde] Write Protect is off
  Dec 18 11:48:17 instar kernel: [1089538.150378]  sde: sde1
  Dec 18 11:48:17 instar kernel: [1089538.152674] sd 8:0:0:0: [sde] Attached SCSI disk
  Dec 18 11:48:17 instar kernel: [1089538.152715] sd 8:0:0:0: Attached scsi generic sg5 type 0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/177235/+subscriptions