From owner-freebsd-current@FreeBSD.ORG Fri Mar 6 08:57:53 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA94F106566B for ; Fri, 6 Mar 2009 08:57:53 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from koef.zs64.net (koef.zs64.net [212.12.50.230]) by mx1.freebsd.org (Postfix) with ESMTP id 85FCE8FC0A for ; Fri, 6 Mar 2009 08:57:53 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from localhost by koef.zs64.net (8.14.3/8.14.3) with ESMTP id n268vp22078289 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 6 Mar 2009 09:57:52 +0100 (CET) (envelope-from stb@lassitu.de) (authenticated as stb) Message-Id: <19C78AB3-6257-4C44-8896-9A20E3AB942E@lassitu.de> From: Stefan Bethke To: Martin Cracauer In-Reply-To: <20090305155721.GA70584@cons.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Fri, 6 Mar 2009 09:57:51 +0100 References: <20090305155721.GA70584@cons.org> X-Mailer: Apple Mail (2.930.3) Cc: freebsd-current@freebsd.org Subject: Re: Serial console options X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Mar 2009 08:57:54 -0000 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 Fon +49 151 14070811