From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Fantoni Subject: Re: pygrub regression with latest xen-unstable test Date: Tue, 16 Sep 2014 10:42:57 +0200 Message-ID: <5417F811.4080704@m2r.biz> References: <5416BF8D.7070909@m2r.biz> <1410792576.11601.22.camel@hastur.hellion.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1410792576.11601.22.camel@hastur.hellion.org.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: xen-devel List-Id: xen-devel@lists.xenproject.org Il 15/09/2014 16:49, Ian Campbell ha scritto: > On Mon, 2014-09-15 at 12:29 +0200, Fabio Fantoni wrote: >> After updating to latest xen-unstable (commit >> 7d203b337fb2dcd148d2df850e25b67c792d4d0b) I'm unable to boot an old domU >> with grub 1 cfg. >> I not remember the previous unstable build tested that successfull boot >> it, probably is of 1-2 months ago or more. > According to the git log pygrub hasn't changed since late Jun, and in > general changes very little. Could you look back over the history and > see if you can identify the problem commit? > > Thanks, > Ian. > > >> #boot/grub/menu.lst >> title Lenny 2.6.26 >> root (hd0,0) >> kernel /boot/vmlinuz-2.6.26-2-xen-amd64 ro root=/dev/xvda1 console=hvc0 >> xencons=tty >> initrd /boot/initrd.img-2.6.26-2-xen-amd64 >> >> xl create /etc/xen/nagios.cfg >> Parsing config from /etc/xen/nagios.cfg >> libxl: error: libxl_bootloader.c:630:bootloader_finished: bootloader >> failed - consult logfile /var/log/xen/bootloader.11.log >> libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader >> [-1] exited with error status 1 >> libxl: error: libxl_create.c:1133:domcreate_rebuild_done: cannot >> (re-)build domain: -3 >> >> #/var/log/xen/bootloader.11.log >> Using to parse /boot/grub/menu.lst >> ESC(BESC)0ESC[1;24rESC[m^OESC[?7hESC[?1hESC=ESC[?1lESC>ESC[24;1H^MESC[?1lESC>Traceback >> (most recent call last): >> File "/usr/lib/xen/bin/pygrub", line 894, in >> raise RuntimeError, "Unable to find partition containing kernel" >> RuntimeError: Unable to find partition containing kernel >> >> If you need more information and/or tests tell me and I'll post them. >> >> Thanks for any reply. >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xen.org >> http://lists.xen.org/xen-devel > I take fast look on latest pygrub changes, I changed the xvda1 of disk to xvda, tried also root in cfg but nothing. After I tried to put grub2 cfg in menu.lst and gave "Unknown directive" warnings at boot, so read it. After I renamed menu.lst to grub.cfg and nagios booted correctly. So the regression seems in parsing of grub1 cfg in menu.lst file but I not found how to solve it.