Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Feb 2000 20:47:48 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Peter Wemm <peter@netplex.com.au>
Cc:        "Jordan K. Hubbard" <jkh@zippy.cdrom.com>, Robert Watson <robert+freebsd@cyrus.watson.org>, "Jordan K. Hubbard" <jkh@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern init_main.c 
Message-ID:  <5570.951508068@critter.freebsd.dk>
In-Reply-To: Your message of "Sat, 26 Feb 2000 03:35:03 %2B0800." <20000225193503.5BBA91CDE@overcee.netplex.com.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20000225193503.5BBA91CDE@overcee.netplex.com.au>, Peter Wemm writes
:
>"Jordan K. Hubbard" wrote:
>> > When using excessively verbose boots, the scroll-back buffer often doesn't
>> > reach back far enough.  Is there any way, as with dmesg.boot in a normal
>> > install, we could provide sysinstall-based access to the boot messages
>> > without using the scroll-back?  I.e., a new menu option, ``Review Hardware
>> > Probe Messages'' which provided a scrollable window pointing at the
>> > contents of dmesg?
>> 
>> I can do this, but it will only really help you post-boot time.
>> The /var/run/dmesg.boot file doesn't exist on the MFS filesystem.
>
>The dmesg buffer is a lot bigger than the screen scrollback buffer.  It
>would still be useful to see the output of dmesg.

And the contents can be trivially retreived with a sysctl:

$ sysctl machdep.msgbuf
machdep.msgbuf: booting...
Copyright (c) 1992-1999 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 4.0-CURRENT #5: Thu Jan  6 09:01:41 CET 2000
    root@:/usr/src/sys/compile/CRITTER
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P54C (131.73-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping = 12
[...]

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
FreeBSD -- It will take a long time before progress goes too far!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5570.951508068>