۱۳۸۸ آبان ۱۶, شنبه

Alert: Could Not Start Vps, Reason: Error: HVM guest support is unavailable: is VT/AMD-V supported by your CPU and enabled in your BIOS?

اگر با خطای
Alert:   Could Not Start Vps, Reason: Error: HVM guest support is unavailable: is VT/AMD-V supported by your CPU and enabled in your BIOS?
هنگام راه اندازی Xen با HyperVM بر روی لینوکس برای نصب ویندوز مواجه شدید :
1-باید CPU شما Virtualization Technology d یا VT رو پشتیبانی کند.
اطلاعات مربوط به CPU در فایل proc/cpuinfo/ قرار دارد :
egrep ‘(vmx|svm)’ /proc/cpuinfo
بر اساس نوع CPU باید در خروجی کلمه زیر رو بیابید :
    * vmx – (intel)

    * svm – (amd)
اگر این کلمه رو پیدا نکردید CPU تون از VT پشتیبانی نمی کنه و باید عوضش کنید.
2- مرحله بعدی اینه که باید ببینیم vmx یا svm فعال هست یا نه
xm dmesg
خروجی چیزی شبیه به این هست :
 __  __            _____  _   ____     _  __   _  _    __    _       _ ____ 
 \ \/ /___ _ __   |___ / / | |___ \   / |/ /_ | || |  / /_  / |  ___| | ___|
  \  // _ \ \047_ \    |_ \ | |   __) |__| | \047_ \| || |_| \047_ \ | | / _ \ |___ \
  /  \  __/ | | |  ___) || |_ / __/|__| | (_) |__   _| (_) || ||  __/ |___) |
 /_/\_\___|_| |_| |____(_)_(_)_____|  |_|\___/   |_|(_)___(_)_(_)___|_|____/
                                                                            
 http://www.cl.cam.ac.uk/netos/xen
 University of Cambridge Computer Laboratory

 Xen version 3.1.2-164.6.1.el5 (mockbuild@centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) Tue Nov  3 16:10:34 EST 2009
 Latest ChangeSet: unavailable

