From owner-freebsd-hackers@FreeBSD.ORG Sat Dec 29 22:23:46 2007 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 5761C16A41B for ; Sat, 29 Dec 2007 22:23:46 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 1124213C45B for ; Sat, 29 Dec 2007 22:23:46 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 65DA42089; Sat, 29 Dec 2007 23:23:37 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.1/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id CF800207E; Sat, 29 Dec 2007 23:23:36 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id 8F7548449B; Sat, 29 Dec 2007 23:23:36 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Chuck Robey References: <476AF132.4080304@chuckr.org> <86abo1g2pu.fsf@ds4.des.no> <476EA521.9020707@chuckr.org> <20071224131425.GF23337@cicely12.cicely.de> <47715E1F.9080502@chuckr.org> <86sl1qikam.fsf@ds4.des.no> <477440A2.4070601@chuckr.org> <86sl1n14vv.fsf@ds4.des.no> <477698D8.2040802@chuckr.org> Date: Sat, 29 Dec 2007 23:23:36 +0100 In-Reply-To: <477698D8.2040802@chuckr.org> (Chuck Robey's message of "Sat\, 29 Dec 2007 13\:58\:32 -0500") Message-ID: <86y7bd16on.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD-Hackers , ticso@cicely.de Subject: Re: printing boot probe messages 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, 29 Dec 2007 22:23:46 -0000 Chuck Robey writes: > I'm sorry, Dag, but I am myself having problem describing it. I have been > asking for names, but while I get some guesses about the loss of printing, > they haven't given me names to use. I see two items that I can get, when > booting. If I stick "-v" in /boot.config, then when the kernel probes, a= ll > the probes are verbose. Stuff like my HDaudio card print incredibly > verbose listings. OK, that's what I will call here Print#1 > > The other thing is what I can see if I see the ascii-graphical loader (the > picture, in ascii-graphics, either of a BSDaemon, or of the letters > "FreeBSD", and a list of about 9 options for booting. If I select item #= 5, > then I get a listing. The listing is quite distinct from what I identify > as Print#1, so I'll call this Print#2. Actually, -v in /boot.config and item 5 in the beastie menu ("Boot FreeBSD with verbose logging" have *exactly* the same effect. Both set the boot_verbose loader variable, which in turn causes the kernel variable bootverbose (no underscore) to be set to 1. > If I either hit return at that > ascii booting menu (to get the default) or select item #1, then when it > boots, I get no print at all: I see the very first spinner character (but > it never prints the second one), and the next thing I see, it's printing > "Login:". This Print#2 looks like the old non-verbose booting messages > that I used to see, before I lost the printing of all booting messages. We've already covered the reason why you "lost the printing of all booting messages". Please fix it before asking another boot-related question. > I'm beginning, right now, to wonder: I increased the dmesg-buffer to 64K,= I > wonder if maybe that might possibly cause the bug? No. > I know it shouldn't, > but it wouldn't be the first time this week that I found weird behaviour = in > the kernel: if you set the number of vtys from the default 16 down to 8, > that caused me to lose keyboard input to my X11. Of course you did. You removed the vty device that is assigned to X11 in /etc/ttys, so it has no way of getting keyboard input with the standard keyboard driver. If you absolutely must have only 8 vtys in your system, simply edit /etc/ttys so X11 will run on a lower-numbered vty; but there is really *no reason at all* to change the number of vtys on a normal computer. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no