Re: [Xen-devel] Build issues since XSA 240

2017-10-17 Thread Emmanuel Vadot
On Tue, 17 Oct 2017 06:57:45 -0600
"Jan Beulich"  wrote:

> >>> On 17.10.17 at 14:44,  wrote:
> >  We are seeing some build issues since XSA 240 was released, since I
> > didn't know if it was related to our build job I've isolated everything
> > so anybody could recreate the test.
> >  We use Xen 4.8.2 and build it on debian 9 (9.1 to be exact) and since
> > XSA 240 we have xen crashing on some servers (mostly dev machine so
> > it's ok but still ...).
> >  As said to be sure that everyone can recreate the problem I've created
> > a script that ~do what our jenkins job is doing : 
> > https://gist.github.com/evadot/40f92fb5320121fd8ee3b6d0d9c256c1 
> >  I've set the bits for reproducible build since it makes it easier to
> > test on multiple machines.
> >  With this script runned on a debian 9.1 machine (either vm or
> > physical) from /root/ directly (I didn't found the variable that remove
> > build path for repro build if one exists) I get the build id
> > 0764c6f6d385feed46c4b18803dabc282a50ae8b and when starting this binary
> > on a Dell C6100 (Xeon L5640) I have this :
> > https://www.bidouilliste.com/xen/log_xen_4.8.2_xsa_231-xsa-245_gcc-0764c6f6d
> >  
> > 385feed46c4b18803dabc282a50ae8b.txt
> > 
> >  If I switch to clang (just added clang=y to make defconfig and make
> > build) I have this :
> > https://www.bidouilliste.com/xen/log_xen_4.8.2_xsa_231-xsa-245_clang-2261d6a
> >  
> > d42adef475fa638b87f7364df155919a9.txt
> >   There seems to be some memory corruption on this last one (where the
> > ram map is printed).
> > 
> >  But if I build it on my FreeBSD machine (12-CURRENT, clang 5.0.0) or a
> > FreeBSD 11.1 VM (clang 4.0.0) I can boot my dom0 and start VMs.
> 
> Wasn't it you who (under email address [email protected])
> reported this same or a pretty similar problem to the discussion list
> already during the embargo, finding out later that this was due to
> flawed hardware on the build system of yours?
> 
> Jan

 Yes, since then I've run test on multiple VM and physical machines to
be sure that this wasn't our build system fault.

-- 
Emmanuel Vadot  

___
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel


Re: [Xen-devel] Build issues since XSA 240

2017-10-17 Thread Jan Beulich
>>> On 17.10.17 at 14:44,  wrote:
>  We are seeing some build issues since XSA 240 was released, since I
> didn't know if it was related to our build job I've isolated everything
> so anybody could recreate the test.
>  We use Xen 4.8.2 and build it on debian 9 (9.1 to be exact) and since
> XSA 240 we have xen crashing on some servers (mostly dev machine so
> it's ok but still ...).
>  As said to be sure that everyone can recreate the problem I've created
> a script that ~do what our jenkins job is doing : 
> https://gist.github.com/evadot/40f92fb5320121fd8ee3b6d0d9c256c1 
>  I've set the bits for reproducible build since it makes it easier to
> test on multiple machines.
>  With this script runned on a debian 9.1 machine (either vm or
> physical) from /root/ directly (I didn't found the variable that remove
> build path for repro build if one exists) I get the build id
> 0764c6f6d385feed46c4b18803dabc282a50ae8b and when starting this binary
> on a Dell C6100 (Xeon L5640) I have this :
> https://www.bidouilliste.com/xen/log_xen_4.8.2_xsa_231-xsa-245_gcc-0764c6f6d 
> 385feed46c4b18803dabc282a50ae8b.txt
> 
>  If I switch to clang (just added clang=y to make defconfig and make
> build) I have this :
> https://www.bidouilliste.com/xen/log_xen_4.8.2_xsa_231-xsa-245_clang-2261d6a 
> d42adef475fa638b87f7364df155919a9.txt
>   There seems to be some memory corruption on this last one (where the
> ram map is printed).
> 
>  But if I build it on my FreeBSD machine (12-CURRENT, clang 5.0.0) or a
> FreeBSD 11.1 VM (clang 4.0.0) I can boot my dom0 and start VMs.

Wasn't it you who (under email address [email protected])
reported this same or a pretty similar problem to the discussion list
already during the embargo, finding out later that this was due to
flawed hardware on the build system of yours?

Jan


___
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel


[Xen-devel] Build issues since XSA 240

2017-10-17 Thread Emmanuel Vadot

 Hello,

 We are seeing some build issues since XSA 240 was released, since I
didn't know if it was related to our build job I've isolated everything
so anybody could recreate the test.
 We use Xen 4.8.2 and build it on debian 9 (9.1 to be exact) and since
XSA 240 we have xen crashing on some servers (mostly dev machine so
it's ok but still ...).
 As said to be sure that everyone can recreate the problem I've created
a script that ~do what our jenkins job is doing : 
https://gist.github.com/evadot/40f92fb5320121fd8ee3b6d0d9c256c1
 I've set the bits for reproducible build since it makes it easier to
test on multiple machines.
 With this script runned on a debian 9.1 machine (either vm or
physical) from /root/ directly (I didn't found the variable that remove
build path for repro build if one exists) I get the build id
0764c6f6d385feed46c4b18803dabc282a50ae8b and when starting this binary
on a Dell C6100 (Xeon L5640) I have this :
https://www.bidouilliste.com/xen/log_xen_4.8.2_xsa_231-xsa-245_gcc-0764c6f6d385feed46c4b18803dabc282a50ae8b.txt

 If I switch to clang (just added clang=y to make defconfig and make
build) I have this :
https://www.bidouilliste.com/xen/log_xen_4.8.2_xsa_231-xsa-245_clang-2261d6ad42adef475fa638b87f7364df155919a9.txt
  There seems to be some memory corruption on this last one (where the
ram map is printed).

 But if I build it on my FreeBSD machine (12-CURRENT, clang 5.0.0) or a
FreeBSD 11.1 VM (clang 4.0.0) I can boot my dom0 and start VMs.

 I really don't know what's happening and if someone have any idea how
to debug this I'll be very happy.

 I've also put the xen-syms binary here :
https://www.bidouilliste.com/xen/xen-syms-0764c6f6d385feed46c4b18803dabc282a50ae8b
https://www.bidouilliste.com/xen/xen-syms-2261d6ad42adef475fa638b87f7364df155919a9

 Thanks,

-- 
Emmanuel Vadot  

___
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel