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

From: Alan Stern
Date: Thu Aug 20 2009 - 17:20:43 EST


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

--
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/