Skip to contentSkip to conversation

usb slow in >2.4.10

DISCUSSION Armin Obersteiner 3 participants 6 messages Nov 30, 2001 – Dec 1, 2001

lore
Share & tools
lore
#0 lore raw

hi!

all my usb devices work, but they are very slow (12 times slower) with kernels 2.4.14 and higher. it definetly was ok with 2.4.10.

tested with rio500 and my digital camera. it seems fast enough for the graphics tablet.

i've seen this reported before, but no answers given. the problem persists for over a month now, and i tried nearly every new kernel/pre-kernel.

there is no usb error in "messages", everything looks fine.

MfG,
Armin Obersteiner
--
[email protected] pgp public key on request CU

#1 lore raw
Quoted 4 lines · Armin Obersteiner

hi!

all my usb devices work, but they are very slow (12 times slower) with kernels 2.4.14 and higher. it definetly was ok with 2.4.10.

Which USB Host controller driver are you using?

thanks,

greg k-h

#2 lore raw
In reply to Armin Obersteiner

hi!

sorry, with no error messages i totally forgot:

00:04.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 06) (prog-if 00 [UHCI])

        Subsystem: Unknown device 0925:1234
        Flags: bus master, medium devsel, latency 64, IRQ 9
        I/O ports at cc00 [size=32]

i beleive thats on the VT82C686 chip, isn't it?

Nov 24 12:52:21 elch kernel: uhci.c: USB Universal Host Controller Interface driver v1.1
Nov 24 12:52:21 elch kernel: uhci.c: USB UHCI at I/O 0xd000, IRQ 9
Nov 24 12:52:21 elch kernel: uhci.c: detected 2 ports

for each of the 2 controllers.

Quoted 11 lines · Armin Obersteiner
Quoted 4 lines

hi!

all my usb devices work, but they are very slow (12 times slower) with kernels 2.4.14 and higher. it definetly was ok with 2.4.10.

Which USB Host controller driver are you using?

thanks,

greg k-h

MfG,
Armin Obersteiner
--
[email protected] pgp public key on request CU

#3 lore raw
In reply to Armin Obersteiner
Quoted 5 lines · Armin Obersteiner
Nov 24 12:52:21 elch kernel: uhci.c: USB Universal Host Controller Interface driver v1.1
Nov 24 12:52:21 elch kernel: uhci.c: USB UHCI at I/O 0xd000, IRQ 9
Nov 24 12:52:21 elch kernel: uhci.c: detected 2 ports

Hi,

I've experienced the same slowdown problem with Alcatel Speedtouch USB modem.
It should run fine again if you use the usb-uhci module instead of uhci.

I think something is broken in uhci.c since 2.4.10. Many users of the
speedtouch usb modem wrote to our ML to report such a problem. All users were using uhci. I've done some basic tests and uhci was responsible of the slowndown. 2.4.11 solved the timeouts problems, but the slowdown has not been solved yet.

Signature · 2 lines
Edouard Gomez
http://perso.wanadoo.fr/ed.gomez
#4 lore raw
In reply to Armin Obersteiner
Quoted 4 lines · Armin Obersteiner
Nov 24 12:52:21 elch kernel: uhci.c: USB Universal Host Controller Interface driver v1.1
Nov 24 12:52:21 elch kernel: uhci.c: USB UHCI at I/O 0xd000, IRQ 9
Nov 24 12:52:21 elch kernel: uhci.c: detected 2 ports

You're using the uhci driver. Can you try and see if you have the same problem with the usb-uhci driver? The uhci driver had some big changes right around the time that you have reported things slowing down.

thanks,

greg k-h

#5 lore raw
In reply to Armin Obersteiner

hi!

ok i'm using usb-uhci right now. (instead uhci)
[everything kernel 2.4.15+ide bugfix]

