Page 1 of 1

2.1.0 - 64bit guest on 32bit host

Posted: 18. Dec 2008, 15:26
by andreaolivato
Hello,

I just downloaded the new 2.1.0 Puel and I'm trying to virtualize a 64bit guest ( debian sarge amd64 ) on a 32bit host ( gentoo 2008.0 ).

I installed VB from the .run file, but can not find any option to enable support for 64bit guests. I read the manual at page 16 and it says:
If you want to use 64-bit guest support on a 32-bit host operating system, you
must also select a 64-bit operating system for the particular VM. Since supporting
64 bits on 32-bit hosts incurs additional overhead, VirtualBox only enables this
support upon explicit request.
Yeah well I didn't understand where to make this 'explicit request'. Is it a parameter to pass to the .run? Cause in the --help I can't see anything like that.

Thanks a lot

Posted: 18. Dec 2008, 15:45
by caphrim007
Do you have a 64 bit processor in the machine?

From the help contents of VirtualBox, I read that
You need a 64-bit processor with hardware virtualization support (see Section 1.2, “Software vs. hardware virtualization (VT-x and AMD-V)”).
Check

cat /proc/cpuinfo

to see if you do

Posted: 18. Dec 2008, 15:51
by andreaolivato
Thanks for your answer

I think I got it, or at least this is what I tought reading my lshw. It says the width is 64bits. However I read on the net that the hardware virtualization should be enabled from BIOS settings... I checked my bios but I did not find any such option...can this be the problem? Cpu is right but bios too old?
id:
cpu:0
description: CPU
product: Intel(R) Pentium(R) D CPU 3.00GHz
vendor: Intel Corp.
physical id:
4
bus info:
cpu@0
version: 15.6.5
serial: 0000-0F65-0000-0000-0000-0000
slot: U23
size: 3GHz
capacity: 3GHz
width: 64 bits
capabilities: boot fpu fpu_exception wp 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 nx x86-64 constant_tsc pebs bts sync_rdtsc pni monitor ds_cpl est cid cx16 xtpr lahf_lm
configuration:
id = 0
here's your command too
embrace@antartica ~/Desktop $ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Intel(R) Pentium(R) D CPU 3.00GHz
stepping : 5
cpu MHz : 3000.387
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 6
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 nx lm constant_tsc pebs bts sync_rdtsc pni monitor ds_cpl est cid cx16 xtpr lahf_lm
bogomips : 6006.34
clflush size : 64

processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Intel(R) Pentium(R) D CPU 3.00GHz
stepping : 5
cpu MHz : 3000.387
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 6
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 nx lm constant_tsc pebs bts sync_rdtsc pni monitor ds_cpl est cid cx16 xtpr lahf_lm
bogomips : 6000.34
clflush size : 64

Posted: 18. Dec 2008, 17:16
by caphrim007
I can't say for sure but that may be part of it. I have the same CPU that you have and am sitting at a Dell Dimension 9150 with bios DXP051 Rev A06. In my bios I have a section under "Performance" called "Virtualization" and have it set to on.

You're sure you don't have a similar setting?

Posted: 18. Dec 2008, 17:38
by fixedwheel
andreaolivato wrote: product: Intel(R) Pentium(R) D CPU 3.00GHz
vendor: Intel Corp.
physical id:
4
bus info:
cpu@0
version: 15.6.5
serial: 0000-0F65-0000-0000-0000-0000
capabilities: boot fpu fpu_exception wp 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 nx x86-64 constant_tsc pebs bts sync_rdtsc pni monitor ds_cpl est cid cx16 xtpr lahf_lm

processorfinder.intel.com lists pentium D 3GHz as well with and without VT-x "Virtualization Technology" - only one of them has cpuid 0F65: http://processorfinder.intel.com/detail ... Spec=SL9KA
Supported Features:
# Dual Core
# Enhanced Intel Speedstep® Technology
# Intel® EM64T 1
# Enhanced Halt State (C1E)
# Execute Disable Bit 2

Posted: 18. Dec 2008, 19:26
by andreaolivato
caphrim007 wrote:I can't say for sure but that may be part of it. I have the same CPU that you have and am sitting at a Dell Dimension 9150 with bios DXP051 Rev A06. In my bios I have a section under "Performance" called "Virtualization" and have it set to on.

You're sure you don't have a similar setting?
Yep I looked every bios tab but could not find anything similar... I also checked the manual of my mobo to see if I was missing something on the bios but didn't find anything new.
fixedwheel wrote:
andreaolivato wrote: product: Intel(R) Pentium(R) D CPU 3.00GHz
vendor: Intel Corp.
physical id:
4
bus info:
cpu@0
version: 15.6.5
serial: 0000-0F65-0000-0000-0000-0000
capabilities: boot fpu fpu_exception wp 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 nx x86-64 constant_tsc pebs bts sync_rdtsc pni monitor ds_cpl est cid cx16 xtpr lahf_lm

processorfinder.intel.com lists pentium D 3GHz as well with and without VT-x "Virtualization Technology" - only one of them has cpuid 0F65: http://processorfinder.intel.com/detail ... Spec=SL9KA
Supported Features:
# Dual Core
# Enhanced Intel Speedstep® Technology
# Intel® EM64T 1
# Enhanced Halt State (C1E)
# Execute Disable Bit 2
I'm sorry but I can't understand your answer... Does it mean it's supported or not ?

