Subject: Re: mutex fault and no symbol table on recent Dom0 and Xen
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Christoph Egger <Christoph_Egger@gmx.de>
List: port-xen
Date: 08/18/2007 14:24:12
> On Wed, Aug 08, 2007 at 06:23:06PM +0200, Christoph Egger wrote:
> > 
> > > On Wed, Aug 08, 2007 at 10:29:45AM +0200, Christoph Egger wrote:
> > > > 
> > > > Good news: The symbol table is back again. The fix is upstream
> > > > in xen-unstable. The elf code in Xen got reworked between Xen 3.0.4
> > > > and Xen 3.1. During that rework, elf symbol loading got broken in
> the
> > > way
> > > > that BSD_SYMTAB got still parsed, but not handled.
> > > > This is handled in xen-unstable again.
> > > 
> > > this is great, thanks ! Do you know if this can easily be applied to
> > > the stable branch ?
> > 
> > I think so. Just take the changesets 15672, 15678 and 15679.
> > These changesets touches files that haven't been changed
> > otherwise since Xen 3.1.
> > 
> > 
> > 
> > The following links show you the changelog and the diffs.
> > 
> > 15672:
> > http://xenbits.xensource.com/xen-unstable.hg/rev/88bb0d305308
> > 
> > 15678:
> > http://xenbits.xensource.com/xen-unstable.hg/rev/78be123257fa
> > 
> > 15679:
> > http://xenbits.xensource.com/xen-unstable.hg/rev/7ee30cf72fd3
> > 
> > 15672 is my original patch a little modified by XenSource.
> > 15678 fixed a bug introduced via modifications from XenSource.
> > 15679 is a cleanup by XenSource and tested by me on both Dom0 and DomU.
> > 
> > All three changesets merged together results in a relativ
> > small patch.
> 
> Thanks ! I've been able to apply it to Xen 3.1.0. I updated the
> xenkernel3 to build the kernel from source, with this patch.

The patch-a* patches you added to xenkernel3-nb1 are also in xen-unstable.
(AFAIR I mailed you, Manuel, when I got the Xen-kernel building on
NetBSD.) See changeset 15177 for the proof :-)

In short: When Xen 3.2 is out, no additional patches are necessary
to build the xen-kernel - except patch-aa if you continue to build
a *debug* Xen kernel.


> -- 
> Manuel Bouyer <bouyer@antioche.eu.org>
>      NetBSD: 26 ans d'experience feront toujours la difference
> --

-- 
Greetings,

Christoph