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

From: John Stoffel
Date: Tue Jul 11 2006 - 16:00:59 EST



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

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

Not sure, haven't rebooted yet to make sure it happens again. The
hardware is a Dell Dimension 630, Dual Xeon PIII 550mhz, 768mb of
RAM. It's been my main machine for a number of years now.

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

I thought I saw something float by where someone had raised some new
locking or count variables? I dunno... I'll work on it tonight and
see what happens after another reboot.

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