On Mon, May 22, 2006 at 02:44:03PM -0700, Greg KH wrote:> On Mon, May 22, 2006 at 04:30:48PM +0200, Frank Gevaerts wrote:> > Hi, > > > > We are having problems with the usb-serial ipaq driver in 2.6.16 (debian> > backports 2.6.16-1-686, but also reproducible with self-compiled> > kernel.org kernel)> > > > Sometimes, we get the following on disconnect:> > <snip>> > Can you duplicate this on 2.6.17-rc4? A number of tty changes went into> that release that should have fixed this issue.

I'll try it in the morning. In the meantime, we found some otherproblems in ipaq.c : apparently pocketpc accepts usb enumeration longbefore it accepts usb-serial commands (sometimes 50 or more seconds),which makes ipaq_open fail. When it fails, the read urb is not killed,while the associated structures are freed, which gives a panic whenthe urb completes. The following patch solves that :Since changing this, I also have not seen the original problem anymore,but I will do some more testing tomorrow.