From owner-freebsd-current@FreeBSD.ORG Mon Sep 1 19:01:58 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50B2716A4BF; Mon, 1 Sep 2003 19:01:58 -0700 (PDT) Received: from stork.mail.pas.earthlink.net (stork.mail.pas.earthlink.net [207.217.120.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D93043FB1; Mon, 1 Sep 2003 19:01:57 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from user-2ivfj8a.dialup.mindspring.com ([165.247.205.10] helo=mindspring.com) by stork.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 19u0UV-00054z-00; Mon, 01 Sep 2003 19:01:56 -0700 Message-ID: <3F53F9D3.E9D6BEEE@mindspring.com> Date: Mon, 01 Sep 2003 19:00:51 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Scott Long References: <1062445674.59251.1.camel@acheron.livid.de> <3F53CF00.6020304@freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4c5d3a93d240021e05eab3d6b2babcc3e666fa475841a1c7a350badd9bab72f9c350badd9bab72f9c cc: current@freebsd.org cc: "Scott M. Likens" Subject: Re: Question related to FreeBSD Serial Console... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Tue, 02 Sep 2003 02:01:58 -0000 Scott Long wrote: > Scott M. Likens wrote: > > I have a question related to FreeBSD Serial console, > > > > I am aware you can use -Dh for both internal and serial, but is it > > possible to see the 'kernel' "boot" messages sent on both the serial and > > the console? > > > > It was a question that was asked to me by a client, and after > > researching it more, it seems that it's not possible. > > > > Am i wrong? or did I miss an option that's not documented? In boot.config, you can add the line "-D". Unfortunately, this only makes both consoles active during the boot; when control is given over to the kernel, only a single console (specified by the state of the -h option, and toggling, depending on whether you have a keyboard plugged in) makes only a single console active. Unfortunately, when the sense of the -P option was inverted, it kind of broke the expected console behaviour ("use keyboard if keyboard connected, else use serial"). Unfortunately you can't just "-P -h" as it used to tell you to do in the handbook, because of the "-P" sense inversion. Probably someone ought to do the work of making "-D" work internal to the kernel itself, and ought to reinvert the "-P" so that you could hook up a keyboard before or after boot, and the keyboard would "just work", like it did circa FreeBSD 4.2/4.3. Making the "-D" work is probably what the person who broke "-P" had in mind, with breaking "-P" provoking someone to "make -D work right". Kind of like starting someone's foot on fire to get extinguishers put in the apartment complex (or because "it feels so good when the fire goes out"). -- Terry