All of lore.kernel.org
 help / color / mirror / Atom feed
From: "John L. Poole" <jlpoole56@gmail.com>
To: "Roger Pau Monné" <roger.pau@citrix.com>
Cc: Jan Beulich <JBeulich@suse.com>, xen-devel@lists.xen.org
Subject: Re: Xen 4.12.0-rc Hangs Around masked ExtINT on CPU#
Date: Tue, 28 May 2019 08:02:22 -0700	[thread overview]
Message-ID: <7dc6fc80-8204-9cf7-25fd-87e1bddacf8e@gmail.com> (raw)
In-Reply-To: <20190528074113.4o7e4did46e4yymb@Air-de-Roger>


[-- Attachment #1.1: Type: text/plain, Size: 4780 bytes --]


On 5/28/2019 12:41 AM, Roger Pau Monné wrote:
> On Mon, May 27, 2019 at 03:35:21PM -0700, John L. Poole wrote:
>> On 5/27/2019 9:18 AM, Roger Pau Monné wrote:
>>> On Mon, Apr 29, 2019 at 05:27:34PM +0200, Roger Pau Monné wrote:
>>>> IMO it would be better if you can build directly from the upstream git
>>>> repository [0], that way you could use git-bisect(1) in order to figure
>>>> out which commit broke your system. For example:
>>>>
>>>> # git clone git://xenbits.xen.org/xen.git
>>>> # cd xen
>>>> # git checkout RELEASE-4.7.0
>>>> # make xen -j8
>>>>
>>>> That should give you a set of Xen binaries in the xen/ directory, IIRC
>>>> you are booting from EFI so you likely need xen/xen.efi.
>>>>
>>>> If that works, then you can test RELEASE-4.8.0 and if that fails to
>>>> boot you should have a range of commits that you can bisect in order
>>>> to find the culprit.
>>> FWIW, I've been unable to find a box with the same CPU model (C2750)
>>> that you are using. I've found a couple of old Atom boxes using
>>> different CPUs but they all seem to boot fine using latest
>>> xen-unstable. I've looked on eBay for that CPU but everything
>>> containing it is server-grade and >200$ which I'm sadly not going to
>>> pay.
>>>
>>> Unless you are able to bisect the tree and give us the bad commit
>>> that's causing your issues I'm afraid at least myself I won't be able
>>> to progress this any further, sorry.
>>>
>>> Roger.
>> I attempted to work backwards and ran into a nightmare with Gentoo.   I kept
>> getting compiler errors which I suspect was a result of having a newer
>> version
>> of GCC and other things.  It's not an easy thing to travel
>> back in time in Gentoo because everything keeps getting upgraded.  I just
>> cannot make the time now to unravel this as I have some demands on my time
>> and will be engaged for the next four to six weeks.
> IMO your best bet is to build Xen using Debian stretch, that's used by
> the Xen test system, and is likely to be able to build the different
> Xen versions, stable-* branches tested by osstest should build on
> stretch.
>
> What I've done in the past if that also triggers compiler errors is to
> build a chroot with an older version of Debian and then build Xen
> inside of it. You can do this in a box different from the one you are
> testing, ie: you could create a Debian VM and build Xen from there.
>
> Note that in order to bisect this issue you only need to build the Xen
> kernel (make xen, no need to run ./configure), there's no need to
> build the tools, hence you need almost no dependencies installed on
> the builder.
>
> I've done a build of the stable-4.7 branch myself and uploaded the
> hypervisor binaries to:
>
> http://xenbits.xen.org/people/royger/stable-4.7/
>
> Could you give those a try (I wasn't sure whether you need xen.gz or
> xen.efi so I've uploaded both) and see if you still have issues
> booting?
>
> Testing those binaries should be as simple as placing them in /boot/
> and fixing your bootloader configuration to boot from those. Please
> send the serial log when booting from the provided binaries.
>
>> How much would it cost for you to obtain the machine you need? I may
>> consider paying for it. I bought this Atom server just to economically run
>> Xen so the machine has marginal value to me if I cannot run Xen on it.
> Even if we go that route, there's no guarantee that I would be able to
> fix the issue, and there's also the possibility that the hardware you
> have is somehow broken, and that the new one won't exhibit this issue.
>
> Roger.
Roger,

You have given me an idea.  I have several VMs on my hard disk that are not
backed up.  So, I think what I'll do is remove the current hard disk and 
place
a fresh hard disk in and then try to install a Debian based Xen anew so I
do not risk altering my Gentoo-based hard disk.  This approach should free
me from the entanglement of a bleeding edge distribution, e.g. Gentoo.

I was looking back at my notes.  I acquired this Atom-based server in 
November
of 2016 and installed the Debian Xen to test and it worked.  So I then 
installed
Gentoo and ran into problems with GRUB.  I learned that GRUB was not yet 
ready
to support EFI and Xen, so I used the manual method to drop into an EFI 
shell
and launch my DOM0 instance.  I later tried to upgrade the kernel and 
ran into
problems and aborted an upgrade, I just kept what I had working since I had
already created some Gentoo-based VMs.  During my build process, I had
run into an issue "coff-x86-64 pe-x86-64" which Jan Beulich had assisted 
on and
determined was something worth of the attention of the "binutils folks."

I'll attempt the hard disk swap in a few days after I receive a shipment 
of the new disk.

Thank you,
John



[-- Attachment #1.2: Type: text/html, Size: 8074 bytes --]

[-- Attachment #2: Type: text/plain, Size: 157 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

  parent reply	other threads:[~2019-05-28 15:02 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-21 17:06 Xen 4.12.0-rc Hangs Around masked ExtINT on CPU# John L. Poole
2019-03-22  7:59 ` Roger Pau Monné
2019-03-22  9:53   ` John L. Poole
2019-03-22 14:40     ` Andrew Cooper
2019-03-23  0:46       ` John L. Poole
2019-03-24  6:50         ` Roger Pau Monné
2019-03-24 17:13           ` John L. Poole
2019-03-25 15:53     ` Jan Beulich
2019-03-25 17:00       ` John L. Poole
2019-03-26  8:04         ` Jan Beulich
2019-03-26 17:21           ` John L. Poole
2019-03-27  8:14             ` Jan Beulich
2019-03-27 13:25               ` John L. Poole
2019-03-27 14:21                 ` Jan Beulich
2019-04-16 16:23                   ` John L. Poole
2019-04-25 10:16                     ` Jan Beulich
2019-04-29 12:02                     ` Roger Pau Monné
2019-04-29 15:08                       ` John L. Poole
2019-04-29 15:27                         ` Roger Pau Monné
2019-05-27 16:18                           ` Roger Pau Monné
2019-05-27 22:35                             ` John L. Poole
2019-05-28  7:41                               ` Roger Pau Monné
2019-05-28 14:56                                 ` John L. Poole
2019-05-28 15:02                                 ` John L. Poole [this message]
2019-09-26  0:27                                   ` [Xen-devel] " John L. Poole
2019-03-22 13:42 ` Andrew Cooper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7dc6fc80-8204-9cf7-25fd-87e1bddacf8e@gmail.com \
    --to=jlpoole56@gmail.com \
    --cc=JBeulich@suse.com \
    --cc=roger.pau@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.