Davidson Rodrigues Paulo
2007-Feb-08 16:06 UTC
[Fedora-xen] All the ways go to Error: (22, ''Invalid argument'')
Good afternoon, I''ve installed Xen on a Fedora 6. The xend process are running, all ok, but no matter what or how I try to create a new domain, I got the useless error message "Error: (22, ''Invalid argument'')". On my last try, I''ve populated the directory /vm/fc5.base with a base installation of Fedora Core 5. So, I exported that directory on NFS, inserting the following line on /etc/exports /vm/fc5.base *(rw,no_root_squash) and running exportfs -afr to update NFS server. Afer, I created a config file on /etc/xen/fc5base with the following content: # General kernel = "/vm/fc5.base/boot/vmlinuz-2.6.18-1.2257.fc5xenU" ramdisk = "/vm/fc5.base/boot/initrd-2.6.18-1.2257.fc5xenU.img" memory = 128 root = "/dev/nfs" nfs_server = "127.0.0.1" nfs_root = "/vm/fc5.base" # Network netmask = "255.255.255.0" gateway = "10.1.0.1" hostname = "doutorx.niteroi.unimed" At last, running the following command # xm create fc5base vmid=100 I got that message error: Error: (22, ''Invalid argument'') I have tried other ways to create a new domain from scratch, following instrunctions on the xm man page, but, I repeat, every try result in that error message. Some idea? Thanks, Davidson Paulo
master@bradleyland.com
2007-Feb-08 17:36 UTC
Re: [Fedora-xen] All the ways go to Error: (22, ''Invalid argument'')
> Good afternoon, > > I''ve installed Xen on a Fedora 6. The xend process are running, all > ok, but no matter what or how I try to create a new domain, I got the > useless error message "Error: (22, ''Invalid argument'')". > > On my last try, I''ve populated the directory /vm/fc5.base with a base > installation of Fedora Core 5. So, I exported that directory on NFS, > inserting the following line on /etc/exports > > /vm/fc5.base *(rw,no_root_squash) > > and running exportfs -afr to update NFS server. > > Afer, I created a config file on /etc/xen/fc5base with the following > content: > > # General > kernel = "/vm/fc5.base/boot/vmlinuz-2.6.18-1.2257.fc5xenU" > ramdisk = "/vm/fc5.base/boot/initrd-2.6.18-1.2257.fc5xenU.img" > memory = 128 > root = "/dev/nfs" > nfs_server = "127.0.0.1" > nfs_root = "/vm/fc5.base" > > # Network > netmask = "255.255.255.0" > gateway = "10.1.0.1" > hostname = "doutorx.niteroi.unimed" > > At last, running the following command > > # xm create fc5base vmid=100 > > I got that message error: > > Error: (22, ''Invalid argument'') > > I have tried other ways to create a new domain from scratch, following > instrunctions on the xm man page, but, I repeat, every try result in > that error message. > > Some idea? > > Thanks, > > Davidson Paulo > > -- > Fedora-xen mailing list > Fedora-xen@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen >I believe that error indicates the dom0 and domU kernels are mismatched PAE vs. non-PAE. All of the FC6 kernels I thought were PAE enabled now. An FC5 kernel is probably non-PAE in any case. Just use the dom0 kernel as the domU kernel.