Hi Fred, everyone, Saw Fred''s hack to get Ubuntu 8.10 to install as PV guest at: http://opensolaris.org/jive/click.jspa?searchID=1685986&messageID=309153 Being a new comer it will take me some time to learn how to get the xen-gate to compile and installed - may I ask if the grub patch mentioned (http://xenbits.xensource.com/xen-unstable.hg?rev/c777e572a467) have been merged in any of the SXCE releases? I''ve tried to follow everything but to patch the /usr/lib/fs/ext2fs/fsimage.so file and my installation failed after the installation reboots: -------------------------------------------------------------------------------- Sending SIGKILL to all processes Requesting system reboot [ 1760.609259] xenbus_dev_shutdown: device/console/0: Initialising != Connected, skipping [ 1760.652951] Restarting system. libvir: Xen Daemon error : GET operation failed: libvir: error : invalid argument in virDomainLookupByUUIDString Guest installation complete... restarting guest. virDomainCreate() failed POST operation failed: (xend.err "Boot loader didn''t return any data!") Domain installation may not have been successful. If it was, you can restart your domain by running ''virsh start u2''; otherwise, please restart your installation. Sun, 01 Mar 2009 02:57:35 ERROR virDomainCreate() failed POST operation failed: (xend.err "Boot loader didn''t return any data!") Traceback (most recent call last): File "/usr/bin/virt-install", line 511, in ? main() File "/usr/bin/virt-install", line 497, in main dom.create() File "libvirt.py", line 240, in create if ret == -1: raise libvirtError (''virDomainCreate() failed'', dom=self) libvirtError: virDomainCreate() failed POST operation failed: (xend.err "Boot loader didn''t return any data!") bash-3.2# xm list Name ID Mem VCPUs State Time(s) Domain-0 0 2969 2 r----- 9592.5 u2 512 1 0.0 ubuntu-hvm 512 1 1832.9 winxp 512 1 73.3 bash-3.2# virsh start u2 libvir: Xen Daemon error : POST operation failed: (xend.err "Boot loader didn''t return any data!") error: Failed to start domain u2 -------------------------------------------------------------------------------- I''m running nv108 on 64bit so I''m *guessing* the .so file attached in the post may not work. Any pointer will be appreciated. Lester
On Sun, Mar 01, 2009 at 04:04:36AM +1100, Lester Cheung wrote:> Being a new comer it will take me some time to learn how to get the > xen-gate to compile and installed - may I ask if the grub patch > mentioned > (http://xenbits.xensource.com/xen-unstable.hg?rev/c777e572a467) have > been merged in any of the SXCE releases?It''s in Xen 3.3, which we''re currently working on moving to (but aren''t done yet). regards john
Lester Cheung wrote:> Hi Fred, everyone, > > Saw Fred''s hack to get Ubuntu 8.10 to install as PV guest at: > > http://opensolaris.org/jive/click.jspa?searchID=1685986&messageID=309153...> I''ve tried to follow everything but to patch the > /usr/lib/fs/ext2fs/fsimage.so file and my installation failed after > the installation reboots:Go ahead and try replacing the fsimage.so. I have tried it successfully on later builds of the OS (105, at least). I bet it works. If not, it seems unlikely to me that you would break anything, and you could put the original version back. Fred
I think the library is 32-bit because it is used by native methods in the python interpreter, which is 32-bit, even on a 64-bit system. Fred Fred Oliver wrote:> > Lester Cheung wrote: >> Hi Fred, everyone, >> >> Saw Fred''s hack to get Ubuntu 8.10 to install as PV guest at: >> >> http://opensolaris.org/jive/click.jspa?searchID=1685986&messageID=309153 > ... >> I''ve tried to follow everything but to patch the >> /usr/lib/fs/ext2fs/fsimage.so file and my installation failed after >> the installation reboots: > > Go ahead and try replacing the fsimage.so. I have tried it successfully > on later builds of the OS (105, at least). I bet it works. If not, it > seems unlikely to me that you would break anything, and you could put > the original version back. > > Fred >
On Mon, Mar 02, 2009 at 06:52:43PM -0500, Fred Oliver wrote:> I think the library is 32-bit because it is used by native methods in > the python interpreter, which is 32-bit, even on a 64-bit system.No, you need the 64-bit library: the xVM Python code runs as 64-bit on 64-bit systems. See: http://blogs.sun.com/levon/entry/64-bit_python_in_nevada_build regards john
John Levon wrote:> On Mon, Mar 02, 2009 at 06:52:43PM -0500, Fred Oliver wrote: > >> I think the library is 32-bit because it is used by native methods in >> the python interpreter, which is 32-bit, even on a 64-bit system. > > No, you need the 64-bit library: the xVM Python code runs as 64-bit on > 64-bit systems. See: > http://blogs.sun.com/levon/entry/64-bit_python_in_nevada_build(after off-line exchange with John) While many xVM components use the 64-bit python interpreter, the pygrub script (which is extracting grub menus and kernels) does not. So, replacing the 32-bit library is appropriate even on 64-bit systems. Fred