Re: [BUG][USB] 2.4.22-pre2

Greg KH (greg@kroah.com)
Wed, 9 Jul 2003 11:49:44 -0700


On Wed, Jul 09, 2003 at 02:43:06PM -0400, Disconnect wrote:
> On Wed, 2003-07-09 at 13:38, Greg KH wrote:
> > On Wed, Jul 09, 2003 at 12:57:06PM -0400, Disconnect wrote:
> > > Its dead simple to reproduce - plug a pl2303 in, open /dev/ttyUSB0 with
> > > (eg) minicom or pppd, close it, check logs.
> >
> > Known bug, search the archives :)
> >
> > It's fixed in 2.5.
> >
> > Someone needs to backport the 2.5 changes to 2.4 to fix this issue, as
> > I'm getting tired of repeating myself...
>
> Most of the archives seem to be unrelated issues ~2.4.20-pre; I found a
> couple of places where you got to repeat yourself, but I'm not finding
> info on whats actually triggering it and which changes in 2.5 need
> backporting. (I'm quite interested in getting this working, so I'm
> perfectly willing to give the backport a shot.)

I've said it before on this list, and on the linux-usb-devel list, but
here it is again for people to refer to in the future.

The locking and reference counting logic changes in the usb-serial
drivers needs to be backported to the 2.4 kernel to fix this problem.
The changes were spread out over a wide range of time during the 2.5
development process, so I can't point to a single changeset, sorry. It
also requires changing all usb-serial drivers to do this properly.

If you do a diff of the two trees, you should see the major changes.

Good luck,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/