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

Re: [Xen-users] FC4 domU on FC5


  • To: Mito <mito@xxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Andrew W." <andrewinet@xxxxxxxxx>
  • Date: Thu, 18 May 2006 14:50:29 -0400
  • Delivery-date: Thu, 18 May 2006 11:53:09 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=mbDkNBKvL2zeQavZMPftWCW/MLDCBP/yiI3fUw/xaqt1Rm6S+eLzEACjvPWNY6MXPmj9HbWarA7ScI4qYJgHlk9nEaXax1umrbUCFzzc6KDioHGBqHNs4fzFUxxSFe8Cbv+Toe2oh//CeHclc9TrPRNGxMRcHBKSMeaSVvePrk4=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Thanks for the reply.  However, I'm trying to adhere as closely as possible to the original Fedora HOWTO.  One thing worth mentioning that I did leave out of my original post:  I'm using the built-in Xen package that comes with FC5, which can be activated using 'yum install kernel-xen0'.  Hope this helps.


 
On 5/18/06, Mito <mito@xxxxxxxxxxxxx> wrote:

Well look at it this day, this is either a crappy day for you, or your lucky day, depending on how good my documentation was.   I'm still very new with Xen, but I have been messing around with several different setups, and the most recent one is exactly what you just said you needed, a FC4 domU on a FC5 dom0.   And with luck, that's the one that I used to document the entire process so I could easily refer back to it later.

 

http://mitopia.net/index.php/Xen_3.0.2_Setup

 

It's not much of a site, literally my own notes that I made for myself, but hopefully you'll be able to make sense out of it too.

 

Also I noted in here how I got NAT to work through Xen.  I was going to post this in reply to a few NAT related questions once I'm sure I have all the bugs worked out of that, I'm still messing with the firewall rules.   The entire Xen setup is working perfectly though.

 

If anyone else who knows what they're doing with Xen could look through it and maybe give a few pointers or corrections that would be cool too.

 

Mito

 


From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Andrew W.
Sent: Thursday, May 18, 2006 1:46 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] FC4 domU on FC5

 

Hi all.  This has been mentioned once before on this list, with no resolution that I could find.  I'm trying to make a domU with FC4 running under a FC5 dom0.  Following the instructions located at http://www.fedoraproject.org/wiki/FedoraXenQuickstart , xen produces these errors:

 

[root@localhost xen]# xm create -c cpanel
Using config file "cpanel".
Error: Error creating domain: (22, 'Invalid argument')
[root@localhost xen]#
 

And from /var/log/xend.log:

 

[2006-05-17 23:41:50 xend.XendDomainInfo] DEBUG (XendDomainInfo:177) XendDomainInfo.create(['vm', ['name', 'cpanel'], ['memory', '196'], ['vcpus', '1'], ['image', ['linux', ['kernel', '/boot/vmlinuz- 2.6.11-1.1369_FC4xenU' ], ['root', '/dev/sda1'], ['args', 'ro selinux=0 3']]], ['device', ['vbd', ['uname', 'file:/root/cpanel.img'], ['dev', 'sda1'], ['mode', 'w']]]])
[2006-05-17 23:41:50 xend.XendDomainInfo] DEBUG (XendDomainInfo:283) parseConfig: config is ['vm', ['name', 'cpanel'], ['memory', '196'], ['vcpus', '1'], ['image', ['linux', ['kernel', '/boot/vmlinuz- 2.6.11-1.1369_FC4xenU'], ['root', '/dev/sda1'], ['args', 'ro selinux=0 3']]], ['device', ['vbd', ['uname', 'file:/root/cpanel.img'], ['dev', 'sda1'], ['mode', 'w']]]]
[2006-05-17 23:41:50 xend.XendDomainInfo] DEBUG (XendDomainInfo:379) parseConfig: result is {'ssidref': None, 'uuid': None, 'on_crash': None, 'on_reboot': None, 'image': ['linux', ['kernel', '/boot/vmlinuz- 2.6.11-1.1369_FC4xenU'], ['root', '/dev/sda1'], ['args', 'ro selinux=0 3']], 'on_poweroff': None, 'cpus': None, 'name': 'cpanel', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'vcpu_avail': None, 'memory': 196, 'device': [('vbd', ['vbd', ['uname', 'file:/root/cpanel.img'], ['dev', 'sda1'], ['mode', 'w']])], 'bootloader': None, 'cpu': None, 'maxmem': None}
[2006-05-17 23:41:50 xend.XendDomainInfo] DEBUG (XendDomainInfo:1142) XendDomainInfo.construct: None 0
[2006-05-17 23:41:50 xend.XendDomainInfo] DEBUG (XendDomainInfo:1174) XendDomainInfo.initDomain: 13 1.0
[2006-05-17 23:41:50 xend] DEBUG (balloon:84) Balloon: free 618; need 197; done.
[2006-05-17 23:41:50 xend] INFO (image:135) buildDomain os=linux dom=13 vcpus=1
[2006-05-17 23:41:50 xend] DEBUG (image:173) dom            = 13
[2006-05-17 23:41:50 xend] DEBUG (image:174) image          = /boot/vmlinuz- 2.6.11-1.1369_FC4xenU
[2006-05-17 23:41:50 xend] DEBUG (image:175) store_evtchn   = 1
[2006-05-17 23:41:50 xend] DEBUG (image:176) console_evtchn = 2
[2006-05-17 23:41:50 xend] DEBUG (image:177) cmdline        =  root=/dev/sda1 ro selinux=0 3
[2006-05-17 23:41:50 xend] DEBUG (image:178) ramdisk        =
[2006-05-17 23:41:50 xend] DEBUG (image:179) vcpus          = 1
[2006-05-17 23:41:50 xend] DEBUG (image:180) features       =
[2006-05-17 23:41:50 xend.XendDomainInfo] ERROR (XendDomainInfo:189) Domain construction failed
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 182, in create
    vm.initDomain()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1209, in initDomain
    channel_details = self.image.createImage()
  File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 118, in createImage
    return self.createDomain()
  File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 137, in createDomain
    result = self.buildDomain()
  File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 188, in buildDomain
    features       = self.features)
error: (22, 'Invalid argument')
[2006-05-17 23:41:50 xend.XendDomainInfo] DEBUG (XendDomainInfo:1290) XendDomainInfo.destroy: domid=13
[2006-05-17 23:41:50 xend.XendDomainInfo ] DEBUG (XendDomainInfo:1298) XendDomainInfo.destroyDomain(13)
[2006-05-17 23:41:50 xend] ERROR (SrvBase:87) Request create failed.
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/xen/web/SrvBase.py", line 85, in perform
    return op_method(op, req)
  File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", line 82, in op_create
    raise XendError("Error creating domain: " + str(ex))
XendError: Error creating domain: (22, 'Invalid argument')

 

This is my conf file /etc/xen/cpanel :

 

[root@localhost xen]# cat /etc/xen/cpanel
kernel ="/boot/vmlinuz-2.6.11-1.1369_FC4xenU"
memory = 196
name = "cpanel"
disk = ['file:/root/cpanel.img,sda1,w']
root = "/dev/sda1"
extra = "ro selinux=0 3"

[root@localhost xen]#

I have tried this with both the kernel mentioned above, as well as the latest 2.6.13 kernel for FC4xenU.  Any suggestions would be appreciated.

-Andrew

 


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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.