From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 21 20:37:43 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 8CD64106566C for ; Fri, 21 Sep 2012 20:37:43 +0000 (UTC) (envelope-from uffe@uffe.org) Received: from mail.starion.dk (mx0.starion.dk [93.162.70.34]) by mx1.freebsd.org (Postfix) with SMTP id C84E68FC14 for ; Fri, 21 Sep 2012 20:37:41 +0000 (UTC) Received: (qmail 68010 invoked by uid 1004); 21 Sep 2012 20:29:12 -0000 Message-ID: <505CCE62.7090408@uffe.org> Date: Fri, 21 Sep 2012 22:30:26 +0200 From: Uffe Jakobsen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0 MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.org References: <505786AC.9010302@FreeBSD.org> In-Reply-To: <505786AC.9010302@FreeBSD.org> Content-Type: text/plain; charset=x-viet-vps; format=flowed Content-Transfer-Encoding: 7bit Cc: 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: Fri, 21 Sep 2012 20:37:43 -0000 On 2012-09-17 22:23, Andriy Gapon wrote: > > what do you think of the following two diffs? > +1 > Most likely I overdid various checks in libi386/comconsole.c. > And, obviously, the RETRY_COUNT value is pulled out of thin air. > Any help and suggestions are very welcome. > > 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. > This patch would be a blessing - I've had problems like the one that you describe. /Uffe