Dec  1 00:58:15 elch kernel: usb-uhci.c: $Revision: 1.268 $ time 12:34:31 Nov 24 2001
Dec  1 00:58:15 elch kernel: usb-uhci.c: High bandwidth mode enabled
Dec  1 00:58:15 elch kernel: PCI: Found IRQ 9 for device 00:04.3
Dec  1 00:58:15 elch kernel: PCI: Sharing IRQ 9 with 00:04.2
Dec  1 00:58:15 elch kernel: PCI: Sharing IRQ 9 with 00:10.0
Dec  1 00:58:15 elch kernel: usb-uhci.c: USB UHCI at I/O 0xd000, IRQ 9
Dec  1 00:58:15 elch kernel: usb-uhci.c: Detected 2 ports
Dec  1 00:58:15 elch kernel: usb.c: new USB bus registered, assigned bus number 1
Dec  1 00:58:15 elch kernel: usb.c: kmalloc IF eed0b2a0, numif 1
Dec  1 00:58:15 elch kernel: usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1
Dec  1 00:58:15 elch kernel: usb.c: USB device number 1 default language ID 0x0

the camera (usb-storage) works fine and fast again.

BUT my rio500 does not work at all: (it's detected right, but nothing more)

Dec  1 01:05:16 elch kernel: hub.c: USB new device connect on bus2/2, assigned device number 5
Dec  1 01:05:19 elch kernel: usb_control/bulk_msg: timeout
Dec  1 01:05:19 elch kernel: usb.c: USB device not accepting new address=5 (error=-110)
Dec  1 01:05:19 elch kernel: hub.c: port 2, portstatus 103, change 0, 12 Mb/s
Dec  1 01:05:19 elch kernel: hub.c: USB new device connect on bus2/2, assigned device number 6
Dec  1 01:05:22 elch kernel: usb_control/bulk_msg: timeout
Dec  1 01:05:22 elch kernel: usb.c: USB device not accepting new address=6 (error=-110)
Dec  1 01:05:31 elch kernel: usb.c: deregistering driver rio500
Dec  1 01:05:37 elch kernel: hub.c: port 2 connection change
Dec  1 01:05:37 elch kernel: hub.c: port 2, portstatus 100, change 3, 12 Mb/s
Dec  1 01:05:37 elch kernel: hub.c: port 2 enable change, status 100
Dec  1 01:05:39 elch kernel: usb.c: registered new driver rio500
Dec  1 01:05:39 elch kernel: rio500.c: v1.1:USB Rio 500 driver
Dec  1 01:05:41 elch kernel: hub.c: port 2 connection change
Dec  1 01:05:41 elch kernel: hub.c: port 2, portstatus 101, change 1, 12 Mb/s
Dec  1 01:05:41 elch kernel: hub.c: port 2, portstatus 103, change 0, 12 Mb/s
Dec  1 01:05:41 elch kernel: hub.c: USB new device connect on bus2/2, assigned device number 7
Dec  1 01:05:44 elch kernel: usb_control/bulk_msg: timeout
Dec  1 01:05:44 elch kernel: usb.c: USB device not accepting new address=7 (error=-110)
Dec  1 01:05:44 elch kernel: hub.c: port 2, portstatus 103, change 0, 12 Mb/s
Dec  1 01:05:44 elch kernel: hub.c: USB new device connect on bus2/2, assigned device number 8
Dec  1 01:05:47 elch kernel: usb_control/bulk_msg: timeout
Dec  1 01:05:47 elch kernel: usb.c: USB device not accepting new address=8 (error=-110)
Dec  1 01:05:49 elch kernel: hub.c: port 2 connection change
Dec  1 01:05:49 elch kernel: hub.c: port 2, portstatus 100, change 3, 12 Mb/s
Dec  1 01:05:49 elch kernel: hub.c: port 2 enable change, status 100
Quoted 6 lines · Armin Obersteiner
Quoted 4 lines
Nov 24 12:52:21 elch kernel: uhci.c: USB Universal Host Controller Interface driver v1.1
Nov 24 12:52:21 elch kernel: uhci.c: USB UHCI at I/O 0xd000, IRQ 9
Nov 24 12:52:21 elch kernel: uhci.c: detected 2 ports
Quoted 7 lines

You're using the uhci driver. Can you try and see if you have the same problem with the usb-uhci driver? The uhci driver had some big changes right around the time that you have reported things slowing down.

thanks,

greg k-h

Thanx &
MfG,
Armin Obersteiner
--
[email protected] pgp public key on request CU