Laccetti, Michael
2005-Sep-12 16:39 UTC
[Xen-users] 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@lists.xensource.com http://lists.xensource.com/xen-users
Daniel Hulme
2005-Sep-12 17:13 UTC
Re: [Xen-users] Gentoo/Xen 3.0 - Failure to create domains
> /dev/loop0: No such device or addressIs your dom0 kernel built with loopback support? If you are using a binary XenLinux kernel or the default Xen config, it should be. If you are using a custom config or the default Gentoo config it may not be.> WARNING (XendDomainInfo:1119) Unknown config field bootCan''t help you with this one, I''m afraid. Anyone else? -- "I will not be pushed, filed, stamped, indexed, briefed, debriefed, or numbered. My life is my own." <-- Number Six http://surreal.istic.org/ "If you need an outward sign to know your own, you don''t really belong." "If the science fails, the damn-foolishness may work." <-- ^-- Hagbard _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users