(XEN) Command line:
(XEN) Video information:
(XEN)  VGA is text mode 80x25, font 8x16
(XEN)  VBE/DDC methods: none; EDID transfer time: 2 seconds
(XEN)  EDID info not retrieved because no DDC retrieval method detected
(XEN) Disc information:
(XEN)  Found 1 MBR signatures
(XEN)  Found 1 EDD information structures
(XEN) WARNING: Only the first 16 GB of the physical memory map can be accessed
(XEN)          by Xen in 32-bit mode. Truncating the memory map...
(XEN) Xen-e820 RAM map:
(XEN)  0000000000000000 - 00000000000a0000 (usable)
(XEN)  0000000000100000 - 00000000cffa8000 (usable)
(XEN)  00000000cffa8000 - 00000000cffb7c00 (ACPI data)
(XEN)  00000000cffb7c00 - 00000000d0000000 (reserved)
(XEN)  00000000e0000000 - 00000000f0000000 (reserved)
(XEN)  00000000fe000000 - 0000000100000000 (reserved)
(XEN)  0000000100000000 - 0000000400000000 (usable)
(XEN) System RAM: 15615MB (15990048kB)
(XEN) Xen heap: 9MB (9600kB)
(XEN) Domain heap initialised: DMA width 32 bits
(XEN) PAE enabled, limit: 16 GB
(XEN) Processor #0 6:15 APIC version 20
(XEN) Processor #4 6:15 APIC version 20
(XEN) Processor #1 6:15 APIC version 20
(XEN) Processor #5 6:15 APIC version 20
(XEN) Processor #2 6:15 APIC version 20
(XEN) Processor #6 6:15 APIC version 20
(XEN) Processor #3 6:15 APIC version 20
(XEN) Processor #7 6:15 APIC version 20
(XEN) IOAPIC[0]: apic_id 8, version 32, address 0xfec00000, GSI 0-23
(XEN) IOAPIC[1]: apic_id 9, version 32, address 0xfec80000, GSI 32-55
(XEN) Enabling APIC mode:  Flat.  Using 2 I/O APICs
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 1995.044 MHz processor.
(XEN) VMX disabled by Feature Control MSR.
(XEN) CPU0: Intel(R) Xeon(R) CPU           E5335  @ 2.00GHz stepping 0b
(XEN) Booting processor 1/4 eip 90000
(XEN) VMX disabled by Feature Control MSR.
(XEN) CPU1: Intel(R) Xeon(R) CPU           E5335  @ 2.00GHz stepping 0b
(XEN) Booting processor 2/1 eip 90000
(XEN) VMX disabled by Feature Control MSR.
(XEN) CPU2: Intel(R) Xeon(R) CPU           E5335  @ 2.00GHz stepping 0b
(XEN) Booting processor 3/5 eip 90000
(XEN) VMX disabled by Feature Control MSR.
(XEN) CPU3: Intel(R) Xeon(R) CPU           E5335  @ 2.00GHz stepping 0b
(XEN) Booting processor 4/2 eip 90000
(XEN) VMX disabled by Feature Control MSR.
(XEN) CPU4: Intel(R) Xeon(R) CPU           E5335  @ 2.00GHz stepping 0b
(XEN) Booting processor 5/6 eip 90000
(XEN) VMX disabled by Feature Control MSR.
(XEN) CPU5: Intel(R) Xeon(R) CPU           E5335  @ 2.00GHz stepping 0b
(XEN) Booting processor 6/3 eip 90000
(XEN) VMX disabled by Feature Control MSR.
(XEN) CPU6: Intel(R) Xeon(R) CPU           E5335  @ 2.00GHz stepping 0b
(XEN) Booting processor 7/7 eip 90000
(XEN) VMX disabled by Feature Control MSR.
(XEN) CPU7: Intel(R) Xeon(R) CPU           E5335  @ 2.00GHz stepping 0b
(XEN) Total of 8 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN)  -> Using new ACK method
(XEN) Platform timer overflows in 14998 jiffies.
(XEN) Platform timer is 14.318MHz HPET
(XEN) Brought up 8 CPUs
(XEN) I/O virtualisation disabled
(XEN) *** LOADING DOMAIN 0 ***
(XEN) elf_parse_binary: phdr: paddr=0xc0400000 memsz=0x280708
(XEN) elf_parse_binary: phdr: paddr=0xc0681000 memsz=0x162000
(XEN) elf_parse_binary: memory: 0xc0400000 -> 0xc07e3000
(XEN) elf_xen_parse_note: GUEST_OS = "linux"
(XEN) elf_xen_parse_note: GUEST_VERSION = "2.6"
(XEN) elf_xen_parse_note: XEN_VERSION = "xen-3.0"
(XEN) elf_xen_parse_note: VIRT_BASE = 0xc0000000
(XEN) elf_xen_parse_note: PADDR_OFFSET = 0xc0000000
(XEN) elf_xen_parse_note: ENTRY = 0xc0400000
(XEN) elf_xen_parse_note: HYPERCALL_PAGE = 0xc0401000
(XEN) elf_xen_parse_note: FEATURES = "writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel"
(XEN) elf_xen_parse_note: PAE_MODE = "yes"
(XEN) elf_xen_parse_note: LOADER = "generic"
(XEN) elf_xen_addr_calc_check: addresses:
(XEN)     virt_base        = 0xc0000000
(XEN)     elf_paddr_offset = 0xc0000000
(XEN)     virt_offset      = 0x0
(XEN)     virt_kstart      = 0xc0400000
(XEN)     virt_kend        = 0xc07e3000
(XEN)     virt_entry       = 0xc0400000
(XEN)  Xen  kernel: 32-bit, PAE, lsb
(XEN)  Dom0 kernel: 32-bit, PAE, lsb, paddr 0xc0400000 -> 0xc07e3000
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   000000003c000000->000000003e000000 (3859368 pages to be allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: c0400000->c07e3000
(XEN)  Init. ramdisk: c07e3000->c0f1ee00
(XEN)  Phys-Mach map: c0f1f000->c1ddfea0
(XEN)  Start info:    c1de0000->c1de046c
(XEN)  Page tables:   c1de1000->c1df6000
(XEN)  Boot stack:    c1df6000->c1df7000
(XEN)  TOTAL:         c0000000->c2000000
(XEN)  ENTRY ADDRESS: c0400000
(XEN) Dom0 has maximum 8 VCPUs
(XEN) elf_load_binary: phdr 0 at 0xc0400000 -> 0xc0680708
(XEN) elf_load_binary: phdr 1 at 0xc0681000 -> 0xc072bcc4
(XEN) Initrd len 0x73be00, start at 0xc07e3000
(XEN) Scrubbing Free RAM: ...done.
(XEN) Xen trace buffers: disabled
(XEN) Std. Loglevel: Errors and warnings
(XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings)
(XEN) Xen is relinquishing VGA console.
(XEN) *** Serial input -> DOM0 (type \047CTRL-a\047 three times to switch input to Xen).
(XEN) Freed 104kB init memory.

اگر پیغام VMX disabled by Feature Control MSR. رو مشاهده کردید معنیش این هست که  در VT ، BIOS رو فعال نکردید .
نکته مهم :
بعد از فعال کردن VT در بایوس باید حتما سیستم رو خاموش و بعد از چند دقیقه روشن کنید

هیچ نظری موجود نیست: