From owner-freebsd-stable Mon Oct 9 11:53: 0 2000 Delivered-To: freebsd-stable@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 1229537B503 for ; Mon, 9 Oct 2000 11:52:53 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.0/8.11.0) with ESMTP id e99IqlY09001; Mon, 9 Oct 2000 12:52:48 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id MAA13778; Mon, 9 Oct 2000 12:52:47 -0600 (MDT) Message-Id: <200010091852.MAA13778@harmony.village.org> To: matthew zeier Subject: Re: serial console - how-to ? Cc: freebsd-stable@FreeBSD.ORG In-reply-to: Your message of "Mon, 09 Oct 2000 10:12:42 PDT." <20001009101242.D29388@intelenet.net> References: <20001009101242.D29388@intelenet.net> Date: Mon, 09 Oct 2000 12:52:47 -0600 From: Warner Losh Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20001009101242.D29388@intelenet.net> matthew zeier writes: : In searching the mailing lists, I seem to get different methods to use : COM1 for console. : : What's needed to get a GENERIC kernel to use COM1 for all console I/O ? : Do I just add "-h" to /boot.config (that file doesn't exist on 4.1.1) ? : Or do I need to rebuild my kernel setting the flags for com1 to 0x20? : Do I need to do anything to /etc/ttys ? The easiest way is to add -h to your /boot.config file. You will also need to turn on ttyd0 in /etc/ttys. Make sure that sio0 has flags 0x10 set (it does in GENERIC). Flags 0x20 forces it to be the console. This can be both good and bad. I usually avoid it unless I have some reason to do it. Things get complicated if you want boot0 to be serial, or a faster console speed than 9600 baud. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message