All of lore.kernel.org
 help / color / mirror / Atom feed
From: Horms <horms@verge.net.au>
To: xen-devel@lists.xensource.com
Subject: Re: xen dom0 debugging
Date: Mon, 5 Dec 2005 01:38:15 +0000 (UTC)	[thread overview]
Message-ID: <dn05m7$626$1@sea.gmane.org> (raw)
In-Reply-To: 4391A1C5.2040609@rldsoftware.nl

Robin van Leeuwen <rvl@rldsoftware.nl> wrote:
> a question, maybe not very xen specific.
> I want to boot my newly created (fresh compiled vmlinuz)
> dom0 but it gives an error during boot. One that would
> show up in dmesg. But it hangs the booting process
> so i have to boot with another vmlinuz.
> 
> When i boot with another vmlinuz however my dmesg
> with the error is overwritten with the one that boots
> correctly. How can i save the one with the error?
> 
> The error occures before i can execute a custom command.

Generally speaking, kernel logs can go to three places.

1. The console, which is what you are looking at. 

2. A ring-buffer in the kernel which is what you see
   if you type dmesg (on a running system). 
   Being a memory buffer, it is not persistant across reboots.
   And being a ring-buffer, it only stores the most recent log
   messages, though usually enough to be useful.

3. To disk, usually to /var/log/kern.log or something like that. 
   Obviously this won't happen before the disks are available, which is
   almost certainly the case here.

So, 2) and 3) are pretty much useless to you, which leaves you
with 1). You could just transcribe the messages by hand. Or if
you have another machine available, you could try setting
xen to boot using a serial console and capture the output
on the other end.

-- 
Horms

      reply	other threads:[~2005-12-05  1:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-03 13:46 xen dom0 debugging Robin van Leeuwen
2005-12-05  1:38 ` Horms [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='dn05m7$626$1@sea.gmane.org' \
    --to=horms@verge.net.au \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.