2001-11-30 03:09:20

by Armin Obersteiner

[permalink] [raw]
Subject: usb slow in >2.4.10

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


2001-11-30 04:30:42

by Greg KH

[permalink] [raw]
Subject: Re: usb slow in >2.4.10

On Fri, Nov 30, 2001 at 04:07:19AM +0100, Armin Obersteiner wrote:
> 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

2001-11-30 13:18:19

by Armin Obersteiner

[permalink] [raw]
Subject: Re: usb slow in >2.4.10

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.

> On Fri, Nov 30, 2001 at 04:07:19AM +0100, Armin Obersteiner wrote:
> > 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

2001-11-30 15:05:52

by Edouard Gomez

[permalink] [raw]
Subject: Re: usb slow in >2.4.10

On Fri, Nov 30, 2001 at 02:16:16PM +0100, Armin Obersteiner wrote:

>
> 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.

--
Edouard Gomez
http://perso.wanadoo.fr/ed.gomez

2001-11-30 15:48:35

by Greg KH

[permalink] [raw]
Subject: Re: usb slow in >2.4.10

On Fri, Nov 30, 2001 at 02:16:16PM +0100, Armin Obersteiner wrote:
>
> 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

2001-12-01 00:11:49

by Armin Obersteiner

[permalink] [raw]
Subject: Re: usb slow in >2.4.10

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

> On Fri, Nov 30, 2001 at 02:16:16PM +0100, Armin Obersteiner wrote:
> >
> > 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

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