From owner-freebsd-stable Tue Jun 29 9:38: 1 1999 Delivered-To: freebsd-stable@freebsd.org Received: from ceia.nordier.com (m1-1-dbn.dial-up.net [196.34.155.1]) by hub.freebsd.org (Postfix) with ESMTP id AC7FC14C1D for ; Tue, 29 Jun 1999 09:37:28 -0700 (PDT) (envelope-from rnordier@nordier.com) Received: (from rnordier@localhost) by ceia.nordier.com (8.8.7/8.6.12) id SAA28420; Tue, 29 Jun 1999 18:36:00 +0200 (SAST) From: Robert Nordier Message-Id: <199906291636.SAA28420@ceia.nordier.com> Subject: Re: comconsole In-Reply-To: <199906291603.BAA10973@lavender.yy.cs.keio.ac.jp> from MIHIRA Yoshiro at "Jun 30, 1999 01:03:45 am" To: sanpei@sanpei.org (MIHIRA Yoshiro) Date: Tue, 29 Jun 1999 18:35:58 +0200 (SAST) Cc: freebsd-stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >> > Once you get the login prompt set up, redirecting the boot > >> > messages should be easy. First, the COMCONSOLE kernel option is now > >> > deprecated, see the sio options in LINT for more details. Also, you should > >> > read the info in the /boot directory, and read the man pages for loader > >> > and boot. At this point the easiest way to use the -P option is to put > >> > 'boot -P' as the last line of your /boot/loader.rc file. > >> > >> A -P option to boot is ignored. Put the -P in /boot.config. > > When I setup server box(without VGA console, 3.1-RELEASE), > I added ``set console=comconsole'' to /boot/loader.rc. > Also enable serial console getty in /etc/ttys > > Which method is better for serial(com) console? If you are using a serial console, it is generally best to enable it as soon as possible. There is a lot of stuff that happens before loader(8) gets control. The flow is roughly as follows: boot1 btx boot2 btxldr btx loader Also, bear in mind that boot2 cannot guarantee to run loader at all: if loader is inaccessible for some reason (eg. missing or corrupt), an attempt will be made to boot the kernel directly. To avoid missing potentially informative diagnostics, etc., the best place to start the serial console is therefore in boot2, using one of the options -D, -P, or -h, according to needs and preference. -- Robert Nordier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message