Xen 4.5 crashes during boot on Fedora 22
If you’re currently running a Xen hypervisor on a Fedora release before 22, stay put for now.
There’s a bug in Xen when you compile it with GCC 5 that will cause your system to get an error during bootup. In my case, I’m sometimes getting the crash shortly after the hypervisor to dom0 kernel handoff and sometimes it’s happening later in the boot process closer to when I’d expect a login screen to appear.
Here are some helpful links to follow the progress of the fix:
- Crash logs from the kernel panic
- Bug 1219197 β Xen BUG at page_alloc.c:1738 [Red Hat Bugzilla]
- Bug 1908 β Xen BUG at page_alloc.c:1738
- xen-devel mailing list thread
Michael Young found that Xen 4.5.1-rc1 (which has code very similar to 4.5) will compile and boot if compiled with GCC 4.x in Fedora 21. It’s a decent workaround but it’s certainly not a long term fix.
I’m still doing some additional testing and I’ll update this post as soon as there’s more information available.