hi again, Op donderdag 4 januari 2007 04:13, schreef Jeroen Beerstra: > hi there, > <big cut!> Just to make sure nobody is wasting time on this ... so far you haven't but one never knows ;) or just to help out somebody with similar problems. I have given up and grabbed myself an X/OS 4 x86_64 iso and guess what it just worked (tm)! Actually that is a bit oversimplified, since RHEL4 (and clones) is not XEN enabled by default so it did required some manual labour, but basicly this time following the guidelines from http://people.redhat.com/riel/RHEL4-Xen-HOWTO produced a working xen guest. The problem was with the initrd: - an initrd created on i386 RHEL4 for the x86_64 RHEL4 kernel doesn't has any modules in it, hence (?) it doesn't boot at all. - an initrd created on a FC6 guest is incompatible with RHEL4 (nash consumes 100% CPU and the correct devices for lvm are not created so the system doesn't boot) - finally an initrd created on the RHEL4 x86_64 guest (booted with qemu) for the x86_64 RHEL4 kernel did work. So you need a working x86_64 RHEL4 (clone) setup to be able to build a working initrd for the RHEL4 x86_64 xen kernels. This then does boot i386 RHEL4, but why bother :D However pygrub still doesn't work, same problem as before :( I was kindoff hoping there was some problem with x86_64 versus i386, but apparently that isn't it either ... anybody any ideas why pygrub is baling out with 'Error: invalid literal for int(): gh'?? http://people.redhat.com/riel/RHEL4-Xen-HOWTO suggests pygrub should work with RHEL4 guests. > > And then there is pygrub, with the FC6 guest created by virt-manager this > works like a charm, however with the X/OS guest it just won't work: > > # xm create -c VirtualXOS4 > Using config file "VirtualXOS4". > Going to boot X/OS Linux (2.6.9-42.36.ELxenU) > kernel: /vmlinuz-2.6.9-42.36.ELxenU > initrd: /initrd-2.6.9-42.36.ELxenU.img > Error: invalid literal for int(): gh > > I even tried copying over the grub installation from the FC6 x86_64 guest, > but the problem remains. Anybody has any idea why pygrub is failing: > > Traceback (most recent call last): > File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", > line 194, in create > vm.construct() > File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", > line 1257, in construct > handle = uuid.fromString(self.info['uuid'])) > File "/usr/lib64/python2.4/site-packages/xen/xend/uuid.py", line 67, in > fromString > return [ int(s[i : i + 2], 16) for i in range(0, 32, 2) ] > ValueError: invalid literal for int(): gh > [2007-01-04 03:47:06 xend.XendDomainInfo 3323] DEBUG (XendDomainInfo:1449) > XendDomainInfo.destroy: domid=None > [2007-01-04 03:47:06 xend 3323] ERROR (xmlrpclib2:184) invalid literal for > int(): gh > Traceback (most recent call last): > File "/usr/lib64/python2.4/site-packages/xen/util/xmlrpclib2.py", line > 162, in _marshaled_dispatch > response = self._dispatch(method, params) > File "/usr/lib64/python2.4/SimpleXMLRPCServer.py", line 406, in _dispatch > return func(*params) > File > "/usr/lib64/python2.4/site-packages/xen/xend/server/XMLRPCServer.py", line > 64, in domain_create > info = XendDomain.instance().domain_create(config) > File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomain.py", line > 228, in domain_create > dominfo = XendDomainInfo.create(config) > File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", > line 194, in create > vm.construct() > File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", > line 1257, in construct > handle = uuid.fromString(self.info['uuid'])) > File "/usr/lib64/python2.4/site-packages/xen/xend/uuid.py", line 67, in > fromString > return [ int(s[i : i + 2], 16) for i in range(0, 32, 2) ] > ValueError: invalid literal for int(): gh -- Jeroen Beerstra -- Fedora-xen mailing list Fedora-xen@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-xen