[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.