upgrade issue from 1.2 to 1.3

Cybodog

New Member
May 8, 2009
24
0
1
I had x64 Centos 5.3 kvm machines. I upgraded to 1.3 from 1.2 and now when I try to boot my kvms I get:

Your CPU does not support long mode. Use a 32bit distribution.

cat /proc/cpuinfo (only one core shown for clarity)

proxinternal01:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Xeon(R) CPU E5405 @ 2.00GHz
stepping : 10
cpu MHz : 1999.999
cache size : 6144 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
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 lm constant_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx tm2 ssse3 cx16 xtpr dca sse4_1 lahf_lm
bogomips : 4003.23
clflush size : 64
cache_alignment : 64
address sizes : 38 bits physical, 48 bits virtual
power management:

So: What happened between 1.2 and 1.3 that made it impossible for me to boot my x64 Cenos 5.3 kvm? I did try to re-install the kvm OS (in the event the config was obsoleted in the upgrade) and the installer also reports my cpu does not support x64.
 
I had x64 Centos 5.3 kvm machines. I upgraded to 1.3 from 1.2 and now when I try to boot my kvms I get:

Your CPU does not support long mode. Use a 32bit distribution.

cat /proc/cpuinfo (only one core shown for clarity)

proxinternal01:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Xeon(R) CPU E5405 @ 2.00GHz
stepping : 10
cpu MHz : 1999.999
cache size : 6144 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
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 lm constant_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx tm2 ssse3 cx16 xtpr dca sse4_1 lahf_lm
bogomips : 4003.23
clflush size : 64
cache_alignment : 64
address sizes : 38 bits physical, 48 bits virtual
power management:

So: What happened between 1.2 and 1.3 that made it impossible for me to boot my x64 Cenos 5.3 kvm? I did try to re-install the kvm OS (in the event the config was obsoleted in the upgrade) and the installer also reports my cpu does not support x64.

how do you start the VM? (I mean via web interface or do you run something special - special command to start)

64-bit centos is running well here - Intel Xeon 32xx CPU´s.
 
how do you start the VM? (I mean via web interface or do you run something special - special command to start)

64-bit centos is running well here - Intel Xeon 32xx CPU´s.

I use the "restart/start" function of proxmox web interface to start/restart my kvms.
 
Maybe it's a bug in KVM-86?
http://www.mail-archive.com/kvm@vger.kernel.org/msg16449.html

It seems there are issues with 64-bit guests. Can someone from proxmox team confirm that?

Looking through those links I found this:

http://git.kernel.org/?p=virt/kvm/qemu-kvm.git;a=commitdiff;h=8fa3b3ce6e

"KVM_GET_SUPPORTED_CPUID has been known to fail to return -E2BIG
when it runs out of entries. Detect this by always trying again
with a bigger table if the ioctl() fills the table.

diff --git a/kvm/libkvm/libkvm-x86.c b/kvm/libkvm/libkvm-x86.c


index a2f6320..4f9539a 100644 (file)

