Date: Sun, 7 Oct 2012 19:44:51 -0700 From: Peter Wemm <peter@wemm.org> To: Devin Teske <dteske@freebsd.org> Cc: Garrett Cooper <yanegomi@gmail.com>, Adrian Chadd <adrian@freebsd.org>, freebsd-arch@freebsd.org Subject: Re: Tell the user we're booting Message-ID: <CAGE5yCq5e6FGfnkPsbTjnfUgAsQ7YyB7ig66m5aW5bC%2BB0Qosg@mail.gmail.com> In-Reply-To: <C17DCA21-0DDF-4A19-A23D-8382F3826DD9@fisglobal.com> References: <DFD7A734-6876-4232-AA9E-521B1041C3D9@fisglobal.com> <EF63E60A-CF60-433C-9D91-D25C2B7E2645@gmail.com> <6DBE2255-40A3-452B-A503-04AF6A3FBE42@fisglobal.com> <C17DCA21-0DDF-4A19-A23D-8382F3826DD9@fisglobal.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 7, 2012 at 5:30 PM, Devin Teske <devin.teske@fisglobal.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGE5yCq5e6FGfnkPsbTjnfUgAsQ7YyB7ig66m5aW5bC%2BB0Qosg>