2003-09-01 11:47:31

by Biker

[permalink] [raw]
Subject: pl2303 + uhci oops

Hello everybody!
Using a pl2303-based usb->serial adaptor with the uhci driver always ends with
a oops.
Usually, the first serial "session" works fine, but as soon as minicom or any
other program (kpilot, for example) drops the connection the kernel oopses.
I've been able to reproduce the problem with three different kernels
(2.4.20-21-22) and two different hardware platform. The first is a Thinkpad
R40 (Chipset i845, Pentium 4, USB 2.0) and the second is a desktop (KT266A,
AthlonXP, USB 1.1).
Note that the adaptor works perfectly if the usb-uhci driver is used instead.

Since all the data required to debug the oops take up too much space to be
included here, I conveniently posted them on my web site in two directories,
one for the intel machine and the other for the amd.

http://www.villagepeople.it/oops/ (It's just a directory listing, no images,
banners, redirects or anything else)

Hope this helps.

-Silla


2003-09-01 14:11:28

by Jan-Benedict Glaw

[permalink] [raw]
Subject: Re: pl2303 + uhci oops

On Mon, 2003-09-01 14:00:08 +0200, [email protected] <[email protected]>
wrote in message <[email protected]>:
> Using a pl2303-based usb->serial adaptor with the uhci driver always ends with
> a oops.

Use 2.6.0-testX - it's fixed there:) I'm successfully using a GPS
receiver based on a pl2303. This one if from http://www.lact.de (ebay'ed).

MfG, JBG

--
Jan-Benedict Glaw [email protected] . +49-172-7608481
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier B?rger" | im Internet! | im Irak!
ret = do_actions((curr | FREE_SPEECH) & ~(IRAQ_WAR_2 | DRM | TCPA));


Attachments:
(No filename) (681.00 B)
(No filename) (189.00 B)
Download all attachments

2003-09-01 16:27:53

by Biker

[permalink] [raw]
Subject: Re: pl2303 + uhci oops

> > Using a pl2303-based usb->serial adaptor with the uhci driver always ends
> > with a oops.

> Use 2.6.0-testX - it's fixed there:) I'm successfully using a GPS
> receiver based on a pl2303. This one if from http://www.lact.de (ebay'ed).

> MfG, JBG

This is good, but since 99% of the people is still using 2.4.x, it would be
nice if it was fixed there too... ^_^
BTW, I'm very willing to help by providing any additional information that
might be useful to solve the problem.

Take care,
Silla

2003-09-01 17:29:00

by Jan-Benedict Glaw

[permalink] [raw]
Subject: Re: pl2303 + uhci oops

On Mon, 2003-09-01 18:27:50 +0200, [email protected] <[email protected]>
wrote in message <[email protected]>:
> > > Using a pl2303-based usb->serial adaptor with the uhci driver always ends
> > > with a oops.
>
> > Use 2.6.0-testX - it's fixed there:) I'm successfully using a GPS
> > receiver based on a pl2303. This one if from http://www.lact.de (ebay'ed).
>
> This is good, but since 99% of the people is still using 2.4.x, it would be
> nice if it was fixed there too... ^_^
> BTW, I'm very willing to help by providing any additional information that
> might be useful to solve the problem.

Well, it seems to be a common problem to serial USB devices - if they
send data right after you close(), you oops... However, I'm no longer
looking into 2.4.x. 2.6.x works almost perfectly for me (I'll need to
work out some patches for better i386 support), but 2.6.x basically _is_
more painfree than 2.4.x ATM and IMHO. At least, for my configurations.

MfG, JBG

--
Jan-Benedict Glaw [email protected] . +49-172-7608481
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier B?rger" | im Internet! | im Irak!
ret = do_actions((curr | FREE_SPEECH) & ~(IRAQ_WAR_2 | DRM | TCPA));


Attachments:
(No filename) (1.27 kB)
(No filename) (189.00 B)
Download all attachments

2003-09-02 16:58:12

by Greg KH

[permalink] [raw]
Subject: Re: pl2303 + uhci oops

On Mon, Sep 01, 2003 at 02:00:08PM +0200, [email protected] wrote:
> Hello everybody!
> Using a pl2303-based usb->serial adaptor with the uhci driver always ends with
> a oops.

As has been already reported, this is a known bug, sorry.

And sorry, but I don't know of anyone backporting the fixes that are
needed for this to the 2.4 kernel from the changes made in 2.6. See
the archives of this list, or linux-usb-devel or linux-usb-users for
more details about the oops and what changes need to be made for 2.4.

greg k-h