Re: 2.6.31-rc5 regression: Oops when USB Serial disconnected while in use

Greg KH
2009-08-10T15:45:38Z

On Mon, Aug 10, 2009 at 11:18:29AM -0400, Alan Stern wrote:
> On Sat, 8 Aug 2009, Bruno [UTF-8] PrÃ©mont wrote:
>
> > I tried bisecting this but bisect did end up on a fully unrelated commit
> > (which is not even being compiled into my kernel).
> > Possibly the failed bisect could be related to mis-classified kernel
> > panic/hang while pulling the USB cable (there were two such panics for the
> > whole iteration)?
> >
> > There are quite a few patches touching tty, ttyUSB and friends between
> > rc4 and now so pretty hard to guess on the correct one.
> >
> > The oops always happens when I disconnect the USB serial console (here
> > the one built into Marvell SheevaPlug) while having minicom connected
> > to it.
> > During the bisection for the last few bad iterations minicom got killed
> > (segfault), the bad ones on the iteration left a minicom zombie in 'D'
> > state.
>
> By the way, there are quite a few serial patches in Greg KH's tree. At
> least one of them looks like it is meant to fix exactly this problem.
>
> Can you try running with
>
> http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/gregkh-all-2.6.31-rc5.patch
>
> applied to the standard 2.6.31-rc5 source?

Yes, that would be good to find out, so we can pick the right patch to
send in now.

thanks,

greg k-h