Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Very slow USB
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Olimaus
Tux's lil' helper
Tux's lil' helper


Joined: 11 Feb 2003
Posts: 116
Location: Germany, Karlsruhe

PostPosted: Mon Jun 05, 2006 8:07 am    Post subject: Very slow USB Reply with quote

Hi,

I cat't help myself, so I am trying it that way.

I am on amd64 an my pc is capable of usb 2.0.
But if I try to copy something to my usbdrive, it takes forever.
3 minutes for 6 MB. It doesn't matter if its a usb-stick or my mp3 player.

I really hope somebody can help me.

Here are some Informations:

Code:

uname -a
Linux olinux.local 2.6.16-gentoo-r5 #4 PREEMPT Thu May 25 19:09:51 CEST 2006 x86_64 AMD Athlon(tm) 64 Processor 3000+ GNU/Linux


Code:

dmesg | grep USB
ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:10.4: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
usb 1-3: new high speed USB device using ehci_hcd and address 2
hub 1-3:1.0: USB hub found
usb 1-4: new high speed USB device using ehci_hcd and address 3
hub 1-4:1.0: USB hub found
usb 1-3.1: new low speed USB device using ehci_hcd and address 4
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
USB Mass Storage support registered.
input: PS/2+USB Mouse as /class/input/input2
input: USB HID v1.11 Mouse [PS/2+USB Mouse] on usb-0000:00:10.4-3.1
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PCI0 UAR1 USB1 USB2 USB3 USB4 EHCI USBD  AC9  MC9 ILAN SLPB
usb 1-3.3: new high speed USB device using ehci_hcd and address 5
scsi0 : SCSI emulation for USB Mass Storage devices
usb 1-3.3: USB disconnect, address 5
usb 1-3.3: new high speed USB device using ehci_hcd and address 6
scsi1 : SCSI emulation for USB Mass Storage devices


Code:

lspci | grep USB
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA
 Technologies, Inc. USB 2.0 (rev 86)


thats the output of dmesg when i connect the device:

Code:

drivers/usb/input/hid-core.c: input irq status -71 received
warning: many lost ticks.
Your time source seems to be instable or some driver is hogging interupts
rip default_idle+0x2a/0x52
drivers/usb/input/hid-core.c: input irq status -71 received
usb 1-3.3: USB disconnect, address 5
usb 1-3.3: new high speed USB device using ehci_hcd and address 6
usb 1-3.3: configuration #1 chosen from 1 choice
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 6
usb-storage: waiting for device to settle before scanning
  Vendor: SanDisk   Model: Cruzer Mini       Rev: 0.2
  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sda: 2001888 512-byte hdwr sectors (1025 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 2001888 512-byte hdwr sectors (1025 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
 sda: sda1
sd 1:0:0:0: Attached scsi removable disk sda
sd 1:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete


I don't have a mountpoint in /etc/fstab, it gets mounted automatic.

Thank you for your help
Oli
Back to top
View user's profile Send private message
yardbird
l33t
l33t


Joined: 20 Apr 2002
Posts: 689
Location: nl.leiden

PostPosted: Mon Jun 05, 2006 10:25 am    Post subject: Re: Very slow USB Reply with quote

Probably it is auto-mounted with the "sync" option. Would you post the output of "mount" after you've attached the device?
_________________
Albert Einstein wrote:
I consider it [...] urgently necessary for [...] workers to get together, both to protect their own economic status and [...] to secure their influence in the political field.


http://www.bluescarni.info
Back to top
View user's profile Send private message
Olimaus
Tux's lil' helper
Tux's lil' helper


Joined: 11 Feb 2003
Posts: 116
Location: Germany, Karlsruhe

PostPosted: Mon Jun 05, 2006 12:30 pm    Post subject: Reply with quote

yes, you're right.

/dev/sda1 on /media/usbdisk type vfat (rw,nosuid,nodev,sync,noatime,utf8,user=oli)

But how do I stop that? Hal-rule?
Back to top
View user's profile Send private message
yardbird
l33t
l33t


Joined: 20 Apr 2002
Posts: 689
Location: nl.leiden

PostPosted: Mon Jun 05, 2006 12:55 pm    Post subject: Reply with quote

Olimaus wrote:
yes, you're right.

/dev/sda1 on /media/usbdisk type vfat (rw,nosuid,nodev,sync,noatime,utf8,user=oli)

But how do I stop that? Hal-rule?


AFAIK you should poke into hal rules in "/usr/share/hal", but first I'd try to upgrade hal to the latest version. Which version are you using?
_________________
Albert Einstein wrote:
I consider it [...] urgently necessary for [...] workers to get together, both to protect their own economic status and [...] to secure their influence in the political field.


http://www.bluescarni.info
Back to top
View user's profile Send private message
Olimaus
Tux's lil' helper
Tux's lil' helper


Joined: 11 Feb 2003
Posts: 116
Location: Germany, Karlsruhe

PostPosted: Mon Jun 05, 2006 1:33 pm    Post subject: Reply with quote

I think I have got the newest Version.

Code:

*  sys-apps/hal
      Latest version available: 0.5.5.1-r3
      Latest version installed: 0.5.7-r2
      Size of downloaded files: 4,446 kB
      Homepage:    http://www.freedesktop.org/Software/hal
      Description: Hardware Abstraction Layer
      License:     || ( GPL-2 AFL-2.0 )


I have found something in /usr/share/hal/fdi/policy/10osvendor.
There is a rule 20-storage-methods.fdi.
I think there is the right place to start.

Shouldn't there be a rule for not sync vfat to usb.
Why do only I got this problem?
Back to top
View user's profile Send private message
KillMinusNine
n00b
n00b


Joined: 27 Dec 2005
Posts: 44
Location: Washington

PostPosted: Mon Jun 05, 2006 6:14 pm    Post subject: Reply with quote

Olimaus wrote:

Shouldn't there be a rule for not sync vfat to usb.
Why do only I got this problem?


You aren't the only one. There's a section of the "HOWTO IPOD" (which is a vfat USB device when formatted in Windows) that talks about using the async option to mount in order to get decent file transfer speed in a giant red warning box. I would guess that most people end up going through similar walkthroughs setting up their USB devices, and that reduces the number of people with this problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum