WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-users] Re: [Xen-devel] Failure to create HVM DomU at Xen 4.1 (

To: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] Re: [Xen-devel] Failure to create HVM DomU at Xen 4.1 ( kernel 3.0.0-5-generic) Ubuntu 11.10 (alpha 2)
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Mon, 18 Jul 2011 10:50:52 -0700 (PDT)
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Mon, 18 Jul 2011 10:52:26 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1311011453; bh=lL3nVK+7i36xLWRi+NdDlZqmwKVnQWVRl0wbjhcgrMY=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=I5aBY7YQKhx4PXXrRrzTWHuwjmM+HKedteOpyCI6rO2XTlzErHlKy4goU/B3Z5NgECnF+nsIB+EVBIEAsKoJ1bEHjswsY7ojqRS/8vHRCVhMa4T0NMokTCW9PelvzdqREtyqNp7ADDRjl/hjh0Em/v/SEURlh+74jbtoB5z/bIw=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=veUoajfyWZxAYn8L2A+c++HjzIB7CtMDHt2kFvRXCcCpuKeJZNXUQaXi7u0+w7wGp6LywaYixZWXqrGrNg7TcaveA3PdfESLYchtSBTMZa4Jsn0iwv2SMnEVTmexjAgHnM0bkuRJAVrRyYFdHryMVx0w7nXURj4/EWqPwpssdg4=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.DEB.2.00.1107181810080.12963@kaball-desktop>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
root@boris-P5Q-E:~# xl dmesg
(XEN) Xen version 4.1.0 (Ubuntu 4.1.0-3ubuntu4) (zulcss@xxxxxxxxxx) (gcc version 4.6.1 (Ubuntu/Linaro 4.6.0-10ubuntu2) ) Sat Jun  4 19:41:05 UTC 2011
(XEN) Bootloader: GRUB 1.99-8ubuntu1
(XEN) Command line: placeholder
(XEN) Video information:
(XEN)  VGA is text mode 80x25, font 8x16
(XEN)  VBE/DDC methods: V2; EDID transfer time: 1 seconds
(XEN) Disc information:
(XEN)  Found 0 MBR signatures
(XEN)  Found 1 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN)  0000000000000000 - 000000000009cc00 (usable)
(XEN)  000000000009cc00 - 00000000000a0000 (reserved)
(XEN)  00000000000e4000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 00000000cff70000 (usable)
(XEN)  00000000cff70000 - 00000000cff7e000 (ACPI data)
(XEN)  00000000cff7e000 - 00000000cffd0000 (ACPI NVS)
(XEN)  00000000cffd0000 - 00000000d0000000 (reserved)
(XEN)  00000000fee00000 - 00000000fee01000 (reserved)
(XEN)  00000000ffe00000 - 0000000100000000 (reserved)
(XEN)  0000000100000000 - 0000000230000000 (usable)
(XEN) ACPI: RSDP 000FB030, 0014 (r0 ACPIAM)
(XEN) ACPI: RSDT CFF70000, 0040 (r1 A_M_I_ OEMRSDT   7000809 MSFT       97)
(XEN) ACPI: FACP CFF70200, 0084 (r2 A_M_I_ OEMFACP   7000809 MSFT       97)
(XEN) ACPI: DSDT CFF70440, 963E (r1  A0986 A0986000        0 INTL 20060113)
(XEN) ACPI: FACS CFF7E000, 0040
(XEN) ACPI: APIC CFF70390, 006C (r1 A_M_I_ OEMAPIC   7000809 MSFT       97)
(XEN) ACPI: MCFG CFF70400, 003C (r1 A_M_I_ OEMMCFG   7000809 MSFT       97)
(XEN) ACPI: OEMB CFF7E040, 0081 (r1 A_M_I_ AMI_OEM   7000809 MSFT       97)
(XEN) ACPI: HPET CFF79A80, 0038 (r1 A_M_I_ OEMHPET   7000809 MSFT       97)
(XEN) ACPI: OSFR CFF79AC0, 00B0 (r1 A_M_I_ OEMOSFR   7000809 MSFT       97)
(XEN) ACPI: SSDT CFF7E5D0, 0A7C (r1 DpgPmm    CpuPm       12 INTL 20060113)
(XEN) System RAM: 8191MB (8387632kB)
(XEN) Domain heap initialised
(XEN) Processor #0 7:7 APIC version 20
(XEN) Processor #1 7:7 APIC version 20
(XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
(XEN) Enabling APIC mode:  Flat.  Using 1 I/O APICs
(XEN) Table is not found!
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 2999.757 MHz processor.
(XEN) Initing memory sharing.
(XEN) I/O virtualisation disabled
(XEN) ENABLING IO-APIC IRQs
(XEN)  -> Using new ACK method
(XEN) Platform timer is 14.318MHz HPET
(XEN) Allocated console ring of 16 KiB.
(XEN) VMX: Supported advanced features:
(XEN)  - APIC MMIO access virtualisation
(XEN)  - APIC TPR shadow
(XEN)  - Virtual NMI
(XEN)  - MSR direct-access bitmap
(XEN) HVM: ASIDs disabled.
(XEN) HVM: VMX enabled
(XEN) Brought up 2 CPUs
(XEN) *** LOADING DOMAIN 0 ***
(XEN)  Xen  kernel: 64-bit, lsb, compat32
(XEN)  Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x1e43000
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN)  Dom0 alloc.:   0000000220000000->0000000224000000 (2014127 pages to be allocated)
(XEN)  Init. ramdisk: 000000022db80000->000000022ffffe00
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: ffffffff81000000->ffffffff81e43000
(XEN)  Init. ramdisk: ffffffff81e43000->ffffffff842c2e00
(XEN)  Phys-Mach map: ffffffff842c3000->ffffffff85253178
(XEN)  Start info:    ffffffff85254000->ffffffff852544b4
(XEN)  Page tables:   ffffffff85255000->ffffffff85282000
(XEN)  Boot stack:    ffffffff85282000->ffffffff85283000
(XEN)  TOTAL:         ffffffff80000000->ffffffff85400000
(XEN)  ENTRY ADDRESS: ffffffff81ad0200
(XEN) Dom0 has maximum 2 VCPUs
(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 'CTRL-a' three times to switch input to Xen)
(XEN) Freed 228kB init memory.


