public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Tomasz Torcz <zdzichu@irc.pl>
To: linux-kernel@vger.kernel.org
Subject: Re: Extremely poor umass transfer rates
Date: Thu, 28 Apr 2005 20:26:55 +0200	[thread overview]
Message-ID: <20050428182655.GA6812@irc.pl> (raw)
In-Reply-To: <1114710941.8326.13.camel@mjollnir.bootless.dk>

[-- Attachment #1: Type: text/plain, Size: 2196 bytes --]

On Thu, Apr 28, 2005 at 07:55:40PM +0200, Mark Rosenstand wrote:
> The line that 'hald' puts in fstab looks like this:
> 
> 	/dev/sdb /media/usbdisk vfat \
> 		user,exec,noauto,utf8,noatime,sync,managed 0 0

 Are you sure it's correct? I can't even mount with those options:

#v+
# mount /dev/sdb1 /mnt/other -t vfat -o user,exec,noauto,utf8,noatime,sync,managed 
mount: wrong fs type, bad option, bad superblock on /dev/sdb1
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

# dmesg | tail -2 
usb-storage: device scan complete
FAT: Unrecognized mount option "managed" or missing value
#v-

 Omitting "managed" seems to work. But it's slooow:

# dd if=/dev/zero  bs=1M count=100 | pv > /mnt/other/100MB
1,17MB 0:00:28 [41,7kB/s] [      <=>                ]

It stays at about 40 kB/s during all transfer. 
Reading is as fast as it should be = about 18 MB/s (after umount, mount
again, to clear cache). 

 My device is Kingston USB memory stick with USB 2.0, connected to USB
2.0 controller of nForce2 motherboard.

 Here's dmesg after plugin:

#v+
usb 1-6: new high speed USB device using ehci_hcd and address 3
Initializing USB Mass Storage driver...
scsi2 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
  Vendor: Kingston  Model: DataTraveler II+  Rev: 1.13
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sdb: 502784 512-byte hdwr sectors (257 MB)
sdb: Write Protect is off
sdb: Mode Sense: 23 00 00 00
sdb: assuming drive cache: write through
SCSI device sdb: 502784 512-byte hdwr sectors (257 MB)
sdb: Write Protect is off
sdb: Mode Sense: 23 00 00 00
sdb: assuming drive cache: write through
 sdb: sdb1
Attached scsi removable disk sdb at scsi2, channel 0, id 0, lun 0
usb-storage: device scan complete
FAT: Unrecognized mount option "managed" or missing value
#v-

 .config attached

-- 
Tomasz Torcz                 "God, root, what's the difference?"
zdzichu@irc.-nie.spam-.pl         "God is more forgiving."


[-- Attachment #2: config.gz --]
[-- Type: application/x-gunzip, Size: 9865 bytes --]

  parent reply	other threads:[~2005-04-28 18:26 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
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 [this message]
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=20050428182655.GA6812@irc.pl \
    --to=zdzichu@irc.pl \
    --cc=linux-kernel@vger.kernel.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