This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] problem starting domU with pygrub

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] problem starting domU with pygrub
From: Marcus Larsson <kore@xxxxxxxxxxxx>
Date: Thu, 15 May 2008 07:57:03 +0200
Delivery-date: Wed, 14 May 2008 22:57:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080514200304.GA14584@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20080514200304.GA14584@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.17 (2007-11-01)
On Wed, May 14, 2008 at 10:03:04PM +0200, Marcus Larsson wrote:
> I have installed CentOS 5.1 (x86_64) on a server and I have
> installled xen 3.2.1 from source.
> I created a config for a domU (also CentOS) and started
> installing. So far so good but when I try to boot this domU with
> bootloader="/usr/bin/pygrub" it hangs, ie. the pygrub process is
> a zombie.

Ok, I'll answer my own question here. ;)

The problem was that the fsimage.so file was installed in
/usr/lib64/python and pygrub didn't include that directory in
the path.

$ grep path /usr/bin/pygrub
sys.path = [ '/usr/lib/python' ] + sys.path

I changed the pygrub script so that it includes
/usr/lib64/python and now pygrub works.

On CentOS there is no such directory /usr/lib/python.

Marcus Larsson, Stockholm, Sweden

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>