dmesg bootup-info removed/overwritten by syslogd ?
Hi, I wanted to see my original bootup messages again. So I typed dmesg, but all I got were 'arplookup' lines. I'm puzzled, where the bootup messages have gone? I have two files in /var/log: dmesg.today and dmesg.yesterday Both files are completely filled with this line: arplookup 147.46.50.254 failed: host is not on local network Nothing else. How can I see the original bootup messages from the kernel? Do I have to reboot for that :( ? Regards, Rob. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dmesg bootup-info removed/overwritten by syslogd ?
On Mon, Apr 05, 2004 at 01:15:29PM +0900, Rob wrote: I wanted to see my original bootup messages again. So I typed dmesg, but all I got were 'arplookup' lines. I'm puzzled, where the bootup messages have gone? Overwritten by kernel debug messages. There have been a number of similar questions for a while, the gist is that when the dmesg buffer gets filled up, it starts to overwrite itself. This affects the daily periodic output and makes it look munged. I don't think any solution has ever been offered up - I'd certainly be interested in it :P I have two files in /var/log: dmesg.today and dmesg.yesterday Both files are completely filled with this line: arplookup 147.46.50.254 failed: host is not on local network How can I see the original bootup messages from the kernel? One way is to cat the output from bootup dmesg into a file at boot time - in /etc/rc.local put this: dmesg /var/log/dmesg.boot if you wanted to get fancy you could use the date(1) command to timestamp the files ala: dmesg /var/log/dmesg.boot.`date +%Y%m%d` Do I have to reboot for that :( ? Yup. Good luck. -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - Another FreeBSD Diary http://ipfwstats.sf.net/- ipfw peruser traffic logging ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dmesg bootup-info removed/overwritten by syslogd ?
Hello Rob! Rob wrote: How can I see the original bootup messages from the kernel? Do I have to reboot for that :( ? You can, but you can also have a look at /var/run/dmesg.boot Saves some time, and saves downtime :-) Cheers! Regards, Rob. -- Kind regards, Remko Lodder Elvandar.org/DSINet.org www.mostly-harmless.nl A Dutch community for helping newcomers on the hackerscene ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dmesg bootup-info removed/overwritten by syslogd ?
On Mon, Apr 05, 2004 at 07:14:28AM +0200, Remko Lodder wrote: Rob wrote: How can I see the original bootup messages from the kernel? Do I have to reboot for that :( ? You can, but you can also have a look at /var/run/dmesg.boot Saves some time, and saves downtime :-) Mmm getting deja vu here... ignore my method above :P -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - Another FreeBSD Diary http://ipfwstats.sf.net/- ipfw peruser traffic logging ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]