Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jun 1999 15:08:21 -0400 (EDT)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        freebsd-questions@FreeBSD.ORG (FreeBSD Questions)
Subject:   Serial Console Booting
Message-ID:  <199906261908.PAA21479@cc942873-a.ewndsr1.nj.home.com>

next in thread | raw e-mail | index | archive | help
I would like to have two FreeBSD boxes sharing a serial console (an
ol' Wyse terminal) over a swtich box. I have gotten the serial
consoles to work for everything except booting[0].

There are helpful instructions about serial console booting in,

      /usr/src/sys/i386/boot/biosboot/README.serial

I would like to boot from sio1 (COM2) and not from sio0. One of the
things it says to do for this is,

        o Recompile both the boot blocks and the kernel.

I have already made the kernel. I built a new 'boot0,'[1] however, I
checked before installing it if it was any different than the old one
I had that booted to the VGA console,

# diff -a boot0 /boot/boot0
# _

i.e. no difference. When building this new boot0, I had the following
lines in my make.conf,

# 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)
#
# Set to sio1 (COM2), note the above port value is wrong
BOOT_COMCONSOLE_PORT=   0x2F8
#
# The default serial console speed is 9600.  Set the speed to a larger value
# for better interactive response.
#
BOOT_COMCONSOLE_SPEED=  19200
#

But there is apparently no change in the boot0 produced.

The system is 3.2-STABLE. I know booting to the serial terminal works
for the other portions of the boot process (once the kernel takes
over). But I'd like to get the initial prompts up on my terminal.

Thanks for any help.


[0] I am talking about the portions of the bootstrap process that take
    place before things are handed off to the kernel. Once I figured
    out how to control the baud rate the kernel talks at, I had that
    working fine.

[1] I built it by,

    # cd /sys/boot/i386/boot0
    # make

-- 
Crist J. Clark                           cjclark@home.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906261908.PAA21479>