Re: New kernel crashes

Mark Hahn (hahn@neurocog.lrdc.pitt.edu)
Thu, 14 Mar 1996 03:14:39 -0500 (EST)


> I have compiled up a new kernel (1.3.72). It seems to load fine, until it starts the local
> initialization routines. Then it starts putting out warnings. The following is an extract from
> the messages log. Could someone point me to where I should be looking.
...
> Warning: dev (04:c0) tty->count(2) != #fd's(3) in tty_open
> Warning: dev (04:c0) tty->count(2) != #fd's(3) in release_dev
> Warning: dev (04:c0) tty->count(2) != #fd's(3) in tty_open

this has happened several times that I know of.
something sets /dev/console's minor number set to that of a tty,
in this case ttyp0. "cd /dev; rm console; MAKEDEV console"
fixes the problem.

my theory is that X is doing this somehow, but I have only
circumstantial evidence of this. the one user of mine who
had this problem certainly wasn't messing in /dev or with mknod.

does this ring any bells? I should also say that this has also
always been on a relatively recent kernel, >55 or so.

regards, mark hahn.

-- 
operator may differ from spokesperson.	hahn@neurocog.lrdc.pitt.edu
					http://neurocog.lrdc.pitt.edu/~hahn/