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

From: Alan Stern
Date: Sun Aug 09 2009 - 11:00:37 EST


On Sun, 9 Aug 2009, [UTF-8] Ozan Ã?aÄ?layan wrote:

> Bruno 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.
> >
> > Regards,
> > Bruno
> >
> >
>
> That may be a related/possible fix for that,
>
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b68f2fb9e73f46037fbeca5fbd4ae8a7ddd8ef6b

That patch is already present in 2.6.31-rc5.

The problem here may be related to the fact that the serial port is
being used as a console. For non-console ports this doesn't happen.

Alan Stern

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