Re: [Xen-devel] I only see one CPU core on Xen when booted via grub

2018-01-23 Thread Daniel Kiper
On Tue, Jan 23, 2018 at 01:03:04PM +0100, msd+xen-de...@msd.im wrote:
> >I need at least GRUB2 version, Xen version
>
> ```
> # apt-cache policy grub2-common
> grub2-common:
>   Installé : 2.02~beta3-5
>   Candidat : 2.02~beta3-5
>  Table de version :
>  *** 2.02~beta3-5 500
> 500 http://debian.mirrors.ovh.net/debian stretch/main amd64
> Packages
> 100 /var/lib/dpkg/status

[...]

This version of GRUB2 will not work with Xen on UEFI platforms.
Please take the latest one from the upstream GRUB2 git tree.

I hope that helps.

Daniel

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

Re: [Xen-devel] I only see one CPU core on Xen when booted via grub

2018-01-23 Thread Daniel Kiper
On Tue, Jan 23, 2018 at 03:09:19AM -0700, Jan Beulich wrote:
> >>> On 23.01.18 at 10:39,  wrote:
> >>  ... your report is very likely duplicating earlier ones where the
> >> ACPI root point cannot be found without it being properly
> >> propagated through by grub from EFI to Xen. Iirc the only
> >> way around that is to chainload xen.efi, if the grub used
> >> doesn't support the extensions needed to boot Xen via the
> >> multiboot2 protocol (support for which was added during the
> >> 4.9 development cycle).
> >
> > Thanks. So if I want to boot Xen through grub, I need Xen >= 4.9 and
> > which version of grub ?
>
> I'm afraid this isn't necessarily tied to a version number.
> Daniel?

Could you send me more info? I need at least GRUB2 version, Xen version,
GRUB2 command lines used to boot Xen, Xen and dom0 kernel boot logs.

Daniel

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

Re: [Xen-devel] I only see one CPU core on Xen when booted via grub

2018-01-23 Thread Jan Beulich
>>> On 23.01.18 at 10:39,  wrote:
>>  ... your report is very likely duplicating earlier ones where the
>> ACPI root point cannot be found without it being properly
>> propagated through by grub from EFI to Xen. Iirc the only
>> way around that is to chainload xen.efi, if the grub used
>> doesn't support the extensions needed to boot Xen via the
>> multiboot2 protocol (support for which was added during the
>> 4.9 development cycle).
> 
> Thanks. So if I want to boot Xen through grub, I need Xen >= 4.9 and 
> which version of grub ?

I'm afraid this isn't necessarily tied to a version number.
Daniel?

Jan


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

Re: [Xen-devel] I only see one CPU core on Xen when booted via grub

2018-01-23 Thread msd+xen-de...@msd.im

... your report is very likely duplicating earlier ones where the
ACPI root point cannot be found without it being properly
propagated through by grub from EFI to Xen. Iirc the only
way around that is to chainload xen.efi, if the grub used
doesn't support the extensions needed to boot Xen via the
multiboot2 protocol (support for which was added during the
4.9 development cycle).


Thanks. So if I want to boot Xen through grub, I need Xen >= 4.9 and 
which version of grub ?



Guillaume

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

Re: [Xen-devel] I only see one CPU core on Xen when booted via grub

2018-01-22 Thread Roger Pau Monné
On Mon, Jan 22, 2018 at 06:28:17PM +0100, msd+xen-de...@msd.im wrote:
> Hi,
> 
> I only see 1 CPU core on Xen 4.9 when booted via grub instead of 8.
> 
> It's may be related to :
> - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820807
> - https://xenproject.atlassian.net/browse/XEN-42
> 
> It is the first server on which I have this problem.
> 
> I can confirm that :
> - if I boot Debian througt grub, I see the 8 cores
> - if I boot Xen through grub, I only see _one_ core
> - if I boot Xen directly through EFI (using `efibootmgr`), I see the 8 cores
> 
> 1. Do you know what happens ?
> 2. Do you need some logs ?

You should provide the output of `xl dmesg` from Xen. And ideally boot
with an hypervisor that's been built with debug support. dmesg from
Linux might also be interesting (both when booted as Dom0 and bare
metal).

Thanks, Roger.

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