[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Error in xen-unstable
On 07/14/11 10:18, Ian Campbell wrote: On Thu, 2011-07-14 at 09:13 +0100, Christoph Egger wrote:On 07/14/11 10:04, Ian Campbell wrote:On Wed, 2011-07-13 at 14:11 +0100, Roger Pau Monnà wrote:Hello, When trying to create a domu (xm) with xen-unstable on NetBSD i get the following error: Error: Device 51714 (tap) could not be connected. Hotplug scripts not working.Does netbsd even support tap devices?tap as 'virtual ethernet device', yes it does.Ah, right, that name is confusingly overloaded :-(I know it doesn't have blktap, but does it have some sort equivalent?This is hard to tell w/o knowing what blktap exactly does.It is a block backend in userspace which handles more complex disk image formats like VHD (compared with Linux's blkback which only handles exposing raw block devices but is entirely in kernel). I think, this can be implemented on top of puffs: http://en.wikipedia.org/wiki/PUFFS_%28NetBSD%29 http://www.netbsd.org/docs/puffs/ libxl uses tap:aio on NetBSD from the beginning for raw files. It should turn back to use disk type file as xm does so that NetBSD's blkback is used again. Christoph, do you know anything about the issues Roger has been seeing?The issue is that the PCI code both in xend/xm and in libxl is Linux specific.So it should work if Roger removes any PCI passthrough stuff from his guest cfg? Does NetBSD have pciback? Yes. Is code needed in libxl to support it differently from the Linux pciback? Well, mainly the interaction with the OS itself is different (how to receive the PCI information and the ioctl's to talk to the devices). Please move the Linux specific PCI code into a Linux specific file.I presume that at least the xend stuff has been that way forever, or did something change recently? PciUtil.get_all_pci_devices() is not portable. In pkgsrc we have this patch for years which is not acceptable shape for upstream: http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/sysutils/xentools41/patches/patch-ba?annotate=1.1.1.1&only_with_tag=MAIN Patches gratefully received. Thanks, Ian.Ian.I've looked at the xend, and I don't see any error, here is the extract: [2011-07-13 17:05:05 11828] DEBUG (XendDomainInfo:151) XendDomainInfo.recreate({'max_vcpu_id': 0, 'cpu_time': 236673222091L, 'ssidref': 0, 'hvm': 0, 'shutdown_reason': 255, 'dying': 0, 'online_vcpus': 1, 'domid': 0, 'paused': 0, 'crashed': 0, 'running': 1, 'maxmem_kb': 17179869180L, 'shutdown': 0, 'mem_kb': 524288L, 'blocked': 0, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'cpupool': 0, 'name': 'Domain-0'}) [2011-07-13 17:05:05 11828] INFO (XendDomainInfo:169) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0 [2011-07-13 17:05:05 11828] DEBUG (XendDomain:476) Adding Domain: 0 [2011-07-13 17:05:05 11828] DEBUG (XendDomain:410) number of vcpus to use is 0 [2011-07-13 17:05:05 11828] WARNING (XendAPI:708) API call: VBD.set_device not found [2011-07-13 17:05:05 11828] WARNING (XendAPI:708) API call: VBD.set_type not found [2011-07-13 17:05:05 11828] WARNING (XendAPI:708) API call: session.get_all_records not found [2011-07-13 17:05:05 11828] WARNING (XendAPI:708) API call: event.get_record not found [2011-07-13 17:05:05 11828] WARNING (XendAPI:708) API call: event.get_all not found [2011-07-13 17:05:05 11828] WARNING (XendAPI:708) API call: VIF.set_device not found [2011-07-13 17:05:05 11828] WARNING (XendAPI:708) API call: VIF.set_MAC not found [2011-07-13 17:05:05 11828] WARNING (XendAPI:708) API call: VIF.set_MTU not found [2011-07-13 17:05:05 11828] WARNING (XendAPI:708) API call: debug.get_all not found [2011-07-13 17:05:05 11828] INFO (XMLRPCServer:161) Opening Unix domain socket XML-RPC server on /var/run/xend/xen-api.sock; authentication has been disabled for this server. [2011-07-13 17:05:05 11828] DEBUG (XendDomainInfo:1881) XendDomainInfo.handleShutdownWatch [2011-07-13 17:05:05 11828] INFO (XMLRPCServer:161) Opening Unix domain socket XML-RPC server on /var/run/xend/xmlrpc.sock. [2011-07-13 17:05:38 11828] DEBUG (XendDomainInfo:103) XendDomainInfo.create(['vm', ['name', 'debian'], ['memory', '30720'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['vcpus', '20'], ['oos', 1], ['bootloader', '/usr/xen42/bin/pygrub'], ['bootloader_args', '-q'], ['image', ['linux', ['root', '/dev/xvda2 ro'], ['videoram', 4], ['tsc_mode', 0], ['nomigrate', 0]]], ['s3_integrity', 1], ['device', ['tap', ['uname', 'tap:aio:/home/xen/debian/disk.img'], ['dev', 'xvda2'], ['mode', 'w']]], ['device', ['tap', ['uname', 'tap:aio:/home/xen/debian/swap.img'], ['dev', 'xvda1'], ['mode', 'w']]]]) [2011-07-13 17:05:38 11828] DEBUG (XendDomainInfo:2498) XendDomainInfo.constructDomain [2011-07-13 17:05:38 11828] DEBUG (balloon:187) Balloon: 49142204 KiB free; need 16384; done. [2011-07-13 17:05:38 11828] DEBUG (XendDomain:476) Adding Domain: 2 [2011-07-13 17:05:38 11828] DEBUG (XendDomainInfo:2841) XendDomainInfo.initDomain: 2 256 [2011-07-13 17:05:38 14665] DEBUG (XendBootloader:113) Launching bootloader as ['/usr/xen42/bin/pygrub', '--args=root=/dev/xvda2 ro ', '--output=/var/run/xend/boot/xenbl.23478', '-q', '/home/xen/debian/disk.img']. [2011-07-13 17:05:39 11828] DEBUG (XendDomainInfo:2775) allocating additional NUMA node 0 [2011-07-13 17:05:39 11828] DEBUG (XendDomainInfo:2868) _initDomain:shadow_memory=0x0, memory_static_max=0x780000000, memory_static_min=0x0. [2011-07-13 17:05:39 11828] INFO (image:182) buildDomain os=linux dom=2 vcpus=20 [2011-07-13 17:05:39 11828] DEBUG (image:721) domid = 2 [2011-07-13 17:05:39 11828] DEBUG (image:722) memsize = 30720 [2011-07-13 17:05:39 11828] DEBUG (image:723) image = /var/run/xend/boot/boot_kernel.dVO37S [2011-07-13 17:05:39 11828] DEBUG (image:724) store_evtchn = 1 [2011-07-13 17:05:39 11828] DEBUG (image:725) console_evtchn = 2 [2011-07-13 17:05:39 11828] DEBUG (image:726) cmdline = root=/dev/xvda2 ro root=/dev/xvda2 ro [2011-07-13 17:05:39 11828] DEBUG (image:727) ramdisk = /var/run/xend/boot/boot_ramdisk.OxG8Fo [2011-07-13 17:05:39 11828] DEBUG (image:728) vcpus = 20 [2011-07-13 17:05:39 11828] DEBUG (image:729) features = [2011-07-13 17:05:39 11828] DEBUG (image:730) flags = 0 [2011-07-13 17:05:39 11828] DEBUG (image:731) superpages = 0 [2011-07-13 17:05:41 11828] INFO (XendDomainInfo:2357) createDevice: tap : {'bootable': 1, 'uname': 'tap:aio:/home/xen/debian/disk.img', 'mode': 'w', 'dev': 'xvda2', 'uuid': 'd3ac2d76-64cc-585d-c5d9-6e44bec62b31'} [2011-07-13 17:05:41 11828] DEBUG (DevController:95) DevController: writing {'virtual-device': '51714', 'device-type': 'disk', 'protocol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/tap/2/51714'} to /local/domain/2/device/vbd/51714. [2011-07-13 17:05:41 11828] DEBUG (DevController:97) DevController: writing {'domain': 'debian', 'frontend': '/local/domain/2/device/vbd/51714', 'uuid': 'd3ac2d76-64cc-585d-c5d9-6e44bec62b31', 'bootable': '1', 'dev': 'xvda2', 'state': '1', 'params': 'aio:/home/xen/debian/disk.img', 'mode': 'w', 'online': '1', 'frontend-id': '2', 'type': 'tap'} to /local/domain/0/backend/tap/2/51714. [2011-07-13 17:05:41 11828] INFO (XendDomainInfo:2357) createDevice: tap : {'bootable': 0, 'uname': 'tap:aio:/home/xen/debian/swap.img', 'mode': 'w', 'dev': 'xvda1', 'uuid': '5201c984-b32c-32d6-f0e7-6f2f2e6c60ea'} [2011-07-13 17:05:41 11828] DEBUG (DevController:95) DevController: writing {'virtual-device': '51713', 'device-type': 'disk', 'protocol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/tap/2/51713'} to /local/domain/2/device/vbd/51713. [2011-07-13 17:05:41 11828] DEBUG (DevController:97) DevController: writing {'domain': 'debian', 'frontend': '/local/domain/2/device/vbd/51713', 'uuid': '5201c984-b32c-32d6-f0e7-6f2f2e6c60ea', 'bootable': '0', 'dev': 'xvda1', 'state': '1', 'params': 'aio:/home/xen/debian/swap.img', 'mode': 'w', 'online': '1', 'frontend-id': '2', 'type': 'tap'} to /local/domain/0/backend/tap/2/51713. [2011-07-13 17:05:41 11828] DEBUG (XendDomainInfo:3425) Storing VM details: {'on_xend_stop': 'ignore', 'pool_name': 'Pool-0', 'shadow_memory': '0', 'uuid': 'c6fd8ffd-1787-f98d-879e-83fc1a2e9700', 'on_reboot': 'restart', 'start_time': '1310569541.47', 'on_poweroff': 'destroy', 'bootloader_args': '-q', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '20', 'vcpu_avail': '1048575', 'bootloader': '/usr/xen42/bin/pygrub', 'image': "(linux (kernel '') (args 'root=/dev/xvda2 ro ') (superpages 0) (videoram 4) (pci ()) (nomigrate 0) (tsc_mode 0) (notes (HV_START_LOW 18446603336221196288) (FEATURES '!writable_page_tables|pae_pgdir_above_4gb') (VIRT_BASE 18446744071562067968) (GUEST_VERSION 2.6) (PADDR_OFFSET 0) (GUEST_OS linux) (HYPERCALL_PAGE 18446744071578882048) (LOADER generic) (SUSPEND_CANCEL 1) (PAE_MODE yes) (ENTRY 18446744071584125440) (XEN_VERSION xen-3.0)))", 'name': 'debian'} [2011-07-13 17:05:41 11828] DEBUG (XendDomainInfo:1794) Storing domain details: {'console/ring-ref': '8569062', 'image/entry': '18446744071584125440', 'console/port': '2', 'cpu/3/availability': 'online', 'store/ring-ref': '6454765', 'image/loader': 'generic', 'image/features/writable-page-tables': '0', 'vm': '/vm/c6fd8ffd-1787-f98d-879e-83fc1a2e9700', 'control/platform-feature-multiprocessor-suspend': '1', 'image/hv-start-low': '18446603336221196288', 'cpu/17/availability': 'online', 'cpu/14/availability': 'online', 'console/limit': '1048576', 'image/guest-os': 'linux', 'cpu/11/availability': 'online', 'cpu/1/availability': 'online', 'cpu/7/availability': 'online', 'image/virt-base': '18446744071562067968', 'memory/target': '31457280', 'image/guest-version': '2.6', 'cpu/4/availability': 'online', 'cpu/15/availability': 'online', 'image/pae-mode': 'yes', 'description': '', 'cpu/13/availability': 'online', 'image/paddr-offset': '0', 'image/hypercall-page': '18446744071578882048', 'cpu/8/availability': 'online', 'cpu/9/availability': 'online', 'image/suspend-cancel': '1', 'cpu/5/availability': 'online', 'cpu/0/availability': 'online', 'image/features/pae-pgdir-above-4gb': '1', 'cpu/18/availability': 'online', 'console/type': 'xenconsoled', 'cpu/12/availability': 'online', 'cpu/19/availability': 'online', 'name': 'debian', 'cpu/6/availability': 'online', 'cpu/2/availability': 'online', 'domid': '2', 'image/xen-version': 'xen-3.0', 'cpu/16/availability': 'online', 'store/port': '1', 'cpu/10/availability': 'online'} [2011-07-13 17:05:41 11828] DEBUG (DevController:95) DevController: writing {'protocol': 'x86_64-abi', 'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/2/0'} to /local/domain/2/device/console/0. [2011-07-13 17:05:41 11828] DEBUG (DevController:97) DevController: writing {'domain': 'debian', 'frontend': '/local/domain/2/device/console/0', 'uuid': '1344a63c-b186-5554-c404-3f02ffb97530', 'frontend-id': '2', 'state': '1', 'location': '2', 'online': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/2/0. [2011-07-13 17:05:41 11828] DEBUG (XendDomainInfo:1881) XendDomainInfo.handleShutdownWatch [2011-07-13 17:05:41 11828] DEBUG (DevController:139) Waiting for devices tap2. [2011-07-13 17:05:41 11828] DEBUG (DevController:139) Waiting for devices vif. [2011-07-13 17:05:41 11828] DEBUG (DevController:139) Waiting for devices vkbd. [2011-07-13 17:05:41 11828] DEBUG (DevController:139) Waiting for devices ioports. [2011-07-13 17:05:41 11828] DEBUG (DevController:139) Waiting for devices tap. [2011-07-13 17:05:41 11828] DEBUG (DevController:144) Waiting for 51714. [2011-07-13 17:05:41 11828] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/tap/2/51714/hotplug-status. [2011-07-13 17:07:21 11828] DEBUG (XendDomainInfo:3076) XendDomainInfo.destroy: domid=2 [2011-07-13 17:07:29 11828] DEBUG (XendDomainInfo:2401) Destroying device model [2011-07-13 17:07:29 11828] DEBUG (XendDomainInfo:2408) Releasing devices [2011-07-13 17:07:29 11828] DEBUG (XendDomainInfo:2414) Removing tap/51714 [2011-07-13 17:07:29 11828] DEBUG (XendDomainInfo:1276) XendDomainInfo.destroyDevice: deviceClass = tap, device = tap/51714 [2011-07-13 17:07:29 11828] DEBUG (XendDomainInfo:2414) Removing tap/51713 [2011-07-13 17:07:29 11828] DEBUG (XendDomainInfo:1276) XendDomainInfo.destroyDevice: deviceClass = tap, device = tap/51713 [2011-07-13 17:07:29 11828] DEBUG (XendDomainInfo:2414) Removing console/0 [2011-07-13 17:07:29 11828] DEBUG (XendDomainInfo:1276) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0 And the output from xensotre-ls -fp after the domain has crashed: /tool = "" (n0) /tool/xenstored = "" (n0) /vm = "" (n0) /vm/00000000-0000-0000-0000-000000000000 = "" (n0) /vm/00000000-0000-0000-0000-000000000000/on_xend_stop = "ignore" (n0) /vm/00000000-0000-0000-0000-000000000000/pool_name = "Pool-0" (n0) /vm/00000000-0000-0000-0000-000000000000/shadow_memory = "0" (n0) /vm/00000000-0000-0000-0000-000000000000/uuid = "00000000-0000-0000-0000-000000000000" (r0) /vm/00000000-0000-0000-0000-000000000000/on_reboot = "restart" (n0) /vm/00000000-0000-0000-0000-000000000000/image = "(linux (kernel '') (superpages 0) (nomigrate 0) (tsc_mode 0))" (n0) /vm/00000000-0000-0000-0000-000000000000/image/ostype = "linux" (n0) /vm/00000000-0000-0000-0000-000000000000/image/kernel = "" (n0) /vm/00000000-0000-0000-0000-000000000000/image/cmdline = "" (r0) /vm/00000000-0000-0000-0000-000000000000/image/ramdisk = "" (n0) /vm/00000000-0000-0000-0000-000000000000/on_poweroff = "destroy" (n0) /vm/00000000-0000-0000-0000-000000000000/bootloader_args = "" (n0) /vm/00000000-0000-0000-0000-000000000000/on_xend_start = "ignore" (n0) /vm/00000000-0000-0000-0000-000000000000/on_crash = "restart" (n0) /vm/00000000-0000-0000-0000-000000000000/xend = "" (n0) /vm/00000000-0000-0000-0000-000000000000/xend/restart_count = "0" (n0) /vm/00000000-0000-0000-0000-000000000000/vcpus = "1" (n0) /vm/00000000-0000-0000-0000-000000000000/vcpu_avail = "1" (n0) /vm/00000000-0000-0000-0000-000000000000/bootloader = "" (n0) /vm/00000000-0000-0000-0000-000000000000/name = "Domain-0" (n0) /vm/00000000-0000-0000-0000-000000000000-1 = "" (n0) /vm/00000000-0000-0000-0000-000000000000-1/on_xend_stop = "ignore" (n0) /vm/00000000-0000-0000-0000-000000000000-1/pool_name = "Pool-0" (n0) /vm/00000000-0000-0000-0000-000000000000-1/shadow_memory = "0" (n0) /vm/00000000-0000-0000-0000-000000000000-1/uuid = "00000000-0000-0000-0000-000000000000" (r0) /vm/00000000-0000-0000-0000-000000000000-1/on_reboot = "restart" (n0) /vm/00000000-0000-0000-0000-000000000000-1/image = "(linux (kernel '') (superpages 0) (nomigrate 0) (tsc_mode 0))" (n0) /vm/00000000-0000-0000-0000-000000000000-1/image/ostype = "linux" (n0) /vm/00000000-0000-0000-0000-000000000000-1/image/kernel = "" (n0) /vm/00000000-0000-0000-0000-000000000000-1/image/cmdline = "" (r0) /vm/00000000-0000-0000-0000-000000000000-1/image/ramdisk = "" (n0) /vm/00000000-0000-0000-0000-000000000000-1/on_poweroff = "destroy" (n0) /vm/00000000-0000-0000-0000-000000000000-1/bootloader_args = "" (n0) /vm/00000000-0000-0000-0000-000000000000-1/on_xend_start = "ignore" (n0) /vm/00000000-0000-0000-0000-000000000000-1/on_crash = "restart" (n0) /vm/00000000-0000-0000-0000-000000000000-1/xend = "" (n0) /vm/00000000-0000-0000-0000-000000000000-1/xend/restart_count = "0" (n0) /vm/00000000-0000-0000-0000-000000000000-1/vcpus = "1" (n0) /vm/00000000-0000-0000-0000-000000000000-1/vcpu_avail = "1" (n0) /vm/00000000-0000-0000-0000-000000000000-1/bootloader = "" (n0) /vm/00000000-0000-0000-0000-000000000000-1/name = "Domain-0" (n0) /vm/00000000-0000-0000-0000-000000000000-2 = "" (n0) /vm/00000000-0000-0000-0000-000000000000-2/on_xend_stop = "ignore" (n0) /vm/00000000-0000-0000-0000-000000000000-2/pool_name = "Pool-0" (n0) /vm/00000000-0000-0000-0000-000000000000-2/shadow_memory = "0" (n0) /vm/00000000-0000-0000-0000-000000000000-2/uuid = "00000000-0000-0000-0000-000000000000" (r0) /vm/00000000-0000-0000-0000-000000000000-2/on_reboot = "restart" (n0) /vm/00000000-0000-0000-0000-000000000000-2/image = "(linux (kernel '') (superpages 0) (nomigrate 0) (tsc_mode 0))" (n0) /vm/00000000-0000-0000-0000-000000000000-2/image/ostype = "linux" (n0) /vm/00000000-0000-0000-0000-000000000000-2/image/kernel = "" (n0) /vm/00000000-0000-0000-0000-000000000000-2/image/cmdline = "" (r0) /vm/00000000-0000-0000-0000-000000000000-2/image/ramdisk = "" (n0) /vm/00000000-0000-0000-0000-000000000000-2/on_poweroff = "destroy" (n0) /vm/00000000-0000-0000-0000-000000000000-2/bootloader_args = "" (n0) /vm/00000000-0000-0000-0000-000000000000-2/on_xend_start = "ignore" (n0) /vm/00000000-0000-0000-0000-000000000000-2/on_crash = "restart" (n0) /vm/00000000-0000-0000-0000-000000000000-2/xend = "" (n0) /vm/00000000-0000-0000-0000-000000000000-2/xend/restart_count = "0" (n0) /vm/00000000-0000-0000-0000-000000000000-2/vcpus = "1" (n0) /vm/00000000-0000-0000-0000-000000000000-2/vcpu_avail = "1" (n0) /vm/00000000-0000-0000-0000-000000000000-2/bootloader = "" (n0) /vm/00000000-0000-0000-0000-000000000000-2/name = "Domain-0" (n0) /vm/00000000-0000-0000-0000-000000000000-3 = "" (n0) /vm/00000000-0000-0000-0000-000000000000-3/on_xend_stop = "ignore" (n0) /vm/00000000-0000-0000-0000-000000000000-3/pool_name = "Pool-0" (n0) /vm/00000000-0000-0000-0000-000000000000-3/shadow_memory = "0" (n0) /vm/00000000-0000-0000-0000-000000000000-3/uuid = "00000000-0000-0000-0000-000000000000" (r0) /vm/00000000-0000-0000-0000-000000000000-3/on_reboot = "restart" (n0) /vm/00000000-0000-0000-0000-000000000000-3/image = "(linux (kernel '') (superpages 0) (nomigrate 0) (tsc_mode 0))" (n0) /vm/00000000-0000-0000-0000-000000000000-3/image/ostype = "linux" (n0) /vm/00000000-0000-0000-0000-000000000000-3/image/kernel = "" (n0) /vm/00000000-0000-0000-0000-000000000000-3/image/cmdline = "" (r0) /vm/00000000-0000-0000-0000-000000000000-3/image/ramdisk = "" (n0) /vm/00000000-0000-0000-0000-000000000000-3/on_poweroff = "destroy" (n0) /vm/00000000-0000-0000-0000-000000000000-3/bootloader_args = "" (n0) /vm/00000000-0000-0000-0000-000000000000-3/on_xend_start = "ignore" (n0) /vm/00000000-0000-0000-0000-000000000000-3/on_crash = "restart" (n0) /vm/00000000-0000-0000-0000-000000000000-3/xend = "" (n0) /vm/00000000-0000-0000-0000-000000000000-3/xend/restart_count = "0" (n0) /vm/00000000-0000-0000-0000-000000000000-3/vcpus = "1" (n0) /vm/00000000-0000-0000-0000-000000000000-3/vcpu_avail = "1" (n0) /vm/00000000-0000-0000-0000-000000000000-3/bootloader = "" (n0) /vm/00000000-0000-0000-0000-000000000000-3/name = "Domain-0" (n0) /vm/00000000-0000-0000-0000-000000000000-4 = "" (n0) /vm/00000000-0000-0000-0000-000000000000-4/on_xend_stop = "ignore" (n0) /vm/00000000-0000-0000-0000-000000000000-4/pool_name = "Pool-0" (n0) /vm/00000000-0000-0000-0000-000000000000-4/shadow_memory = "0" (n0) /vm/00000000-0000-0000-0000-000000000000-4/uuid = "00000000-0000-0000-0000-000000000000" (r0) /vm/00000000-0000-0000-0000-000000000000-4/on_reboot = "restart" (n0) /vm/00000000-0000-0000-0000-000000000000-4/image = "(linux (kernel '') (superpages 0) (nomigrate 0) (tsc_mode 0))" (n0) /vm/00000000-0000-0000-0000-000000000000-4/image/ostype = "linux" (n0) /vm/00000000-0000-0000-0000-000000000000-4/image/kernel = "" (n0) /vm/00000000-0000-0000-0000-000000000000-4/image/cmdline = "" (r0) /vm/00000000-0000-0000-0000-000000000000-4/image/ramdisk = "" (n0) /vm/00000000-0000-0000-0000-000000000000-4/on_poweroff = "destroy" (n0) /vm/00000000-0000-0000-0000-000000000000-4/bootloader_args = "" (n0) /vm/00000000-0000-0000-0000-000000000000-4/on_xend_start = "ignore" (n0) /vm/00000000-0000-0000-0000-000000000000-4/on_crash = "restart" (n0) /vm/00000000-0000-0000-0000-000000000000-4/xend = "" (n0) /vm/00000000-0000-0000-0000-000000000000-4/xend/restart_count = "0" (n0) /vm/00000000-0000-0000-0000-000000000000-4/vcpus = "1" (n0) /vm/00000000-0000-0000-0000-000000000000-4/vcpu_avail = "1" (n0) /vm/00000000-0000-0000-0000-000000000000-4/bootloader = "" (n0) /vm/00000000-0000-0000-0000-000000000000-4/name = "Domain-0" (n0) /vm/00000000-0000-0000-0000-000000000000-5 = "" (n0) /vm/00000000-0000-0000-0000-000000000000-5/on_xend_stop = "ignore" (n0) /vm/00000000-0000-0000-0000-000000000000-5/pool_name = "Pool-0" (n0) /vm/00000000-0000-0000-0000-000000000000-5/shadow_memory = "0" (n0) /vm/00000000-0000-0000-0000-000000000000-5/uuid = "00000000-0000-0000-0000-000000000000" (r0) /vm/00000000-0000-0000-0000-000000000000-5/on_reboot = "restart" (n0) /vm/00000000-0000-0000-0000-000000000000-5/image = "(linux (kernel '') (superpages 0) (nomigrate 0) (tsc_mode 0))" (n0) /vm/00000000-0000-0000-0000-000000000000-5/image/ostype = "linux" (n0) /vm/00000000-0000-0000-0000-000000000000-5/image/kernel = "" (n0) /vm/00000000-0000-0000-0000-000000000000-5/image/cmdline = "" (r0) /vm/00000000-0000-0000-0000-000000000000-5/image/ramdisk = "" (n0) /vm/00000000-0000-0000-0000-000000000000-5/on_poweroff = "destroy" (n0) /vm/00000000-0000-0000-0000-000000000000-5/bootloader_args = "" (n0) /vm/00000000-0000-0000-0000-000000000000-5/on_xend_start = "ignore" (n0) /vm/00000000-0000-0000-0000-000000000000-5/on_crash = "restart" (n0) /vm/00000000-0000-0000-0000-000000000000-5/xend = "" (n0) /vm/00000000-0000-0000-0000-000000000000-5/xend/restart_count = "0" (n0) /vm/00000000-0000-0000-0000-000000000000-5/vcpus = "1" (n0) /vm/00000000-0000-0000-0000-000000000000-5/vcpu_avail = "1" (n0) /vm/00000000-0000-0000-0000-000000000000-5/bootloader = "" (n0) /vm/00000000-0000-0000-0000-000000000000-5/name = "Domain-0" (n0) /vm/00000000-0000-0000-0000-000000000000-6 = "" (n0) /vm/00000000-0000-0000-0000-000000000000-6/on_xend_stop = "ignore" (n0) /vm/00000000-0000-0000-0000-000000000000-6/pool_name = "Pool-0" (n0) /vm/00000000-0000-0000-0000-000000000000-6/shadow_memory = "0" (n0) /vm/00000000-0000-0000-0000-000000000000-6/uuid = "00000000-0000-0000-0000-000000000000" (r0) /vm/00000000-0000-0000-0000-000000000000-6/on_reboot = "restart" (n0) /vm/00000000-0000-0000-0000-000000000000-6/image = "(linux (kernel '') (superpages 0) (nomigrate 0) (tsc_mode 0))" (n0) /vm/00000000-0000-0000-0000-000000000000-6/image/ostype = "linux" (n0) /vm/00000000-0000-0000-0000-000000000000-6/image/kernel = "" (n0) /vm/00000000-0000-0000-0000-000000000000-6/image/cmdline = "" (r0) /vm/00000000-0000-0000-0000-000000000000-6/image/ramdisk = "" (n0) /vm/00000000-0000-0000-0000-000000000000-6/on_poweroff = "destroy" (n0) /vm/00000000-0000-0000-0000-000000000000-6/bootloader_args = "" (n0) /vm/00000000-0000-0000-0000-000000000000-6/on_xend_start = "ignore" (n0) /vm/00000000-0000-0000-0000-000000000000-6/on_crash = "restart" (n0) /vm/00000000-0000-0000-0000-000000000000-6/xend = "" (n0) /vm/00000000-0000-0000-0000-000000000000-6/xend/restart_count = "0" (n0) /vm/00000000-0000-0000-0000-000000000000-6/vcpus = "1" (n0) /vm/00000000-0000-0000-0000-000000000000-6/vcpu_avail = "1" (n0) /vm/00000000-0000-0000-0000-000000000000-6/bootloader = "" (n0) /vm/00000000-0000-0000-0000-000000000000-6/name = "Domain-0" (n0) /vm/00000000-0000-0000-0000-000000000000-7 = "" (n0) /vm/00000000-0000-0000-0000-000000000000-7/on_xend_stop = "ignore" (n0) /vm/00000000-0000-0000-0000-000000000000-7/pool_name = "Pool-0" (n0) /vm/00000000-0000-0000-0000-000000000000-7/shadow_memory = "0" (n0) /vm/00000000-0000-0000-0000-000000000000-7/uuid = "00000000-0000-0000-0000-000000000000" (r0) /vm/00000000-0000-0000-0000-000000000000-7/on_reboot = "restart" (n0) /vm/00000000-0000-0000-0000-000000000000-7/image = "(linux (kernel '') (superpages 0) (nomigrate 0) (tsc_mode 0))" (n0) /vm/00000000-0000-0000-0000-000000000000-7/image/ostype = "linux" (n0) /vm/00000000-0000-0000-0000-000000000000-7/image/kernel = "" (n0) /vm/00000000-0000-0000-0000-000000000000-7/image/cmdline = "" (r0) /vm/00000000-0000-0000-0000-000000000000-7/image/ramdisk = "" (n0) /vm/00000000-0000-0000-0000-000000000000-7/on_poweroff = "destroy" (n0) /vm/00000000-0000-0000-0000-000000000000-7/bootloader_args = "" (n0) /vm/00000000-0000-0000-0000-000000000000-7/on_xend_start = "ignore" (n0) /vm/00000000-0000-0000-0000-000000000000-7/on_crash = "restart" (n0) /vm/00000000-0000-0000-0000-000000000000-7/xend = "" (n0) /vm/00000000-0000-0000-0000-000000000000-7/xend/restart_count = "0" (n0) /vm/00000000-0000-0000-0000-000000000000-7/vcpus = "1" (n0) /vm/00000000-0000-0000-0000-000000000000-7/vcpu_avail = "1" (n0) /vm/00000000-0000-0000-0000-000000000000-7/bootloader = "" (n0) /vm/00000000-0000-0000-0000-000000000000-7/name = "Domain-0" (n0) /vm/00000000-0000-0000-0000-000000000000-8 = "" (n0) /vm/00000000-0000-0000-0000-000000000000-8/on_xend_stop = "ignore" (n0) /vm/00000000-0000-0000-0000-000000000000-8/pool_name = "Pool-0" (n0) /vm/00000000-0000-0000-0000-000000000000-8/shadow_memory = "0" (n0) /vm/00000000-0000-0000-0000-000000000000-8/uuid = "00000000-0000-0000-0000-000000000000" (r0) /vm/00000000-0000-0000-0000-000000000000-8/on_reboot = "restart" (n0) /vm/00000000-0000-0000-0000-000000000000-8/image = "(linux (kernel '') (superpages 0) (nomigrate 0) (tsc_mode 0))" (n0) /vm/00000000-0000-0000-0000-000000000000-8/image/ostype = "linux" (n0) /vm/00000000-0000-0000-0000-000000000000-8/image/kernel = "" (n0) /vm/00000000-0000-0000-0000-000000000000-8/image/cmdline = "" (r0) /vm/00000000-0000-0000-0000-000000000000-8/image/ramdisk = "" (n0) /vm/00000000-0000-0000-0000-000000000000-8/on_poweroff = "destroy" (n0) /vm/00000000-0000-0000-0000-000000000000-8/bootloader_args = "" (n0) /vm/00000000-0000-0000-0000-000000000000-8/on_xend_start = "ignore" (n0) /vm/00000000-0000-0000-0000-000000000000-8/on_crash = "restart" (n0) /vm/00000000-0000-0000-0000-000000000000-8/xend = "" (n0) /vm/00000000-0000-0000-0000-000000000000-8/xend/restart_count = "0" (n0) /vm/00000000-0000-0000-0000-000000000000-8/vcpus = "1" (n0) /vm/00000000-0000-0000-0000-000000000000-8/vcpu_avail = "1" (n0) /vm/00000000-0000-0000-0000-000000000000-8/bootloader = "" (n0) /vm/00000000-0000-0000-0000-000000000000-8/name = "Domain-0" (n0) /vm/00000000-0000-0000-0000-000000000000-9 = "" (n0) /vm/00000000-0000-0000-0000-000000000000-9/on_xend_stop = "ignore" (n0) /vm/00000000-0000-0000-0000-000000000000-9/pool_name = "Pool-0" (n0) /vm/00000000-0000-0000-0000-000000000000-9/shadow_memory = "0" (n0) /vm/00000000-0000-0000-0000-000000000000-9/uuid = "00000000-0000-0000-0000-000000000000" (r0) /vm/00000000-0000-0000-0000-000000000000-9/on_reboot = "restart" (n0) /vm/00000000-0000-0000-0000-000000000000-9/image = "(linux (kernel '') (superpages 0) (nomigrate 0) (tsc_mode 0))" (n0) /vm/00000000-0000-0000-0000-000000000000-9/image/ostype = "linux" (n0) /vm/00000000-0000-0000-0000-000000000000-9/image/kernel = "" (n0) /vm/00000000-0000-0000-0000-000000000000-9/image/cmdline = "" (r0) /vm/00000000-0000-0000-0000-000000000000-9/image/ramdisk = "" (n0) /vm/00000000-0000-0000-0000-000000000000-9/on_poweroff = "destroy" (n0) /vm/00000000-0000-0000-0000-000000000000-9/bootloader_args = "" (n0) /vm/00000000-0000-0000-0000-000000000000-9/on_xend_start = "ignore" (n0) /vm/00000000-0000-0000-0000-000000000000-9/on_crash = "restart" (n0) /vm/00000000-0000-0000-0000-000000000000-9/xend = "" (n0) /vm/00000000-0000-0000-0000-000000000000-9/xend/restart_count = "0" (n0) /vm/00000000-0000-0000-0000-000000000000-9/vcpus = "1" (n0) /vm/00000000-0000-0000-0000-000000000000-9/vcpu_avail = "1" (n0) /vm/00000000-0000-0000-0000-000000000000-9/bootloader = "" (n0) /vm/00000000-0000-0000-0000-000000000000-9/name = "Domain-0" (n0) /vm/00000000-0000-0000-0000-000000000000-10 = "" (n0) /vm/00000000-0000-0000-0000-000000000000-10/on_xend_stop = "ignore" (n0) /vm/00000000-0000-0000-0000-000000000000-10/pool_name = "Pool-0" (n0) /vm/00000000-0000-0000-0000-000000000000-10/shadow_memory = "0" (n0) /vm/00000000-0000-0000-0000-000000000000-10/uuid = "00000000-0000-0000-0000-000000000000" (r0) /vm/00000000-0000-0000-0000-000000000000-10/on_reboot = "restart" (n0) /vm/00000000-0000-0000-0000-000000000000-10/image = "(linux (kernel '') (superpages 0) (nomigrate 0) (tsc_mode 0))" (n0) /vm/00000000-0000-0000-0000-000000000000-10/image/ostype = "linux" (n0) /vm/00000000-0000-0000-0000-000000000000-10/image/kernel = "" (n0) /vm/00000000-0000-0000-0000-000000000000-10/image/cmdline = "" (r0) /vm/00000000-0000-0000-0000-000000000000-10/image/ramdisk = "" (n0) /vm/00000000-0000-0000-0000-000000000000-10/on_poweroff = "destroy" (n0) /vm/00000000-0000-0000-0000-000000000000-10/bootloader_args = "" (n0) /vm/00000000-0000-0000-0000-000000000000-10/on_xend_start = "ignore" (n0) /vm/00000000-0000-0000-0000-000000000000-10/on_crash = "restart" (n0) /vm/00000000-0000-0000-0000-000000000000-10/xend = "" (n0) /vm/00000000-0000-0000-0000-000000000000-10/xend/restart_count = "0" (n0) /vm/00000000-0000-0000-0000-000000000000-10/vcpus = "1" (n0) /vm/00000000-0000-0000-0000-000000000000-10/vcpu_avail = "1" (n0) /vm/00000000-0000-0000-0000-000000000000-10/bootloader = "" (n0) /vm/00000000-0000-0000-0000-000000000000-10/name = "Domain-0" (n0) /local = "" (n0) /local/pool = "" (n0) /local/pool/0 = "" (n0) /local/pool/0/other_config = "" (n0) /local/pool/0/description = "Pool-0" (n0) /local/pool/0/uuid = "4a2cb5fd-688f-e1b5-985a-b27e2f9432b5" (n0) /local/pool/0/name = "Pool-0" (n0) /local/domain = "" (n0) /local/domain/0 = "" (r0) /local/domain/0/vm = "/vm/00000000-0000-0000-0000-000000000000-10" (r0) /local/domain/0/device = "" (n0) /local/domain/0/control = "" (n0) /local/domain/0/control/platform-feature-multiprocessor-suspend = "1" (n0) /local/domain/0/error = "" (n0) /local/domain/0/memory = "" (n0) /local/domain/0/memory/target = "524288" (n0) /local/domain/0/guest = "" (n0) /local/domain/0/hvmpv = "" (n0) /local/domain/0/data = "" (n0) /local/domain/0/description = "" (r0) /local/domain/0/console = "" (r0) /local/domain/0/console/limit = "1048576" (r0) /local/domain/0/console/type = "xenconsoled" (r0) /local/domain/0/domid = "0" (r0) /local/domain/0/cpu = "" (r0) /local/domain/0/cpu/0 = "" (r0) /local/domain/0/cpu/0/availability = "online" (r0) /local/domain/0/name = "Domain-0" (r0) /local/domain/0/backend = "" (r0) /local/domain/0/backend/tap = "" (r0) /local/domain/0/backend/tap/1 = "" (r0) /local/domain/0/backend/tap/1/51714 = "" (n0,r1) /local/domain/0/backend/tap/1/51714/domain = "debian" (n0,r1) /local/domain/0/backend/tap/1/51714/frontend = "/local/domain/1/device/vbd/51714" (n0,r1) /local/domain/0/backend/tap/1/51714/uuid = "5201c984-b32c-32d6-f0e7-6f2f2e6c60ea" (n0,r1) /local/domain/0/backend/tap/1/51714/bootable = "1" (n0,r1) /local/domain/0/backend/tap/1/51714/dev = "xvda2" (n0,r1) /local/domain/0/backend/tap/1/51714/state = "5" (n0,r1) /local/domain/0/backend/tap/1/51714/params = "aio:/home/xen/debian/disk.img" (n0,r1) /local/domain/0/backend/tap/1/51714/mode = "w" (n0,r1) /local/domain/0/backend/tap/1/51714/online = "0" (n0,r1) /local/domain/0/backend/tap/1/51714/frontend-id = "1" (n0,r1) /local/domain/0/backend/tap/1/51714/type = "tap" (n0,r1) /local/domain/0/backend/tap/1/51713 = "" (n0,r1) /local/domain/0/backend/tap/1/51713/domain = "debian" (n0,r1) /local/domain/0/backend/tap/1/51713/frontend = "/local/domain/1/device/vbd/51713" (n0,r1) /local/domain/0/backend/tap/1/51713/uuid = "e7d7b26a-17bf-c5b4-059d-ae54bae2cd1f" (n0,r1) /local/domain/0/backend/tap/1/51713/bootable = "0" (n0,r1) /local/domain/0/backend/tap/1/51713/dev = "xvda1" (n0,r1) /local/domain/0/backend/tap/1/51713/state = "5" (n0,r1) /local/domain/0/backend/tap/1/51713/params = "aio:/home/xen/debian/swap.img" (n0,r1) /local/domain/0/backend/tap/1/51713/mode = "w" (n0,r1) /local/domain/0/backend/tap/1/51713/online = "0" (n0,r1) /local/domain/0/backend/tap/1/51713/frontend-id = "1" (n0,r1) /local/domain/0/backend/tap/1/51713/type = "tap" (n0,r1) /local/domain/0/backend/tap/2 = "" (r0) /local/domain/0/backend/tap/2/51714 = "" (n0,r2) /local/domain/0/backend/tap/2/51714/domain = "debian" (n0,r2) /local/domain/0/backend/tap/2/51714/frontend = "/local/domain/2/device/vbd/51714" (n0,r2) /local/domain/0/backend/tap/2/51714/uuid = "d3ac2d76-64cc-585d-c5d9-6e44bec62b31" (n0,r2) /local/domain/0/backend/tap/2/51714/bootable = "1" (n0,r2) /local/domain/0/backend/tap/2/51714/dev = "xvda2" (n0,r2) /local/domain/0/backend/tap/2/51714/state = "5" (n0,r2) /local/domain/0/backend/tap/2/51714/params = "aio:/home/xen/debian/disk.img" (n0,r2) /local/domain/0/backend/tap/2/51714/mode = "w" (n0,r2) /local/domain/0/backend/tap/2/51714/online = "0" (n0,r2) /local/domain/0/backend/tap/2/51714/frontend-id = "2" (n0,r2) /local/domain/0/backend/tap/2/51714/type = "tap" (n0,r2) /local/domain/0/backend/tap/2/51713 = "" (n0,r2) /local/domain/0/backend/tap/2/51713/domain = "debian" (n0,r2) /local/domain/0/backend/tap/2/51713/frontend = "/local/domain/2/device/vbd/51713" (n0,r2) /local/domain/0/backend/tap/2/51713/uuid = "5201c984-b32c-32d6-f0e7-6f2f2e6c60ea" (n0,r2) /local/domain/0/backend/tap/2/51713/bootable = "0" (n0,r2) /local/domain/0/backend/tap/2/51713/dev = "xvda1" (n0,r2) /local/domain/0/backend/tap/2/51713/state = "5" (n0,r2) /local/domain/0/backend/tap/2/51713/params = "aio:/home/xen/debian/swap.img" (n0,r2) /local/domain/0/backend/tap/2/51713/mode = "w" (n0,r2) /local/domain/0/backend/tap/2/51713/online = "0" (n0,r2) /local/domain/0/backend/tap/2/51713/frontend-id = "2" (n0,r2) /local/domain/0/backend/tap/2/51713/type = "tap" (n0,r2) /local/domain/0/backend/console = "" (r0) /local/domain/0/backend/console/1 = "" (r0) /local/domain/0/backend/console/2 = "" (r0) It seems like xen is not able to detach the devices, but I don't know why the domu fails to start. Hotplug scripts are inside the xen/scripts folder, they are the same found on Xen 4.1.1, which I know worked. Is there any change in xen-unstable that might break the scripts? Here is the xm info of the system: host : loki release : 5.99.52 version : NetBSD 5.99.52 (XEN3_DOM0) #1: Wed Jul 13 11:35:46 CEST 2011 royger@loki:/usr/obj/sys/arch/amd64/compile/XEN3_DOM0 machine : amd64 nr_cpus : 24 nr_nodes : 2 cores_per_socket : 6 threads_per_core : 2 cpu_mhz : 2394 hw_caps : bfebfbff:2c100800:00000000:00003f40:029ee3ff:00000000:00000001:00000000 virt_caps : hvm hvm_directio total_memory : 49139 free_memory : 47990 free_cpus : 0 xen_major : 4 xen_minor : 2 xen_extra : -unstable xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 xen_scheduler : credit xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : Fri Jul 08 18:35:24 2011 +0100 23675:00d2c5ca26fd xen_commandline : dom0_mem=512M dom0_max_vcpus=1 dom0_vcpus_pin console=com1 com1=115200,8n1 cc_compiler : gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120) cc_compile_by : root cc_compile_domain : cc_compile_date : Tue Jul 12 12:04:31 CEST 2011 xend_config_format : 4 Thanks, Roger. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Einsteinring 24, 85689 Dornach b. Muenchen Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |