Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Mar 2009 09:57:51 +0100
From:      Stefan Bethke <stb@lassitu.de>
To:        Martin Cracauer <cracauer@cons.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Serial console options
Message-ID:  <19C78AB3-6257-4C44-8896-9A20E3AB942E@lassitu.de>
In-Reply-To: <20090305155721.GA70584@cons.org>
References:  <20090305155721.GA70584@cons.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 05.03.2009 um 16:57 schrieb Martin Cracauer:

> I finally have enough FreeBSD hardware piled up have things
> crossconnected with serial consoles.
>
> One question, though: one machine has a serial port capable BIOS.  If
> I use this, is there a way to do kgdb debugging over that connection?
>
> I think the real question is: if I use the serial port for the BIOS,
> will it be available as a port in FreeBSD?

Typically, when you enable the redirection, the BIOS will send output  
made with the usual BIOS calls (also) to the serial port, and will  
accept input from it. The serial port itself is not affected in any  
particular way, the BIOS is just using it.

Once the BIOS is out of the picture for console i/o (once the kernel  
starts up), the redirection does not matter at all anymore.

Conflicts can arise if you both have redirection enabled after boot,  
and serial console in the boot loader.  I've found setting the BIOS to  
only do the redirection for setup, but not after boot, works best.  I  
then configure booteasy, boot and loader for serial console.


Stefan

-- 
Stefan Bethke <stb@lassitu.de>   Fon +49 151 14070811







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19C78AB3-6257-4C44-8896-9A20E3AB942E>