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

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

On Thu, Jul 30, 2009 at 02:35:32PM +0300, Pasi Kärkkäinen wrote:
> > > >>>>         
> > > >>> 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..
> 

Did I mess up something here or was this patch against some other tree than
rebase/master? 

-- Pasi

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