Re: 2.6.18-rc1-mm1 - bad serial port count messages

From: Russell King
Date: Tue Jul 11 2006 - 14:55:30 EST


On Tue, Jul 11, 2006 at 09:20:29AM -0400, John Stoffel wrote:
> I'm getting the following messages in dmesg:
>
> uart_close: bad serial port count; tty->count is 1, state->count is 0
> uart_close: bad serial port count for ttyS0: -1
> uart_close: bad serial port count for ttyS0: -1

I assume that it's 100% reproducable, and doesn't happen with mainline?

I'm not aware of any serial core patches in -mm which would produce this
type of breakage - maybe there's something funny with the tty layer in
that it's trying to close the port more times than it's been opened...
Hmm.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
-
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/