From owner-freebsd-questions Wed Jan 19 21:17:47 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 1E1D814C0E for ; Wed, 19 Jan 2000 21:17:44 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id AAA71404; Thu, 20 Jan 2000 00:21:55 -0500 (EST) (envelope-from cjc) Date: Thu, 20 Jan 2000 00:21:55 -0500 From: "Crist J. Clark" To: Max Clark Cc: FreeBSD-Questions@FreeBSD.ORG Subject: Re: Console on serial port? Message-ID: <20000120002155.D70698@cc942873-a.ewndsr1.nj.home.com> References: <000f01bf62bd$3df3ebc0$c90110ac@yipinet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <000f01bf62bd$3df3ebc0$c90110ac@yipinet.com>; from max.clark@yipinet.com on Wed, Jan 19, 2000 at 12:39:10PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Jan 19, 2000 at 12:39:10PM -0800, Max Clark wrote: > I am in the process of compiling a kernel for one of my FreeBSD machines and > I would like to put the console on the serial port. How do you do this? See, /usr/src/sys/i386/boot/biosboot/README.serial And in the Handbook, http://www.freebsd.org/handbook/x12232.html Also the LINT kernel, /usr/src/sys/i386/conf/LINT From that file, device sio0 at isa? port "IO_COM1" tty flags 0x10 irq 4 # # `flags' for serial drivers that support consoles (only for sio now): # 0x10 enable console support for this unit. The other console flags # are ignored unless this is set. Enabling console support does # not make the unit the preferred console - boot with -h or set # the 0x20 flag for that. Currently, at most one unit can have # console support; the first one (in config file order) with # this flag set is preferred. Setting this flag for sio0 gives # the old behaviour. # 0x20 force this unit to be the console (unless there is another # higher priority console). This replaces the COMCONSOLE option. # 0x40 reserve this unit for low level console operations. Do not # access the device in any normal way. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message