From owner-freebsd-questions Sat Jun 26 17:58:31 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id CF6E314F80 for ; Sat, 26 Jun 1999 17:58:25 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id KAA11059; Sun, 27 Jun 1999 10:28:22 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id KAA82083; Sun, 27 Jun 1999 10:28:21 +0930 (CST) Date: Sun, 27 Jun 1999 10:28:21 +0930 From: Greg Lehey To: gummibear@we.mediaone.net Cc: questions@FreeBSD.ORG Subject: Re: Deadd VTTY2 - How can I Restart It? Message-ID: <19990627102820.U427@freebie.lemis.com> References: <3.0.6.32.19990626145100.0079cb50@we.mediaone.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <3.0.6.32.19990626145100.0079cb50@we.mediaone.net>; from gummibear@we.mediaone.net on Sat, Jun 26, 1999 at 02:51:00PM -0700 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Saturday, 26 June 1999 at 14:51:00 -0700, gummibear@we.mediaone.net wrote: > > Hey all! > > Okay, so my 14 month old son (Daemon) likes to climb up on chairs and > stuff. He also likes banging on keyboards. So the boy climbed up on my > computer chair started banging away at the login prompt when I wasn't looking. > > When I went to stop him from his joyfull keyboard banging, I noticed the > screen was completely black. Nothing. I switched to vtty0 and that was > okay, then I switched to vtty1 and that was okay, but vtty2 was dead. > > Well now I'm stumped, I don't know how to fix it without rebooting the > machine. I have 25 days of uptime (not like that's alot, but everytime I > try to go for longer than a month something happens - power outage, pulled > electrical cord, etc) so I want to keep it going. > > I tried running 'ps' as root on vtty0 to see what was going on. Usually, > there's two getty's running for the other two vtty's. Right? Well here's > my output for 'ps': > > PID TT STAT TIME COMMAND > 48428 v0 Ss 0:00.28 -bash (bash) > 48581 v0 R+ 0:00.00 ps > 42975 v1 Is+ 0:00.04 /usr/libexec/getty Pc ttyv1 > 38431 v2- IEs+ 0:00.00 (getty) > > I'm thinking that PID 38431 is screwed. I tried killing it, but it doesn't > die. Hmm. Yes, your process is trying to exit (that's the E flag). What does 'ps lp38431' say? There's a possibility that a ^Q would do it (if it's waiting to flush its buffers, and you've stopped output). Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message