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

[Xen-users] Problems with pygrub: ValueError: unable to open file & FC5

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Problems with pygrub: ValueError: unable to open file & FC5 - solution
From: Adam Doligalski <adam@xxxxxxxxxxxxxx>
Date: Tue, 11 Apr 2006 01:14:25 +0200
Delivery-date: Mon, 10 Apr 2006 16:15:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5 (Windows/20051201)
Hello everyone,

I faced mentioned (in subject) problem today. I made some debugging -
and found error ind ext2module.c code (it still exists in 3.0.2). In FC5
one should just unpack Xen, patch file, change directory to tools/pygrub
and reinstall pygrub's helper library.

It worked for me.

Here the patch follows.

--- ext2module.c.orig   2006-04-10 23:18:00.000000000 +0200
+++ ext2module.c        2006-04-10 23:35:18.000000000 +0200
@@ -230,6 +230,8 @@
 #ifdef HAVE_EXT2FS_OPEN2
     if (offset != 0) {
         snprintf(offsetopt, 29, "offset=%d", offset);
+    } else {
+        offsetopt[0] = 0;
     }

     err = ext2fs_open2(name, offsetopt, flags, superblock, block_size,


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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Problems with pygrub: ValueError: unable to open file & FC5 - solution, Adam Doligalski <=