Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1658778 > unrolled thread

Re: [PATCH v2] x86/smpboot: Make logical package management more robust

Started byMax Vozeler <max@hinterhof.net>
First post2017-06-06 15:50 +0200
Last post2017-06-07 14:30 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v2] x86/smpboot: Make logical package management more  robust Max Vozeler <max@hinterhof.net> - 2017-06-06 15:50 +0200
    Re: [PATCH v2] x86/smpboot: Make logical package management more  robust Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2017-06-07 04:00 +0200
      Re: [PATCH v2] x86/smpboot: Make logical package management more  robust Max Vozeler <max@hinterhof.net> - 2017-06-07 14:30 +0200

#1658778 — Re: [PATCH v2] x86/smpboot: Make logical package management more robust

FromMax Vozeler <max@hinterhof.net>
Date2017-06-06 15:50 +0200
SubjectRe: [PATCH v2] x86/smpboot: Make logical package management more robust
Message-ID<tPn1U-12m-11@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hi Thomas,

there is a problem booting recent kernels on some Xen domUs hosted by
provider JiffyBox. 

The kernel seems to crash just after logging 
[    0.038700] SMP alternatives: switching to SMP code                          

We started seeing this with 4.9.2 and bisecting the 4.9 stable kernels
determined that this commit introduced the problem. Reverting it from 4.9.2
makes the kernel boot again.

Older kernels (starting from 3.16 up to and including 4.9.1) were running
fine in this setup. But recent mainline (tested 4.12-rc3) and 4.9.x both
fail to boot there.

Unfortunately we have no detailed information about the hypervisor or 
setup and the provider is not very forthcoming with details. I'm attaching
dmesg of a successful boot (4.9.2 with this commit reverted).

It shows a fairly old XEN version:

[    0.000000] Xen version: 3.1.2-416.el5 (preserve-AD)

Any ideas? 

Thanks and kind regards,

	Max 

[toc] | [next] | [standalone]


#1659337

FromBoris Ostrovsky <boris.ostrovsky@oracle.com>
Date2017-06-07 04:00 +0200
Message-ID<tPyqm-8nY-5@gated-at.bofh.it>
In reply to#1658778

On 06/06/2017 09:39 AM, Max Vozeler wrote:
> Hi Thomas,
> 
> there is a problem booting recent kernels on some Xen domUs hosted by
> provider JiffyBox.
> 
> The kernel seems to crash just after logging
> [    0.038700] SMP alternatives: switching to SMP code


Do you have the crash splat? Stack trace and such.

In fact, full boot log might be useful.

> 
> We started seeing this with 4.9.2 and bisecting the 4.9 stable kernels
> determined that this commit introduced the problem. Reverting it from 4.9.2
> makes the kernel boot again.
> 
> Older kernels (starting from 3.16 up to and including 4.9.1) were running
> fine in this setup. But recent mainline (tested 4.12-rc3) and 4.9.x both
> fail to boot there.
> 
> Unfortunately we have no detailed information about the hypervisor or
> setup and the provider is not very forthcoming with details. I'm attaching
> dmesg of a successful boot (4.9.2 with this commit reverted).
> 
> It shows a fairly old XEN version:
> 
> [    0.000000] Xen version: 3.1.2-416.el5 (preserve-AD)


This is a 10 year old hypervisor so it's not especially surprising that 
newer kernels don't work. (If anything, I am surprised that you actually 
booted 4.9 at all).

There have been a bunch of problems in this area (topology) on PV guests.


-boris

[toc] | [prev] | [next] | [standalone]


#1659746

FromMax Vozeler <max@hinterhof.net>
Date2017-06-07 14:30 +0200
Message-ID<tPIg2-6zL-17@gated-at.bofh.it>
In reply to#1659337

[Multipart message — attachments visible in raw view] — view raw

On Tue, Jun 06, 2017 at 09:48:37PM -0400, Boris Ostrovsky wrote:
> On 06/06/2017 09:39 AM, Max Vozeler wrote:
> >there is a problem booting recent kernels on some Xen domUs hosted by
> >provider JiffyBox.
> >
> >The kernel seems to crash just after logging
> >[    0.038700] SMP alternatives: switching to SMP code
> 
> Do you have the crash splat? Stack trace and such.
> 
> In fact, full boot log might be useful.

Unfortunately, we don't have much more information.

Just after "switching to SMP code" the console connection is lost and we
get a notification that the VM has crashed. I'm attaching the boot log up
to that point.. just in case.

I have asked the hosting provider if they can provide XEN hypervisor logs.

> >We started seeing this with 4.9.2 and bisecting the 4.9 stable kernels
> >determined that this commit introduced the problem. Reverting it from 4.9.2
> >makes the kernel boot again.
> >
> >Older kernels (starting from 3.16 up to and including 4.9.1) were running
> >fine in this setup. But recent mainline (tested 4.12-rc3) and 4.9.x both
> >fail to boot there.
> >
> >Unfortunately we have no detailed information about the hypervisor or
> >setup and the provider is not very forthcoming with details. I'm attaching
> >dmesg of a successful boot (4.9.2 with this commit reverted).
> >
> >It shows a fairly old XEN version:
> >
> >[    0.000000] Xen version: 3.1.2-416.el5 (preserve-AD)
> 
> This is a 10 year old hypervisor so it's not especially surprising that
> newer kernels don't work. (If anything, I am surprised that you actually
> booted 4.9 at all).
> 
> There have been a bunch of problems in this area (topology) on PV guests.

Thanks and kind regards,

	Max

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web