LWN.net Logo

A last-chance kernel message dumper

A last-chance kernel message dumper

Posted Nov 28, 2003 19:00 UTC (Fri) by giraffedata (subscriber, #1954)
Parent article: A last-chance kernel message dumper

I'm glad someone is attacking this problem. I find that transcribing the stack trace by hand is the least of the problem. Often, the system crashed some time ago and the video controller has gone to sleep. (The screen is blank). Since the system is dead, you can't wake it up.

I won't be using this kernel message dumper, though -- it isn't useful enough. A magic sysrq function that works after the system has panicked and dumps the kernel message buffer to a floppy would be nice, though. Or maybe something that dumps it at panic time to a predesignated fixed disk location).


(Log in to post comments)

A last-chance kernel message dumper

Posted Dec 2, 2003 17:42 UTC (Tue) by dbehman (subscriber, #13934) [Link]

Why not hook up a serial console and log the messages dumped to it in minicom? Turn on Log Capture in minicom and voila - all messages dumped during a panic will be saved!

A last-chance kernel message dumper

Posted Dec 3, 2003 19:35 UTC (Wed) by Luyseyal (guest, #15693) [Link]

That assumes you have a second system handy, of course...

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds