namit
21st May 2007, 01:27
in relation to
http://www.howtoforge.com/xen_3.0_ubuntu_dapper_drake?from=10&comments_per_page=10
section 3.2
I can boot up into the master (think you also call this dom) xen image.
So everything working so far. The only difference i had to make to configs was that am using vmlinux-2.6.18.
command i am running:
root@ubunut:/etc/xen# xm create baseimage -c
Using config file "baseimage".
Error: (22, 'Invalid argument')
cat /etc/xen/baseimage
# -*- mode: python; -*-
kernel = "/boot/vmlinuz-2.6.16-2-xen-686"
ramdisk = "/boot/initrd.img-2.6.16-2-xen-686"
memory = 128
name = "baseimage"
vif = ['bridge=xenbr0']
disk = ['file:/xen-images/guest_base.img,hda1,w','file:/xen-images/guest_base-swap.img,hda1,w']
ip = "192.168.0.101"
netmask = "255.255.255.0"
gateway = "192.168.0.1"
hostname = "baseimage"
root = "/dev/hda1 ro"
extra = "4"
cat /var/log/xen/xen.log
[2007-05-20 23:14:46 xend.XendDomainInfo 4935] DEBUG (XendDomainInfo:1458) XendDomainInfo.destroy: domid=None
[2007-05-20 23:14:46 xend 4935] ERROR (__init__:1021) (22, 'Invalid argument')
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/xen/util/xmlrpclib2.py", line 162, in _marshaled_dispatch
response = self._dispatch(method, params)
File "SimpleXMLRPCServer.py", line 415, in _dispatch
return func(*params)
File "/usr/lib/python2.5/site-packages/xen/xend/server/XMLRPCServer.py", line 64, in domain_create
info = XendDomain.instance().domain_create(config)
File "/usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line 228, in domain_create
dominfo = XendDomainInfo.create(config)
File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 194, in create
vm.construct()
File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 1266, in construct
handle = uuid.fromString(self.info['uuid']))
Error: (22, 'Invalid argument')
cat /boot/grub/menu.list
title Xen 3.0 / XenLinux 2.6
kernel /boot/xen-3.gz
module /boot/vmlinuz-2.6.18-xen root=/dev/hda1 ro
module /boot/initrd.img-2.6.18-xen
Thanks
http://www.howtoforge.com/xen_3.0_ubuntu_dapper_drake?from=10&comments_per_page=10
section 3.2
I can boot up into the master (think you also call this dom) xen image.
So everything working so far. The only difference i had to make to configs was that am using vmlinux-2.6.18.
command i am running:
root@ubunut:/etc/xen# xm create baseimage -c
Using config file "baseimage".
Error: (22, 'Invalid argument')
cat /etc/xen/baseimage
# -*- mode: python; -*-
kernel = "/boot/vmlinuz-2.6.16-2-xen-686"
ramdisk = "/boot/initrd.img-2.6.16-2-xen-686"
memory = 128
name = "baseimage"
vif = ['bridge=xenbr0']
disk = ['file:/xen-images/guest_base.img,hda1,w','file:/xen-images/guest_base-swap.img,hda1,w']
ip = "192.168.0.101"
netmask = "255.255.255.0"
gateway = "192.168.0.1"
hostname = "baseimage"
root = "/dev/hda1 ro"
extra = "4"
cat /var/log/xen/xen.log
[2007-05-20 23:14:46 xend.XendDomainInfo 4935] DEBUG (XendDomainInfo:1458) XendDomainInfo.destroy: domid=None
[2007-05-20 23:14:46 xend 4935] ERROR (__init__:1021) (22, 'Invalid argument')
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/xen/util/xmlrpclib2.py", line 162, in _marshaled_dispatch
response = self._dispatch(method, params)
File "SimpleXMLRPCServer.py", line 415, in _dispatch
return func(*params)
File "/usr/lib/python2.5/site-packages/xen/xend/server/XMLRPCServer.py", line 64, in domain_create
info = XendDomain.instance().domain_create(config)
File "/usr/lib/python2.5/site-packages/xen/xend/XendDomain.py", line 228, in domain_create
dominfo = XendDomainInfo.create(config)
File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 194, in create
vm.construct()
File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 1266, in construct
handle = uuid.fromString(self.info['uuid']))
Error: (22, 'Invalid argument')
cat /boot/grub/menu.list
title Xen 3.0 / XenLinux 2.6
kernel /boot/xen-3.gz
module /boot/vmlinuz-2.6.18-xen root=/dev/hda1 ro
module /boot/initrd.img-2.6.18-xen
Thanks