ch huang
2009-Oct-13 10:36 UTC
[Xen-users] i have question about domain-U''s full virtual install
I install my domain-U with virt-install
virt-install -n SN244_Test_Test44 -r 8192 --vcpus=16 -f /dev/vg01/44root -f
/dev/vg01/44swap -f /dev/vg01/44var -f /dev/vg01/44data -m 00:16:3e:61:63:63
-b xenbr0 --nographics --accelerate --os-type=linux -l
http://172.16.2.45/64/5.3 -x
"kshttp://172.16.1.111/myinstall/new/newd1.ks.cfg"
get the error
virDomainCreateLinux() failed POST operation failed: (xend.err ''Error
creating domain: Unable to find number for device (None)'')
Domain installation may not have been
successful. If it was, you can restart your domain
by running ''virsh start SN244_Test_Test44''; otherwise, please
restart your installation.
Tue, 13 Oct 2009 18:33:48 ERROR virDomainCreateLinux() failed POST
operation failed: (xend.err ''Error creating domain: Unable to find
number
for device (None)'')
Traceback (most recent call last):
File "/usr/sbin/virt-install", line 560, in ?
main()
File "/usr/sbin/virt-install", line 492, in main
dom = guest.start_install(conscb, progresscb, wait=(not wait))
File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 822,
in
start_install
return self._do_install(consolecb, meter, wait)
File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 843,
in
_do_install
self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib64/python2.4/site-packages/libvirt.py", line 573, in
createLinux
if ret is None:raise libvirtError(''virDomainCreateLinux()
failed'',
conn=self)
libvirtError: virDomainCreateLinux() failed POST operation failed: (xend.err
''Error creating domain: Unable to find number for device
(None)'')
but add option -p (half virtual) get no error
is there any problem??? i also check the cpuinfo ,it did with option vmx
cat /proc/cpuinfo
model name : Intel(R) Xeon(R) CPU E5520 @ 2.27GHz
stepping : 5
cpu MHz : 2261.012
cache size : 8192 KB
physical id : 15
siblings : 1
core id : 0
cpu cores : 1
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36
clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni
monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-Oct-13 12:21 UTC
Re: [Xen-users] i have question about domain-U''s full virtual install
On Tue, Oct 13, 2009 at 5:36 PM, ch huang <justlooks@gmail.com> wrote:> I install my domain-U with virt-install > virt-install -n SN244_Test_Test44 -r 8192 --vcpus=16 -f /dev/vg01/44root -f > /dev/vg01/44swap -f /dev/vg01/44var -f /dev/vg01/44data -m 00:16:3e:61:63:63 > -b xenbr0 --nographics --accelerate --os-type=linux -l > http://172.16.2.45/64/5.3 -x > "ks=http://172.16.1.111/myinstall/new/newd1.ks.cfg"(I haven''t used virt-install for a while so my skills on that is probably rusty). I''m not sure HVM domU can load kernel and initrd from a http install (it supports disk, cdrom, floppy, and PXE boot). What you MIGHT be able to do for HVM: - create a boot ISO containing kernel and initrd. For RHEL/Centos, you can simply use CD1 and boot with "linux askmethod" later. Other distros might have a special ISO for installing from network. - create your domU with somthing like this (note I''m omitting some args which might be unsupported, already the default, or unnecessary) virt-install -n SN244_Test_Test44 -r 8192 --vcpus=16 -f /dev/vg01/HVMdisk -l /path/to/your/cdrom-boot-image.iso - boot with "linux askmethod" (or whatever method your distro needs to specify http install source). You can also specify kickstart here if needed. Hope that helps. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users