lkml.org 
[lkml]   [2005]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Extremely poor umass transfer rates
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."

[unhandled content-type:application/x-gunzip]
\
 
 \ /
  Last update: 2005-04-28 20:30    [W:0.054 / U:1.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site