Skip to contentSkip to conversation

Redhat 6 VM crash on Xen when cpu number reaches 64

DISCUSSION Ouyangzhaowei (Charles) 2 participants 2 messages Aug 14, 2015

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines
Quoted 7 lines

Hi all:

Now a days, we tested Redhat 6.2(6.4) on Xen(version 4.1.2). If we config the cpu number more than 32, it'll show 32 in the VM, and if we config it 64 cpus, the VM will crash and the log is list below.

Quoted 6 lines
Quoted 1 line

Can someone tell us why is this happening?

Old RHEL6 kernels don't have support for VCPU info placement for PVHVM (VCPUOP_register_vcpu_info call) so only 32 VCPUs are supported. This is fixed in current 6.6.z kernel.

Hi Vitaly,

Is there any official announcement of this on Redhat website? We did not find any explanation about this, can you help us to find it?

thanks very much

Quoted 16 lines
Quoted 11 lines

thanks

===============================crash log=================================
CPU: CPU feature rdtscp disabled on xen guest
CPU: CPU feature constant_tsc disabled on xen guest
mce: CPU supports 0 MCE banks
#32
CPU32: Stuck ??
#33
CPU33: Stuck ??

...

--
Vitaly

#1 lore raw
Quoted 14 lines · Ouyangzhaowei (Charles)
Quoted 7 lines
Quoted 7 lines

Hi all:

Now a days, we tested Redhat 6.2(6.4) on Xen(version 4.1.2). If we config the cpu number more than 32, it'll show 32 in the VM, and if we config it 64 cpus, the VM will crash and the log is list below.

Quoted 6 lines
Quoted 1 line

Can someone tell us why is this happening?

Old RHEL6 kernels don't have support for VCPU info placement for PVHVM (VCPUOP_register_vcpu_info call) so only 32 VCPUs are supported. This is fixed in current 6.6.z kernel.

Quoted 5 lines

Hi Vitaly,

Is there any official announcement of this on Redhat website? We did not find any explanation about this, can you help us to find it?

As far as I can see this bug didn't make it to the release notes, it is included in the following errata (6.7 kernel update):
https://rhn.redhat.com/errata/RHSA-2015-1272.html

You can see upstream commit ids in my reply to Konrad:
http://lists.xenproject.org/archives/html/xen-devel/2015-08/msg01384.html

Signature · 1 line
  Vitaly