[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] Install a dom-u problem.
I got trouble with install Dom0 in XEN 4.3.1 PV mode, how should I mount the file system to dom0 correctly? I mkfs two sub-volgooup partitions for domU on a mdraid(1) LVM disk,
but didn't let dom0 mount. # lvs LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sync Convert xen-dom_0 vg -wi-a---- 5.00g xen-swap vg -wi-a---- 1.00g
# ls /dev/mapper/ control vg-LogVol0 vg-LogVol1 vg-LogVol2 vg-LogVol3 vg-xen--dom_0 vg-xen--swap I use a test.cfg file: xm create test -c
: kernel = "/boot/vmlinuz-xen4-install" : ramdisk = "/boot/initrd-xen4-install" : name = "test" : vcpus=2 : memory = "1024"
: disk = [ 'phy:/dev/mapper/vg-xen--dom_0,xvda,w', 'phy:/dev/mapper/vg-xen--swap,xvdb,w', ] : vif = [ 'bridge=br0', ] : > : >
: #bootloader="/usr/bin/pygrub" : extra = "text" but hang on this screen...
I can't go to next page whatever I choice what option here, and once I enter at that green place,It's hang. how should I do or read what docu to make a correct disk path?
(and PV mode can't mount two or more disk with xvd* ?) and,if I uncomment : bootloader="/usr/bin/pygrub" got another error. I check the xend log, error message is:
: DEBUG (XendDomainInfo:103) XendDomainInfo.create(['vm', ['name', 'test'], ['memory', '1024'], ['on_reboot', 'destroy'], ['on_crash', 'destroy'], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['vcpus', 2], ['oos', 1], ['bootloader', '/usr/lib64/xen/bin/pygrub'], ['bootloader_args', ''], ['image', ['linux', ['kernel', '/boot/vmlinuz-xen4-install'], ['ramdisk', '/boot/initrd-xen4-install'], ['videoram', 4], ['tsc_mode', 0], ['nomigrate', 0]]], ['s3_integrity', 1], ['device', ['vbd', ['uname', 'phy:/dev/mapper/vg-xen--dom_0'], ['dev', 'xvda'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:/dev/mapper/vg-xen--swap'], ['dev', 'xvdb'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'br0']]]])
: DEBUG (XendDomainInfo:2499) XendDomainInfo.constructDomain : DEBUG (balloon:187) Balloon: 1538772 KiB free; need 16384; done. : DEBUG (XendDomain:476) Adding Domain: 1 : DEBUG (XendDomainInfo:2842) XendDomainInfo.initDomain: 1 256
: DEBUG (XendBootloader:113) Launching bootloader as ['/usr/lib64/xen/bin/pygrub', '--kernel=/boot/vmlinuz-xen4-install', '--ramdisk=/boot/initrd-xen4-install', '--output=/var/run/xend/boot/xenbl.28418', '/dev/mapper/vg-xen--dom_0'].
: ERROR (XendBootloader:214) Boot loader didn't return any data! : ERROR (XendDomainInfo:488) VM start failed : Traceback (most recent call last): : File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 474, in start
: XendTask.log_progress(31, 60, self._initDomain) : File "/usr/lib64/python2.6/site-packages/xen/xend/XendTask.py", line 209, in log_progress : retval = func(*args, **kwds)
: File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 2844, in _initDomain : self._configureBootloader() : File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 3291, in _configureBootloader
: bootloader_args, kernel, ramdisk, args) : File "/usr/lib64/python2.6/site-packages/xen/xend/XendBootloader.py", line 215, in bootloader : raise VmError, msg : VmError: Boot loader didn't return any data!
: : DEBUG (XendDomainInfo:3077) XendDomainInfo.destroy: domid=1 : DEBUG (XendDomainInfo:2407) No device model : DEBUG (XendDomainInfo:2409) Releasing devices : ERROR (XendDomainInfo:108) Domain construction failed
: Traceback (most recent call last): : File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 106, in create : vm.start() : File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 474, in start
: XendTask.log_progress(31, 60, self._initDomain) : File "/usr/lib64/python2.6/site-packages/xen/xend/XendTask.py", line 209, in log_progress : retval = func(*args, **kwds)
: File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 2844, in _initDomain : self._configureBootloader() : File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 3291, in _configureBootloader
: bootloader_args, kernel, ramdisk, args) : File "/usr/lib64/python2.6/site-packages/xen/xend/XendBootloader.py", line 215, in bootloader : raise VmError, msg : VmError: Boot loader didn't return any data!
I set the cfg wrong?how should I do it right? Thank you -newbie- 13'11/02
_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |