Re: Capturing All Kernel Messages

From: Jesper Juhl
Date: Thu Jan 12 2006 - 14:45:39 EST


On 1/12/06, Brian D. McGrew <brian@xxxxxxxxxxxxx> wrote:
> So I'm trying to build a new special kernel and of course, as Murphy
> says, it'll blow up the first 1,000 times! I need to capture the boot
> messages because I'm getting a lot of errors scrolling by before the
> kernel panics and I'm toast and have to revert back to my old kernel.
> Once I revert back to my old kernel, all my previous messages are lost
> and dmesg does me no good!
>
> How can I make the kernel output to a file or some other means as soon
> as it starts loading so I can capture this stuff?
>

serial console, net console or console on line printer.
Check the Documentation/ subdir in the kernel source for the details.

--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/