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-users

Re: [Xen-users] pv_ops domU crashes on pv_ops dom0 (directly at boot)

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-users] pv_ops domU crashes on pv_ops dom0 (directly at boot)
From: Markus Schuster <ml@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 15 Dec 2009 13:49:42 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 15 Dec 2009 04:50:16 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200912092235.45173.ml@xxxxxxxxxxxxxxxxxxxx>
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: <200912052352.06078.ml@xxxxxxxxxxxxxxxxxxxx> <4B1D938F.7040409@xxxxxxxx> <200912092235.45173.ml@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.12.2 (Linux/2.6.29-2-amd64; KDE/4.3.2; x86_64; ; )
On Wednesday 09 December 2009 22:35:44 Markus Schuster wrote:
> On Tuesday 08 December 2009 00:45:19 Jeremy Fitzhardinge wrote:
> > On 12/06/09 14:08, Markus Schuster wrote:
> > [..]
> >
> > > What to do to find out the line in code that crashes?
> >
> > If you built the kernel, then:
> > [..]
> >
> > You'll get best results if you enable CONFIG_DEBUG_INFO.
> 
> Sorry for the delay, but I used a Debian binary kernel, so I had to grab
> Debian sources and rebuild it in order to have reproduceable results. I've
> enabled CONFIG_DEBUG_INFO from the start - it produced giant binaries :)
> 
> 
> So I've done:
> # gdb vmlinux
> [..]
> This GDB was configured as "x86_64-linux-gnu"...
> (gdb) x/i 0xffffffff813861af
> 0xffffffff813861af <cache_add_dev+46>:  mov    (%rdi),%r14d
> (gdb)
> (gdb) list *0xffffffff813861af
> 0xffffffff813861af is in cache_add_dev
> (/root/linux-2.6/linux-2.6-2.6.31/debian/build/source_amd64_none/arch/x86/k
> ernel/cpu/intel_cacheinfo.c:902). 897     static
>  DECLARE_BITMAP(cache_dev_map, NR_CPUS);
> 898
> 899     /* Add/Remove cache interface for CPU device */
> 900     static int __cpuinit cache_add_dev(struct sys_device * sys_dev)
> 901     {
> 902             unsigned int cpu = sys_dev->id;
> 903             unsigned long i, j;
> 904             struct _index_kobject *this_object;
> 905             int retval;
> 906
> (gdb)

Hi Jeremy, sorry for beeing a bit cumbersome, but have you been able to get 
some findings from my debugger output? Do you need additional input?

Regards,
Markus

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