* Re: [Xen-users] DomU sees only 512MB RAM with PCI-passthrough
[not found] ` <519F89BB.3020709@holpert.de>
@ 2013-05-25 11:13 ` Konrad Rzeszutek Wilk
2013-05-25 15:18 ` Christian Holpert
0 siblings, 1 reply; 9+ messages in thread
From: Konrad Rzeszutek Wilk @ 2013-05-25 11:13 UTC (permalink / raw)
To: Christian Holpert; +Cc: xen-devel
On Fri, May 24, 2013 at 05:39:39PM +0200, Christian Holpert wrote:
> Konrad,
Please don't drop the xen-devel from the email. I am putting it back.
>
> as written before: your patch is not working for me.
I must have missed your previous email. When did you send it?
>
> Even worse: when I create the domU it simply dies before running the kernel.
How so? Can you get the console output if you boot it with 'earlyprintk=xen"
>
> Logs attached for
> memory=512
> and
> memory=1024
Right, with that option the E820 looks to have the right values:
libxl_x86.c:201:e820_sanitize: : [0 -> 20000] RAM
libxl_x86.c:201:e820_sanitize: : [20000 -> 20200] Reserved
libxl_x86.c:201:e820_sanitize: : [20200 -> 40004] Unusable
libxl_x86.c:201:e820_sanitize: : [40004 -> 40005] Reserved
libxl_x86.c:201:e820_sanitize: : [40005 -> d9cbf] Unusable
libxl_x86.c:201:e820_sanitize: : [d9cbf -> da286] Reserved
libxl_x86.c:201:e820_sanitize: : [da286 -> da506] ACPI NVS
libxl_x86.c:201:e820_sanitize: : [da506 -> da50b] ACPI
libxl_x86.c:201:e820_sanitize: : [da50b -> da54e] ACPI NVS
libxl_x86.c:201:e820_sanitize: : [da54e -> dad56] Unusable
libxl_x86.c:201:e820_sanitize: : [dad56 -> daff2] Reserved
libxl_x86.c:201:e820_sanitize: : [daff2 -> db000] Unusable
libxl_x86.c:201:e820_sanitize: : [db800 -> dfa00] Reserved
libxl_x86.c:201:e820_sanitize: : [f8000 -> fc000] Reserved
libxl_x86.c:201:e820_sanitize: : [fec00 -> fec01] Reserved
libxl_x86.c:201:e820_sanitize: : [fed00 -> fed04] Reserved
libxl_x86.c:201:e820_sanitize: : [fed1c -> fed20] Reserved
libxl_x86.c:201:e820_sanitize: : [fee00 -> fee01] Reserved
libxl_x86.c:201:e820_sanitize: : [ff000 -> 100000] Reserved
----> libxl_x86.c:201:e820_sanitize: : [100000 -> 120000] RAM <-----
(as the extra amount of memory is added).
>
> maxmem is not used.
>
> Reverting the patch at least makes the domU bootable again. With 512MB.
Hm, the E820 with 512MB looks to be the same as you posted earlier.
Are you sure you are using the same exact kernel you did last time?
>
> Anything else I can test?
I am at loss here. The 512MB case has no E820 changes so I am not entirely
sure how it could be crashing. Try with 'earlyprintk=xen'
>
> Regards,
> Christian
>
>
> ---- Original-Nachricht ----
> Von: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
> Datum: Freitag, 24. Mai 2013 17:28:37
> >On Wed, May 22, 2013 at 05:17:52PM -0400, Konrad Rzeszutek Wilk wrote:
> >>On Wed, May 22, 2013 at 05:15:37PM -0400, Konrad Rzeszutek Wilk wrote:
> >>>On Wed, May 22, 2013 at 05:06:18PM -0400, Konrad Rzeszutek Wilk wrote:
> >>>>On Thu, Dec 20, 2012 at 01:40:38PM +0100, Christian Holpert wrote:
> >>>>>Hello,
> >>>>>
> >>>>>the output of xl -vvv create is attached for xen 4.2.1 with PCI and
> >>>>>without PCI.
> >>>>Could you also attach the host dmesg please?
> >>>Nevermind. I can reproduce it. The interesting thing is that initially I had
> >>>this in my guest config:
> >>>
> >>>maxmem=2048
> >>>memory=1024
> >>>
> >>>and the output of the tools told me:
> >>>Memory: 1048576kB End of RAM: 0x20000 (PFN) Delta: 524288kB, PCI start: 524288kB (0x20000 PFN), Balloon 1048576kB
> >>>
> >>>.. and then it added that 1G to the end:
> >>>
> >>>libxl_x86.c:201:e820_sanitize: : [100000 -> 160000] RAM
> >>>
> >>>and the guest booted nicely.
> >>>
> >>>But if maxmem=memory I get:
> >>>
> >>>Memory: 2097152kB End of RAM: 0x20000 (PFN) Delta: 1572864kB, PCI start: 524288kB (0x20000 PFN), Balloon 0kB
> >>>
> >>>And of course no E820 entry at 4G and guest crashes.
> >>Pff, try this patch please:
> >>
> >>diff --git a/tools/libxl/libxl_x86.c b/tools/libxl/libxl_x86.c
> >>index a17f6ae..a78c91d 100644
> >>--- a/tools/libxl/libxl_x86.c
> >>+++ b/tools/libxl/libxl_x86.c
> >>@@ -182,7 +182,7 @@ static int e820_sanitize(libxl_ctx *ctx, struct e820entry src[],
> >> idx++;
> >> }
> >> /* At this point we have the mapped RAM + E820 entries from src. */
> >>- if (balloon_kb) {
> >>+ if (balloon_kb || delta_kb) {
> >> /* and if we truncated the RAM region, then add it to the end. */
> >> e820[idx].type = E820_RAM;
> >> e820[idx].addr = (uint64_t)(1ULL << 32) > last ?
> >>
> >>(I am heading out for today and will retry it tomorrow, but I am 99%
> >>that is the culprit).
> >And it works. Will send out a patch shortly.
>
> Mit freundlichen Grüßen,
> Christian Holpert
>
> --
> Christian Holpert
> Im Markthof 5
> 63776 Mömbris
> Tel.: 06029-1379 Fax: 9986589
>
> libxl: debug: libxl_create.c:1192:do_domain_create: ao 0xf242c0: create: how=(nil) callback=(nil) poller=0xf246a0
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=xvda1 spec.backend=unknown
> libxl: debug: libxl_device.c:175:disk_try_backend: Disk vdev=xvda1, backend phy unsuitable as phys path not a block device
> libxl: debug: libxl_device.c:184:disk_try_backend: Disk vdev=xvda1, backend tap unsuitable because blktap not available
> libxl: debug: libxl_device.c:265:libxl__device_disk_set_backend: Disk vdev=xvda1, using backend qdisk
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=xvda2 spec.backend=unknown
> libxl: debug: libxl_device.c:175:disk_try_backend: Disk vdev=xvda2, backend phy unsuitable as phys path not a block device
> libxl: debug: libxl_device.c:184:disk_try_backend: Disk vdev=xvda2, backend tap unsuitable because blktap not available
> libxl: debug: libxl_device.c:265:libxl__device_disk_set_backend: Disk vdev=xvda2, using backend qdisk
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=xvda3 spec.backend=unknown
> libxl: debug: libxl_device.c:265:libxl__device_disk_set_backend: Disk vdev=xvda3, using backend phy
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=xvda4 spec.backend=unknown
> libxl: debug: libxl_device.c:265:libxl__device_disk_set_backend: Disk vdev=xvda4, using backend phy
> libxl: debug: libxl_create.c:694:initiate_domain_create: running bootloader
> libxl: debug: libxl_bootloader.c:327:libxl__bootloader_run: no bootloader configured, using user supplied kernel
> libxl: debug: libxl_event.c:607:libxl__ev_xswatch_deregister: watch w=0xf24e50: deregister unregistered
> libxl: debug: libxl_numa.c:435:libxl__get_numa_candidate: New best NUMA placement candidate found: nr_nodes=1, nr_cpus=4, nr_vcpus=8, free_memkb=7025
> libxl: detail: libxl_dom.c:193:numa_place_domain: NUMA placement candidate with 1 nodes, 4 cpus and 7025 KB free selected
> libxl: debug: libxl_x86.c:82:e820_sanitize: Memory: 1048576kB End of RAM: 0x20000 (PFN) Delta: 524288kB, PCI start: 524288kB (0x20000 PFN), Balloon 0kB
>
> domainbuilder: detail: xc_dom_allocate: cmdline="root=/dev/xvda1 rootfstype=ext4 rootfsflags=barrier=0 console=hvc0 xencons=hvc xen-fbfront.video=6,1024,768 xenfb.video=6,1024,768 noirqdebug elevator=noop cifs.enable_oplocks=0 netconsole=6666@10.75.157.21/eth0,6666@10.75.157.46/BC:5F:F4:3B:63:9D", features="(null)"
> libxl: debug: libxl_dom.c:384:libxl__build_pv: pv kernel mapped 0 path /boot/kernel-3.7.3-xenU
>
> domainbuilder: detail: xc_dom_kernel_file: filename="/boot/kernel-3.7.3-xenU"
> domainbuilder: detail: xc_dom_malloc_filemap : 6233 kB
> domainbuilder: detail: xc_dom_boot_xen_init: ver 4.2, caps xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
> domainbuilder: detail: xc_dom_parse_image: called
> domainbuilder: detail: xc_dom_find_loader: trying multiboot-binary loader ...
> domainbuilder: detail: loader probe failed
> domainbuilder: detail: xc_dom_find_loader: trying Linux bzImage loader ...
> domainbuilder: detail: xc_dom_probe_bzimage_kernel: kernel is not a bzImage
> domainbuilder: detail: loader probe failed
> domainbuilder: detail: xc_dom_find_loader: trying ELF-generic loader ...
> domainbuilder: detail: loader probe OK
> xc: detail: elf_parse_binary: phdr: paddr=0x1000000 memsz=0x40c000
> xc: detail: elf_parse_binary: phdr: paddr=0x140c000 memsz=0x353000
> xc: detail: elf_parse_binary: memory: 0x1000000 -> 0x175f000
> xc: detail: elf_xen_parse_note: GUEST_OS = "linux"
> xc: detail: elf_xen_parse_note: GUEST_VERSION = "2.6"
> xc: detail: elf_xen_parse_note: XEN_VERSION = "xen-3.0"
> xc: detail: elf_xen_parse_note: VIRT_BASE = 0xc0000000
> xc: detail: elf_xen_parse_note: ENTRY = 0xc143c24c
> xc: detail: elf_xen_parse_note: HYPERCALL_PAGE = 0xc1001000
> xc: detail: elf_xen_parse_note: FEATURES = "!writable_page_tables|pae_pgdir_above_4gb"
> xc: detail: elf_xen_parse_note: PAE_MODE = "yes"
> xc: detail: elf_xen_parse_note: LOADER = "generic"
> xc: detail: elf_xen_parse_note: unknown xen elf note (0xd)
> xc: detail: elf_xen_parse_note: SUSPEND_CANCEL = 0x1
> xc: detail: elf_xen_parse_note: HV_START_LOW = 0xf5800000
> xc: detail: elf_xen_parse_note: PADDR_OFFSET = 0x0
> xc: detail: elf_xen_addr_calc_check: addresses:
> xc: detail: virt_base = 0xc0000000
> xc: detail: elf_paddr_offset = 0x0
> xc: detail: virt_offset = 0xc0000000
> xc: detail: virt_kstart = 0xc1000000
> xc: detail: virt_kend = 0xc175f000
> xc: detail: virt_entry = 0xc143c24c
> xc: detail: p2m_base = 0xffffffffffffffff
> domainbuilder: detail: xc_dom_parse_elf_kernel: xen-3.0-x86_32p: 0xc1000000 -> 0xc175f000
> domainbuilder: detail: xc_dom_mem_init: mem 1024 MB, pages 0x40000 pages, 4k each
> domainbuilder: detail: xc_dom_mem_init: 0x40000 pages
> domainbuilder: detail: xc_dom_boot_mem_init: called
> domainbuilder: detail: x86_compat: guest xen-3.0-x86_32p, address size 32
> domainbuilder: detail: xc_dom_malloc : 2048 kB
> domainbuilder: detail: xc_dom_build_image: called
> domainbuilder: detail: xc_dom_alloc_segment: kernel : 0xc1000000 -> 0xc175f000 (pfn 0x1000 + 0x75f pages)
> domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 0x1000+0x75f at 0x7fa8fcc96000
> xc: detail: elf_load_binary: phdr 0 at 0x0x7fa8fcc96000 -> 0x0x7fa8fd0a2000
> xc: detail: elf_load_binary: phdr 1 at 0x0x7fa8fd0a2000 -> 0x0x7fa8fd131000
> domainbuilder: detail: xc_dom_alloc_segment: phys2mach : 0xc175f000 -> 0xc185f000 (pfn 0x175f + 0x100 pages)
> domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 0x175f+0x100 at 0x7fa900028000
> domainbuilder: detail: xc_dom_alloc_page : start info : 0xc185f000 (pfn 0x185f)
> domainbuilder: detail: xc_dom_alloc_page : xenstore : 0xc1860000 (pfn 0x1860)
> domainbuilder: detail: xc_dom_alloc_page : console : 0xc1861000 (pfn 0x1861)
> domainbuilder: detail: nr_page_tables: 0x00000000ffffffff/32: 0x0000000000000000 -> 0x00000000ffffffff, 1 table(s)
> domainbuilder: detail: nr_page_tables: 0x000000003fffffff/30: 0x00000000c0000000 -> 0x00000000ffffffff, 1 table(s)
> domainbuilder: detail: nr_page_tables: 0x00000000001fffff/21: 0x00000000c0000000 -> 0x00000000c1bfffff, 14 table(s)
> domainbuilder: detail: xc_dom_alloc_segment: page tables : 0xc1862000 -> 0xc1872000 (pfn 0x1862 + 0x10 pages)
> domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 0x1862+0x10 at 0x7fa900018000
> domainbuilder: detail: xc_dom_alloc_page : boot stack : 0xc1872000 (pfn 0x1872)
> domainbuilder: detail: xc_dom_build_image : virt_alloc_end : 0xc1873000
> domainbuilder: detail: xc_dom_build_image : virt_pgtab_end : 0xc1c00000
> domainbuilder: detail: xc_dom_boot_image: called
> domainbuilder: detail: arch_setup_bootearly: doing nothing
> domainbuilder: detail: xc_dom_compat_check: supported guest type: xen-3.0-x86_64
> domainbuilder: detail: xc_dom_compat_check: supported guest type: xen-3.0-x86_32p <= matches
> domainbuilder: detail: xc_dom_compat_check: supported guest type: hvm-3.0-x86_32
> domainbuilder: detail: xc_dom_compat_check: supported guest type: hvm-3.0-x86_32p
> domainbuilder: detail: xc_dom_compat_check: supported guest type: hvm-3.0-x86_64
> domainbuilder: detail: xc_dom_update_guest_p2m: dst 32bit, pages 0x40000
> domainbuilder: detail: clear_page: pfn 0x1861, mfn 0x31ac5a
> domainbuilder: detail: clear_page: pfn 0x1860, mfn 0x31ac5b
> domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 0x185f+0x1 at 0x7fa900138000
> domainbuilder: detail: start_info_x86_32: called
> domainbuilder: detail: setup_hypercall_page: vaddr=0xc1001000 pfn=0x1001
> domainbuilder: detail: domain builder memory footprint
> domainbuilder: detail: allocated
> domainbuilder: detail: malloc : 2101 kB
> domainbuilder: detail: anon mmap : 0 bytes
> domainbuilder: detail: mapped
> domainbuilder: detail: file mmap : 6233 kB
> domainbuilder: detail: domU mmap : 8640 kB
> domainbuilder: detail: arch_setup_bootlate: shared_info: pfn 0x0, mfn 0xb8800
> domainbuilder: detail: shared_info_x86_32: called
> domainbuilder: detail: vcpu_x86_32: called
> domainbuilder: detail: vcpu_x86_32: cr3: pfn 0x1862 mfn 0x31ac59
> domainbuilder: detail: launch_vm: called, ctxt=0x7fffe3521820
> domainbuilder: detail: xc_dom_release: called
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=xvda1 spec.backend=qdisk
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=xvda1 spec.backend=qdisk
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=xvda1 spec.backend=qdisk
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=xvda1 spec.backend=qdisk
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=xvda1 spec.backend=qdisk
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=xvda1 spec.backend=qdisk
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=xvda2 spec.backend=qdisk
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=xvda3 spec.backend=phy
> libxl: debug: libxl_event.c:558:libxl__ev_xswatch_register: watch w=0xf292b8 wpath=/local/domain/0/backend/vbd/6/51715/state token=3/0: register slotnum=3
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=xvda4 spec.backend=phy
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=xvda4 spec.backend=phy
> libxl: debug: libxl_event.c:558:libxl__ev_xswatch_register: watch w=0xf29bb8 wpath=/local/domain/0/backend/vbd/6/51716/state token=2/1: register slotnum=2
> libxl: debug: libxl_create.c:1205:do_domain_create: ao 0xf242c0: inprogress: poller=0xf246a0, flags=i
> libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0xf292b8 wpath=/local/domain/0/backend/vbd/6/51715/state token=3/0: event epath=/local/domain/0/backend/vbd/6/51715/state
> libxl: debug: libxl_event.c:642:devstate_watch_callback: backend /local/domain/0/backend/vbd/6/51715/state wanted state 2 ok
> libxl: debug: libxl_event.c:595:libxl__ev_xswatch_deregister: watch w=0xf292b8 wpath=/local/domain/0/backend/vbd/6/51715/state token=3/0: deregister slotnum=3
> libxl: debug: libxl_event.c:607:libxl__ev_xswatch_deregister: watch w=0xf292b8: deregister unregistered
> libxl: debug: libxl_device.c:917:device_hotplug: calling hotplug script: /etc/xen/scripts/block add
> libxl: debug: libxl_event.c:472:watchfd_callback: watch epath=/local/domain/0/backend/vbd/6/51715/state token=3/0: empty slot
> libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0xf29bb8 wpath=/local/domain/0/backend/vbd/6/51716/state token=2/1: event epath=/local/domain/0/backend/vbd/6/51716/state
> libxl: debug: libxl_event.c:642:devstate_watch_callback: backend /local/domain/0/backend/vbd/6/51716/state wanted state 2 ok
> libxl: debug: libxl_event.c:595:libxl__ev_xswatch_deregister: watch w=0xf29bb8 wpath=/local/domain/0/backend/vbd/6/51716/state token=2/1: deregister slotnum=2
> libxl: debug: libxl_event.c:607:libxl__ev_xswatch_deregister: watch w=0xf29bb8: deregister unregistered
> libxl: debug: libxl_device.c:917:device_hotplug: calling hotplug script: /etc/xen/scripts/block add
> libxl: debug: libxl_event.c:472:watchfd_callback: watch epath=/local/domain/0/backend/vbd/6/51716/state token=2/1: empty slot
> libxl: debug: libxl_dm.c:1148:libxl__spawn_local_dm: Spawning device-model /usr/lib/xen/bin/qemu-system-i386 with arguments:
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: /usr/lib/xen/bin/qemu-system-i386
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: -xen-domid
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: 6
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: -chardev
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-6,server,nowait
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: -mon
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: chardev=libxl-cmd,mode=control
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: -xen-attach
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: -name
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: nodi
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: -vnc
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: 0.0.0.0:10,to=99
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: -k
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: de
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: -M
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: xenpv
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: -m
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: 1025
> libxl: debug: libxl_event.c:558:libxl__ev_xswatch_register: watch w=0xf25088 wpath=/local/domain/0/device-model/6/state token=2/2: register slotnum=2
> libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0xf25088 wpath=/local/domain/0/device-model/6/state token=2/2: event epath=/local/domain/0/device-model/6/state
> libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0xf25088 wpath=/local/domain/0/device-model/6/state token=2/2: event epath=/local/domain/0/device-model/6/state
> libxl: debug: libxl_event.c:595:libxl__ev_xswatch_deregister: watch w=0xf25088 wpath=/local/domain/0/device-model/6/state token=2/2: deregister slotnum=2
> libxl: debug: libxl_event.c:607:libxl__ev_xswatch_deregister: watch w=0xf25088: deregister unregistered
> libxl: debug: libxl_qmp.c:696:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-6
> libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: qmp
> libxl: debug: libxl_qmp.c:556:qmp_send_prepare: next qmp command: '{"execute":"qmp_capabilities","id":1}'
> libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: return
> libxl: debug: libxl_qmp.c:556:qmp_send_prepare: next qmp command: '{"execute":"query-chardev","id":2}'
> libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: return
> libxl: debug: libxl_qmp.c:556:qmp_send_prepare: next qmp command: '{"execute":"query-vnc","id":3}'
> libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: return
> libxl: debug: libxl_event.c:558:libxl__ev_xswatch_register: watch w=0xf2da08 wpath=/local/domain/0/backend/vif/6/0/state token=2/3: register slotnum=2
> libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0xf2da08 wpath=/local/domain/0/backend/vif/6/0/state token=2/3: event epath=/local/domain/0/backend/vif/6/0/state
> libxl: debug: libxl_event.c:646:devstate_watch_callback: backend /local/domain/0/backend/vif/6/0/state wanted state 2 still waiting state 1
> libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0xf2da08 wpath=/local/domain/0/backend/vif/6/0/state token=2/3: event epath=/local/domain/0/backend/vif/6/0/state
> libxl: debug: libxl_event.c:642:devstate_watch_callback: backend /local/domain/0/backend/vif/6/0/state wanted state 2 ok
> libxl: debug: libxl_event.c:595:libxl__ev_xswatch_deregister: watch w=0xf2da08 wpath=/local/domain/0/backend/vif/6/0/state token=2/3: deregister slotnum=2
> libxl: debug: libxl_event.c:607:libxl__ev_xswatch_deregister: watch w=0xf2da08: deregister unregistered
> libxl: debug: libxl_device.c:917:device_hotplug: calling hotplug script: /etc/xen/scripts/vif-bridge online
> libxl: debug: libxl_pci.c:85:libxl__create_pci_backend: Creating pci backend
> libxl: debug: libxl_event.c:1736:libxl__ao_progress_report: ao 0xf242c0: progress report: ignored
> libxl: debug: libxl_event.c:1568:libxl__ao_complete: ao 0xf242c0: complete, rc=0
> libxl: debug: libxl_event.c:1540:libxl__ao__destroy: ao 0xf242c0: destroy
> xc: debug: hypercall buffer: total allocations:509 total releases:509
> xc: debug: hypercall buffer: current allocations:0 maximum allocations:4
> xc: debug: hypercall buffer: cache current size:4
> xc: debug: hypercall buffer: cache hits:499 misses:4 toobig:6
> Parsing config from /opt/xen/nodi.cfg
> Daemon running with PID 9501
> libxl: debug: libxl_create.c:1192:do_domain_create: ao 0x1c4f2c0: create: how=(nil) callback=(nil) poller=0x1c4f6a0
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=xvda1 spec.backend=unknown
> libxl: debug: libxl_device.c:175:disk_try_backend: Disk vdev=xvda1, backend phy unsuitable as phys path not a block device
> libxl: debug: libxl_device.c:184:disk_try_backend: Disk vdev=xvda1, backend tap unsuitable because blktap not available
> libxl: debug: libxl_device.c:265:libxl__device_disk_set_backend: Disk vdev=xvda1, using backend qdisk
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=xvda2 spec.backend=unknown
> libxl: debug: libxl_device.c:175:disk_try_backend: Disk vdev=xvda2, backend phy unsuitable as phys path not a block device
> libxl: debug: libxl_device.c:184:disk_try_backend: Disk vdev=xvda2, backend tap unsuitable because blktap not available
> libxl: debug: libxl_device.c:265:libxl__device_disk_set_backend: Disk vdev=xvda2, using backend qdisk
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=xvda3 spec.backend=unknown
> libxl: debug: libxl_device.c:265:libxl__device_disk_set_backend: Disk vdev=xvda3, using backend phy
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=xvda4 spec.backend=unknown
> libxl: debug: libxl_device.c:265:libxl__device_disk_set_backend: Disk vdev=xvda4, using backend phy
> libxl: debug: libxl_create.c:694:initiate_domain_create: running bootloader
> libxl: debug: libxl_bootloader.c:327:libxl__bootloader_run: no bootloader configured, using user supplied kernel
> libxl: debug: libxl_event.c:607:libxl__ev_xswatch_deregister: watch w=0x1c4fe50: deregister unregistered
> libxl: debug: libxl_numa.c:435:libxl__get_numa_candidate: New best NUMA placement candidate found: nr_nodes=1, nr_cpus=4, nr_vcpus=8, free_memkb=7025
> libxl: detail: libxl_dom.c:193:numa_place_domain: NUMA placement candidate with 1 nodes, 4 cpus and 7025 KB free selected
> libxl: debug: libxl_x86.c:82:e820_sanitize: Memory: 524288kB End of RAM: 0x20000 (PFN) Delta: 0kB, PCI start: 524288kB (0x20000 PFN), Balloon 0kB
>
> libxl: debug: libxl_x86.c:201:e820_sanitize: : [0 -> 20000] RAM
> libxl: debug: libxl_x86.c:201:e820_sanitize: : [20000 -> 20200] Reserved
> libxl: debug: libxl_x86.c:201:e820_sanitize: : [20200 -> 40004] Unusable
> libxl: debug: libxl_x86.c:201:e820_sanitize: : [40004 -> 40005] Reserved
> libxl: debug: libxl_x86.c:201:e820_sanitize: : [40005 -> d9cbf] Unusable
> libxl: debug: libxl_x86.c:201:e820_sanitize: : [d9cbf -> da286] Reserved
> libxl: debug: libxl_x86.c:201:e820_sanitize: : [da286 -> da506] ACPI NVS
> libxl: debug: libxl_x86.c:201:e820_sanitize: : [da506 -> da50b] ACPI
> libxl: debug: libxl_x86.c:201:e820_sanitize: : [da50b -> da54e] ACPI NVS
> libxl: debug: libxl_x86.c:201:e820_sanitize: : [da54e -> dad56] Unusable
> libxl: debug: libxl_x86.c:201:e820_sanitize: : [dad56 -> daff2] Reserved
> libxl: debug: libxl_x86.c:201:e820_sanitize: : [daff2 -> db000] Unusable
> libxl: debug: libxl_x86.c:201:e820_sanitize: : [db800 -> dfa00] Reserved
> libxl: debug: libxl_x86.c:201:e820_sanitize: : [f8000 -> fc000] Reserved
> libxl: debug: libxl_x86.c:201:e820_sanitize: : [fec00 -> fec01] Reserved
> libxl: debug: libxl_x86.c:201:e820_sanitize: : [fed00 -> fed04] Reserved
> libxl: debug: libxl_x86.c:201:e820_sanitize: : [fed1c -> fed20] Reserved
> libxl: debug: libxl_x86.c:201:e820_sanitize: : [fee00 -> fee01] Reserved
> libxl: debug: libxl_x86.c:201:e820_sanitize: : [ff000 -> 100000] Reserved
> domainbuilder: detail: xc_dom_allocate: cmdline="root=/dev/xvda1 rootfstype=ext4 rootfsflags=barrier=0 console=hvc0 xencons=hvc xen-fbfront.video=6,1024,768 xenfb.video=6,1024,768 noirqdebug elevator=noop cifs.enable_oplocks=0 netconsole=6666@10.75.157.21/eth0,6666@10.75.157.46/BC:5F:F4:3B:63:9D", features="(null)"
> libxl: debug: libxl_dom.c:384:libxl__build_pv: pv kernel mapped 0 path /boot/kernel-3.7.3-xenU
>
> domainbuilder: detail: xc_dom_kernel_file: filename="/boot/kernel-3.7.3-xenU"
> domainbuilder: detail: xc_dom_malloc_filemap : 6233 kB
> domainbuilder: detail: xc_dom_boot_xen_init: ver 4.2, caps xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
> domainbuilder: detail: xc_dom_parse_image: called
> domainbuilder: detail: xc_dom_find_loader: trying multiboot-binary loader ...
> domainbuilder: detail: loader probe failed
> domainbuilder: detail: xc_dom_find_loader: trying Linux bzImage loader ...
> domainbuilder: detail: xc_dom_probe_bzimage_kernel: kernel is not a bzImage
> domainbuilder: detail: loader probe failed
> domainbuilder: detail: xc_dom_find_loader: trying ELF-generic loader ...
> domainbuilder: detail: loader probe OK
> xc: detail: elf_parse_binary: phdr: paddr=0x1000000 memsz=0x40c000
> xc: detail: elf_parse_binary: phdr: paddr=0x140c000 memsz=0x353000
> xc: detail: elf_parse_binary: memory: 0x1000000 -> 0x175f000
> xc: detail: elf_xen_parse_note: GUEST_OS = "linux"
> xc: detail: elf_xen_parse_note: GUEST_VERSION = "2.6"
> xc: detail: elf_xen_parse_note: XEN_VERSION = "xen-3.0"
> xc: detail: elf_xen_parse_note: VIRT_BASE = 0xc0000000
> xc: detail: elf_xen_parse_note: ENTRY = 0xc143c24c
> xc: detail: elf_xen_parse_note: HYPERCALL_PAGE = 0xc1001000
> xc: detail: elf_xen_parse_note: FEATURES = "!writable_page_tables|pae_pgdir_above_4gb"
> xc: detail: elf_xen_parse_note: PAE_MODE = "yes"
> xc: detail: elf_xen_parse_note: LOADER = "generic"
> xc: detail: elf_xen_parse_note: unknown xen elf note (0xd)
> xc: detail: elf_xen_parse_note: SUSPEND_CANCEL = 0x1
> xc: detail: elf_xen_parse_note: HV_START_LOW = 0xf5800000
> xc: detail: elf_xen_parse_note: PADDR_OFFSET = 0x0
> xc: detail: elf_xen_addr_calc_check: addresses:
> xc: detail: virt_base = 0xc0000000
> xc: detail: elf_paddr_offset = 0x0
> xc: detail: virt_offset = 0xc0000000
> xc: detail: virt_kstart = 0xc1000000
> xc: detail: virt_kend = 0xc175f000
> xc: detail: virt_entry = 0xc143c24c
> xc: detail: p2m_base = 0xffffffffffffffff
> domainbuilder: detail: xc_dom_parse_elf_kernel: xen-3.0-x86_32p: 0xc1000000 -> 0xc175f000
> domainbuilder: detail: xc_dom_mem_init: mem 512 MB, pages 0x20000 pages, 4k each
> domainbuilder: detail: xc_dom_mem_init: 0x20000 pages
> domainbuilder: detail: xc_dom_boot_mem_init: called
> domainbuilder: detail: x86_compat: guest xen-3.0-x86_32p, address size 32
> domainbuilder: detail: xc_dom_malloc : 1024 kB
> domainbuilder: detail: xc_dom_build_image: called
> domainbuilder: detail: xc_dom_alloc_segment: kernel : 0xc1000000 -> 0xc175f000 (pfn 0x1000 + 0x75f pages)
> domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 0x1000+0x75f at 0x7f737cc49000
> xc: detail: elf_load_binary: phdr 0 at 0x0x7f737cc49000 -> 0x0x7f737d055000
> xc: detail: elf_load_binary: phdr 1 at 0x0x7f737d055000 -> 0x0x7f737d0e4000
> domainbuilder: detail: xc_dom_alloc_segment: phys2mach : 0xc175f000 -> 0xc17df000 (pfn 0x175f + 0x80 pages)
> domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 0x175f+0x80 at 0x7f737fd59000
> domainbuilder: detail: xc_dom_alloc_page : start info : 0xc17df000 (pfn 0x17df)
> domainbuilder: detail: xc_dom_alloc_page : xenstore : 0xc17e0000 (pfn 0x17e0)
> domainbuilder: detail: xc_dom_alloc_page : console : 0xc17e1000 (pfn 0x17e1)
> domainbuilder: detail: nr_page_tables: 0x00000000ffffffff/32: 0x0000000000000000 -> 0x00000000ffffffff, 1 table(s)
> domainbuilder: detail: nr_page_tables: 0x000000003fffffff/30: 0x00000000c0000000 -> 0x00000000ffffffff, 1 table(s)
> domainbuilder: detail: nr_page_tables: 0x00000000001fffff/21: 0x00000000c0000000 -> 0x00000000c1bfffff, 14 table(s)
> domainbuilder: detail: xc_dom_alloc_segment: page tables : 0xc17e2000 -> 0xc17f2000 (pfn 0x17e2 + 0x10 pages)
> domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 0x17e2+0x10 at 0x7f737fd49000
> domainbuilder: detail: xc_dom_alloc_page : boot stack : 0xc17f2000 (pfn 0x17f2)
> domainbuilder: detail: xc_dom_build_image : virt_alloc_end : 0xc17f3000
> domainbuilder: detail: xc_dom_build_image : virt_pgtab_end : 0xc1c00000
> domainbuilder: detail: xc_dom_boot_image: called
> domainbuilder: detail: arch_setup_bootearly: doing nothing
> domainbuilder: detail: xc_dom_compat_check: supported guest type: xen-3.0-x86_64
> domainbuilder: detail: xc_dom_compat_check: supported guest type: xen-3.0-x86_32p <= matches
> domainbuilder: detail: xc_dom_compat_check: supported guest type: hvm-3.0-x86_32
> domainbuilder: detail: xc_dom_compat_check: supported guest type: hvm-3.0-x86_32p
> domainbuilder: detail: xc_dom_compat_check: supported guest type: hvm-3.0-x86_64
> domainbuilder: detail: xc_dom_update_guest_p2m: dst 32bit, pages 0x20000
> domainbuilder: detail: clear_page: pfn 0x17e1, mfn 0x338cda
> domainbuilder: detail: clear_page: pfn 0x17e0, mfn 0x338cdb
> domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 0x17df+0x1 at 0x7f737feea000
> domainbuilder: detail: start_info_x86_32: called
> domainbuilder: detail: setup_hypercall_page: vaddr=0xc1001000 pfn=0x1001
> domainbuilder: detail: domain builder memory footprint
> domainbuilder: detail: allocated
> domainbuilder: detail: malloc : 1074 kB
> domainbuilder: detail: anon mmap : 0 bytes
> domainbuilder: detail: mapped
> domainbuilder: detail: file mmap : 6233 kB
> domainbuilder: detail: domU mmap : 8128 kB
> domainbuilder: detail: arch_setup_bootlate: shared_info: pfn 0x0, mfn 0xb8819
> domainbuilder: detail: shared_info_x86_32: called
> domainbuilder: detail: vcpu_x86_32: called
> domainbuilder: detail: vcpu_x86_32: cr3: pfn 0x17e2 mfn 0x338cd9
> domainbuilder: detail: launch_vm: called, ctxt=0x7fff55001b50
> domainbuilder: detail: xc_dom_release: called
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=xvda1 spec.backend=qdisk
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=xvda1 spec.backend=qdisk
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=xvda1 spec.backend=qdisk
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=xvda1 spec.backend=qdisk
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=xvda1 spec.backend=qdisk
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=xvda1 spec.backend=qdisk
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=xvda2 spec.backend=qdisk
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=xvda3 spec.backend=phy
> libxl: debug: libxl_event.c:558:libxl__ev_xswatch_register: watch w=0x1c542b8 wpath=/local/domain/0/backend/vbd/5/51715/state token=3/0: register slotnum=3
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=xvda4 spec.backend=phy
> libxl: debug: libxl_device.c:229:libxl__device_disk_set_backend: Disk vdev=xvda4 spec.backend=phy
> libxl: debug: libxl_event.c:558:libxl__ev_xswatch_register: watch w=0x1c54bb8 wpath=/local/domain/0/backend/vbd/5/51716/state token=2/1: register slotnum=2
> libxl: debug: libxl_create.c:1205:do_domain_create: ao 0x1c4f2c0: inprogress: poller=0x1c4f6a0, flags=i
> libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x1c542b8 wpath=/local/domain/0/backend/vbd/5/51715/state token=3/0: event epath=/local/domain/0/backend/vbd/5/51715/state
> libxl: debug: libxl_event.c:642:devstate_watch_callback: backend /local/domain/0/backend/vbd/5/51715/state wanted state 2 ok
> libxl: debug: libxl_event.c:595:libxl__ev_xswatch_deregister: watch w=0x1c542b8 wpath=/local/domain/0/backend/vbd/5/51715/state token=3/0: deregister slotnum=3
> libxl: debug: libxl_event.c:607:libxl__ev_xswatch_deregister: watch w=0x1c542b8: deregister unregistered
> libxl: debug: libxl_device.c:917:device_hotplug: calling hotplug script: /etc/xen/scripts/block add
> libxl: debug: libxl_event.c:472:watchfd_callback: watch epath=/local/domain/0/backend/vbd/5/51715/state token=3/0: empty slot
> libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x1c54bb8 wpath=/local/domain/0/backend/vbd/5/51716/state token=2/1: event epath=/local/domain/0/backend/vbd/5/51716/state
> libxl: debug: libxl_event.c:642:devstate_watch_callback: backend /local/domain/0/backend/vbd/5/51716/state wanted state 2 ok
> libxl: debug: libxl_event.c:595:libxl__ev_xswatch_deregister: watch w=0x1c54bb8 wpath=/local/domain/0/backend/vbd/5/51716/state token=2/1: deregister slotnum=2
> libxl: debug: libxl_event.c:607:libxl__ev_xswatch_deregister: watch w=0x1c54bb8: deregister unregistered
> libxl: debug: libxl_device.c:917:device_hotplug: calling hotplug script: /etc/xen/scripts/block add
> libxl: debug: libxl_event.c:472:watchfd_callback: watch epath=/local/domain/0/backend/vbd/5/51716/state token=2/1: empty slot
> libxl: debug: libxl_dm.c:1148:libxl__spawn_local_dm: Spawning device-model /usr/lib/xen/bin/qemu-system-i386 with arguments:
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: /usr/lib/xen/bin/qemu-system-i386
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: -xen-domid
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: 5
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: -chardev
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-5,server,nowait
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: -mon
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: chardev=libxl-cmd,mode=control
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: -xen-attach
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: -name
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: nodi
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: -vnc
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: 0.0.0.0:10,to=99
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: -k
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: de
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: -M
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: xenpv
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: -m
> libxl: debug: libxl_dm.c:1150:libxl__spawn_local_dm: 513
> libxl: debug: libxl_event.c:558:libxl__ev_xswatch_register: watch w=0x1c50088 wpath=/local/domain/0/device-model/5/state token=2/2: register slotnum=2
> libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x1c50088 wpath=/local/domain/0/device-model/5/state token=2/2: event epath=/local/domain/0/device-model/5/state
> libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x1c50088 wpath=/local/domain/0/device-model/5/state token=2/2: event epath=/local/domain/0/device-model/5/state
> libxl: debug: libxl_event.c:595:libxl__ev_xswatch_deregister: watch w=0x1c50088 wpath=/local/domain/0/device-model/5/state token=2/2: deregister slotnum=2
> libxl: debug: libxl_event.c:607:libxl__ev_xswatch_deregister: watch w=0x1c50088: deregister unregistered
> libxl: debug: libxl_qmp.c:696:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-5
> libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: qmp
> libxl: debug: libxl_qmp.c:556:qmp_send_prepare: next qmp command: '{"execute":"qmp_capabilities","id":1}'
> libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: return
> libxl: debug: libxl_qmp.c:556:qmp_send_prepare: next qmp command: '{"execute":"query-chardev","id":2}'
> libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: return
> libxl: debug: libxl_qmp.c:556:qmp_send_prepare: next qmp command: '{"execute":"query-vnc","id":3}'
> libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: return
> libxl: debug: libxl_event.c:558:libxl__ev_xswatch_register: watch w=0x1c58a08 wpath=/local/domain/0/backend/vif/5/0/state token=2/3: register slotnum=2
> libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x1c58a08 wpath=/local/domain/0/backend/vif/5/0/state token=2/3: event epath=/local/domain/0/backend/vif/5/0/state
> libxl: debug: libxl_event.c:646:devstate_watch_callback: backend /local/domain/0/backend/vif/5/0/state wanted state 2 still waiting state 1
> libxl: debug: libxl_event.c:503:watchfd_callback: watch w=0x1c58a08 wpath=/local/domain/0/backend/vif/5/0/state token=2/3: event epath=/local/domain/0/backend/vif/5/0/state
> libxl: debug: libxl_event.c:642:devstate_watch_callback: backend /local/domain/0/backend/vif/5/0/state wanted state 2 ok
> libxl: debug: libxl_event.c:595:libxl__ev_xswatch_deregister: watch w=0x1c58a08 wpath=/local/domain/0/backend/vif/5/0/state token=2/3: deregister slotnum=2
> libxl: debug: libxl_event.c:607:libxl__ev_xswatch_deregister: watch w=0x1c58a08: deregister unregistered
> libxl: debug: libxl_device.c:917:device_hotplug: calling hotplug script: /etc/xen/scripts/vif-bridge online
> libxl: debug: libxl_pci.c:85:libxl__create_pci_backend: Creating pci backend
> libxl: debug: libxl_event.c:1736:libxl__ao_progress_report: ao 0x1c4f2c0: progress report: ignored
> libxl: debug: libxl_event.c:1568:libxl__ao_complete: ao 0x1c4f2c0: complete, rc=0
> libxl: debug: libxl_event.c:1540:libxl__ao__destroy: ao 0x1c4f2c0: destroy
> xc: debug: hypercall buffer: total allocations:509 total releases:509
> xc: debug: hypercall buffer: current allocations:0 maximum allocations:4
> xc: debug: hypercall buffer: cache current size:4
> xc: debug: hypercall buffer: cache hits:499 misses:4 toobig:6
> Parsing config from /opt/xen/nodi.cfg
> Daemon running with PID 9309
^ permalink raw reply [flat|nested] 9+ messages in thread