Date: Mon, 09 Oct 2000 12:52:47 -0600 From: Warner Losh <imp@village.org> To: matthew zeier <matthew@intelenet.net> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: serial console - how-to ? Message-ID: <200010091852.MAA13778@harmony.village.org> In-Reply-To: Your message of "Mon, 09 Oct 2000 10:12:42 PDT." <20001009101242.D29388@intelenet.net> References: <20001009101242.D29388@intelenet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010091852.MAA13778>