* Reboots and Panics(4.1.2/4.2-unstable)
@ 2012-02-17 16:21 Paul S
2012-02-17 16:39 ` Andrew Cooper
0 siblings, 1 reply; 7+ messages in thread
From: Paul S @ 2012-02-17 16:21 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 2222 bytes --]
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
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.
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.
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.
Thanks,
Paul
[-- Attachment #1.2: Type: text/html, Size: 5773 bytes --]
[-- Attachment #2: xen_live.tgz --]
[-- Type: application/x-gzip, Size: 34920 bytes --]
[-- Attachment #3: xen_server_6.0.0.tar.gz --]
[-- Type: application/x-gzip, Size: 111136 bytes --]
[-- Attachment #4: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Reboots and Panics(4.1.2/4.2-unstable)
2012-02-17 16:21 Reboots and Panics(4.1.2/4.2-unstable) Paul S
@ 2012-02-17 16:39 ` Andrew Cooper
2012-02-17 21:14 ` Paul S
0 siblings, 1 reply; 7+ messages in thread
From: Andrew Cooper @ 2012-02-17 16:39 UTC (permalink / raw)
To: Paul S; +Cc: xen-devel@lists.xensource.com
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Reboots and Panics(4.1.2/4.2-unstable)
2012-02-17 16:39 ` Andrew Cooper
@ 2012-02-17 21:14 ` Paul S
2012-02-17 21:31 ` Paul S
0 siblings, 1 reply; 7+ messages in thread
From: Paul S @ 2012-02-17 21:14 UTC (permalink / raw)
To: xen-devel@lists.xensource.com
[-- Attachment #1.1: Type: text/plain, Size: 4579 bytes --]
Andrew,
Thanks for the quick response! I was finally able to capture it and get a
bit more information. The problem does not always happen, even on 4.1.2, I
was able to get it to boot a few times, though I was never able to get
4.2-unstable to boot. There was lots of strangeness, such as after I built
and installed 4.1.1, it worked, but then, so did 4.1.2, now neither is
working.
That being said, I caught it on video, and captured a picture of the final
dump. I watched the video frame by frame and the boot actually got much
further than I thought it was.
I can see that even though it does not bring up two of the CPUs, the boot
continues into the kernel and dies somewhere with a:
BUG: Unable to handle paging request at FFFc7f(maybe).
I have captured several images from the video that shows the progression of
the boot before the crash. I think I have gotten things badly out of whack
at this point, so I'm going to stop, reinstall everything and move back to
4.1.1 and see if I can get things working again.
Let me know if anything in the pictures helps, or if you would like the
video as well.
Paul
On Fri, Feb 17, 2012 at 11:39 AM, Andrew Cooper
<andrew.cooper3@citrix.com>wrote:
> 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
>
>
[-- Attachment #1.2: Type: text/html, Size: 5991 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Reboots and Panics(4.1.2/4.2-unstable)
2012-02-17 21:14 ` Paul S
@ 2012-02-17 21:31 ` Paul S
2012-02-20 13:11 ` Paul S
0 siblings, 1 reply; 7+ messages in thread
From: Paul S @ 2012-02-17 21:31 UTC (permalink / raw)
To: xen-devel@lists.xensource.com
[-- Attachment #1.1: Type: text/plain, Size: 4814 bytes --]
File attached.
On Fri, Feb 17, 2012 at 4:14 PM, Paul S <pstroud@gmail.com> wrote:
> Andrew,
> Thanks for the quick response! I was finally able to capture it and get a
> bit more information. The problem does not always happen, even on 4.1.2, I
> was able to get it to boot a few times, though I was never able to get
> 4.2-unstable to boot. There was lots of strangeness, such as after I built
> and installed 4.1.1, it worked, but then, so did 4.1.2, now neither is
> working.
>
> That being said, I caught it on video, and captured a picture of the final
> dump. I watched the video frame by frame and the boot actually got much
> further than I thought it was.
>
> I can see that even though it does not bring up two of the CPUs, the boot
> continues into the kernel and dies somewhere with a:
>
> BUG: Unable to handle paging request at FFFc7f(maybe).
>
> I have captured several images from the video that shows the progression
> of the boot before the crash. I think I have gotten things badly out of
> whack at this point, so I'm going to stop, reinstall everything and move
> back to 4.1.1 and see if I can get things working again.
>
> Let me know if anything in the pictures helps, or if you would like the
> video as well.
>
> Paul
>
> On Fri, Feb 17, 2012 at 11:39 AM, Andrew Cooper <andrew.cooper3@citrix.com
> > wrote:
>
>> 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
>>
>>
>
[-- Attachment #1.2: Type: text/html, Size: 6393 bytes --]
[-- Attachment #2: images.zip --]
[-- Type: application/zip, Size: 401845 bytes --]
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Reboots and Panics(4.1.2/4.2-unstable)
2012-02-17 21:31 ` Paul S
@ 2012-02-20 13:11 ` Paul S
2012-02-20 15:07 ` Konrad Rzeszutek Wilk
0 siblings, 1 reply; 7+ messages in thread
From: Paul S @ 2012-02-20 13:11 UTC (permalink / raw)
To: xen-devel@lists.xensource.com
[-- Attachment #1.1: Type: text/plain, Size: 5442 bytes --]
So, the problem has something to do with grub2-efi. After installing
XenServer the second time, I noticed that it did not create an EFI Boot
partition. To that end, I booted the Fedora CD in normal mode, instead of
UEFI mode, created a boot bios, and once installed that way, I was able to
run 4.1.2. So, I'm not sure if the problem lies in grub or xen, or the
combination of the two, but that is where the problem exists.
On Fri, Feb 17, 2012 at 4:31 PM, Paul S <pstroud@gmail.com> wrote:
> File attached.
>
>
> On Fri, Feb 17, 2012 at 4:14 PM, Paul S <pstroud@gmail.com> wrote:
>
>> Andrew,
>> Thanks for the quick response! I was finally able to capture it and get a
>> bit more information. The problem does not always happen, even on 4.1.2, I
>> was able to get it to boot a few times, though I was never able to get
>> 4.2-unstable to boot. There was lots of strangeness, such as after I built
>> and installed 4.1.1, it worked, but then, so did 4.1.2, now neither is
>> working.
>>
>> That being said, I caught it on video, and captured a picture of the
>> final dump. I watched the video frame by frame and the boot actually got
>> much further than I thought it was.
>>
>> I can see that even though it does not bring up two of the CPUs, the boot
>> continues into the kernel and dies somewhere with a:
>>
>> BUG: Unable to handle paging request at FFFc7f(maybe).
>>
>> I have captured several images from the video that shows the progression
>> of the boot before the crash. I think I have gotten things badly out of
>> whack at this point, so I'm going to stop, reinstall everything and move
>> back to 4.1.1 and see if I can get things working again.
>>
>> Let me know if anything in the pictures helps, or if you would like the
>> video as well.
>>
>> Paul
>>
>> On Fri, Feb 17, 2012 at 11:39 AM, Andrew Cooper <
>> andrew.cooper3@citrix.com> wrote:
>>
>>> 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
>>>
>>>
>>
>
[-- Attachment #1.2: Type: text/html, Size: 7159 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Reboots and Panics(4.1.2/4.2-unstable)
2012-02-20 13:11 ` Paul S
@ 2012-02-20 15:07 ` Konrad Rzeszutek Wilk
2012-02-21 9:26 ` Jan Beulich
0 siblings, 1 reply; 7+ messages in thread
From: Konrad Rzeszutek Wilk @ 2012-02-20 15:07 UTC (permalink / raw)
To: Paul S, JBeulich; +Cc: xen-devel@lists.xensource.com
On Mon, Feb 20, 2012 at 08:11:01AM -0500, Paul S wrote:
> So, the problem has something to do with grub2-efi. After installing
> XenServer the second time, I noticed that it did not create an EFI Boot
> partition. To that end, I booted the Fedora CD in normal mode, instead of
> UEFI mode, created a boot bios, and once installed that way, I was able to
> run 4.1.2. So, I'm not sure if the problem lies in grub or xen, or the
> combination of the two, but that is where the problem exists.
Oooh, Jan, had you seen this in the past by any chance? Presumarily
using the Xen EFI instead of the GRUB-EFI would solve this problem?
>
> On Fri, Feb 17, 2012 at 4:31 PM, Paul S <pstroud@gmail.com> wrote:
>
> > File attached.
> >
> >
> > On Fri, Feb 17, 2012 at 4:14 PM, Paul S <pstroud@gmail.com> wrote:
> >
> >> Andrew,
> >> Thanks for the quick response! I was finally able to capture it and get a
> >> bit more information. The problem does not always happen, even on 4.1.2, I
> >> was able to get it to boot a few times, though I was never able to get
> >> 4.2-unstable to boot. There was lots of strangeness, such as after I built
> >> and installed 4.1.1, it worked, but then, so did 4.1.2, now neither is
> >> working.
> >>
> >> That being said, I caught it on video, and captured a picture of the
> >> final dump. I watched the video frame by frame and the boot actually got
> >> much further than I thought it was.
> >>
> >> I can see that even though it does not bring up two of the CPUs, the boot
> >> continues into the kernel and dies somewhere with a:
> >>
> >> BUG: Unable to handle paging request at FFFc7f(maybe).
> >>
> >> I have captured several images from the video that shows the progression
> >> of the boot before the crash. I think I have gotten things badly out of
> >> whack at this point, so I'm going to stop, reinstall everything and move
> >> back to 4.1.1 and see if I can get things working again.
> >>
> >> Let me know if anything in the pictures helps, or if you would like the
> >> video as well.
> >>
> >> Paul
> >>
> >> On Fri, Feb 17, 2012 at 11:39 AM, Andrew Cooper <
> >> andrew.cooper3@citrix.com> wrote:
> >>
> >>> 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
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Reboots and Panics(4.1.2/4.2-unstable)
2012-02-20 15:07 ` Konrad Rzeszutek Wilk
@ 2012-02-21 9:26 ` Jan Beulich
0 siblings, 0 replies; 7+ messages in thread
From: Jan Beulich @ 2012-02-21 9:26 UTC (permalink / raw)
To: Paul S, Konrad Rzeszutek Wilk; +Cc: xen-devel@lists.xensource.com
>>> On 20.02.12 at 16:07, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote:
> On Mon, Feb 20, 2012 at 08:11:01AM -0500, Paul S wrote:
>> So, the problem has something to do with grub2-efi. After installing
>> XenServer the second time, I noticed that it did not create an EFI Boot
>> partition. To that end, I booted the Fedora CD in normal mode, instead of
>> UEFI mode, created a boot bios, and once installed that way, I was able to
>> run 4.1.2. So, I'm not sure if the problem lies in grub or xen, or the
>> combination of the two, but that is where the problem exists.
>
>
> Oooh, Jan, had you seen this in the past by any chance? Presumarily
> using the Xen EFI instead of the GRUB-EFI would solve this problem?
No, I hadn't (and I never played with grub-efi), but yes, using *any*
boot loader is, while theoretically possibly, a pretty pointless business
now that we have xen.efi.
Jan
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-02-21 9:26 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-17 16:21 Reboots and Panics(4.1.2/4.2-unstable) Paul S
2012-02-17 16:39 ` Andrew Cooper
2012-02-17 21:14 ` Paul S
2012-02-17 21:31 ` Paul S
2012-02-20 13:11 ` Paul S
2012-02-20 15:07 ` Konrad Rzeszutek Wilk
2012-02-21 9:26 ` Jan Beulich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).