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

Re: [Xen-users] CPU Identification Issue



I could solve the issue by the help of this report https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820807. Thanks to Jörg! Booting the hypervisor without grub solved the issue. The steps I took:

1. boot Linux without hypervisor
2. mkdir /boot/efi/EFI/xen
3. copy from /boot to /boot/efi/EFI/xen:

    cp /boot/initrd.img-4.9.0-6-amd64 /boot/efi/EFI/xen/
    cp /boot/vmlinuz-4.9.0-6-amd64 /boot/efi/EFI/xen/
    cp /boot/xen-4.8-amd64.efi /boot/efi/EFI/xen/

4. Created the boot entry:

    efibootmgr -w -L XenHypervisor -l "\EFI\xen\xen-4.8-amd64.efi" -c

5. Created the file /boot/efi/EFI/xen/xen.cfg

    [global]
    default=xen
 
    [xen]
    options=dom0_mem=512M xsave=off
    kernel=vmlinuz-4.9.0-6-amd64 root=/dev/mapper/vg--ssd--01-root ro quiet
    ramdisk=initrd.img-4.9.0-6-amd64


Best,
Sebastian

2018-06-24 12:52 GMT+02:00 Sebastian Plocek <sebastian@xxxxxxxxx>:
Hi,

I'm currently setting up a new server. Xen is recognizing a single CPU core only, running on a Intel(R) Xeon(R) Gold 5122 CPU. I'm running XenProject on Debian 9. Starting Debian without the hypervisor, lscpu is showing the right amount of CPU Cores.

As I have never experienced that issue on any maschine, I hope that someone can help me here.

Best,
Sebastian

--

xl info

host                   : xen01
release                : 4.9.0-6-amd64
version                : #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07)
machine                : x86_64
nr_cpus                : 1
max_cpu_id             : 0
nr_nodes               : 1
cores_per_socket       : 1
threads_per_core       : 1
cpu_mhz                : 3600
hw_caps                : b7ebfbff:77fef3ff:2c100800:00000121:0000000f:d19ffffb:00000008:00000100
virt_caps              : hvm
total_memory           : 47788
free_memory            : 8310
sharing_freed_memory   : 0
sharing_used_memory    : 0
outstanding_claims     : 0
free_cpus              : 0
xen_major              : 4
xen_minor              : 8
xen_extra              : .4-pre
xen_version            : 4.8.4-pre
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : 
xen_commandline        : placeholder no-real-mode edd=off
cc_compiler : gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
cc_compile_by          : ian.jackson
cc_compile_domain      : citrix.com
cc_compile_date        : Tue Jun 19 12:53:07 UTC 2018
xend_config_format     : 4

lscpu (probably not relevant, as Dom-0)                                                                                                                                              
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                1
On-line CPU(s) list:   0
Thread(s) per core:    1
Core(s) per socket:    1
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 85
Model name:            Intel(R) Xeon(R) Gold 5122 CPU @ 3.60GHz
Stepping:              4
CPU MHz: 3600.000
BogoMIPS:              7200.24
Hypervisor vendor:     Xen
Virtualization type:   none
L1d cache:             32K
L1i cache:             32K
L2 cache:              1024K
L3 cache:              16896K
NUMA node0 CPU(s):     0
Flags:                 fpu de tsc msr pae mce cx8 apic sep mca cmov pat clflush acpi mmx fxsr sse sse2 ht syscall nx lm constant_tsc arch_perfmon rep_good nopl nonstop_tsc eagerfpu pni pclmulqdq monitor est ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch epb fsgsbase bmi1 hle avx2 bmi2 erms rtm avx512f avx512dq rdseed adx clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local ibpb ibrs stibp dtherm ida arat pln pts

... and lscpu starting Debian (non hypervisor)

lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                8
On-line CPU(s) list:   0-7
Thread(s) per core:    2
Core(s) per socket:    4
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 85
Model name:            Intel(R) Xeon(R) Gold 5122 CPU @ 3.60GHz
Stepping:              4
CPU MHz: 1200.000
CPU max MHz:           3601,0000
CPU min MHz:           1200,0000
BogoMIPS:              7200.00
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              1024K
L3 cache:              16896K
NUMA node0 CPU(s):     0-7
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb invpcid_single kaiser tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm mpx avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local ibpb ibrs stibp dtherm ida arat pln pts pku ospke

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

 


Rackspace

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