WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [PATCH] [Xen-users] Problems with pygrub: ValueError:unableto open f

To: Henning Sprang <henning_sprang@xxxxxx>
Subject: Re: [PATCH] [Xen-users] Problems with pygrub: ValueError:unableto open file
From: Michael Paesold <mpaesold@xxxxxx>
Date: Sun, 09 Apr 2006 11:50:34 +0200
Cc: Xen <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 09 Apr 2006 02:50:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4438632B.3050506@xxxxxx>
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: <011601c64eb4$39a8a030$0f01a8c0@zaphod> <442C27D1.5060800@xxxxxx><442C2BEA.9080109@xxxxxx> <003f01c65493$5de82b20$7801a8c0@zaphod> <02f901c654d7$d22ec4a0$7801a8c0@zaphod> <4438632B.3050506@xxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5 (Windows/20051201)
Henning Sprang wrote:
Michael Paesold wrote:
Sorry for the last empty mail (hit the wrong button). Attached is a patch against xen-unstable to improve the error messages in pygrub when the e2fsprogs do not support the newer ext2fs_open2 function. This should help beginners to identify the real problem when pygrub does not work (e.g. on RHEL4).

I also have that problem on fedora core 5. As far as I can see, your fix is only about the error message. But how can the actual problem be solved? I'd really like to use a simple xen config as given in xmexample1, and use the images from xen-get.org.

Yes, my patch only improved the error reporting, not the underlying problem of a too old version of e2fsprogs. Nevertheless FC5 has an appropriate version of e2fsprogs (as well as FC4 btw.).

> My post to fedora-xen can be found at:
> https://www.redhat.com/archives/fedora-xen/2006-April/msg00085.html

So your problem is a different problem. As Andrej noted in the other mail, disabling SELinux might help. I remember reading about this already on one of these lists here.


Just for the archives or anyone using pygrub on RHEL4/CentOS4: I have successfully rebuilt and used e2fsprogs from FC4 on RHEL4/CentOS4 and have had no issues so far. YMMV. (Don't forget to rebuild pygrub after installing the new e2fsprogs!)

Best Regards,
Michael Paesold

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users