Date: Sun, 27 Jun 1999 10:28:21 +0930 From: Greg Lehey <grog@lemis.com> 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> 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 References: <3.0.6.32.19990626145100.0079cb50@we.mediaone.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990627102820.U427>