[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] Guest won't boot after successful installation
I am having an issue getting a guest domain to start with FC5. Xen is installed on the main os which is running FC5. I created a guest domain using xenguest-install.py script. Everything goes well, and I was able to complete the network install of FC5 on this new guest domain. At the end of the install, it says that everything is fine and gives the option to reboot. I select reboot and then I'm detached from the console. Then I try to boot the new guest. xm create -c /etc/xen/xmwebserver It takes me to the console and I see the pyGRUB version 0.6 boot loader with "Fedora Core (2.6.15-1.2054_FC5xenU)" selected. I'm then detached from the console and I see the following output: ------------------------------------------------------------------------------- Using config file "/etc/xen/xmwebserver" Going to boot Fedora Core (2.6.15-1.2054_FC5xenU) kernel: /vmlinuz-2.6.15-1.2054_FC5xenU initrd: /initrd-2.6.15-1.2054_FC5xenU.img Error: destroyDevice() takes exactly 3 arguments (2 given) ------------------------------------------------------------------------------- The following is the output from xend.log file after using xm create -c /etc/xen/xmwebserver: ------------------------------------------------------------------------------- [2007-02-11 08:46:31 xend.XendDomainInfo 2207] DEBUG (XendDomainInfo:190) XendDomainInfo.create(['vm', ['name', 'xmwebserver'], ['memory', '1024'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['uuid', '4de1a30b-a557-4719-cfc2-d616c47740e5'], ['bootloader', '/usr/bin/pygrub'], ['image', ['linux', ['ramdisk', '/var/lib/xen/initrd.xvulNT'], ['kernel', '/var/lib/xen/vmlinuz.L0LaTw'], ['args', 'ro root=/dev/VolGroup00/LogVol00'], ['vncunused', 1], ['xauthority', '/root/.Xauthority']]], ['device', ['vbd', ['uname', 'phy:/dev/mapper/VolGroup00-LogVol02'], ['dev', 'xvda'], ['mode', 'w']]], ['device', ['vif', ['mac', '00:16:3e:12:23:68']]]]) [2007-02-11 08:46:31 xend.XendDomainInfo 2207] DEBUG (XendDomainInfo:296) parseConfig: config is ['vm', ['name', 'xmwebserver'], ['memory', '1024'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['uuid', '4de1a30b-a557-4719-cfc2-d616c47740e5'], ['bootloader', '/usr/bin/pygrub'], ['image', ['linux', ['ramdisk', '/var/lib/xen/initrd.xvulNT'], ['kernel', '/var/lib/xen/vmlinuz.L0LaTw'], ['args', 'ro root=/dev/VolGroup00/LogVol00'], ['vncunused', 1], ['xauthority', '/root/.Xauthority']]], ['device', ['vbd', ['uname', 'phy:/dev/mapper/VolGroup00-LogVol02'], ['dev', 'xvda'], ['mode', 'w']]], ['device', ['vif', ['mac', '00:16:3e:12:23:68']]]] [2007-02-11 08:46:31 xend.XendDomainInfo 2207] DEBUG (XendDomainInfo:397) parseConfig: result is {'shadow_memory': None, 'start_time': None, 'uuid': '4de1a30b-a557-4719-cfc2-d616c47740e5', 'on_crash': 'restart', 'on_reboot': 'restart', 'localtime': None, 'image': ['linux', ['ramdisk', '/var/lib/xen/initrd.xvulNT'], ['kernel', '/var/lib/xen/vmlinuz.L0LaTw'], ['args', 'ro root=/dev/VolGroup00/LogVol00'], ['vncunused', 1], ['xauthority', '/root/.Xauthority']], 'on_poweroff': None, 'bootloader_args': None, 'cpus': None, 'name': 'xmwebserver', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features': None, 'vcpu_avail': None, 'memory': 1024, 'device': [('vbd', ['vbd', ['uname', 'phy:/dev/mapper/VolGroup00-LogVol02'], ['dev', 'xvda'], ['mode', 'w']]), ('vif', ['vif', ['mac', '00:16:3e:12:23:68']])], 'bootloader': '/usr/bin/pygrub', 'cpu': None, 'maxmem': None} [2007-02-11 08:46:31 xend.XendDomainInfo 2207] DEBUG (XendDomainInfo:1264) XendDomainInfo.construct: None [2007-02-11 08:46:31 xend.XendDomainInfo 2207] DEBUG (XendDomainInfo:1296) XendDomainInfo.initDomain: 37 1.0 [2007-02-11 08:46:31 xend 2207] INFO (image:222) configuring linux guest [2007-02-11 08:46:31 xend 2207] DEBUG (balloon:127) Balloon: 1049164 KiB free; need 1048576; done. [2007-02-11 08:46:31 xend 2207] INFO (image:138) buildDomain os=linux dom=37 vcpus=1 [2007-02-11 08:46:31 xend 2207] WARNING (image:598) Unable to set e820 map. Probably an old HyperVisor. (38, 'Function not implemented') [2007-02-11 08:46:31 xend 2207] DEBUG (image:201) dom = 37 [2007-02-11 08:46:31 xend 2207] DEBUG (image:202) image = /var/lib/xen/vmlinuz.L0LaTw [2007-02-11 08:46:31 xend 2207] DEBUG (image:203) store_evtchn = 1 [2007-02-11 08:46:31 xend 2207] DEBUG (image:204) console_evtchn = 2 [2007-02-11 08:46:31 xend 2207] DEBUG (image:205) cmdline = ro root=/dev/VolGroup00/LogVol00 [2007-02-11 08:46:31 xend 2207] DEBUG (image:206) ramdisk = /var/lib/xen/initrd.xvulNT [2007-02-11 08:46:31 xend 2207] DEBUG (image:207) vcpus = 1 [2007-02-11 08:46:31 xend 2207] DEBUG (image:208) features = [2007-02-11 08:46:31 xend 2207] DEBUG (blkif:24) exception looking up device number for xvda: [Errno 2] No such file or directory: '/dev/xvda' [2007-02-11 08:46:31 xend 2207] DEBUG (DevController:110) DevController: writing {'backend-id': '0', 'virtual-device': '51712', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/37/51712'} to /local/domain/37/device/vbd/51712. [2007-02-11 08:46:31 xend 2207] DEBUG (DevController:112) DevController: writing {'domain': 'xmwebserver', 'frontend': '/local/domain/37/device/vbd/51712', 'dev': 'xvda', 'state': '1', 'params': '/dev/mapper/VolGroup00-LogVol02', 'mode': 'w', 'online': '1', 'frontend-id': '37', 'type': 'phy'} to /local/domain/0/backend/vbd/37/51712. [2007-02-11 08:46:31 xend 2207] DEBUG (DevController:110) DevController: writing {'backend-id': '0', 'mac': '00:16:3e:12:23:68', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/37/0'} to /local/domain/37/device/vif/0. [2007-02-11 08:46:31 xend 2207] DEBUG (DevController:112) DevController: writing {'domain': 'xmwebserver', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/37/device/vif/0', 'mac': '00:16:3e:12:23:68', 'online': '1', 'frontend-id': '37'} to /local/domain/0/backend/vif/37/0. [2007-02-11 08:46:32 xend.XendDomainInfo 2207] DEBUG (XendDomainInfo:715) Storing VM details: {'shadow_memory': '0', 'uuid': '4de1a30b-a557-4719-cfc2-d616c47740e5', 'on_reboot': 'restart', 'start_time': ' 1171212392.01', 'on_poweroff': 'destroy', 'name': 'xmwebserver', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '1024', 'on_crash': 'restart', 'image': "(linux (ramdisk /var/lib/xen/initrd.xvulNT) (kernel /var/lib/xen/vmlinuz.L0LaTw) (args 'ro root=/dev/VolGroup00/LogVol00') (vncunused 1) (xauthority /root/.Xauthority))", 'maxmem': '1024'} [2007-02-11 08:46:32 xend.XendDomainInfo 2207] DEBUG (XendDomainInfo:750) Storing domain details: {'console/ring-ref': '785800', 'console/port': '2', 'name': 'xmwebserver', 'console/limit': '1048576', 'vm': '/vm/4de1a30b-a557-4719-cfc2-d616c47740e5', 'domid': '37', 'cpu/0/availability': 'online', 'memory/target': '1048576', 'store/ring-ref': '574785', 'store/port': '1'} [2007-02-11 08:46:32 xend.XendDomainInfo 2207] DEBUG (XendDomainInfo:940) XendDomainInfo.handleShutdownWatch [2007-02-11 08:46:32 xend 2207] DEBUG (DevController:143) Waiting for devices vif. [2007-02-11 08:46:32 xend 2207] DEBUG (DevController:149) Waiting for 0. [2007-02-11 08:46:32 xend 2207] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/37/0/hotplug-status. [2007-02-11 08:46:32 xend 2207] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/37/0/hotplug-status. [2007-02-11 08:46:32 xend 2207] DEBUG (DevController:485) hotplugStatusCallback 1. [2007-02-11 08:46:32 xend 2207] DEBUG (DevController:143) Waiting for devices usb. [2007-02-11 08:46:32 xend 2207] DEBUG (DevController:143) Waiting for devices vbd. [2007-02-11 08:46:32 xend 2207] DEBUG (DevController:149) Waiting for 51712. [2007-02-11 08:46:32 xend 2207] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vbd/37/51712/hotplug-status. [2007-02-11 08:46:32 xend 2207] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vbd/37/51712/hotplug-status. [2007-02-11 08:46:32 xend 2207] DEBUG (DevController:485) hotplugStatusCallback 5. [2007-02-11 08:46:32 xend 2207] ERROR (xmlrpclib2:184) destroyDevice() takes exactly 3 arguments (2 given) Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/xen/util/xmlrpclib2.py", line 162, in _marshaled_dispatch response = self._dispatch(method, params) File "/usr/lib64/python2.4/SimpleXMLRPCServer.py", line 406, in _dispatch return func(*params) File "<string>", line 1, in <lambda> File "/usr/lib64/python2.4/site-packages/xen/xend/server/XMLRPCServer.py", line 38, in dispatch return getattr(info, fn)(*args) File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1607, in waitForDevices self.waitForDevices_(c) File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1101, in waitForDevices_ return self.getDeviceController(deviceClass).waitForDevices() File "/usr/lib64/python2.4/site-packages/xen/xend/server/DevController.py", line 145, in waitForDevices return map(self.waitForDevice , self.deviceIDs()) File "/usr/lib64/python2.4/site-packages/xen/xend/server/DevController.py", line 179, in waitForDevice self.destroyDevice(devid) TypeError: destroyDevice() takes exactly 3 arguments (2 given) [2007-02-11 08:46:32 xend.XendDomainInfo 2207] DEBUG (XendDomainInfo:1460) XendDomainInfo.destroy: domid=37 [2007-02-11 08:46:32 xend.XendDomainInfo 2207] DEBUG (XendDomainInfo:1468) XendDomainInfo.destroyDomain(37) ------------------------------------------------------------------------------- If anyone has any ideas at all, it would be very helpful. Thanks, Tom _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |