[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] "Boot loader did not return any data" to make HVM to PV
Hello I'm trying to convert a HVM to PV dom0. The domU is a 10SP2 SLED ( Kernel 2.6.16.60-0.21 i386) and is a SLES11SP2 dom0 (Kernel 3.0.13-0.27-xen 64bit). The truth is that every tutorial I see it differently and I do not know where this error. When I start the domU, pvgrub shows the options but when I select the kenel-xen, returns the error "Boot loader did not return any data!" The truth is that no more look, I'm lost in the different ways of doing HVM to PV. Below the log shipping configuration files /--- domu.conf: name = "ajrPrueba_pv" maxmem = 300 memory = 300 bootloader="/usr/bin/pygrub" on_poweroff = "destroy" on_reboot = "restart" on_crash = "destroy" disk = [ "tap:qcow2:/mnt/xendomain/ajrPrueba_pv/SLED10_SP2_i586_disco3,xvda,w!" ,"tap:qcow2:/mnt/xendomain/ajrPrueba_pv/SLED10_SP2_i586_disco1,xvdb,w" ] \--- domu.conf: /--xend.log file when I start the domU [2012-10-18 12:25:52 3511] DEBUG (XendDomainInfo:103) XendDomainInfo.create(['vm', ['name', 'ajrPrueba_pv'], ['memory', 300], ['maxmem', 300], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'destroy'], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['vcpus', 2], ['oos', 1], ['bootloader', '/usr/bin/pygrub'], ['bootloader_args', ''], ['image', ['linux', ['videoram', 4], ['tsc_mode', 0], ['nomigrate', 0]]], ['s3_integrity', 1], ['device', ['tap', ['uname', 'tap:qcow2:/mnt/xendomain/ajrPrueba_pv/SLED10_SP2_i586_disco3'], ['dev', 'xvda'], ['mode', 'w!']]], ['device', ['tap', ['uname', 'tap:qcow2:/mnt/xendomain/ajrPrueba_pv/SLED10_SP2_i586_disco1'], ['dev', 'xvdb'], ['mode', 'w']]]]) [2012-10-18 12:25:52 3511] DEBUG (XendDomainInfo:2562) XendDomainInfo.constructDomain [2012-10-18 12:25:52 3511] DEBUG (balloon:206) Balloon: 308284 KiB free; need 16384; done. [2012-10-18 12:25:52 3511] DEBUG (XendDomain:482) Adding Domain: 16 [2012-10-18 12:25:52 3511] DEBUG (XendDomainInfo:2903) XendDomainInfo.initDomain: 16 256 [2012-10-18 12:25:52 3511] INFO (XendDomainInfo:3358) Mounting /mnt/xendomain/ajrPrueba_pv/SLED10_SP2_i586_disco3 on /dev/xvdz. [2012-10-18 12:25:52 3511] WARNING (BlktapController:169) WARNING: using deprecated blktap module [2012-10-18 12:25:52 3511] DEBUG (DevController:95) DevController: writing {'virtual-device-ext': '268441856', 'backend-id': '0', 'state': '1', 'device-type': 'disk', 'backend': '/local/domain/0/backend/tap/0/268441856'} to /local/domain/0/device/vbd/268441856. [2012-10-18 12:25:52 3511] DEBUG (DevController:97) DevController: writing {'domain': 'Domain-0', 'frontend': '/local/domain/0/device/vbd/268441856', 'uuid': '5074f361-967e-0936-5748-11c3bb7165c9', 'bootable': '0', 'dev': '/dev/xvdz', 'state': '1', 'params': 'qcow2:/mnt/xendomain/ajrPrueba_pv/SLED10_SP2_i586_disco3', 'mode': 'w', 'online': '1', 'frontend-id': '0', 'type': 'tap'} to /local/domain/0/backend/tap/0/268441856. [2012-10-18 12:25:52 3511] DEBUG (DevController:144) Waiting for 268441856. [2012-10-18 12:25:52 3511] DEBUG (DevController:671) hotplugStatusCallback /local/domain/0/backend/tap/0/268441856/hotplug-status. [2012-10-18 12:25:52 3511] DEBUG (DevController:685) hotplugStatusCallback 1. [2012-10-18 12:25:53 3511] DEBUG (DevController:616) frontendStatusCallback /local/domain/0/device/vbd/268441856/state = 4 [2012-10-18 12:25:53 27501] DEBUG (XendBootloader:130) Launching bootloader as ['/usr/bin/pygrub', '--output=/var/run/xend/boot/xenbl.3769', '/dev/xvdz'] +++ this is where the menu shows pvgrub (/ dev/xvdz1 is mountable and contains the root of linux) +++ [2012-10-18 12:27:31 3511] ERROR (XendBootloader:231) Boot loader didn't return any data! [2012-10-18 12:27:31 3511] INFO (XendDomainInfo:3383) Unmounting /dev/xvdz from /dev/xvdz. [2012-10-18 12:27:31 3511] DEBUG (XendDomainInfo:1278) XendDomainInfo.destroyDevice: deviceClass = tap, device = /dev/xvdz [2012-10-18 12:27:31 3511] DEBUG (DevController:183) Waiting for /dev/xvdz - destroyDevice. [2012-10-18 12:27:31 3511] DEBUG (DevController:692) deviceDestroyCallback /local/domain/0/backend/tap/0/268441856/hotplug-status. [2012-10-18 12:27:32 3511] DEBUG (DevController:692) deviceDestroyCallback /local/domain/0/backend/tap/0/268441856/hotplug-status. [2012-10-18 12:27:32 3511] DEBUG (DevController:701) deviceDestroyCallback 6. [2012-10-18 12:27:32 3511] ERROR (XendConfig:1211) dumping sxp from device controllers Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/xen/xend/XendConfig.py", line 1197, in to_sxp configs = controller.configurations(txn) File "/usr/lib64/python2.6/site-packages/xen/xend/server/DevController.py", line 245, in configurations return map(lambda x: self.configuration(x, transaction), self.deviceIDs(transaction)) File "/usr/lib64/python2.6/site-packages/xen/xend/server/DevController.py", line 245, in <lambda> return map(lambda x: self.configuration(x, transaction), self.deviceIDs(transaction)) File "/usr/lib64/python2.6/site-packages/xen/xend/server/DevController.py", line 252, in configuration configDict = self.getDeviceConfiguration(devid, transaction) File "/usr/lib64/python2.6/site-packages/xen/xend/server/blkif.py", line 164, in getDeviceConfiguration 'bootable') File "/usr/lib64/python2.6/site-packages/xen/xend/server/DevController.py", line 450, in readBackendTxn raise VmError("Device %s not connected" % devid) VmError: Device 268441856 not connected [2012-10-18 12:27:32 3511] ERROR (XendDomainInfo:489) VM start failed Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 475, 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 2905, in _initDomain self._configureBootloader() File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 3379, in _configureBootloader bootloader_args, kernel, ramdisk, args) File "/usr/lib64/python2.6/site-packages/xen/xend/XendBootloader.py", line 232, in bootloader raise VmError, msg VmError: Boot loader didn't return any data! [2012-10-18 12:27:32 3511] DEBUG (XendDomainInfo:3150) XendDomainInfo.destroy: domid=16 [2012-10-18 12:27:32 3511] DEBUG (XendDomainInfo:2470) No device model [2012-10-18 12:27:32 3511] DEBUG (XendDomainInfo:2472) Releasing devices [2012-10-18 12:27:32 3511] 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 475, 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 2905, in _initDomain self._configureBootloader() File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 3379, in _configureBootloader bootloader_args, kernel, ramdisk, args) File "/usr/lib64/python2.6/site-packages/xen/xend/XendBootloader.py", line 232, in bootloader raise VmError, msg VmError: Boot loader didn't return any data! \--xend.log file when I start the domU /-- domU /grub/menu.list title Xen -- SUSE Linux Enterprise Desktop 10 SP2 xen root (hd0,0) kernel /boot/xen.gz module /boot/vmlinuz-2.6.16.60-0.85.1-xen root=/dev/xvda1 vga=0x317 noresume splash=silent showopts clocksource=jiffies console=xvc0 module /boot/initrd-2.6.16.60-0.85.1-xen \-- domU /grub/menu.list /-- mkinitrd configuration Kernel image: /boot/vmlinuz-2.6.16.60-0.85.1-xen Initrd image: /boot/initrd-2.6.16.60-0.85.1-xen Adding the root filesystem module (ext3) Shared libs: lib/ld-2.4.so lib/libacl.so.1.1.0 lib/libattr.so.1.1.0 lib/libblkid.so.1.0 lib/libc-2.4.so lib/libcom_err.so.2.1 lib/libdl-2.4.so lib/libext2fs.so.2.4 lib/libhistory.so.5.1 lib/libncurses.so.5.5 lib/libpthread-2.4.so lib/libreadline.so.5.1 lib/librt-2.4.so lib/libuuid.so.1.2 lib/libnss_files-2.4.so lib/libnss_files.so.2 lib/libgcc_s.so.1 Driver modules: ide-core ide-disk xenblk piix Xen domU modules: xennet xenblk Filesystem modules: jfs jbd ext3 Including: initramfs fsck.ext3 No bootsplash for kernel flavor xen \-- mkinitrd configuration /-- fstab /dev/xvda1 / ext3 acl,user_xattr 1 1 /dev/xvdb1 swap swap defaults 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 \-- fstab _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |