From owner-freebsd-stable Thu Jan 13 2:45:32 2000 Delivered-To: freebsd-stable@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id C666815676; Thu, 13 Jan 2000 02:45:21 -0800 (PST) (envelope-from des@flood.ping.uio.no) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id LAA84771; Thu, 13 Jan 2000 11:45:16 +0100 (CET) (envelope-from des@flood.ping.uio.no) To: cjclark@home.com Cc: adam@algroup.co.uk (Adam Laurie), stable@freebsd.org Subject: Re: console disappears after reboot References: <200001121933.OAA11492@cc942873-a.ewndsr1.nj.home.com> From: Dag-Erling Smorgrav Date: 13 Jan 2000 11:45:15 +0100 In-Reply-To: "Crist J. Clark"'s message of "Wed, 12 Jan 2000 14:33:04 -0500 (EST)" Message-ID: Lines: 25 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [moved to -stable from -security] "Crist J. Clark" writes: > Adam Laurie wrote, > > Crist J. Clark wrote: > > > > Anyway, to cut a long story short, I would prefer to simply do something > > > > in /etc/rc.local to force the console back to local kb/vga, or disable > > > > the serial console in the kernel itself... so my question is: what? Is > > > > there such a command/setting? > > > If a console has "died," you should [HUP init] > > Unfortunately not. I assume it only tries to refresh the serial console. > I don't think so. Is the getty(8) for the device (I assume ttyv0) still > in the ps(1) output? If it is, perhaps kill it. Either kill it dead > and SIGHUP init(8) to start the new one, or maybe some signal (a HUP?) > refreshes a getty. You're totally off the track. His problem is that the kernel (or the boot loader) decides that there is no built-in console and uses a serial console instead. This has nothing to do with init(8). I guess the right person to answer this kind of question would be Mike Smith or Daniel Sobral. DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message