lkml.org 
[lkml]   [1997]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: tty->count(1) != #fd's(2)
On Tue, 25 Feb 1997, Jon Lewis wrote:

> I got this with 2.0.28 today. I don't remember getting these since very
> shortly after upgrading to 2.0.x and the new 256 ptys.
>
> Feb 24 22:17:14 yoda sshd[17348]: log: Password authentication for flaboy
> accepted.
> Feb 24 22:17:16 yoda kernel: Warning: dev (03:b3) tty->count(1) != #fd's(2)
> in do_tty_hangup
> Feb 24 22:17:17 yoda sshd[17348]: log: Closing connection to 205.229.48.120

I just got this again, and again it's right about the same time as an sshd
session ending:

Feb 27 16:51:46 yoda kernel: Warning: dev (03:b4) tty->count(1) !=
#fd's(2) in do_tty_hangup
Feb 27 16:51:46 yoda sshd[25049]: log: Closing connection to 205.229.48.42

I only have the new tty/pty devices...the old ones were rm'd many months
ago. It seems to me this must be a kernel bug sshd is exposing. I'm
using sshd 1.2.17 (ELF) and kernel 2.0.28 on the server.

------------------------------------------------------------------
Jon Lewis <jlewis@fdt.net> | Unsolicited commercial e-mail will
Network Administrator | be proof-read for $199/hr.
________Finger jlewis@inorganic5.fdt.net for PGP public key_______

\
 
 \ /
  Last update: 2005-03-22 13:39    [from the cache]
©2003-2011 Jasper Spaans