From owner-freebsd-questions Tue Dec 28 14:51: 9 1999 Delivered-To: freebsd-questions@freebsd.org Received: from support.euronet.nl (support.euronet.nl [194.134.32.134]) by hub.freebsd.org (Postfix) with ESMTP id D6CFA14F32 for ; Tue, 28 Dec 1999 14:51:06 -0800 (PST) (envelope-from pieterw@support.euronet.nl) Received: (from pieterw@localhost) by support.euronet.nl (8.9.1/8.9.1) id XAA08683; Tue, 28 Dec 1999 23:50:58 +0100 (CET) (envelope-from pieterw) Date: Tue, 28 Dec 1999 23:50:58 +0100 From: Pieter Westland To: Ben Smithurst Cc: questions@freebsd.org Subject: Re: Hanging tty's Message-ID: <19991228235058.A8365@support.euronet.nl> References: <19991223134606.A773@support.euronet.nl> <19991223171107.A1524@strontium.scientia.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <19991223171107.A1524@strontium.scientia.demon.co.uk>; from ben@scientia.demon.co.uk on Thu, Dec 23, 1999 at 05:11:07PM +0000 X-OS: FreeBSD support.euronet.nl 2.2.7-STABLE FreeBSD 2.2.7-STABLE X-URL: http://support.euronet.nl/~pieterw X-Editor: vim X-Quote: Economics is fun! Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Dec 23, 1999 at 05:11:07PM +0000, Ben Smithurst wrote: > > On a 3.3-RELEASE machine, I have two hanging tty's, ttyv0 and ttyv1. > > The screen is blank, when trying to input something to it, nothing > > happens. watch -W also gives no result. > > A ps axl gives: > > 0 72794 1 255 -14 -4 0 0 ckvnlk D > 0 96855 1 255 4 -4 956 360 ttywai I > I tried to do a kill -1 1, to disable these tty's from /etc/ttys , to > > start a /usr/libexec/getty Pc ttyv1 manually, but all without result. > > Anyone having an idea? > > I might be way out, but do those terminals have scroll lock on? I just > tried this, and it seems if you go to ttyv1, press scroll lock, and > kill the getty on that terminal, I got similar information from ps that > you do. (definately had "E" in the status flags and it was blocked in > ttywai.) If this explains either, it is more likely the one blocked > in ttywai, I've got no idea what ckvnlk is (it seems to come from > sys/miscfs/deadfs, but that doesn't mean much to me). Excuse me for the late reply, please. Indeed, on ttyv1 was scroll-lock on. Pushing it one time and pushing 'enter' solved the problem. Thanks for your answer, Ben! On ttyv0, I still see this: root 72794 0.0 0.0 0 0 v0 D