From owner-freebsd-questions@FreeBSD.ORG Fri Nov 3 18:27:59 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFAEA16A47C for ; Fri, 3 Nov 2006 18:27:59 +0000 (UTC) (envelope-from bseklecki@collaborativefusion.com) Received: from mx02.pub.collaborativefusion.com (mx02.pub.collaborativefusion.com [206.210.72.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 776D343D49 for ; Fri, 3 Nov 2006 18:27:59 +0000 (GMT) (envelope-from bseklecki@collaborativefusion.com) Received: from soundwave.pgh.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (Authenticated sender: seklecki) by mx02.pub.collaborativefusion.com (Postfix) with ESMTP id B02A9AC825; Fri, 3 Nov 2006 13:27:48 -0500 (EST) From: "Brian A. Seklecki" To: Matt Domsch In-Reply-To: <20061101150834.GD22833@lists.us.dell.com> References: <1162357012.4169.378.camel@compulsion> <4ffdf1bc0611010239sb23ee60xf012b9d39865ca7b@mail.gmail.com> <200611010937.02310.eclark@alabanza.com> <20061101150834.GD22833@lists.us.dell.com> Content-Type: text/plain Organization: Collaborative Fusion, Inc. Date: Fri, 03 Nov 2006 13:27:58 -0500 Message-Id: <1162578478.26675.273.camel@soundwave.pgh.priv.collaborativefusion.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 06 Nov 2006 22:54:23 +0000 Cc: eclark , linux-poweredge@dell.com Subject: Re: Console Redirection After Boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2006 18:27:59 -0000 On Wed, 2006-11-01 at 09:08 -0600, Matt Domsch wrote: > On Wed, Nov 01, 2006 at 10:37:01AM -0400, eclark wrote: > > there any way to force serial console redirection in the kernel, so I can log > > boot sequences? It gets a bit old having to continuously reboot to stare at > > scrolling messages when you are trying to do kernel testing. > Just for the record, I just tested: - An Intel Server Motherboard SE7520* - A Dell PE2950 - An Axiomtek SBC83672 All have Phoenix BIOS. All exhibit the same behavior. I/O to the console does not get redirected to serial _unless_ it was sent there via a BIOS call. Ah la, DOS. The only options are: - Write a framebuffer driver for the kernel that uses BIOS calls (_not likely_, and for which there would most presumably be no terminal disciplines capable of running sysint/sysinstall) - Convince hardware vendors like Dell/Intel to implement a more Real Weasel-like console redirection system (not likely) - Convince Dell not to re-write the ActiveX applet that is the DRAC5 interface in something slight more portable, such as...oh, Java. - During emergency scenarios like DRP deployment, have a Windows system around. - Buy an OpenBoot enabled platform. =p J/K #3 seems most logical. Well at least now I understand the problem in its entirely. Thanks all. ~BAS > That's easy. > > 1) Disable (or really, don't enable) console redirection in BIOS SETUP. > 2) Put on the kernel command line: console=ttyS0,115200 console=tty0 > > We do 99% of our kernel debugging this way. > -- Brian A. Seklecki Collaborative Fusion, Inc.