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

Alan Stern
2009-08-20T21:20:35Z

On Thu, 20 Aug 2009, Bruno [UTF-8] PrÃ©mont wrote:

> No, that one does not really help (well it avoids dereferencing a bad
> pointer (NULL for pl2302 or invalid for ftdi) with serial_do_free() after
> destroy_serial() but is does underflow module refcount (refcount ends
> up at 2^32-1) and lets the kernel stall/panic a short time later without
> any useful information at that moment (only very first line of trace
> ever appears) [ftdi for the panic/freeze].

More information, please. Does the problem occur with the pl2303 or
only with the ftdi? Which module's refcount underflows? What else can
you provide?

I don't see the same sort of thing with my pl2303 device, but maybe
I'm using a different version of minicom.

Alan Stern