From owner-freebsd-hackers@FreeBSD.ORG Sat Sep 22 11:16:54 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69B39106564A for ; Sat, 22 Sep 2012 11:16:54 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id A2D748FC0A for ; Sat, 22 Sep 2012 11:16:53 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA06006; Sat, 22 Sep 2012 14:16:45 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1TFNhU-000NHk-NW; Sat, 22 Sep 2012 14:16:44 +0300 Message-ID: <505D9E19.9060506@FreeBSD.org> Date: Sat, 22 Sep 2012 14:16:41 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20120913 Thunderbird/15.0.1 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Olivier_Cochard-Labb=E9?= References: <505786AC.9010302@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-hackers@FreeBSD.org Subject: Re: serial console "detection" during boot X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Sep 2012 11:16:54 -0000 on 22/09/2012 11:40 Olivier Cochard-Labbé said the following: > On Mon, Sep 17, 2012 at 10:23 PM, Andriy Gapon wrote: >> >> Guys, >> >> With this patch I am able to boot with >> boot_multicons="YES" >> console="vidconsole,comconsole" >> in loader.conf on hardware where serial ports are disabled in BIOS. >> Previously loader would just hang trying to apply the console setting. > > I confirm that I can boot under Virtualbox without serial port > configured with your patch and dual console configuration in > /boot/loader.conf. > > But, I've still the same hang problem with a system configured for > booting with dual console configuration like that: > echo "-D" > /boot.config This is because -D affects behavior of boot2 as well and boot2 uses different serial console code (in BTX). -- Andriy Gapon