From owner-freebsd-questions Thu Jul 5 8:49:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gatekeeper.orem.verio.net (gatekeeper.orem.verio.net [192.41.0.8]) by hub.freebsd.org (Postfix) with ESMTP id 429E037B405 for ; Thu, 5 Jul 2001 08:49:08 -0700 (PDT) (envelope-from fclift@verio.net) Received: from mx.dmz.orem.verio.net (mx.dmz.orem.verio.net [10.1.1.10]) by gatekeeper.orem.verio.net (Postfix) with ESMTP id C67C53BF10F for ; Thu, 5 Jul 2001 09:49:07 -0600 (MDT) Received: from vespa.dmz.orem.verio.net (vespa.dmz.orem.verio.net [10.1.1.59]) by mx.dmz.orem.verio.net (8.11.1/8.11.1) with ESMTP id f65Fn7T64071 for ; Thu, 5 Jul 2001 09:49:07 -0600 (MDT) (envelope-from fclift@verio.net) Date: Thu, 5 Jul 2001 10:25:27 -0600 (MDT) From: Fred Clift X-Sender: fred@vespa.dmz.orem.verio.net To: freebsd-questions@freebsd.org Subject: 'joining' two com ports... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Quick question - I've got some hardware that allows 'serial console redirection' to either com1 or com2 (Intel ISP2150 2u server with LB440GX+ mb). I've got a lot of these in use (hundreds). I'm looking to start replacing some of these with Intel STL 2100 based 2u systems that also allow 'serial console redirection'. The problem is that the STL 2100 boards only allow redirection to com2, and every box we currently have is set up to use serial bios/comconsole on com1. The problem being that if I want to use the same os config and binaries for both older and newer boxes, I either use two serial ports (com2 for bios access, com1 for freebsd loader/kernel comconsole) which isn't really an option, or I loose access to either comconsole or to serial bios. Is there some way to configure the comconsole stuff to work with 'both' simutaenously or rather to 'autodetect' which com port I have wires plugged in? I realize that in general, with rs232 that you dont know if there is something on the line or not till it speaks to you. I'm not sure if this is doable with the software as it is, but perhaps I could make it happen the 'right way'. I see some comments in /usr/src/sys/boot/common/console.c like * XXX Add logic for multiple console support. and * XXX Note that the console system design allows for some extension * here (eg. multiple consoles, input/output only, etc.) Should I be looking somewhere else? Anyone with better knowlege of this part of the code want some help from me? I'm not aware of what the future plans for this part of the code hold -- anyone? Fred -- Fred Clift - fclift@verio.net -- Remember: If brute force doesn't work, you're just not using enough. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message