It doesn't work

root@boris-P5Q-E:~/vms/natty# xl create f14.hvm
Parsing config file f14.hvm
xc: info: VIRTUAL MEMORY ARRANGEMENT:
  Loader:        0000000000100000->000000000017b150
  TOTAL:         0000000000000000->000000007f800000
  ENTRY ADDRESS: 0000000000101580
xc: info: PHYSICAL MEMORY ALLOCATION:
  4KB PAGES: 0x0000000000000200
  2MB PAGES: 0x00000000000003fb
  1GB PAGES: 0x0000000000000000
Daemon running with PID 3200
root@boris-P5Q-E:~/vms/natty# vncviewer localhost:0

VNC Viewer Free Edition 4.1.1 for X - built Apr  9 2010 18:41:55
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.

Mon Jul 18 21:48:31 2011
 main:        unable to connect to host: Connection refused (111)

root@boris-P5Q-E:~/vms/natty# netstat -a | grep 590
unix  3      [ ]         STREAM     CONNECTED     12590    @/tmp/.X11-unix/X0
unix  3      [ ]         STREAM     CONNECTED     10590   


Boris

--- On Mon, 7/18/11, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> wrote:

From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] Re: [Xen-devel] Failure to create HVM DomU at Xen 4.1 ( kernel 3.0.0-5-generic) Ubuntu 11.10 (alpha 2)
To: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>, "Stefano Stabellini" <Stefano.Stabellini@xxxxxxxxxxxxx>
Date: Monday, July 18, 2011, 1:13 PM

On Mon, 18 Jul 2011, Boris Derzhavets wrote:
> Here it is
>
> root@boris-P5Q-E:~/vms/natty# cat f14.hvm
> name = "HVM14"
> builder = "hvm"
> memory = "2048"
> disk = ['phy:/dev/sda5,hda,w', 'phy:/dev/loop0,hdc:cdrom,r']
> vif = [ 'type=ioemu,bridge=br0' ]
> device_model = "/usr/lib/xen-4.1/bin/qemu-dm"
> kernel = "/usr/lib/xen-4.1/boot/hvmloader"
> vnc=1
> vncdisplay=0
> boot="d"
> usb=1
> usbdevice="tablet"
> serial = "pty" # enable serial console
>
>

It looks correct, I think it should work.
Are you still having the problem?
Do you have any errors on the Xen serial (xl dmesg)?

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>