lkml.org 
[lkml]   [1996]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: tty->count ?
   From: alan@lxorguk.ukuu.org.uk (Alan Cox)
Date: Sat, 29 Jun 1996 10:39:29 +0100 (BST)

> Warning: dev (04:da) tty->count(2) != #fd's(3) in tty_open
> Warning: dev (04:da) tty->count(2) != #fd's(3) in release_dev
>

That looks like the race condition on ttys (remember the one that caused
some of the rocketport fun). Im not sure when Ted put the fix back into the
1.3.x -> 2.0 code for generic tty drivers

The standard problem here is that you have more than one device file in
/dev referring to a pty using both the old major number #4 and the new
major numbers (#2 and #3). This causes the debugging code to screw up,
since it doesn't realize that a tty could be opened from two different
sets of (major,minor) numbers.

- Ted


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.431 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site