From owner-freebsd-questions Wed Jan 7 01:06:57 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA04122 for questions-outgoing; Wed, 7 Jan 1998 01:06:57 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from outmail.utsunomiya-u.ac.jp (outmail.utsunomiya-u.ac.jp [160.12.196.3]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id BAA04061; Wed, 7 Jan 1998 01:06:25 -0800 (PST) (envelope-from yokota@zodiac.mech.utsunomiya-u.ac.jp) Received: by outmail.utsunomiya-u.ac.jp id AA03103; Wed, 7 Jan 1998 18:04:52 +0900 Received: from zodiac.mech.utsunomiya-u.ac.jp (zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by zodiac.mech.utsunomiya-u.ac.jp (8.7.6+2.6Wbeta7/3.4W/zodiac-May96) with ESMTP id SAA09026; Wed, 7 Jan 1998 18:12:09 +0900 (JST) Message-Id: <199801070912.SAA09026@zodiac.mech.utsunomiya-u.ac.jp> To: Bruce Evans Cc: dg@root.com, dpsmith@xoom.com, freebsd-questions@freebsd.org, freebsd-smp@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: Remote power cycle In-Reply-To: Your message of "Wed, 07 Jan 1998 19:21:56 +1100." <199801070821.TAA02435@godzilla.zeta.org.au> References: <199801070821.TAA02435@godzilla.zeta.org.au> Date: Wed, 07 Jan 1998 18:12:09 +0900 From: Kazutaka YOKOTA Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >>... >> For wcarchive, I use the BOOT_FORCE_COMCONSOLE make option. I run gettys > >This option doesn't exist in 2.2.5 or 3.0. You set flags on the desired >serial console instead. See sio(4) in 3.0. The documentation is out of >date in 2.2.5. > >Bruce BOOT_FORCE_COMCONSOLE doesn't exist in both 2.2.5 and 3.0. But, the serial console flags exist only in 3.0 yet. And yes, the documentation in 2.2.5 is VERY confusing ;-< Under 3.0 you do: 1. Put '-h' in /boot.config, 2. and set flags to 0x10 on the desired serial device. You may switch to the internal (video card) console, if you like, by toggling '-h' at "boot:" prompt. Or 1. Set flags to 0x20 on the desired serial device to force the serial console, regardless of the state of the -h option. Under 2.2.5 you do: 1. Put '-h' in /boot.config and COM0 will be the console. You may switch to the internal (video card) console, if you like, by toggling '-h' at "boot:" prompt. Or 1. Use options COMCONSOLE in your kernel configuration file to force COM0 to be the console, regardless of the state of the -h option. Kazu