--- a/kvm/libkvm/libkvm-x86.c
+++ b/kvm/libkvm/libkvm-x86.c
@@ -575,6 +575,8 @@ static struct kvm_cpuid2 *try_get_cpuid(kvm_context_t kvm, int max)
r = ioctl(kvm->fd, KVM_GET_SUPPORTED_CPUID, cpuid);
if (r == -1)
r = -errno;
+ else if (r == 0 && cpuid->nent >= max)
+ r = -E2BIG;
if (r < 0) {
if (r == -E2BIG) {
free(cpuid);

End quote"

but I am to stupid to know how to apply the above. Apply the patch and recompile the kernel?

If that is the case:

1. Do we have the Proxmox source to do that?

2. Will Proxmox make a new kernel?
 
can you post the output of 'pveversion - v'?
 
can you post the output of 'pveversion - v'?

Code:
vm:~# pveversion -v
pve-manager: 1.3-1 (pve-manager/1.3/4023)
qemu-server: 1.0-14
pve-kernel: 2.6.24-8
pve-kvm: 86-1
pve-firmware: 1
vncterm: 0.9-2
vzctl: 3.0.23-1pve3
vzdump: 1.1-2
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1

Thanks!
 
Code:
vm:~# pveversion -v
pve-manager: 1.3-1 (pve-manager/1.3/4023)
qemu-server: 1.0-14
pve-kernel: 2.6.24-8
pve-kvm: 86-1
pve-firmware: 1
vncterm: 0.9-2
vzctl: 3.0.23-1pve3
vzdump: 1.1-2
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
Thanks!

I tried to reproduce the issue without success.

My win2008-64-bit and my centos-53-64-bit installed on Proxmox VE 1.2 worked without any problems after upgrading to V1.3 (just the network card reinstalled on windows)

what cpu do you have?
 
I tried to reproduce the issue without success.

My win2008-64-bit and my centos-53-64-bit installed on Proxmox VE 1.2 worked without any problems after upgrading to V1.3 (just the network card reinstalled on windows)

what cpu do you have?

its an intel core 2 quad 9550

Code:
vm:~# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Quad CPU    Q9550  @ 2.83GHz
stepping        : 10
cpu MHz         : 2833.501
cache size      : 6144 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
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 lm constant                                        _tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx smx est tm2 ssse3 cx1                                        6 xtpr sse4_1 lahf_lm
bogomips        : 6889.23
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Quad CPU    Q9550  @ 2.83GHz
stepping        : 10
cpu MHz         : 2833.501
cache size      : 6144 KB
physical id     : 0
siblings        : 4
core id         : 1
cpu cores       : 4
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
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 lm constant                                        _tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx smx est tm2 ssse3 cx1                                        6 xtpr sse4_1 lahf_lm
bogomips        : 6884.98
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 2
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Quad CPU    Q9550  @ 2.83GHz
stepping        : 10
cpu MHz         : 2833.501
cache size      : 6144 KB
physical id     : 0
siblings        : 4
core id         : 2
cpu cores       : 4
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
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 lm constant                                        _tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx smx est tm2 ssse3 cx1                                        6 xtpr sse4_1 lahf_lm
bogomips        : 6885.00
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 3
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Quad CPU    Q9550  @ 2.83GHz
stepping        : 10
cpu MHz         : 2833.501
cache size      : 6144 KB
physical id     : 0
siblings        : 4
core id         : 3
cpu cores       : 4
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
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 lm constant                                        _tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx smx est tm2 ssse3 cx1                                        6 xtpr sse4_1 lahf_lm
bogomips        : 6885.00
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:
i heard that this issue is on intel only, but dont know if is on an specific intel models

here's a screenshot:
kvm-issue.png
 
tom wich stepping is your cpu?

i think that is on the latests steppings the problem

tomorrow i will try to install a new fresh install proxmox 1.3 in other hd
 
Same problem here. I updated from 1.2 to 1.3 yesterday night, after that the 64Bit VMs doesn't want to start anymore.
They complain that the CPU has no 64Bit support!

CPU is a Intel Xeon E3110
Code:
 cat /proc/cpuinfo 
processor    : 0
vendor_id    : GenuineIntel
cpu family    : 6
model        : 23
model name    : Intel(R) Xeon(R) CPU           E3110  @ 3.00GHz
stepping    : 10
cpu MHz        : 2982.855
cache size    : 6144 KB
physical id    : 0
siblings    : 2
core id        : 0
cpu cores    : 2
fpu        : yes
fpu_exception    : yes
cpuid level    : 13
wp        : yes
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 lm constant_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 lahf_lm
bogomips    : 5969.52
clflush size    : 64
cache_alignment    : 64
address sizes    : 36 bits physical, 48 bits virtual
power management:

processor    : 1
vendor_id    : GenuineIntel
cpu family    : 6
model        : 23
model name    : Intel(R) Xeon(R) CPU           E3110  @ 3.00GHz
stepping    : 10
cpu MHz        : 2982.855
cache size    : 6144 KB
physical id    : 0
siblings    : 2
core id        : 1
cpu cores    : 2
fpu        : yes
fpu_exception    : yes
cpuid level    : 13
wp        : yes
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 lm constant_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 lahf_lm
bogomips    : 5965.74
clflush size    : 64
cache_alignment    : 64
address sizes    : 36 bits physical, 48 bits virtual
power management:
 
Please can you test the updated version:

Code:
wget ftp://pve.proxmox.com/debian/dists/lenny/pvetest/binary-amd64/pve-kvm_86-2_amd64.deb
dpkg -i pve-kvm_86-2_amd64.deb
 
Please can you test the updated version:

Code:
wget ftp://pve.proxmox.com/debian/dists/lenny/pvetest/binary-amd64/pve-kvm_86-2_amd64.deb
dpkg -i pve-kvm_86-2_amd64.deb

It fixed the problem!! thank you so much!!
 
Please can you test the updated version:

Code:
wget ftp://pve.proxmox.com/debian/dists/lenny/pvetest/binary-amd64/pve-kvm_86-2_amd64.deb
dpkg -i pve-kvm_86-2_amd64.deb

Confirmed, fixes the problems here. Thanks.
 
I have the same problem with a new installation of proxmox 1.3. It would be great if a fix could be made available.
Thanks
 
I already uploaded the fix into the standard repositories. Just update your system with 'apt-get'.

# apt-get update
# apt-get upgrade
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!