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

[Xen-users] Gentoo/Xen 3.0 - Failure to create domains


  • To: "Xen User Mailing List \(E-mail\)" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Laccetti, Michael" <Michael.Laccetti@xxxxxxx>
  • Date: Mon, 12 Sep 2005 12:39:43 -0400
  • Delivery-date: Mon, 12 Sep 2005 16:38:07 +0000
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcW3uJOTBW6a6YjGTg+9Se5YRxBHXg==
  • Thread-topic: Gentoo/Xen 3.0 - Failure to create domains

I got around to fixing one of my servers last night and decided that I would 
install Xen on it.  I installed Gentoo 2005.1 as the original OS, then 
installed the Xen package available in Portage (3.0.0/2005-09-06).  I also 
installed the xen-sources kernel that is available in Portage.  Everything went 
smoothly; upon rebooting everything was working.  I'm using a 2.6.12-5 kernel.  
The xend processes are running.

'xm list' provides the following
Domain-0           0      251    -      2   r----    740.0

I then try to create the ttylinux test domain.  The config file is as follows:
kernel = "/boot/kernel-2.6.12.5-xenU"
memory = 64
name = "ttylinux"
nics=1

disk = ['file:/opt/xen/ttylinux-xen,hda1,w']
root = "/dev/hda1 ro"

I then try to create the domain:
linux-1 xen # xm create ttylinuxVM
Using config file "ttylinuxVM".
Error: Error creating domain: invalid key 'type'

If I do a 'xm list' again, it'll show up:
Name              Id  Mem(MB)  CPU VCPU(s)  State  Time(s)
Domain-0           0      251    -      2   r----    742.0
ttylinux           6       64    1      1   --p--      0.0

However, I am unable to access the console.  If I look at the logs, I see the 
following complaints:
[2005-09-12 12:40:12 xend] WARNING (XendDomainInfo:1119) Unknown config field 
boot
[2005-09-12 12:40:12 xend] ERROR (process:37) [block-file] /dev/loop0: No such 
device or address
[2005-09-12 12:40:12 xend] ERROR (process:37) [block-file] /dev/loop1: No such 
device or address
[2005-09-12 12:40:12 xend] ERROR (process:37) [block-file] /dev/loop2: No such 
device or address
[2005-09-12 12:40:12 xend] ERROR (process:37) [block-file] /dev/loop3: No such 
device or address
[2005-09-12 12:40:12 xend] ERROR (process:37) [block-file] /dev/loop4: No such 
device or address
[2005-09-12 12:40:12 xend] ERROR (process:37) [block-file] /dev/loop5: No such 
device or address
[2005-09-12 12:40:12 xend] ERROR (process:37) [block-file] /dev/loop6: No such 
device or address
[2005-09-12 12:40:12 xend] ERROR (process:37) [block-file] /dev/loop7: No such 
device or address
[2005-09-12 12:40:12 xend] DEBUG (blkif:24) exception looking up device number 
for None: coercing to Unicode: need string or buffer, NoneType found

Any ideas as to what I did wrong, or how I can go about fixing it?

_______________________________________________
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®.