lkml.org 
[lkml]   [1996]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectWarning: tty->count != ...!
Recently, I have been getting the following error on dumped on my 
current console.

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

It just flood my screen every now and again (It usually happens when the
harddisk is accessing heavily)

I tracked it down to /usr/src/linux/drivers/char/tty_io.c. It is made the
following function.

static int check_tty_count(struct tty_struct *tty, const char *routine)

I'm pretty much ignorant about linux source code. I don't know the
significance of the above function. (can somebody explain it to me?)

I am using 1.3.57 (a very old but stable revision). Is the problem due to
the hardware I have or the kernel itself? What should I look for? I have
been using this version for quite some time now (four five months) and
this happened to me since a few days ago.

Thanks.

hasdi




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