major.io words of wisdom from a systems engineer

Xen 4.5 crashes during boot on Fedora 22

Xen LogoIf 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:

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.