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/
Home Products Support Community News


Re: [Xen-users] Tools to take a kernel crash dump.

To: Nick Anderson <nick@xxxxxxxxxxxx>, Tej <bewith.tej@xxxxxxxxx>, Luke S Crawford <lsc@xxxxxxxxx>
Subject: Re: [Xen-users] Tools to take a kernel crash dump.
From: Sreeharsha Totakura <sreeharsha.totakura@xxxxxxx>
Date: Sat, 18 Jul 2009 15:55:01 +0530
Cc: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 18 Jul 2009 03:25:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A60CE55.6020008@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <OFD0DE9674.83E33805-ON652575F6.0024CE84-652575F6.0034F87B@xxxxxxx> <m363drktnm.fsf@xxxxxxxxxxxxxxxxxx> <4A60CE55.6020008@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thanks Guys,

I have installed netconsole of the server and waiting for the next restart

A few things I noted while installing netconsole are:
1. The netconsole kernel module doesn't work on virtual interfaces.
2. The xend service when started will alter the network interfaces. In our
setup, the real eth0 is changes as peth0 and the eth0 is made virtual. I
assume this is done to pacify complaining programs whose setting are set to
use eth0 by default.
3. For installing netconsole, use:
      /sbin/modprobe netconsole
      This setting is required because the xen created virtual interface
eth0 doesn't support pooling. Only the real physical interface (peth0)
supports it.

Thanks again for your responses. Will post the kernel crash errors if  we
observe any.

Sree Harsha Totakura
Member, Open Source Platform - TEG
Tata Consultancy Services
Ph:- +91-22-67782038
Mailto: sreeharsha.totakura@xxxxxxx
Website: http://www.tcs.com
Experience certainty.   IT Services
                  Business Solutions

Nick Anderson <nick@xxxxxxxxxxxx> wrote on 07/18/2009 12:47:41 AM:

> Nick Anderson <nick@xxxxxxxxxxxx>
> 07/18/2009 12:47 AM
> To
> Luke S Crawford <lsc@xxxxxxxxx>
> cc
> Sreeharsha Totakura <sreeharsha.totakura@xxxxxxx>, Xen User-List
> <xen-users@xxxxxxxxxxxxxxxxxxx>
> Subject
> Re: [Xen-users] Tools to take a kernel crash dump.
> Luke S Crawford wrote:
> > If, for whatever reason, you can't use a serial console, another user
> > suggested netconsole.  (I haven't gotten netconsole working on a
> > kernel, but that is not to say it can't be done;  I like serial
> > so I didn't spend much time on netconsole)  - the other downside of
> > netconsole is that it's read only;  fine for looking at your panics,
> > it won't help you in the aforementioned 'I changed my firewall and
> now I can't
> > get in' case.
> >
> I have had netconsole working with a debian host. I never did get it
> working in a domU though (I dont know if it would work the way
> networking is done). Netconsole isnt too hard to setup but there is one
> key point. You have to specify the mac address of the destination host.
> Now if your destination host is not on the same subnet as you you need
> to specify the mac of your gateway.
> http://www.cmdln.org/2009/01/21/remote-kernel-logging-with-
> netconsole-for-fun-and-profit/

> ForwardSourceID:NT000071EA

Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you

Xen-users mailing list