public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rddunlap@osdl.org>
To: Mark Rosenstand <mark@ossholes.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Extremely poor umass transfer rates
Date: Thu, 28 Apr 2005 11:06:14 -0700	[thread overview]
Message-ID: <20050428110614.00a0c193.rddunlap@osdl.org> (raw)
In-Reply-To: <1114710941.8326.13.camel@mjollnir.bootless.dk>

On Thu, 28 Apr 2005 19:55:40 +0200 Mark Rosenstand wrote:

| On Thu, 2005-04-28 at 12:59 -0400, Dave Jones wrote:
| > On Thu, Apr 28, 2005 at 06:02:22PM +0200, Mark Rosenstand wrote:
| >  > I get transfer rates at around 30 kB/s to USB mass storage devices. It
| >  > applies to both my keyring and my mp3 player. Both are running vfat.
| >  > 
| >  > I'm running 2.6.12-rc3 for amd64 with patches for inotify and skge. The
| >  > motherboard is an ASUS K8V-X (VIA K8T800).
| >  > 
| >  > It worked alright earlier (2.6.10 or 2.6.11, I'll test later if
| >  > necessary.)
| >  > 
| >  > Also, if I transfer more than one file at a time the music tracks start
| >  > overlapping on my mp3 player.
| > 
| > Are you running it on a USB 2.0 capable interface ?

with the EHCI host controller driver loaded?

| I believe so. How do I verify it?

(see below)
and post /proc/bus/usb/devices (contents)

| I've tried to move it to the other on-board hub but without results.
| 
| > Is your mp3 player USB2.0 capable ?
| 
| I'm not sure. But I do know that it used to be *much* faster than this.
| My keyring is USB 2.0 capable and that's slow as well.
| 
| > USB1.1 is painfully slow for storage.
| 
| Yeah, but I don't think it should be 30 kB/s.
| 
| Some more details:
| 
| 
| The line that 'hald' puts in fstab looks like this:
| 
| 	/dev/sdb /media/usbdisk vfat \
| 		user,exec,noauto,utf8,noatime,sync,managed 0 0
| 
| 
| The relevant parts of my .config:
| 
| 	#
| 	# Miscellaneous USB options
| 	#
| 	CONFIG_USB_DEVICEFS=y
| 	# CONFIG_USB_BANDWIDTH is not set
| 	# CONFIG_USB_DYNAMIC_MINORS is not set
| 	# CONFIG_USB_SUSPEND is not set
| 	# CONFIG_USB_OTG is not set
| 
| 	#
| 	# USB Host Controller Drivers
| 	#
| 	CONFIG_USB_EHCI_HCD=y
OK, EHCI answer is Yes.

| 	# CONFIG_USB_EHCI_SPLIT_ISO is not set
| 	# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
| 	# CONFIG_USB_OHCI_HCD is not set
| 	CONFIG_USB_UHCI_HCD=y
| 	# CONFIG_USB_SL811_HCD is not set
| 
| 	[...]
| 
| 	CONFIG_USB_STORAGE=m
| 
| 
| What my dmesg tells me when I attach the device:
| 
| 	usb 2-1: new full speed USB device using uhci_hcd and address 6

"full speed" is USB 1.x (12 Mbps, not high-speed 480 Mbps),
so the device is reporting itself as less than high-speed
or the USB descriptor parsing is missing it somehow (but it
works for a few hundred other devices).

| 	scsi6 : SCSI emulation for USB Mass Storage devices
| 	usb-storage: device found at 6
| 	usb-storage: waiting for device to settle before scanning
| 	  Vendor: iriver    Model: MassStorage Disc  Rev:
| 	  Type:   Direct-Access                      ANSI SCSI revision: 00
| 	SCSI device sdb: 249857 512-byte hdwr sectors (128 MB)
| 	sdb: Write Protect is off
| 	sdb: Mode Sense: 45 00 00 08
| 	sdb: assuming drive cache: write through
| 	SCSI device sdb: 249857 512-byte hdwr sectors (128 MB)
| 	sdb: Write Protect is off
| 	sdb: Mode Sense: 45 00 00 08
| 	sdb: assuming drive cache: write through
| 	sdb:
| 	Attached scsi removable disk sdb at scsi6, channel 0, id 0, lun 0
| 	usb-storage: device scan complete
| 
| Thanks for the advices so far :-)


---
~Randy

  reply	other threads:[~2005-04-28 18:09 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-28 16:02 Extremely poor umass transfer rates Mark Rosenstand
2005-04-28 16:59 ` Dave Jones
2005-04-28 17:17   ` Randy.Dunlap
2005-04-28 17:55   ` Mark Rosenstand
2005-04-28 18:06     ` Randy.Dunlap [this message]
2005-04-28 18:19       ` Paulo Marques
2005-04-28 18:47         ` Mark Rosenstand
2005-04-28 18:57           ` Mark Rosenstand
2005-04-28 18:32       ` Mark Rosenstand
2005-04-28 18:26     ` Tomasz Torcz
2005-04-28 21:09       ` J.A. Magallon
     [not found] <3YjKy-72a-21@gated-at.bofh.it>
     [not found] ` <3YkGD-7NT-15@gated-at.bofh.it>
     [not found]   ` <3Ylt2-8mA-7@gated-at.bofh.it>
     [not found]     ` <3YlWb-px-35@gated-at.bofh.it>
     [not found]       ` <3YCkl-5lB-21@gated-at.bofh.it>
2005-04-30 20:08         ` Robert Hancock
2005-05-05  3:13           ` Joe
2005-05-05  8:22             ` Greg KH
2005-05-05 18:08               ` Joe
2005-05-05 18:48                 ` Joe
     [not found]             ` <mailman.1115308386.9411.linux-kernel2news@redhat.com>
2005-05-08  0:56               ` Pete Zaitcev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050428110614.00a0c193.rddunlap@osdl.org \
    --to=rddunlap@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark@ossholes.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox