[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Xen HVM Guest fails (errors) to launch on Opensuse 12.2's Xen 4.2 + 'xl' toolstack



Migrating from a stable/production install of Opensuse 12.1 + Xen
4.{1,2} + 'xm' toolstack to Opensuse 12.2 + Xen 4.2 + xl toolstack +
Opensuse 12.2 has been problematic.

To simplify troubleshooting, I'm  attempting to init a new/clean 12.2
Guest

The procedure is to init an HVM Guest, boot to a physically-attached
Opensuse 12.2 Install DVD, and install a new/clean 12.2 Guest.

Atm, the guest is failing to launch, with a series of errors:

        ...
        libxl: error: libxl_create.c:901:domcreate_rebuild_done: cannot
        (re-)build domain: -3
        libxl: error: libxl_dm.c:1251:libxl__destroy_device_model: could
        not find device-model's pid for dom 6
        libxl: error: libxl.c:1429:libxl__destroy_domid:
        libxl__destroy_device_model failed for 6
        ...

 @wiki (http://wiki.xen.org/wiki/Xen_4.2_Release_Notes) we're advised:

        "... it is strongly recommended that users evaluate Xen 4.2 with
        XL for their use cases and report any omissions or blockers
        ...".

I was advised @ #xen to 'report' this to this list, rather than to our
distro (already done anyway @ 
https://bugzilla.novell.com/show_bug.cgi?id=782835).

System info,

        lsb_release -a
                LSB Version:    n/a
                Distributor ID: SUSE LINUX
                Description:    openSUSE 12.2 (x86_64)
                Release:        12.2
                Codename:       Mantis

        uname -a
                Linux test 3.4.6-2.10-xen #1 SMP Thu Jul 26 09:36:26 UTC
                2012 (641c197) x86_64 x86_64 x86_64 GNU/Linux

pkg info,

        rpm -qa | grep -i xen
                ipset-kmp-xen-6.12_k3.4.6_2.10-2.3.1.x86_64
                kernel-xen-3.4.6-2.10.1.x86_64
                kernel-xen-devel-3.4.6-2.10.1.x86_64
                patterns-openSUSE-xen_server-12.2-5.5.1.x86_64
                xen-4.2.0_01-204.1.x86_64
                xen-devel-4.2.0_01-204.1.x86_64
                xen-doc-html-4.2.0_01-204.1.x86_64
                xen-doc-pdf-4.2.0_01-204.1.x86_64
                xen-kmp-default-4.2.0_01_k3.4.6_2.10-204.1.x86_64
                xen-libs-4.2.0_01-204.1.x86_64
                xen-tools-4.2.0_01-204.1.x86_64

Xen/xl info,

        xl info
                host                   : test
                release                : 3.4.6-2.10-xen
                version                : #1 SMP Thu Jul 26 09:36:26 UTC
                2012 (641c197)
                machine                : x86_64
                nr_cpus                : 4
                max_cpu_id             : 5
                nr_nodes               : 1
                cores_per_socket       : 4
                threads_per_core       : 1
                cpu_mhz                : 2806
                hw_caps                :
                
178bf3ff:efd3fbff:00000000:00001310:00802001:00000000:000037ff:00000000
                virt_caps              : hvm
                total_memory           : 7935
                free_memory            : 6844
                sharing_freed_memory   : 0
                sharing_used_memory    : 0
                free_cpus              : 0
                xen_major              : 4
                xen_minor              : 2
                xen_extra              : .0_01-204.1
                xen_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
                xen_scheduler          : credit
                xen_pagesize           : 4096
                platform_params        : virt_start=0xffff800000000000
                xen_changeset          : 25844
                xen_commandline        : conring_size=64
                vga=gfx-1280x1024x16 log_buf_len=4M console=vga
                console_timestamps dom0_mem=1024M dom0_vcpus_pin=true
                dom0_max_vcpus=4 sched=credit apic_verbosity=verbose
                iommu=verbose cpuidle=1 cpufreq=xen clocksource=acpi
                numa=on
                cc_compiler            : gcc (SUSE Linux) 4.7.1 20120723
                [gcc-4_7-branch revision 189773
                cc_compile_by          : abuild
                cc_compile_domain      :
                cc_compile_date        : Fri Sep 28 15:30:52 UTC 2012
                xend_config_format     : 4

Verifying HVM availability,

        xl dmesg | grep -i hvm
                (XEN) [2012-09-28 22:53:56] HVM: ASIDs enabled.
                (XEN) [2012-09-28 22:53:56] HVM: SVM enabled
                (XEN) [2012-09-28 22:53:56] HVM: Hardware Assisted
                Paging (HAP) detected
                (XEN) [2012-09-28 22:53:56] HVM: HAP page sizes: 4kB,
                2MB, 1GB

The config I'm using,

        cat test.cfg
                name = 'test'
                builder = 'hvm'
                acpi = 1
                apic = 1
                boot = 'f'
                disk = [ 'phy:/dev/VG0/boot,xvda,w',
                'phy:/dev/VG0/swap,xvdb,w', 'phy:/dev/VG0/root,xvdc,w',
                'phy:/dev/cdrom,xvdd:cdrom,r',]
                vif          = [ 'mac=00:16:3E:55:00:01, model=rtl8139,
                type=ioemu, bridge=br0, vifname=vifO',]
                vfb          = [ 'type=vnc, vncdisplay=1,
                vnclisten=127.0.0.1' ]
                maxmem       = 1024
                vcpus        = 4
                localtime    = 0
                netif        = 'yes'
                on_shutdown  = 'destroy'
                on_reboot    = 'destroy'
                on_crash     = 'destroy'

The failing launch cmd,

        xl -vvv create -c /home/ar/test.cfg
                Parsing config from /home/ar/test.cfg
                libxl: debug: libxl_create.c:1173:do_domain_create: ao
                0x7e1c80: create: how=(nil) callback=(nil)
                poller=0x7e1ce0
                libxl: debug:
                libxl_device.c:229:libxl__device_disk_set_backend: Disk
                vdev=xvda spec.backend=unknown
                libxl: debug:
                libxl_device.c:265:libxl__device_disk_set_backend: Disk
                vdev=xvda, using backend phy
                libxl: debug:
                libxl_device.c:229:libxl__device_disk_set_backend: Disk
                vdev=xvdb spec.backend=unknown
                libxl: debug:
                libxl_device.c:265:libxl__device_disk_set_backend: Disk
                vdev=xvdb, using backend phy
                libxl: debug:
                libxl_device.c:229:libxl__device_disk_set_backend: Disk
                vdev=xvdc spec.backend=unknown
                libxl: debug:
                libxl_device.c:265:libxl__device_disk_set_backend: Disk
                vdev=xvdc, using backend phy
                libxl: debug:
                libxl_device.c:229:libxl__device_disk_set_backend: Disk
                vdev=xvdd spec.backend=unknown
                libxl: debug:
                libxl_device.c:265:libxl__device_disk_set_backend: Disk
                vdev=xvdd, using backend phy
                libxl: debug: libxl_create.c:677:initiate_domain_create:
                running bootloader
                libxl: debug:
                libxl_bootloader.c:321:libxl__bootloader_run: not a PV
                domain, skipping bootloader
                libxl: debug:
                libxl_event.c:561:libxl__ev_xswatch_deregister: watch
                w=0x7e2690: 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=6842
                libxl: detail: libxl_dom.c:192:numa_place_domain: NUMA
                placement candidate with 1 nodes, 4 cpus and 6842 KB
                free selected
                xc: detail: elf_parse_binary: phdr: paddr=0x100000
                memsz=0x9e028
                xc: detail: elf_parse_binary: memory: 0x100000 ->
                0x19e028
                xc: info: VIRTUAL MEMORY ARRANGEMENT:
                  Loader:        0000000000100000->000000000019e028
                  TOTAL:         0000000000000000->000000007f800000
                  ENTRY ADDRESS: 0000000000100000
                xc: info: PHYSICAL MEMORY ALLOCATION:
                  4KB PAGES: 0x0000000000000200
                  2MB PAGES: 0x00000000000003fb
                  1GB PAGES: 0x0000000000000000
                xc: detail: elf_load_binary: phdr 0 at 0x0x7f8d58910000
                -> 0x0x7f8d589a4eb5
                libxl: error: libxl_create.c:901:domcreate_rebuild_done:
                cannot (re-)build domain: -3
                libxl: error:
                libxl_dm.c:1251:libxl__destroy_device_model: could not
                find device-model's pid for dom 6
                libxl: error: libxl.c:1429:libxl__destroy_domid:
                libxl__destroy_device_model failed for 6
                libxl: debug: libxl_event.c:1497:libxl__ao_complete: ao
                0x7e1c80: complete, rc=-3
                libxl: debug: libxl_create.c:1186:do_domain_create: ao
                0x7e1c80: inprogress: poller=0x7e1ce0, flags=ic
                libxl: debug: libxl_event.c:1469:libxl__ao__destroy: ao
                0x7e1c80: destroy
                xc: debug: hypercall buffer: total allocations:871 total
                releases:871
                xc: debug: hypercall buffer: current allocations:0
                maximum allocations:4
                xc: debug: hypercall buffer: cache current size:4
                xc: debug: hypercall buffer: cache hits:863 misses:4
                toobig:4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.