Re: [Xen-devel] Xen BUG at page_alloc.c:1738 (Xen 4.5)

2015-06-01 Thread M A Young
On Mon, 1 Jun 2015, Jan Beulich wrote: On 31.05.15 at 00:43, andrew.coop...@citrix.com wrote: On 30/05/2015 23:07, M A Young wrote: On Fri, 29 May 2015, Andrew Cooper wrote: FC22 is miscompiling the C to: struct page_info *page = mfn_to_page(mfn); struct domain *owner =

Re: [Xen-devel] Xen BUG at page_alloc.c:1738 (Xen 4.5)

2015-06-01 Thread Jan Beulich
On 31.05.15 at 00:43, andrew.coop...@citrix.com wrote: On 30/05/2015 23:07, M A Young wrote: On Fri, 29 May 2015, Andrew Cooper wrote: FC22 is miscompiling the C to: struct page_info *page = mfn_to_page(mfn); struct domain *owner = page_get_owner_and_reference(page); if ( owner )

Re: [Xen-devel] Xen BUG at page_alloc.c:1738 (Xen 4.5)

2015-05-30 Thread M A Young
On Fri, 29 May 2015, Andrew Cooper wrote: On 29/05/15 12:17, M A Young wrote: I did a bit of testing - xen-4.5.1-rc1 built on Fedora 22 (gcc5) doesn't boot for me, but if I replace xen.gz with one from the same code built on Fedora 21 (gcc4) then it does boot. There are rpms and build

Re: [Xen-devel] Xen BUG at page_alloc.c:1738 (Xen 4.5)

2015-05-30 Thread Andrew Cooper
On 30/05/2015 23:07, M A Young wrote: On Fri, 29 May 2015, Andrew Cooper wrote: On 29/05/15 12:17, M A Young wrote: I did a bit of testing - xen-4.5.1-rc1 built on Fedora 22 (gcc5) doesn't boot for me, but if I replace xen.gz with one from the same code built on Fedora 21 (gcc4) then it

Re: [Xen-devel] Xen BUG at page_alloc.c:1738 (Xen 4.5)

2015-05-29 Thread Jason Fritcher
On Wed, 20 May 2015, Major Hayden wrote: On 05/20/2015 05:41 AM, Jan Beulich wrote: Considering that no-one else is seeing this - is this perhaps connected to you building Xen with pre-release gcc 5.0.1? This is also because in order for the above to indeed occur, mmio_ro_do_page_fault()'s

Re: [Xen-devel] Xen BUG at page_alloc.c:1738 (Xen 4.5)

2015-05-29 Thread Andrew Cooper
On 29/05/15 07:24, Jason Fritcher wrote: On Wed, 20 May 2015, Major Hayden wrote: / On 05/20/2015 05:41 AM, Jan Beulich wrote:/ / Considering that no-one else is seeing this - is this perhaps connected/ / to you building Xen with pre-release gcc 5.0.1? This is also because in/ / order for

Re: [Xen-devel] Xen BUG at page_alloc.c:1738 (Xen 4.5)

2015-05-29 Thread Andrew Cooper
On 29/05/15 11:50, M A Young wrote: On Fri, 29 May 2015, Andrew Cooper wrote: Are you in a position to compile identical Xen 4.5 source with two different versions of gcc? (current staging-4.5 staging even has the gcc5 build fix in) If it is a gcc compiler bug, we would expect the version

Re: [Xen-devel] Xen BUG at page_alloc.c:1738 (Xen 4.5)

2015-05-29 Thread M A Young
On Fri, 29 May 2015, Andrew Cooper wrote: Are you in a position to compile identical Xen 4.5 source with two different versions of gcc?  (current staging-4.5 staging even has the gcc5 build fix in) If it is a gcc compiler bug, we would expect the version compiled with gcc 4.9 to work fine,

Re: [Xen-devel] Xen BUG at page_alloc.c:1738 (Xen 4.5)

2015-05-29 Thread M A Young
On Fri, 29 May 2015, Andrew Cooper wrote: On 29/05/15 11:50, M A Young wrote: On Fri, 29 May 2015, Andrew Cooper wrote: Are you in a position to compile identical Xen 4.5 source with two different versions of gcc? (current staging-4.5 staging even has the gcc5 build fix in) If

Re: [Xen-devel] Xen BUG at page_alloc.c:1738 (Xen 4.5)

2015-05-29 Thread Andrew Cooper
On 29/05/15 12:17, M A Young wrote: I did a bit of testing - xen-4.5.1-rc1 built on Fedora 22 (gcc5) doesn't boot for me, but if I replace xen.gz with one from the same code built on Fedora 21 (gcc4) then it does boot. There are rpms and build logs available via

Re: [Xen-devel] Xen BUG at page_alloc.c:1738 (Xen 4.5)

2015-05-20 Thread Jan Beulich
On 19.05.15 at 20:06, ma...@mhtx.net wrote: I've been doing some testing of Xen 4.5 on Fedora 22 (due out within a week) and I have an error that prevents the server from booting in the very early boot process: (XEN) Xen call trace: (XEN)[82d08011d160]

Re: [Xen-devel] Xen BUG at page_alloc.c:1738 (Xen 4.5)

2015-05-20 Thread Major Hayden
On 05/20/2015 05:41 AM, Jan Beulich wrote: Considering that no-one else is seeing this - is this perhaps connected to you building Xen with pre-release gcc 5.0.1? This is also because in order for the above to indeed occur, mmio_ro_do_page_fault()'s put_page() would need to drop the last

Re: [Xen-devel] Xen BUG at page_alloc.c:1738 (Xen 4.5)

2015-05-20 Thread M A Young
On Wed, 20 May 2015, Major Hayden wrote: On 05/20/2015 05:41 AM, Jan Beulich wrote: Considering that no-one else is seeing this - is this perhaps connected to you building Xen with pre-release gcc 5.0.1? This is also because in order for the above to indeed occur, mmio_ro_do_page_fault()'s

Re: [Xen-devel] Xen BUG at page_alloc.c:1738 (Xen 4.5)

2015-05-19 Thread Major Hayden
I compiled Xen with debugging enabled and it appears to pass the initial boot but then fails later in the boot process. I'm working through that now. Here's what my source of page_alloc.c looks like around line 1738: 1731 if ( likely(d) likely(d != dom_cow) ) 1732 { 1733

Re: [Xen-devel] Xen BUG at page_alloc.c:1738 (Xen 4.5)

2015-05-19 Thread Andrew Cooper
On 19/05/15 19:06, Major Hayden wrote: Hello there, I've been doing some testing of Xen 4.5 on Fedora 22 (due out within a week) and I have an error that prevents the server from booting in the very early boot process: (XEN) Xen call trace: (XEN)[82d08011d160]

[Xen-devel] Xen BUG at page_alloc.c:1738 (Xen 4.5)

2015-05-19 Thread Major Hayden
Hello there, I've been doing some testing of Xen 4.5 on Fedora 22 (due out within a week) and I have an error that prevents the server from booting in the very early boot process: (XEN) Xen call trace: (XEN)[82d08011d160] free_domheap_pages+0x240/0x430 (XEN)[82d08018c944]