From owner-freebsd-questions Thu Jul 1 1:34:25 1999 Delivered-To: freebsd-questions@freebsd.org Received: from smtp3.hawaii.rr.com (smtp3.hawaii.rr.com [204.210.97.13]) by hub.freebsd.org (Postfix) with ESMTP id 0761315608 for ; Thu, 1 Jul 1999 01:34:19 -0700 (PDT) (envelope-from art@hawaii.rr.com) Received: from taz - 24.94.75.210 by smtp3.hawaii.rr.com with Microsoft SMTPSVC(5.5.1774.114.11); Wed, 30 Jun 1999 22:23:31 -1000 Message-Id: <3.0.6.32.19990630223412.030613e0@clients1.hawaii.rr.com> X-Sender: art@clients1.hawaii.rr.com X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Wed, 30 Jun 1999 22:34:12 -1000 To: cjclark@home.com From: "Art Neilson, KH7PZ" Subject: Re: Serial Console Booting Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <199906302148.RAA14986@cc942873-a.ewndsr1.nj.home.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If you find out how to do this , let me know!!! I want to do the same thing, right now I have the startup messages and console directed to my COM1 on the FreeBSD box per my kernel config: device sio0 at isa? port "IO_COM1" flags 0x30 tty irq 4 note the flags 0x30 to tell the driver sio0 is the console. I also have specified: options CONSPEED=19200 #default speed for serial console in my kernel config and have: # By default, the system will always use the keyboard/video card as system # console. However, the boot blocks may be dynamically configured to use a # serial port in addition to or instead of the keyboard/video console. # # By default we use COM1 as our serial console port *if* we're going to use # a serial port as our console at all. (0x3E8 = COM2) # BOOT_COMCONSOLE_PORT= 0x3F8 # # The default serial console speed is 9600. Set the speed to a larger value # for better interactive response. # #BOOT_COMCONSOLE_SPEED= 115200 BOOT_COMCONSOLE_SPEED= 19200 in my /etc/make.conf as well, per the instructions in the file /usr/src/sys/i386/boot/biosboot/README.serial I have done everything and cannot get the boot: prompt on my serial console. Although I do get the startup messages after the boot on my serial console, I cannot configure the speed to anything greater than 19200. If I do, I get garbage on the screen which means baudrate/databits mmismatch. At 05:48 PM 6/30/99 -0400, you wrote: >I am still having mixed results using a serial terminal as the >console. I have successfully built a kernel that sends its booting >messages to the serial terminal, but I have not been able to get the >bootstrap code to print to the terminal. > >I have the following lines in my make.conf, > >BOOT_COMCONSOLE_PORT= 0x2F8 >BOOT_COMCONSOLE_SPEED= 19200 > >And I know they do work to some degree, since I get the harware >discovery messages to the terminal. > >I have, > >% cat /boot.config >-D > >Which should cause messages to pour to both the serial console and the >VGA, and the kernel does print on both. > >I have gone to /usr/src/sys/boot/i386 and built new boot[012] and >installed them to /boot, then, to be safe, I, > ># disklabel -B wd0s1 ># disklabel -B wd0s2 > >Even though slice 2 is the root partition. > >I reboot and the, > > No keyboard found > > >> FreeBSD BOOT @ 0x10000: 640/7168 k of memory, serial console > Boot default: 0:wd(0,a)kernel > > boot: > >Prompt still goes to the VGA and not the serial console. > >I even went through and rebuilt /boot/loader. Am I missing something? >Thanks for any help. >-- >Crist J. Clark cjclark@home.com > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > __ / ) _/_ It is a capital mistake to theorise before one has data. /--/ __ / Insensibly one begins to twist facts to suit theories, / (_/ (_<__ Instead of theories to suit facts. -- Sherlock Holmes, "A Scandal in Bohemia" Arthur W. Neilson III, KH7PZ Bank of Hawaii Tech Support art@hawaii.rr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message