Subject: misc/6398: Saving a copy of kernel boot messages
To: None <>
From: None <>
List: netbsd-bugs
Date: 11/04/1998 18:43:24
>Number:         6398
>Category:       misc
>Synopsis:       Kernel boot messages are lost on long-lived systems
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Nov  4 17:50:00 1998
>Originator:     Michael K. Sanders
Confusion Network Systems
>Release:        N/A

	Kernel boot messages on long-lived systems can be lost when
	the message buffer wraps.  This information is useful to have
	regardless of how long the system has been up, so it would be
	nice to save the output of dmesg(8) at boot time.

	Wait until your system has been up a long time and the message
	buffer has been filled with stuff, then try to find the kernel
	boot messages.
	Apply the following patch to /etc/rc.  This will save the
	output of dmesg(8) in /var/run/dmesg.boot, just after the
	/var/run directory has been cleared.

> # save a copy of the boot messages
> /sbin/dmesg > /var/run/dmesg.boot