From: Ian Campbell Subject: Re: Test result of xen-unstable changeset 25259 Date: Tue, 8 May 2012 14:45:59 +0100 Message-ID: <1336484759.14542.91.camel@zakaz.uk.xensource.com> References: <1336399932385-5691153.post@n5.nabble.com> <1336480693.14542.71.camel@zakaz.uk.xensource.com> <1336483376041-5694297.post@n5.nabble.com> <1336483800.14542.88.camel@zakaz.uk.xensource.com> <1336484287336-5694426.post@n5.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1336484287336-5694426.post@n5.nabble.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Fantu Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Tue, 2012-05-08 at 14:38 +0100, Fantu wrote: > --------------------------------------------- > pygrub /mnt/vm/disks/lucid.disk1.xm > Traceback (most recent call last): > File "/usr/local/bin/pygrub", line 822, in > raise RuntimeError, "Unable to find partition containing kernel" > RuntimeError: Unable to find partition containing kernel /usr/local/bin? Are you sure this is the pygrub you built and installed just now and not some other cruft? Are you able to identify when it last worked and run a bisect? You don't need to do a full boot of the guest, just run pygrub manually at each stage. > --------------------------------------------- > > About pv-grub I think it fails with: > ... (from xl create...) > xc: error: panic: xc_dom_bzimageloader.c:588: xc_dom_probe_bzimage_kernel: > kernel is not a bzImage: Invalid kernel > ... > And after seems start as hvm domU but is not working and I must destroy it. I think this is just a warning (which needs to be toned down), since the pvgrub kernel isn't a bzImage, it's a simple elf file. Your logs show it building a Mini-OS domain, not an HVM one: domainbuilder: detail: xc_dom_find_loader: trying ELF-generic loader ... domainbuilder: detail: loader probe OK xc: detail: elf_parse_binary: phdr: paddr=0x0 memsz=0x99ef00 xc: detail: elf_parse_binary: memory: 0x0 -> 0x99ef00 xc: detail: elf_xen_parse: __xen_guest: "GUEST_OS=Mini-OS,XEN_VER=xen-3.0,VIRT_BASE=0x0,ELF_PADDR_OFFSET=0x0,HYPERCALL_PAGE=0x2,LOADER=generic" xc: detail: elf_xen_parse_guest_info: GUEST_OS="Mini-OS" xc: detail: elf_xen_parse_guest_info: XEN_VER="xen-3.0" xc: detail: elf_xen_parse_guest_info: VIRT_BASE="0x0" xc: detail: elf_xen_parse_guest_info: ELF_PADDR_OFFSET="0x0" xc: detail: elf_xen_parse_guest_info: HYPERCALL_PAGE="0x2" xc: detail: elf_xen_parse_guest_info: LOADER="generic" xc: detail: elf_xen_addr_calc_check: addresses: xc: detail: virt_base = 0x0 xc: detail: elf_paddr_offset = 0x0 xc: detail: virt_offset = 0x0 xc: detail: virt_kstart = 0x0 xc: detail: virt_kend = 0x99ef00 xc: detail: virt_entry = 0x0 xc: detail: p2m_base = 0xffffffffffffffff I think if you investigate more closely you would find it is working, at least as far as building an running something.. Ian