From ga9@buffy.york.ac.uk  Sun May  9 11:29:41 2004
Return-Path: <ga9@buffy.york.ac.uk>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id BD52A16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  9 May 2004 11:29:41 -0700 (PDT)
Received: from mail-gw0.york.ac.uk (mail-gw0.york.ac.uk [144.32.128.245])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C855A43D2F
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  9 May 2004 11:29:40 -0700 (PDT)
	(envelope-from ga9@buffy.york.ac.uk)
Received: from kimiko.york.ac.uk (kimiko.york.ac.uk [144.32.226.167])
	by mail-gw0.york.ac.uk (8.12.10/8.12.10) with ESMTP id i49ITcEi006358
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 9 May 2004 19:29:38 +0100 (BST)
Received: from buffy.york.ac.uk (buffy.york.ac.uk [IPv6:2001:630:61:0:20c:f1ff:fe85:e351])
	by kimiko.york.ac.uk (8.12.11/8.12.11) with ESMTP id i49ITcJW039919
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 9 May 2004 19:29:38 +0100 (BST)
	(envelope-from ga9@buffy.york.ac.uk)
Received: from buffy.york.ac.uk (localhost.york.ac.uk [127.0.0.1])
	by buffy.york.ac.uk (8.12.11/8.12.11) with ESMTP id i49IR5pH008136
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 9 May 2004 19:27:05 +0100 (BST)
	(envelope-from ga9@buffy.york.ac.uk)
Received: (from ga9@localhost)
	by buffy.york.ac.uk (8.12.11/8.12.11/Submit) id i49IR5Js008135;
	Sun, 9 May 2004 19:27:05 +0100 (BST)
	(envelope-from ga9)
Message-Id: <200405091827.i49IR5Js008135@buffy.york.ac.uk>
Date: Sun, 9 May 2004 19:27:05 +0100 (BST)
From: Gavin Atkinson <gavin@ury.york.ac.uk>
Reply-To: Gavin Atkinson <gavin@ury.york.ac.uk>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Extending dual console support (/boot.config -D option)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         66425
>Category:       kern
>Synopsis:       [patch] Extending dual console support (/boot.config -D option)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jhb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 09 11:30:18 PDT 2004
>Closed-Date:    Thu Jun 16 18:45:38 GMT 2005
>Last-Modified:  Thu Jun 16 18:45:38 GMT 2005
>Originator:     Gavin Atkinson
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD beta.bu.nker.net 5.2-CURRENT FreeBSD 5.2-CURRENT #4: Fri May 7 22:34:47 BST 2004 root@beta.bu.nker.net:/usr/obj/usr/src/sys/GENERIC i386

>Description:

        Currently, the boot.config -D option selects both the serial console
and the video console as consoles only during boot2. This patch extends the
functionality of the -D flag to cover boot2, loader and the kernel boot.

>How-To-Repeat:

        Attach a serial console, stick "-D" or "-Dh" into /boot.config and
reboot. The loader and kernel messages are only visible on one of the consoles.
boot(8) documents this behaviour.

>Fix:
 
	Patch at http://www.devrandom.co.uk/freebsd/bootmulti.diff
I have included changes for both i386 and pc98, although the pc98 changes are
untested. The patch also includes updates to loader(8) and boot(8) manpages.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->jhb 
Responsible-Changed-By: jhb 
Responsible-Changed-When: Fri Apr 8 21:11:07 GMT 2005 
Responsible-Changed-Why:  
I'll take this one. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=66425 

From: John Baldwin <jhb@FreeBSD.org>
To: bug-followup@FreeBSD.org, gavin@ury.york.ac.uk
Cc:  
Subject: Re: kern/66425: [patch] Extending dual console support (/boot.config -D option)
Date: Thu, 14 Apr 2005 19:47:04 -0400

 I've tweaked the patches slightly (such as using strsep() to replace 
 cons_parse_string() and some other small tweaks and fixes) and have a commit 
 candidate at http://www.FreeBSD.org/~jhb/patches/boot_dualcons.patch  Can you 
 please verify that I didn't break anything?  Thanks. :)
 
 -- 
 John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
 "Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
State-Changed-From-To: open->patched 
State-Changed-By: jhb 
State-Changed-When: Fri May 27 19:31:13 GMT 2005 
State-Changed-Why:  
Finally put this in HEAD.  Will MFC to 5.x in a week.  Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=66425 
State-Changed-From-To: patched->closed 
State-Changed-By: jhb 
State-Changed-When: Thu Jun 16 18:45:20 GMT 2005 
State-Changed-Why:  
Merged back to 5.x. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=66425 
>Unformatted:
