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

Re: [Xen-devel] What is the current state of Dom0 kernel support? / crash



On Thu, Jul 30, 2009 at 11:48:00AM +0300, Pasi Kärkkäinen wrote:
> On Wed, Jul 29, 2009 at 01:48:05PM -0700, Jeremy Fitzhardinge wrote:
> > >>>>> The stack backtrace is a bit fuzzy; do you have CONFIG_FRAMEPOINTER 
> > >>>>> enabled?  
> > >>>>> And if you have CONFIG_DEBUGINFO enabled, you can map the eip 
> > >>>>> c058cdcb 
> > >>>>> to a specific source line (its not clear to me which pointer is NULL).
> > >>>>>
> > >>>>>       
> > >>>>>           
> > >>>> [root@dom0test linux-2.6-xen]# grep -i CONFIG_FRAMEPOINTER .config
> > >>>> [root@dom0test linux-2.6-xen]# grep -i CONFIG_DEBUGINFO .config
> > >>>> [root@dom0test linux-2.6-xen]# 
> > >>>>
> > >>>> Unfortunately those were not enabled.. I'll build a new kernel with
> > >>>> CONFIG_DEBUGINFO enabled.
> > >>>>
> > >>>>     
> > >>>>         
> > >>> Actually CONFIG_DEBUG_INFO was enabled, if you meant that? 
> > >>>   
> > >>>       
> > >> Yes, that's it.
> > >>     
> > >>> (gdb) x/i 0xc058cdcb
> > >>>   
> > >>>       
> > >> Try "list *0xc058cdcb".
> > >>
> > >>     
> > >
> > > (gdb) list *0xc058cdcb
> > > 0xc058cdcb is in active_evtchns (drivers/xen/events.c:237).
> > > 232
> > > 233     static inline unsigned long active_evtchns(unsigned int cpu,
> > > 234                                                struct shared_info *sh,
> > > 235                                                unsigned int idx)
> > > 236     {
> > > 237             return (sh->evtchn_pending[idx] &
> > > 238                     cpu_evtchn_mask(cpu)[idx] &
> > > 239                     ~sh->evtchn_mask[idx]);
> > > 240     }
> > > 241
> > > (gdb)
> > >
> > >
> > > -- Pasi
> > >
> > >   
> > 
> > Does this help?
> > 
> 
> I'll try it later today. 
> 

I did "git pull" to get the latest 2.6.31-rc4 tree, and the patch fails to
apply..

[root@dom0test linux-2.6-xen]# git pull

[root@dom0test linux-2.6-xen]# git reset --hard
HEAD is now at ef843c1 Merge commit 'v2.6.31-rc4' into rebase/master

[root@dom0test linux-2.6-xen]# patch -p1 < 
xen-pvops-dom0-use-proper-percpu-variable-for-cpu_evtchan_mask.patch
patching file drivers/xen/events.c
Hunk #1 FAILED at 93.
Hunk #2 succeeded at 232 (offset 12 lines).
Hunk #4 succeeded at 262 (offset 12 lines).
Hunk #5 FAILED at 935.
2 out of 5 hunks FAILED -- saving rejects to file drivers/xen/events.c.rej

Looking at the patch and comparing to my drivers/xen/events.c it seems not
the same version..

-- Pasi

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


 


Rackspace

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