[Bug 782341] New: Xen 4.2.x 'xl' toolstack fails to launch Guest; ok with 'xm'
https://bugzilla.novell.com/show_bug.cgi?id=782341 https://bugzilla.novell.com/show_bug.cgi?id=782341#c0 Summary: Xen 4.2.x 'xl' toolstack fails to launch Guest; ok with 'xm' Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: All OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Xen AssignedTo: jdouglas@suse.com ReportedBy: ar16@imapmail.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0.1 After a successful boot to Opensuse 12.2 + Xen 4.2.x, lsb_release -r Release: 12.2 rpm -qa | grep -i xen xen-kmp-default-4.2.0_01_k3.4.6_2.10-202.1.x86_64 xen-doc-html-4.2.0_01-202.1.x86_64 xen-libs-4.2.0_01-202.1.x86_64 patterns-openSUSE-xen_server-12.2-5.5.1.x86_64 kernel-xen-devel-3.4.6-2.10.1.x86_64 xen-4.2.0_01-202.1.x86_64 xen-tools-4.2.0_01-202.1.x86_64 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 xen-doc-pdf-4.2.0_01-202.1.x86_64 xen-devel-4.2.0_01-202.1.x86_64 Stopping xendomains & xend service xendomains stop service xend stop ps ax | grep xen 24 ? S 0:00 [xenwatch] 25 ? S 0:00 [xenbus] 1456 ? S< 0:00 [xen_pciback_wor] 1587 ? SL 0:00 /usr/sbin/xenstored --pid-file /var/run/xenstored.pid 1631 ? SLl 0:00 xenconsoled --pid-file=/var/run/xenconsoled.pid 1768 ? Sl 0:00 /usr/lib/xen/bin/qemu-system-i386 -xen-domid 0 -xen-attach -name dom0 -nographic -M xenpv -daemonize -monitor /dev/null 19320 pts/0 S+ 0:00 grep --color=auto xen Using a config that launches without problem using 'xm create ...', 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' Trying the 'xl' toolstack fails, xl create -c /etc/xen/vm/test.cfg Parsing config from /etc/xen/vm/test.cfg libxl: error: libxl_bootloader.c:628:bootloader_finished: bootloader failed - consult logfile /var/log/xen/bootloader.7.log libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader [19346] exited with error status 1 libxl: error: libxl_create.c:901:domcreate_rebuild_done: cannot (re-)build domain: -3 libxl: error: libxl_dom.c:34:libxl__domain_type: unable to get domain type for domid=7 Unable to attach console libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: console child [0] exited with error status 1 cat /var/log/xen/bootloader.7.log domUloader usage: domUloader [--output=fd] [--quiet] [--dryrun] [--verbose] [--args] [--help] --entry=dev:kernel[,ramdisk] physdisk [virtdisk] dev format: hd[a-p][0-9]*, xvd[a-p][0-9]*, LVM-vgname-lvname Loader for kernel and (optional) ramdisk from domU filesystem ... (c) 01/2006 Novell Inc License: GNU GPL Author: Kurt Garloff <garloff@suse.de> Atm, I'm not sure if this is an xen/xl or bootloader issue, and bug or config Reproducible: Always Steps to Reproduce: 1. 2. 3. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=782341 https://bugzilla.novell.com/show_bug.cgi?id=782341#c Jason Douglas <jdouglas@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jdouglas@suse.com AssignedTo|jdouglas@suse.com |jfehlig@suse.com -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=782341 https://bugzilla.novell.com/show_bug.cgi?id=782341#c1 James Fehlig <jfehlig@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |ar16@imapmail.org --- Comment #1 from James Fehlig <jfehlig@suse.com> 2012-09-26 17:46:22 UTC --- Does it work if you use pygrub instead of domUloader? pygrub is the default so you can just remove bootloader and bootargs from the config. Thanks. -- 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.
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.
https://bugzilla.novell.com/show_bug.cgi?id=782341 https://bugzilla.novell.com/show_bug.cgi?id=782341#c3 --- Comment #3 from A R <ar16@imapmail.org> 2012-09-26 18:21:02 UTC --- s/nope/not quite? maybe?/ -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=782341 https://bugzilla.novell.com/show_bug.cgi?id=782341#c4 James Fehlig <jfehlig@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jfehlig@suse.com AssignedTo|jfehlig@suse.com |cyliu@suse.com --- Comment #4 from James Fehlig <jfehlig@suse.com> 2012-09-27 20:51:00 UTC --- Chunyan, can you take a look at this bug? Thanks! -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=782341 https://bugzilla.novell.com/show_bug.cgi?id=782341#c5 A R <ar16@imapmail.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ohering@suse.com --- Comment #5 from A R <ar16@imapmail.org> 2012-09-28 01:48:45 UTC --- After a pkg update to Xen, rpm -qa | grep -i xen xen-4.2.0_01-203.1.x86_64 patterns-openSUSE-xen_server-12.2-5.5.1.x86_64 kernel-xen-devel-3.4.6-2.10.1.x86_64 xen-libs-4.2.0_01-203.1.x86_64 ipset-kmp-xen-6.12_k3.4.6_2.10-2.3.1.x86_64 xen-doc-html-4.2.0_01-203.1.x86_64 xen-tools-4.2.0_01-203.1.x86_64 xen-doc-pdf-4.2.0_01-203.1.x86_64 kernel-xen-3.4.6-2.10.1.x86_64 xen-devel-4.2.0_01-203.1.x86_64 xen-kmp-default-4.2.0_01_k3.4.6_2.10-203.1.x86_64 Which contains updates to pygrub, rpm -q --changelog xen * Tue Sep 25 2012 ohering@suse.de - pygrub: always append --args 25941-pygrub_always_append_--args.patch * Mon Sep 24 2012 ohering@suse.de - use BuildRequires: gcc46 only in sles11sp2 or 12.1 to fix build in 11.4 ... now, the same xl create -c ... fails with, 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 Traceback (most recent call last): File "/usr/bin/pygrub", line 860, in <module> raise RuntimeError, "Unable to find partition containing kernel" RuntimeError: Unable to find partition containing kernel libxl: error: libxl_bootloader.c:628:bootloader_finished: bootloader failed - consult logfile /var/log/xen/bootloader.1.log libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader [4918] exited with error status 1 libxl: error: libxl_create.c:901:domcreate_rebuild_done: cannot (re-)build domain: -3 and, cat /var/log/xen/bootloader.1.log 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 Traceback (most recent call last): File "/usr/bin/pygrub", line 860, in <module> raise RuntimeError, "Unable to find partition containing kernel" RuntimeError: Unable to find partition containing kernel -- 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.
Looking at the output, there's lots of mention of 'hvm'. To be clear, this is a PV Guest ... Well, hvm words appears at xc_dom_boot_xen_init print and xc_dom_compat_check
https://bugzilla.novell.com/show_bug.cgi?id=782341 https://bugzilla.novell.com/show_bug.cgi?id=782341#c6 --- Comment #6 from Chunyan Liu <cyliu@suse.com> 2012-09-28 05:10:15 UTC --- (In reply to comment #2) print, that is expected, 1st place is to show xen capabilities and 2nd place prints xen supported guest types. (In reply to comment #5)
Traceback (most recent call last): File "/usr/bin/pygrub", line 860, in <module> raise RuntimeError, "Unable to find partition containing kernel" RuntimeError: Unable to find partition containing kernel
The boot image is still fine? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=782341 https://bugzilla.novell.com/show_bug.cgi?id=782341#c7 --- Comment #7 from A R <ar16@imapmail.org> 2012-10-01 01:01:45 UTC --- It appears to be. But trying to simplify matters -- installing a new/clean HVM Guest -- leads to this issue: https://bugzilla.novell.com/show_bug.cgi?id=782835 I've split it off as separate, but beginning to wonder if it's all one problem :-/ -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=782341 https://bugzilla.novell.com/show_bug.cgi?id=782341#c8 A R <ar16@imapmail.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |cyliu@suse.com --- Comment #8 from A R <ar16@imapmail.org> 2012-10-03 05:38:05 UTC --- After an upgrade to rpm -qa | grep -i ^xen xen-tools-4.2.0_02-205.1.x86_64 xen-devel-4.2.0_02-205.1.x86_64 xen-libs-4.2.0_02-205.1.x86_64 xen-4.2.0_02-205.1.x86_64 I've managed to 'xl create' to work with an HVM (cref: https://bugzilla.novell.com/show_bug.cgi?id=782835#c4), where config is: cat /home/ar/test_init.cfg name = 'test' builder = 'hvm' acpi = 1 apic = 1 boot = 'dc' disk = [ 'phy:/dev/VG0/boot,hda,w','phy:/dev/VG0/swap,hdb,w','phy:/dev/VG0/root,hdc,w','phy:/dev/cdrom,hdd:cdrom,r', ] vif = [ 'mac=00:16:3E:55:00:01, model=rtl8139, type=ioemu, bridge=br0, vifname=vif0',] vnc = 1 vncunused = 1 vncconsole = 1 vnclisten = "0.0.0.0" sdl = 0 stdvga = 1 serial = 'pty' maxmem = 1024 localtime = 0 netif = 'yes' keymap = 'en-us' on_shutdown = 'destroy' on_reboot = 'destroy' on_crash = 'destroy' In that HVM, I installed a clean/new OS12 instance, rebooted, and finished initial configuration. I can now boot to that HVM repeatedly, with no issues. That, I believe answers your earliere question: "The boot image is still fine?" as 'yes'. Next, I attempt to convert the Guest config to PV usage, cat /home/ar/test_run.cfg name = 'test' builder = 'linux' bootloader = 'pygrub' 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:00:01, bridge=br0, vifname=vif0', ] vfb = [ 'type=vnc, vncdisplay=1, vnclisten=127.0.0.1' ] extra = 'textmode=1 xencons=xvc0 noirqdebug elevator=noop' maxmem = 1024 localtime = 0 on_shutdown = 'destroy' on_reboot = 'restart' on_crash = 'destroy' but launch attempt, xl create /home/ar/test_run.cfg fails, and I get, Parsing config from /home/ar/test_run.cfg Using <class 'grub.GrubConf.Grub2ConfigFile'> to parse /boot/grub2/grub.cfg WARNING:root:Unknown directive menuentry_id_option WARNING:root:Unknown directive else WARNING:root:Unknown directive menuentry_id_option WARNING:root:Unknown directive export WARNING:root:Unknown directive font WARNING:root:Unknown directive else WARNING:root:Unknown directive else WARNING:root:Unknown directive font WARNING:root:Unknown directive load_video WARNING:root:Unknown directive terminal_output pyGRUB version 0.6 ┌────────────────────────────────────────────────────────────────────────┐ │ openSUSE' --class opensuse --class gnu-linux --class gnu --class os $men ueopenSUSE, with Linux 3.4.6-2.10-desktop' --class opensuse --class gnu-li nuopenSUSE, with Linux 3.4.6-2.10-desktop (recovery mode)' --class opensus e --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux- 3.4.6-2.10-desktop-recovery-c5c5eb8b-e267-4c26-a716-83a026f68341 │ │ │ │ │ │ │ └────────────────────────────────────────────────────────────────────────┘ 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 Traceback (most recent call last): File "/usr/bin/pygrub", line 860, in <module> raise RuntimeError, "Unable to find partition containing kernel" RuntimeError: Unable to find partition containing kernel libxl: error: libxl_bootloader.c:628:bootloader_finished: bootloader failed - consult logfile /var/log/xen/bootloader.12.log libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader [7758] exited with error status 1 libxl: error: libxl_create.c:901:domcreate_rebuild_done: cannot (re-)build domain: -3 cat /var/log/xen/bootloader.12.log Using <class 'grub.GrubConf.Grub2ConfigFile'> to parse /boot/grub2/grub.cfg WARNING:root:Unknown directive menuentry_id_option WARNING:root:Unknown directive else WARNING:root:Unknown directive menuentry_id_option pyGRUB version 0.6 ┌────────────────────────────────────────────────────────────────────────┐ │ openSUSE' --class opensuse --class gnu-linux --class gnu --class os $men ueopenSUSE, with Linux 3.4.6-2.10-desktop' --class opensuse --class gnu-li nuopenSUSE, with Linux 3.4.6-2.10-desktop (recovery mode)' --class opensus e --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux- 3.4.6-2.10-desktop-recovery-c5c5eb8b-e267-4c26-a716-83a026f68341 │ │ │ │ │ │ │ └────────────────────────────────────────────────────────────────────────┘ 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 Traceback (most recent call last): File "/usr/bin/pygrub", line 860, in <module> raise RuntimeError, "Unable to find partition containing kernel" RuntimeError: Unable to find partition containing kernel With this new Guest install, new Xen and xl, *AND* the HV->PV 'conversion', I'm not at all sure where the problem is. Suggestions or ideas? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=782341 https://bugzilla.novell.com/show_bug.cgi?id=782341#c9 A R <ar16@imapmail.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|cyliu@suse.com | --- Comment #9 from A R <ar16@imapmail.org> 2012-10-03 23:13:36 UTC --- As I've not heard otherwise, I'm going to close & consolidate this @: https://bugzilla.novell.com/show_bug.cgi?id=782835 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=782341 https://bugzilla.novell.com/show_bug.cgi?id=782341#c10 A R <ar16@imapmail.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #10 from A R <ar16@imapmail.org> 2012-10-03 23:14:22 UTC --- call it a dupe *** This bug has been marked as a duplicate of bug 782835 *** http://bugzilla.novell.com/show_bug.cgi?id=782835 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=782341 https://bugzilla.novell.com/show_bug.cgi?id=782341#c11 --- Comment #11 from Charles Arnold <carnold@suse.com> 2012-10-05 22:26:19 UTC --- Created an attachment (id=508428) --> (http://bugzilla.novell.com/attachment.cgi?id=508428) Potential fix Could you give this patch a try. Copy it to /usr/bin/ Run 'patch -p0 < pygrub-grub-args.patch' Try starting your VM. Thanks -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=782341 https://bugzilla.novell.com/show_bug.cgi?id=782341#c12 --- Comment #12 from Charles Arnold <carnold@suse.com> 2012-10-05 22:29:46 UTC --- Sorry for the noise in this bug. The patch is attached to bug 782835. -- 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.
participants (1)
-
bugzilla_noreply@novell.com