Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

RE: trouble with pygrub after upgrade



Thanks - using 3.3
(the update was the OS not xen).

I traced the problem down to where python was calling fs(something) - it could 
open the disk image but using the library was unable to locate the grub related 
files.  I guess the library pygrub was calling got upgraded in later versions 
of xen.

johnh...
________________________________________
From: Roger Pau Monne [roger.pau%citrix.com@localhost]
Sent: Wednesday, July 11, 2012 4:02 AM
To: John Hayward
Cc: port-xen%netbsd.org@localhost
Subject: Re: trouble with pygrub after upgrade

John Hayward wrote:
> This is now resolved.
> pygrub was unable to read the disk images which were ext4.  Dumping the ext4 
> disk images and restoring to ext2 disk images allowed pygrub to be able to 
> read these disk images.

Which version of Xen are you using? I've just tried with xen-unstable
and it works perfectly:

/dev/xvda1 on / type ext4 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)

And I don't see any relevant commits between 4.1 and current that have
touched pygrub ext4 support. The commit that added ext4 support to
pygrub is this:

http://xenbits.xensource.com/hg/xen-unstable.hg/rev/c6ee21dca848

And it's already present in 3.4, so unless you are using 3.3, you should
be fine.





Home | Main Index | Thread Index | Old Index