Posted: 18. Dec 2008, 19:46
by caphrim007
andreaolivato wrote:
caphrim007 wrote:I can't say for sure but that may be part of it. I have the same CPU that you have and am sitting at a Dell Dimension 9150 with bios DXP051 Rev A06. In my bios I have a section under "Performance" called "Virtualization" and have it set to on.

You're sure you don't have a similar setting?
Yep I looked every bios tab but could not find anything similar... I also checked the manual of my mobo to see if I was missing something on the bios but didn't find anything new.
fixedwheel wrote:
andreaolivato wrote: product: Intel(R) Pentium(R) D CPU 3.00GHz
vendor: Intel Corp.
physical id:
4
bus info:
cpu@0
version: 15.6.5
serial: 0000-0F65-0000-0000-0000-0000
capabilities: boot fpu fpu_exception wp 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 nx x86-64 constant_tsc pebs bts sync_rdtsc pni monitor ds_cpl est cid cx16 xtpr lahf_lm

processorfinder.intel.com lists pentium D 3GHz as well with and without VT-x "Virtualization Technology" - only one of them has cpuid 0F65: http://processorfinder.intel.com/detail ... Spec=SL9KA
Supported Features:
# Dual Core
# Enhanced Intel Speedstep® Technology
# Intel® EM64T 1
# Enhanced Halt State (C1E)
# Execute Disable Bit 2
I'm sorry but I can't understand your answer... Does it mean it's supported or not ?
Yeah, that seems to be what they are implying; that it is not supported on your processor.

What utility did you use to get that first batch of info that listed the cpu serial number? I installed cpuid on my box and here's a list of available features. Note the presence of VMX
feature information (1/ecx):
PNI/SSE3: Prescott New Instructions = true
MONITOR/MWAIT = true
CPL-qualified debug store = true
VMX: virtual machine extensions = true
Enhanced Intel SpeedStep Technology = true
thermal monitor 2 = false
context ID: adaptive or shared L1 data = true
cmpxchg16b available = true
xTPR disable = true
Perhaps that is the feature needed?

Posted: 19. Dec 2008, 09:41
by Boten
I have guru meditation error when I'm trying to start any 64-bit guest system on my 32-bit host. My processor is Athlon 64 X2 4200+ (it supports AMD-V) and host OS is Ubuntu 8.10 x86.
But I don't know what part of VM log should I include here (or where can I upload that file) :(. Can you help me?

Posted: 19. Dec 2008, 10:24
by andreaolivato
caphrim007 wrote: Yeah, that seems to be what they are implying; that it is not supported on your processor.

What utility did you use to get that first batch of info that listed the cpu serial number? I installed cpuid on my box and here's a list of available features. Note the presence of VMX
feature information (1/ecx):
PNI/SSE3: Prescott New Instructions = true
MONITOR/MWAIT = true
CPL-qualified debug store = true
VMX: virtual machine extensions = true
Enhanced Intel SpeedStep Technology = true
thermal monitor 2 = false
context ID: adaptive or shared L1 data = true
cmpxchg16b available = true
xTPR disable = true
Perhaps that is the feature needed?
Dammit!
Thanks for your help unfortunately I got this!
cpuid | grep VMX
VMX: virtual machine extensions = false

Posted: 20. Dec 2008, 02:16
by Sasquatch
Boten wrote:I have guru meditation error when I'm trying to start any 64-bit guest system on my 32-bit host. My processor is Athlon 64 X2 4200+ (it supports AMD-V) and host OS is Ubuntu 8.10 x86.
But I don't know what part of VM log should I include here (or where can I upload that file) :(. Can you help me?
Post the CPU info that the others have given here. If you want to post logs, use pastebin.

Posted: 20. Dec 2008, 08:06
by Boten
My cpuid output is here. Full VM log is here.

Posted: 21. Dec 2008, 17:31
by Sasquatch
Boten wrote:My cpuid output is here. Full VM log is here.
According to the CPUid, you don't have AMD-v capabilities. You can check that for certain by viewing /proc/cpuinfo and examine the flags. Also see the example commands to check it above.

Posted: 21. Dec 2008, 18:10
by Boten
Sasquatch wrote:According to the CPUid, you don't have AMD-v capabilities.
I can easily run Windows Vista on KVM. I also can use Windows on Xen. Why I can't have AMD-V after that?

Posted: 21. Dec 2008, 20:21
by Sasquatch
Boten wrote:
Sasquatch wrote:According to the CPUid, you don't have AMD-v capabilities.
I can easily run Windows Vista on KVM. I also can use Windows on Xen. Why I can't have AMD-V after that?
Xen does not rely on virtualisation extensions of the CPU. As above is also mentioned, you can check if your CPU has support for it or not. On the KVM FAQ, I found this link: http://kvm.qumranet.com/kvmwiki/FAQ#hea ... cf25b9db60 to check the CPU for the virtualisation extension.

When I check your CPU (AMD Athlon X2 4200+ AM2) with google, I get a few hits from the AMD site and none say it has AMD-v or SVM.
See http://products.amd.com/en-us/DesktopCP ... aspx?id=59 and http://www.amd.com/us-en/Processors/Pro ... 41,00.html for more info.