[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [SPAM] Re: [Xen-users] Error: Device 2049 (vbd) could not be connected.
Reading the log files.... I discovered that the hotplug script is looking in a folder that does not exist?! " /var/run/xen-hotplug/block/owner: No such file or directory " So I manually made a directory under /dev/run/xen-hotplug again I get errors:(In the hotplug log file): /etc/xen/scripts/locking.sh: line 97: /var/run/xen-hotplug/block/owner: No such file or directory Nothing to flush. So again I went ahead and made those folders manually. Again errors: xenstore-read: couldn't read path backend/vbd/4/769/node xenstore-read: couldn't read path backend/vbd/4/770/node Now I am stuck! I am pretty sure that there is a problem with reading a volume bcs it returns an error saying sda1 is invalid (and I am using it)!? it says /dev/sda1 is not there . All I get is an initramfs prompt. not a functioning FS! jonr wrote: > > I have installed xen 3.3 from the download page and built and > installed it and have booted into the xenified kernel. When I try to > 'xm create -c <domu>' a domu I keep getting this error: > > Error: Device 2049 (vbd) could not be connected. Hotplug scripts not > working. > > Here is my domu config file: > > > # -*- mode: python; -*- > #========================================================================== > kernel = "/boot/vmlinuz-2.6.18.8-xen" > memory = "512" > ramdisk = "/boot/initramfs-domu-xen.cpio.gz" > name = "domutest" > disk = [ > 'phy:/dev/rootvg/domutest,sda1,w','phy:/dev/rootvg/domutestswap,sda2,w' > ] > root = "/dev/sda1 ro" > # Network > #vif = [ 'mac=aa:00:00:00:00:14' ] > dhcp="off" > ip="192.168.9.28" > netmask="255.255.255.0" > gateway="192.168.9.1" > hostname="domutest.destar.net" > vcpus="1" > extra = 'xencons=tty1' > #extra = 'xencons=xvc0' > #============================================================================ > > > This is what I am seeing in /var/log/xen/xend.log: > cat /var/log/xen/xend.log > [2008-10-15 05:23:44 2774] DEBUG (XendDomainInfo:89) > XendDomainInfo.create(['vm', ['name', 'domutest'], ['memory', '512'], > ['vcpus', '1'], ['on_xe > nd_start', 'ignore'], ['on_xend_stop', 'ignore'], ['image', ['linux', > ['kernel', '/boot/vmlinuz-2.6.18.8-xen'], ['ramdisk', > '/boot/initramfs-domu- > xen.cpio.gz'], ['ip', > '192.168.9.28:127.0.255.255:192.168.9.1:255.255.255.0:domutest.destar.net:eth0:off'], > ['root', '/dev/sda1 ro'], ['args', > 'xe > ncons=tty1']]], ['device', ['vbd', ['uname', > 'phy:/dev/rootvg/domutest'], ['dev', 'sda1'], ['mode', 'w']]], > ['device', ['vbd', ['uname', 'phy:/dev > /rootvg/domutestswap'], ['dev', 'sda2'], ['mode', 'w']]]]) > [2008-10-15 05:23:44 2774] DEBUG (XendDomainInfo:2028) > XendDomainInfo.constructDomain > [2008-10-15 05:23:44 2774] DEBUG (balloon:132) Balloon: 5441920 KiB > free; need 2048; done. > [2008-10-15 05:23:44 2774] DEBUG (XendDomain:447) Adding Domain: 9 > [2008-10-15 05:23:44 2774] DEBUG (XendDomainInfo:2134) > XendDomainInfo.initDomain: 9 256 > [2008-10-15 05:23:44 2774] DEBUG (XendDomainInfo:2215) > _initDomain:shadow_memory=0x0, memory_static_max=0x20000000, > memory_static_min=0x0. > [2008-10-15 05:23:44 2774] DEBUG (balloon:132) Balloon: 5441920 KiB > free; need 526336; done. > [2008-10-15 05:23:44 2774] INFO (image:166) buildDomain os=linux dom=9 > vcpus=1 > [2008-10-15 05:23:44 2774] DEBUG (image:631) domid = 9 > [2008-10-15 05:23:44 2774] DEBUG (image:632) memsize = 512 > [2008-10-15 05:23:44 2774] DEBUG (image:633) image = > /boot/vmlinuz-2.6.18.8-xen > [2008-10-15 05:23:44 2774] DEBUG (image:634) store_evtchn = 1 > [2008-10-15 05:23:44 2774] DEBUG (image:635) console_evtchn = 2 > [2008-10-15 05:23:44 2774] DEBUG (image:636) cmdline = > root=/dev/sda1 ro > ip=192.168.9.28:127.0.255.255:192.168.9.1:255.255.255.0:domutest.d > estar.net:eth0:off xencons=tty1 > [2008-10-15 05:23:44 2774] DEBUG (image:637) ramdisk = > /boot/initramfs-domu-xen.cpio.gz > [2008-10-15 05:23:44 2774] DEBUG (image:638) vcpus = 1 > [2008-10-15 05:23:44 2774] DEBUG (image:639) features = > [2008-10-15 05:23:45 2774] INFO (XendDomainInfo:1900) createDevice: > vbd : {'uuid': '5348ca8a-e9dd-fab4-c5f0-20e82fbe9723', 'bootable': 1, > 'driver' > : 'paravirtualised', 'dev': 'sda1', 'uname': > 'phy:/dev/rootvg/domutest', 'mode': 'w'} > [2008-10-15 05:23:45 2774] DEBUG (DevController:122) DevController: > writing {'virtual-device': '2049', 'device-type': 'disk', 'protocol': > 'x86_32- > abi', 'backend-id': '0', 'state': '1', 'backend': > '/local/domain/0/backend/vbd/9/2049'} to > /local/domain/9/device/vbd/2049. > [2008-10-15 05:23:45 2774] DEBUG (DevController:124) DevController: > writing {'domain': 'domutest', 'frontend': > '/local/domain/9/device/vbd/2049', > 'uuid': '5348ca8a-e9dd-fab4-c5f0-20e82fbe9723', 'dev': 'sda1', > 'state': '1', 'params': '/dev/rootvg/domutest', 'mode': 'w', 'online': > '1', 'fronte > nd-id': '9', 'type': 'phy'} to /local/domain/0/backend/vbd/9/2049. > [2008-10-15 05:23:45 2774] INFO (XendDomainInfo:1900) createDevice: > vbd : {'uuid': 'ebbbd432-c5ea-f2eb-59e5-de6355eb0f3c', 'bootable': 0, > 'driver' > : 'paravirtualised', 'dev': 'sda2', 'uname': > 'phy:/dev/rootvg/domutestswap', 'mode': 'w'} > [2008-10-15 05:23:45 2774] DEBUG (DevController:122) DevController: > writing {'virtual-device': '2050', 'device-type': 'disk', 'protocol': > 'x86_32- > abi', 'backend-id': '0', 'state': '1', 'backend': > '/local/domain/0/backend/vbd/9/2050'} to > /local/domain/9/device/vbd/2050. > [2008-10-15 05:23:45 2774] DEBUG (DevController:124) DevController: > writing {'domain': 'domutest', 'frontend': > '/local/domain/9/device/vbd/2050', > 'uuid': 'ebbbd432-c5ea-f2eb-59e5-de6355eb0f3c', 'dev': 'sda2', > 'state': '1', 'params': '/dev/rootvg/domutestswap', 'mode': 'w', > 'online': '1', 'fr > ontend-id': '9', 'type': 'phy'} to /local/domain/0/backend/vbd/9/2050. > [2008-10-15 05:23:45 2774] DEBUG (XendDomainInfo:2729) Storing VM > details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid': > 'cf542124-5234 > -aeb9-bae8-2ef0c38f246a', 'on_reboot': 'restart', 'start_time': > '1224077025.47', 'on_poweroff': 'destroy', 'on_xend_start': 'ignore', > 'on_crash': > 'restart', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', > 'image': "(linux (kernel /boot/vmlinuz-2.6.18.8-xen) (ramdisk > /boot/initram > fs-domu-xen.cpio.gz) (args 'root=/dev/sda1 ro > ip=192.168.9.28:127.0.255.255:192.168.9.1:255.255.255.0:domutest.destar.net:eth0:off > > xencons=tty1') > (notes (HV_START_LOW 4118806528) (FEATURES > 'writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor > _mode_kernel') (VIRT_BASE 3221225472) (GUEST_VERSION 2.6) > (PADDR_OFFSET 3221225472) (GUEST_OS linux) (HYPERCALL_PAGE 3222278144) > (LOADER generic) > (SUSPEND_CANCEL 1) (PAE_MODE yes) (ENTRY 3222274048) (XEN_VERSION > xen-3.0)))", 'name': 'domutest'} > [2008-10-15 05:23:45 2774] DEBUG (XendDomainInfo:1359) Storing domain > details: {'console/ring-ref': '1749619', 'image/entry': '3222274048', > 'conso > le/port': '2', 'store/ring-ref': '1749620', 'image/loader': 'generic', > 'vm': '/vm/cf542124-5234-aeb9-bae8-2ef0c38f246a', > 'control/platform-feature > -multiprocessor-suspend': '1', 'image/hv-start-low': '4118806528', > 'image/guest-os': 'linux', > 'image/features/writable-descriptor-tables': '1', 'i > mage/virt-base': '3221225472', 'memory/target': '524288', > 'image/guest-version': '2.6', 'image/features/supervisor-mode-kernel': > '1', 'image/pae-m > ode': 'yes', 'console/limit': '1048576', 'image/paddr-offset': > '3221225472', 'image/hypercall-page': '3222278144', > 'image/suspend-cancel': '1', 'c > pu/0/availability': 'online', 'image/features/pae-pgdir-above-4gb': > '1', 'image/features/writable-page-tables': '1', 'console/type': > 'xenconsoled' > , 'image/features/auto-translated-physmap': '1', 'name': 'domutest', > 'domid': '9', 'image/xen-version': 'xen-3.0', 'store/port': '1'} > [2008-10-15 05:23:45 2774] DEBUG (DevController:122) DevController: > writing {'protocol': 'x86_32-abi', 'state': '1', 'backend-id': '0', > 'backend': > '/local/domain/0/backend/console/9/0'} to > /local/domain/9/device/console/0. > [2008-10-15 05:23:45 2774] DEBUG (DevController:124) DevController: > writing {'domain': 'domutest', 'frontend': > '/local/domain/9/device/console/0', > 'uuid': 'edc26826-48fa-c3d2-6f4d-ab105d581c03', 'frontend-id': '9', > 'state': '1', 'location': '2', 'online': '1', 'protocol': 'vt100'} to > /local/ > domain/0/backend/console/9/0. > [2008-10-15 05:23:45 2774] DEBUG (XendDomainInfo:1443) > XendDomainInfo.handleShutdownWatch > [2008-10-15 05:23:45 2774] DEBUG (DevController:155) Waiting for devices > vif. > [2008-10-15 05:23:45 2774] DEBUG (DevController:155) Waiting for > devices vscsi. > [2008-10-15 05:23:45 2774] DEBUG (DevController:155) Waiting for devices > vbd. > [2008-10-15 05:23:45 2774] DEBUG (DevController:160) Waiting for 2049. > [2008-10-15 05:23:45 2774] DEBUG (DevController:645) > hotplugStatusCallback /local/domain/0/backend/vbd/9/2049/hotplug-status. > [2008-10-15 05:25:25 2774] DEBUG (XendDomainInfo:2389) > XendDomainInfo.destroy: domid=9 > [2008-10-15 05:25:25 2774] DEBUG (XendDomainInfo:2406) > XendDomainInfo.destroyDomain(9) > [2008-10-15 05:25:25 2774] DEBUG (XendDomainInfo:1939) Destroying device > model > [2008-10-15 05:25:25 2774] DEBUG (XendDomainInfo:1946) Releasing devices > [2008-10-15 05:25:25 2774] DEBUG (XendDomainInfo:1952) Removing vbd/2049 > [2008-10-15 05:25:25 2774] DEBUG (XendDomainInfo:888) > XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/2049 > [2008-10-15 05:25:25 2774] DEBUG (XendDomainInfo:1952) Removing vbd/2050 > [2008-10-15 05:25:25 2774] DEBUG (XendDomainInfo:888) > XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/2050 > [2008-10-15 05:25:25 2774] DEBUG (XendDomainInfo:1952) Removing console/0 > [2008-10-15 05:25:25 2774] DEBUG (XendDomainInfo:888) > XendDomainInfo.destroyDevice: deviceClass = console, device = console/0 > > > Is there anything glaringly obvious that I am missing? > > Thanks for any help. > > Jon > > > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@xxxxxxxxxxxxxxxxxxx > http://lists.xensource.com/xen-users > > -- View this message in context: http://www.nabble.com/Error%3A-Device-2049-%28vbd%29-could-not-be-connected.-tp20002887p20606240.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |