Bug 233 - detection 32/64 bits fails
Summary: detection 32/64 bits fails
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2011-02-28 08:33 CET by Henk Elbers
Modified: 2011-03-16 07:51 CET (History)
1 user (show)

See Also:
Source RPM: virtualbox
CVE:
Status comment:


Attachments

Description Henk Elbers 2011-02-28 08:33:44 CET
Description of problem:

Installation of Mageia alpha-1 in a virtualbox on a 64-bits laptop fails with the message
    "Wrong architecture
    This is a 32-bit computer. You cnnot use or install 64-bit software on it.
    [Reboot]"
    This kernel requires an x86-64 CPU, but only detected an i686 CPU,

The same installation succeeded on another 64 bits PC.

Version-Release number of selected component (if applicable):

- HP compaq nc9420
- Mandriva Linux release 2010.2 (Official) for x86_64 (up to date)
- VirtualBox-4.0-4.0.2_69518_mdv2010.0-1

How reproducible:

Steps to Reproduce:
1. use a Mandriva 2010.2 on HP compaq nc9420 laptop
2. start Virtualbox
3. use the Mageia alpha-1 iso as cdrom
4. start the virtual machine.


More info:

/proc/cpuinfo:  processor       : 0                                    1
                vendor_id       : GenuineIntel
                cpu family      : 6
                model           : 15
                model name      : Intel(R) Core(TM)2 CPU T5500  @ 1.66GHz
                stepping        : 6
                cpu MHz         : 1667.000                             1000.000
                cache size      : 2048 KB
                physical id     : 0
                siblings        : 2
                core id         : 0                                    1
                cpu cores       : 2
                apicid          : 0                                    1
                initial apicid  : 0                                    1
                fpu             : yes
                fpu_exception   : yes
                cpuid level     : 10
                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
                                  aperfmperf pni dtes64 monitor ds_cpl est tm2
                                  ssse3 cx16 xtpr pdcm lahf_lm
                bogomips        : 3324.44
                clflush size    : 64
                cache_alignment : 64
                address sizes   : 36 bits physical, 48 bits virtual
                power management:

Successfull PC has an AMD processor, up-to-date mandriva 2010.2 and 
VirtualBox-4.0-4.0.2_69518_mdv2010.0-1.
    vendor_id       : AuthenticAMD
    cpu family      : 15
    model           : 107
    model name      : AMD Athlon(tm) 64 X2 Dual Core Processor 4000+
    stepping        : 1


Reproducible: 

Steps to Reproduce:
Comment 1 James Kerr 2011-02-28 10:50:51 CET
It seems that you may have created a 32bit VM. The Mageia installer is looking at the virtual CPU in the VM, not at the host's CPU. 

You need to select "Mandriva (64bit)" in the wizard when you create the VM.
Comment 2 Henk Elbers 2011-02-28 12:12:53 CET
I can't find any 32/64 choice in VirtualBox (4), just windows/linux/...
and fedora/suse/mandriva/...
Comment 3 James Kerr 2011-02-28 13:02:21 CET
You may need to enable hardware virtualisation in your host system's BIOS. Section 10.3 of the vbox manual gives a fuller explanation:

http://www.virtualbox.org/manual/ch10.html#hwvirt

As noted there, some 64 bit CPU's do not support hardware virtualisation.
Comment 4 Ahmad Samir 2011-03-04 21:03:45 CET
@OP, what the status of this report?

Keywords: (none) => NEEDINFO

Comment 5 Thierry Vignaud 2011-03-15 09:49:56 CET
Indeed, Virtualbox-4 cannot virtualize 64bit w/o hw support :-(
Which means lower end CPUS and older one cannot virtualize 64bit...

Status: NEW => RESOLVED
CC: (none) => thierry.vignaud
Resolution: (none) => INVALID
Source RPM: (none) => virtualbox

Comment 6 Henk Elbers 2011-03-16 07:51:22 CET
This was done on a 64bit laptop, with a 64bit Mandriva and a 64bit virtualbox!

Fortunately Mageia alpha-2 boots fine, so the bug IS solved.

Note You need to log in before you can comment on or make changes to this bug.