From owner-freebsd-arch@FreeBSD.ORG Mon Oct 8 02:44:53 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 ABD2E106564A for ; Mon, 8 Oct 2012 02:44:53 +0000 (UTC) (envelope-from peter@wemm.org) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1BCE28FC0A for ; Mon, 8 Oct 2012 02:44:52 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id e12so2290937lag.13 for ; Sun, 07 Oct 2012 19:44:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wemm.org; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=frrhu70ZuE7tRhW1cpzA484cJuWt4fvLClIanD95gxo=; b=n1sZ2FoF4sMFjCzvFt6GGT6BTD+JmdoBqwgh3vNql1/U2gZIWdUFzqBKZg8fEKEk2B /KHWDjMne2T1tEMejeoKOPoS8XL9dPgCRTOGfyI1EIWv0CWLw2p3cgIFjGxq6k5EZM9e EehIbdzSUVszAXkSvBaKKvyyhRNbgJ8bsdgbU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=frrhu70ZuE7tRhW1cpzA484cJuWt4fvLClIanD95gxo=; b=QM5arQHv3lreUhI8yaCDHiRDnYREv/xSsSpdrZDXweIBBVUVyS10HvYFAWszpc2XQO tXXZ8yh7jWP/3RT0pXU1zluDwCv0DuTJLXFk1xUs2Y/7JYnThgL0u17rXhyqdfgfODd8 4sqHGaKiGX2jbXyWJ6+AY1QyEPXpYWfO7UlAULT6m/rh5TN02TkHRfic0pQ0MaZ1wQZy dZjTFgkPPzeHtrCyBnY5ZGgnmad1fd3MagxXqrzUhWB004rv6aw3NJoggr8Hb1lGS0ej SigBcMHivuf4tlTGS7vZm6z2nww6Tzu89BWEawMlSBdupt9lD0ICB7ugtUWPhGzW7HTy hOyw== MIME-Version: 1.0 Received: by 10.112.23.40 with SMTP id j8mr6155250lbf.31.1349664291757; Sun, 07 Oct 2012 19:44:51 -0700 (PDT) Received: by 10.112.87.106 with HTTP; Sun, 7 Oct 2012 19:44:51 -0700 (PDT) In-Reply-To: References: <6DBE2255-40A3-452B-A503-04AF6A3FBE42@fisglobal.com> Date: Sun, 7 Oct 2012 19:44:51 -0700 Message-ID: From: Peter Wemm To: Devin Teske Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQmNotH0tTx3lRE2Z8X3uMs7dLUbh6vF8LGpXa25Kc2w0I5IeKNYhr1U7QFSfSW7RifRGrce Cc: Garrett Cooper , Adrian Chadd , 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 List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2012 02:44:53 -0000 On Sun, Oct 7, 2012 at 5:30 PM, Devin Teske wro= te: > > On Oct 7, 2012, at 4:10 PM, Devin Teske wrote: > >> >> On Oct 7, 2012, at 3:53 PM, Garrett Cooper wrote: >> >>> On Oct 7, 2012, at 3:39 PM, Devin Teske wrote: >>> >>>> Hi, >>>> >>>> I'd like to propose a small (tiny even) patch to sys/boot/forth/loader= .4th >>>> >>>> Said patch will echo "Booting=85" before invoking the kernel. >>>> >>>> This patch would effect every architecture (even those that don't use = the beastie menu). >>>> >>>> The reason for proposing this tiny change is that as of 9.0-R I've not= iced a significant lag between executing "boot" and getting something on-sc= reen to show that something is happening. >>> >>> This is probably the memory test (set "hw.memtest.tests" to "0" in= loader.conf and see if that speeds things up). > > woah-nelly! I don't think I can count "one" before I see stuff show up on= -screen. That's surely-it. > > >>> Regardless, I think it'd be a good thing to have. > > Excellent, I'll move forward with the tiny patch. Thanks. Glad to improve= the responsiveness (even if-only perceived). > -- > Devin > > P.S. You'll notice in the patch a ``strange'' ANSI color (37;44) when loa= der_color=3DYES, that's white-text on blue-background. That's a color that = we've been using for nearly a decade and it seems to work quite well. I thi= nk I read somewhere that blue is very soothing and calming (and that Disney= knows this very well -- and is why they use a specific percentage of blue = in their movie previews). But hey, =85 we *could* change it (/me runs to co= mmit ^_^) If DDB/KDB is present and enabled you get a KDB printf before the memory check delay. The kernel clearly can afford to do an "I'm here!" message a little sooner than it currently does. At times I wonder if we could add something early, like: /* Test if the console is working yet. */ printf(" \\|/ ____ \\|/\n \"@'/ .. \\`@\"\n /_| \\__/ |_\\\n \\__U_/\n"); --=20 Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV "All of this is for nothing if we don't go to the stars" - JMS/B5 "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell