WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: xen dom0 debugging

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: xen dom0 debugging
From: Horms <horms@xxxxxxxxxxxx>
Date: Mon, 5 Dec 2005 01:38:15 +0000 (UTC)
Delivery-date: Mon, 05 Dec 2005 01:41:01 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4391A1C5.2040609@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: tin/1.7.10-20050815 ("Grimsay") (UNIX) (Linux/2.6.12.6-xen0 (i686))
Robin van Leeuwen <rvl@xxxxxxxxxxxxxx> 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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>