From owner-freebsd-arch@FreeBSD.ORG Sun Oct 7 23:10:36 2012 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0233C106566B; Sun, 7 Oct 2012 23:10:36 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id B73048FC08; Sun, 7 Oct 2012 23:10:35 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.16]) by ltcfislmsgpa03.fnfis.com (8.14.4/8.14.4) with ESMTP id q97NAYa4008799 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sun, 7 Oct 2012 18:10:34 -0500 Received: from [10.0.0.103] (10.14.152.61) by smtp.fisglobal.com (10.132.206.16) with Microsoft SMTP Server (TLS) id 14.2.309.2; Sun, 7 Oct 2012 18:10:34 -0500 MIME-Version: 1.0 (Apple Message framework v1283) Content-Type: multipart/mixed; boundary="Apple-Mail=_293A43D5-87B6-4CBC-A47B-F6BDE3C45D69" From: Devin Teske In-Reply-To: Date: Sun, 7 Oct 2012 16:10:31 -0700 Message-ID: <6DBE2255-40A3-452B-A503-04AF6A3FBE42@fisglobal.com> References: To: Garrett Cooper X-Mailer: Apple Mail (2.1283) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.7.7855, 1.0.431, 0.0.0000 definitions=2012-10-07_05:2012-10-06, 2012-10-07, 1970-01-01 signatures=0 Cc: Devin Teske , freebsd-arch@freebsd.org Subject: Re: Tell the user we're booting X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Devin Teske List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Oct 2012 23:10:36 -0000 --Apple-Mail=_293A43D5-87B6-4CBC-A47B-F6BDE3C45D69 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="windows-1252" On Oct 7, 2012, at 3:53 PM, Garrett Cooper wrote: > On Oct 7, 2012, at 3:39 PM, Devin Teske wrote: >=20 >> Hi, >>=20 >> I'd like to propose a small (tiny even) patch to sys/boot/forth/loader.4= th >>=20 >> Said patch will echo "Booting=85" before invoking the kernel. >>=20 >> This patch would effect every architecture (even those that don't use th= e beastie menu). >>=20 >> The reason for proposing this tiny change is that as of 9.0-R I've notic= ed a significant lag between executing "boot" and getting something on-scre= en to show that something is happening. >=20 > This is probably the memory test (set "hw.memtest.tests" to "0" in loade= r.conf and see if that speeds things up). Regardless, I think it'd be a goo= d thing to have. > Thanks! > -Garrett >=20 > PS Got patch? Here's patch: _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. --Apple-Mail=_293A43D5-87B6-4CBC-A47B-F6BDE3C45D69 Content-Disposition: attachment; filename="patch.txt" Content-Type: text/plain; name="patch.txt" Content-Transfer-Encoding: 7bit Index: color.4th.8 =================================================================== --- color.4th.8 (revision 241310) +++ color.4th.8 (working copy) @@ -50,7 +50,7 @@ .Dl include color.4th .Pp This line is present in -.Pa /boot/beastie.4th +.Pa /boot/loader.4th file, so it is not needed (and should not be re-issued) in a normal setup. .Pp The commands provided by it are: @@ -102,7 +102,6 @@ .Sh SEE ALSO .Xr loader.conf 5 , .Xr loader 8 , -.Xr beastie.4th 8 , .Xr loader.4th 8 .Sh HISTORY The Index: loader.4th =================================================================== --- loader.4th (revision 241310) +++ loader.4th (working copy) @@ -40,6 +40,7 @@ 2048 dictincrease ! \ 2048 additional cells each time include /boot/support.4th +include /boot/color.4th only forth also support-functions also builtins definitions @@ -64,6 +65,12 @@ : boot 0= if ( interpreted ) get_arguments then + loader_color? if + ." Booting..." cr + else + ." Booting..." cr + then + \ Unload only if a path was passed dup if >r over r> swap Index: beastie.4th =================================================================== --- beastie.4th (revision 241310) +++ beastie.4th (working copy) @@ -28,7 +28,6 @@ marker task-beastie.4th -include /boot/color.4th include /boot/delay.4th variable logoX --Apple-Mail=_293A43D5-87B6-4CBC-A47B-F6BDE3C45D69--