burnt again by gmirror
John-Mark Gurney
gurney_j at resnet.uoregon.edu
Wed Nov 1 18:29:08 UTC 2006
Rick C. Petty wrote this message on Tue, Oct 31, 2006 at 15:52 -0600:
> I wish either fsck was less noisy or that the kernel would take a
> snapshot of the msgbuf right before starting init, so only the kernel
> messages would get copied into /var/run/ when the rc scripts do their
> thing...
This is a bug IMO that console messages get added to the dmesg buffer..
This was changed in 4.3. dmesg sees what messages are console
messages and skips over them. If you provide the -a option to dmesg,
you get what was dumped to the console:
-a Show all data in the message buffer. This includes any syslog
records and /dev/console output.
W/o this bug/feature, we'd never have to worry about /dev/console
messages overflowing the kernel messages, which is a lot more common
than kernel messages overflowing before rc scripts run and hit saving
dmesg.
In 6.2 and HEAD, I've doubled the kernel message buffer to 64k for i386,
so it's less likely to overflow.
--
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
More information about the freebsd-geom
mailing list