https://bugzilla.novell.com/show_bug.cgi?id=782341 https://bugzilla.novell.com/show_bug.cgi?id=782341#c2 A R <ar16@imapmail.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|ar16@imapmail.org | --- Comment #2 from A R <ar16@imapmail.org> 2012-09-26 18:19:44 UTC ---
Does it work if you use pygrub instead of domUloader?
Nope
remove bootloader and bootargs from the config
Removing as advised, cat /etc/xen/vm/test.cfg name = 'test' builder = 'linux' - bootloader = '/usr/lib/xen/boot/domUloader.py' - bootargs = '--entry=xvda1:vmlinuz-xen,/boot/initrd-xen' disk = [ 'phy:/dev/VG0/boot,xvda,w', 'phy:/dev/VG0/swap,xvdb,w', 'phy:/dev/VG0/root,xvdc,w',] root = '/dev/xvdc1' vif=['mac=00:16:3E:11:01:10,bridge=br01,vifname=vif01,script=/etc/xen/scripts/vif-bridge'] vfb = [ 'type=vnc, vncdisplay=10, vnclisten=127.0.0.1' ] extra = 'textmode=1 xencons=xvc0 noirqdebug elevator=noop' maxmem = 2048 vcpus = 2 localtime = 0 on_shutdown = 'destroy' on_reboot = 'restart' on_crash = 'destroy' Still fails, xl create -c /etc/xen/vm/test.cfg Parsing config from /etc/xen/vm/test.cfg Neither kernel nor bootloader specified Otoh, specifying the bootloader cat /etc/xen/vm/test.cfg name = 'test' builder = 'linux' - bootloader = '/usr/lib/xen/boot/domUloader.py' + bootloader = '/usr/bin/pygrub' - bootargs = '--entry=xvda1:vmlinuz-xen,/boot/initrd-xen' disk = [ 'phy:/dev/VG0/boot,xvda,w', 'phy:/dev/VG0/swap,xvdb,w', 'phy:/dev/VG0/root,xvdc,w',] root = '/dev/xvdc1' vif=['mac=00:16:3E:11:01:10,bridge=br01,vifname=vif01,script=/etc/xen/scripts/vif-bridge'] vfb = [ 'type=vnc, vncdisplay=10, vnclisten=127.0.0.1' ] extra = 'textmode=1 xencons=xvc0 noirqdebug elevator=noop' maxmem = 2048 vcpus = 2 localtime = 0 on_shutdown = 'destroy' on_reboot = 'restart' on_crash = 'destroy' outputs a rather chaotic, ---------------------------------------------------------------------------------------------------- pyGRUB version 0.6 ┌────────────────────────────────────────────────────────────────────────┐ │ Xen4 DomU -- openSUSE 12.2 │ │ │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────────────────────────────────────────────────┘ Use the ^ and ┴ keys to select which entry is highlighted. Press enter to boot the selected OS, 'e' to edit the commands before booting, 'a' to modify the kernel arguments before booting, or 'c' for a command line. Will boot selected entry in 1 seconds libxl: detail: libxl_dom.c:192:numa_place_domain: NUMA placement candidate with 1 nodes, 4 cpus and 6844 KB free selected domainbuilder: detail: xc_dom_allocate: cmdline="init=/bin/systemd root=/dev/xvdc1 resume=/dev/xvdb1 kbdtype=us headless text quiet nofb selinux=0 apparmor-0 edd=off splash=silent noshell showopts root=/dev/xvdc1 textmode=1 xencons=xvc0 noirqdebug elevator=noop", features="(null)" domainbuilder: detail: xc_dom_kernel_mem: called domainbuilder: detail: xc_dom_malloc : 11690 kB domainbuilder: detail: xc_dom_do_gunzip: unzip ok, 0x41c2f5 -> 0xb6aa98 domainbuilder: detail: xc_dom_ramdisk_mem: called 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=0x2000 memsz=0x875000 xc: detail: elf_parse_binary: phdr: paddr=0x877000 memsz=0x800e8 xc: detail: elf_parse_binary: phdr: paddr=0x8f8000 memsz=0xb080 xc: detail: elf_parse_binary: phdr: paddr=0x904000 memsz=0x15d000 xc: detail: elf_parse_binary: memory: 0x2000 -> 0xa61000 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 = 0xffffffff80000000 xc: detail: elf_xen_parse_note: PADDR_OFFSET = 0x0 xc: detail: elf_xen_parse_note: ENTRY = 0xffffffff80002000 xc: detail: elf_xen_parse_note: HYPERCALL_PAGE = 0xffffffff80003000 xc: detail: elf_xen_parse_note: unknown xen elf note (0xd) xc: detail: elf_xen_parse_note: MOD_START_PFN = 0x1 xc: detail: elf_xen_parse_note: INIT_P2M = 0xffffea0000000000 xc: detail: elf_xen_parse_note: FEATURES = "writable_page_tables|writable_descriptor_tables|auto_translated_physmap|supervisor_mode_kernel" xc: detail: elf_xen_parse_note: SUPPORTED_FEATURES = 0x80f xc: detail: elf_xen_parse_note: LOADER = "generic" xc: detail: elf_xen_parse_note: SUSPEND_CANCEL = 0x1 xc: detail: elf_xen_addr_calc_check: addresses: xc: detail: virt_base = 0xffffffff80000000 xc: detail: elf_paddr_offset = 0x0 xc: detail: virt_offset = 0xffffffff80000000 xc: detail: virt_kstart = 0xffffffff80002000 xc: detail: virt_kend = 0xffffffff80a61000 xc: detail: virt_entry = 0xffffffff80002000 xc: detail: p2m_base = 0xffffea0000000000 domainbuilder: detail: xc_dom_parse_elf_kernel: xen-3.0-x86_64: 0xffffffff80002000 -> 0xffffffff80a61000 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_64, address size 64 domainbuilder: detail: xc_dom_malloc : 2048 kB domainbuilder: detail: xc_dom_build_image: called domainbuilder: detail: xc_dom_alloc_segment: kernel : 0xffffffff80002000 -> 0xffffffff80a61000 (pfn 0x2 + 0xa5f pages) domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 0x2+0xa5f at 0x7fcb0a835000 xc: detail: elf_load_binary: phdr 0 at 0x0x7fcb0a835000 -> 0x0x7fcb0b0aa000 xc: detail: elf_load_binary: phdr 1 at 0x0x7fcb0b0aa000 -> 0x0x7fcb0b12a0e8 xc: detail: elf_load_binary: phdr 2 at 0x0x7fcb0b12b000 -> 0x0x7fcb0b136080 xc: detail: elf_load_binary: phdr 3 at 0x0x7fcb0b137000 -> 0x0x7fcb0b19d000 domainbuilder: detail: xc_dom_alloc_segment: ramdisk : 0xffffffff80a61000 -> 0xffffffff825cd000 (pfn 0xa61 + 0x1b6c pages) domainbuilder: detail: xc_dom_malloc : 164 kB domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 0xa61+0x1b6c at 0x7fcb08cc9000 domainbuilder: detail: xc_dom_do_gunzip: unzip ok, 0xd14e75 -> 0x1b6be10 domainbuilder: detail: xc_dom_alloc_segment: phys2mach : 0xffffffff825cd000 -> 0xffffffff827cd000 (pfn 0x25cd + 0x200 pages) domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 0x25cd+0x200 at 0x7fcb08ac9000 domainbuilder: detail: xc_dom_alloc_page : start info : 0xffffffff827cd000 (pfn 0x27cd) domainbuilder: detail: xc_dom_alloc_page : xenstore : 0xffffffff827ce000 (pfn 0x27ce) domainbuilder: detail: xc_dom_alloc_page : console : 0xffffffff827cf000 (pfn 0x27cf) domainbuilder: detail: nr_page_tables: 0x0000ffffffffffff/48: 0xffff000000000000 -> 0xffffffffffffffff, 1 table(s) domainbuilder: detail: nr_page_tables: 0x0000007fffffffff/39: 0xffffff8000000000 -> 0xffffffffffffffff, 1 table(s) domainbuilder: detail: nr_page_tables: 0x000000003fffffff/30: 0xffffffff80000000 -> 0xffffffffbfffffff, 1 table(s) domainbuilder: detail: nr_page_tables: 0x00000000001fffff/21: 0xffffffff80000000 -> 0xffffffff82bfffff, 22 table(s) domainbuilder: detail: xc_dom_alloc_segment: page tables : 0xffffffff827d0000 -> 0xffffffff827e9000 (pfn 0x27d0 + 0x19 pages) domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 0x27d0+0x19 at 0x7fcb135d3000 domainbuilder: detail: xc_dom_alloc_page : boot stack : 0xffffffff827e9000 (pfn 0x27e9) domainbuilder: detail: xc_dom_build_image : virt_alloc_end : 0xffffffff827ea000 domainbuilder: detail: xc_dom_build_image : virt_pgtab_end : 0xffffffff82c00000 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 <= matches domainbuilder: detail: xc_dom_compat_check: supported guest type: xen-3.0-x86_32p 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 64bit, pages 0x40000 domainbuilder: detail: clear_page: pfn 0x27cf, mfn 0x15a03e domainbuilder: detail: clear_page: pfn 0x27ce, mfn 0x15a03f domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 0x27cd+0x1 at 0x7fcb135fd000 domainbuilder: detail: start_info_x86_64: called domainbuilder: detail: setup_hypercall_page: vaddr=0xffffffff80003000 pfn=0x3 domainbuilder: detail: domain builder memory footprint Welcome to openSUSE 12.2 "Mantis" - Kernel 3.4.6-2.10-xen (xvc0). test login: ---------------------------------------------------------------------------------------------------- But is successfully launched, xl list test Name ID Mem VCPUs State Time(s) test 8 2048 2 -b---- 9.1 And accessible, ssh test 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 rpm -qa | grep -i xen xen-libs-4.2.0_01-202.1.x86_64 xen-tools-domU-4.2.0_01-202.1.x86_64 ipset-kmp-xen-6.12_k3.4.6_2.10-2.3.1.x86_64 xen-devel-4.2.0_01-202.1.x86_64 kernel-xen-3.4.6-2.10.1.x86_64 Looking at the output, there's lots of mention of 'hvm'. To be clear, this is a PV Guest ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.