[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Reboots and Panics(4.1.2/4.2-unstable)

On 17/02/12 16:21, Paul S wrote:
> Environment:
> ASRock Z86 Extreme4 - Intel i5 2500
> http://www.asrock.com/mb/overview.asp?Model=Z68%20Extreme4
> I have installed the latest UEFI patch(1.70) and all tests were run
> from a reset of everything to default. I have tested with both Ubuntu
> 11.10 and Fedora 16 and get the same results on both, including
> building xen 4.2-unstable. I bought this particular MB because it had
> a know working vt-d implementation via VMWare.
> NOTE: current unstable as of last night is still affected by this
> library error http://www.gossamer-threads.com/lists/xen/devel/234300
> However, after correcting the library error, I was able to complete
> the unstable build.
> In both cases, it either stops with a panic/blank screen, or just reboots.
> Here are some other notes:
> 1) If x2apic is enabled on the motherboard, it almost immediately
> reboots with any of the configurations above

There are some fairly strict set of requirements on what which MSRs you
can wrt xAPIC/x2APIC mode.  It is possible that we are tickling an MSR
early in boot which results in a protection fault.

> 2) The boot gets to here:
> (XEN) HVM: VMX enabled
> (XEN) HVM: Hardware Assisted Paging detected.
> Then goes to a "(XEN)Failed to bring up CPU x(error -5)" and this is
> where it hangs with the blank/panic screen or reboots. This sometimes
> shows up on CPU 1, CPU2, or both.
> 3) There is no boot log written and the machine does not have a native
> serial port, so capturing anything may prove difficult, but I am open
> to suggestions.

Try booting with noreboot - that should keep any panic message on screen
until you manually choose to reset the machine.  Seeing where in the
panic occurs would be very helpful, even if you just transcribe a few
lines manually.

> 4) Xen Live(http://wiki.xen.org/wiki/LiveCD) works ok, unless x2apic
> is enabled, then it simply panics and reboots.
> The logs(xen_live.tgz) are attached. Note this was captured with VT-d
> being enabled, but I did check it with VT-d enabled and the boot
> looked the same. I can capture it again if needed.
> 5) Xen Server 6.0.0 works, with Xen 4.1.1, with both VT-d
> enabled(which shows working in xl) and x2apic enabled.
> I have also attached(xen_server_6.0.0.tar.gz) these logs, which
> includes logs both with and without VT-d and x2apic enabled. I did not
> actually create any VMs, only booted this and checked what xl reported.

That is rather interesting - I am not aware of any XenServer specific
changes in this regard.

> If there is anything else I can add, please let me know. I am going to
> download 4.1.1 now, build it and see if it works, because it does on
> Xen Server. I am open to testing anything as this is an original build
> on this box, so I'm willing to knock it around if it will help.
> #

Knowing whether upstream 4.1.1 works will be very useful in workout out
whether it is a regression introduced into unstable, or whether there is
some XenServer specific change which we should upstream.

> Thanks,
> Paul

Andrew Cooper - Dom0 Kernel Engineer, Citrix XenServer
T: +44 (0)1223 225 900, http://www.citrix.com

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.