[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Problem with DomU devices not found after domain reboot using Xen 4.1.1 on NetBSD



Hello,

When rebooting a Debian DomU PV with Xen 4.1.1 on NetBSD Dom0, the
guests can no longer access any devices (or I think so), so it is
unable to find the disk and boot the system. This happens when
performing a reboot inside the machine or when shutting it down and
starting again (with xm shutdown <domu> xm create <domu>). The
configuration file used is:

bootloader = '/usr/pkg/bin/pygrub'

vcpus       = '1'
memory      = '1024'

root        = '/dev/xvda2 ro'
disk        = [
                  'phy:/dev/mapper/guests-one,xvda2,w',
                  'phy:/dev/mapper/guests-oneswap,xvda1,w',
                  'phy:/dev/mapper/guests-images,xvdb,w',
              ]

name        = 'one'
vif         = [ 'mac=00:16:3E:9C:F2:5E, bridge=bridge1' ]

on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'

The trace of xend when falling is the following (there doesn't seem to
be any error):

[2011-07-01 12:50:08 334] DEBUG (XendDomainInfo:103)
XendDomainInfo.create(['vm', ['name', 'one'], ['memory', '1024'],
['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash',
'restart'], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'],
['vcpus', '1'], ['oos', 1], ['bootloader', '/usr/pkg/bin/pygrub'],
['bootloader_args', '-q'], ['image', ['linux', ['root', '/dev/xvda2
ro'], ['videoram', 4], ['tsc_mode', 0], ['nomigrate', 0]]],
['s3_integrity', 1], ['device', ['vbd', ['uname',
'phy:/dev/mapper/guests-one'], ['dev', 'xvda2'], ['mode', 'w']]],
['device', ['vbd', ['uname', 'phy:/dev/mapper/guests-oneswap'],
['dev', 'xvda1'], ['mode', 'w']]], ['device', ['vbd', ['uname',
'phy:/dev/mapper/guests-images'], ['dev', 'xvdb'], ['mode', 'w']]],
['device', ['vif', ['bridge', 'bridge1'], ['mac',
'00:16:3E:9C:F2:5E']]]])
[2011-07-01 12:50:08 334] DEBUG (XendDomainInfo:2498)
XendDomainInfo.constructDomain
[2011-07-01 12:50:08 334] DEBUG (balloon:187) Balloon: 14438228 KiB
free; need 16384; done.
[2011-07-01 12:50:08 334] DEBUG (XendDomain:476) Adding Domain: 5
[2011-07-01 12:50:08 334] DEBUG (XendDomainInfo:2836)
XendDomainInfo.initDomain: 5 256
[2011-07-01 12:50:08 1116] DEBUG (XendBootloader:114) Launching
bootloader as ['/usr/pkg/bin/pygrub', '--args=root=/dev/xvda2 ro ',
'--output=/var/run/xend/boot/xenbl.30826', '-q',
'/dev/mapper/rguests-one'].
[2011-07-01 12:50:09 334] DEBUG (XendDomainInfo:2863)
_initDomain:shadow_memory=0x0, memory_static_max=0x40000000,
memory_static_min=0x0.
[2011-07-01 12:50:09 334] INFO (image:182) buildDomain os=linux dom=5 vcpus=1
[2011-07-01 12:50:09 334] DEBUG (image:721) domid          = 5
[2011-07-01 12:50:09 334] DEBUG (image:722) memsize        = 1024
[2011-07-01 12:50:09 334] DEBUG (image:723) image          =
/var/run/xend/boot/boot_kernel.Np2Nce
[2011-07-01 12:50:09 334] DEBUG (image:724) store_evtchn   = 1
[2011-07-01 12:50:09 334] DEBUG (image:725) console_evtchn = 2
[2011-07-01 12:50:09 334] DEBUG (image:726) cmdline        =
root=/dev/xvda2 ro root=/dev/xvda2 ro
[2011-07-01 12:50:09 334] DEBUG (image:727) ramdisk        =
/var/run/xend/boot/boot_ramdisk.1TCu4L
[2011-07-01 12:50:09 334] DEBUG (image:728) vcpus          = 1
[2011-07-01 12:50:09 334] DEBUG (image:729) features       =
[2011-07-01 12:50:09 334] DEBUG (image:730) flags          = 0
[2011-07-01 12:50:09 334] DEBUG (image:731) superpages     = 0
[2011-07-01 12:50:10 334] INFO (XendDomainInfo:2357) createDevice: vbd
: {'uuid': 'b4035cf4-a968-bf67-8b71-b1bb032221b7', 'bootable': 1,
'driver': 'paravirtualised', 'dev': 'xvda2', 'uname':
'phy:/dev/mapper/guests-one', 'mode': 'w'}
[2011-07-01 12:50:10 334] DEBUG (DevController:95) DevController:
writing {'virtual-device': '51714', 'device-type': 'disk', 'protocol':
'x86_32-abi', 'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/5/51714'} to
/local/domain/5/device/vbd/51714.
[2011-07-01 12:50:10 334] DEBUG (DevController:97) DevController:
writing {'domain': 'one', 'frontend':
'/local/domain/5/device/vbd/51714', 'uuid':
'b4035cf4-a968-bf67-8b71-b1bb032221b7', 'bootable': '1', 'dev':
'xvda2', 'state': '1', 'params': '/dev/mapper/guests-one', 'mode':
'w', 'online': '1', 'frontend-id': '5', 'type': 'phy'} to
/local/domain/0/backend/vbd/5/51714.
[2011-07-01 12:50:10 334] INFO (XendDomainInfo:2357) createDevice: vbd
: {'uuid': 'd58b9e34-3921-1d51-4554-3610395dd909', 'bootable': 0,
'driver': 'paravirtualised', 'dev': 'xvda1', 'uname':
'phy:/dev/mapper/guests-oneswap', 'mode': 'w'}
[2011-07-01 12:50:10 334] DEBUG (DevController:95) DevController:
writing {'virtual-device': '51713', 'device-type': 'disk', 'protocol':
'x86_32-abi', 'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/5/51713'} to
/local/domain/5/device/vbd/51713.
[2011-07-01 12:50:10 334] DEBUG (DevController:97) DevController:
writing {'domain': 'one', 'frontend':
'/local/domain/5/device/vbd/51713', 'uuid':
'd58b9e34-3921-1d51-4554-3610395dd909', 'bootable': '0', 'dev':
'xvda1', 'state': '1', 'params': '/dev/mapper/guests-oneswap', 'mode':
'w', 'online': '1', 'frontend-id': '5', 'type': 'phy'} to
/local/domain/0/backend/vbd/5/51713.
[2011-07-01 12:50:10 334] INFO (XendDomainInfo:2357) createDevice: vbd
: {'uuid': '9ed36d54-a229-3919-d5d2-5ffcdf2b54a6', 'bootable': 0,
'driver': 'paravirtualised', 'dev': 'xvdb', 'uname':
'phy:/dev/mapper/guests-images', 'mode': 'w'}
[2011-07-01 12:50:10 334] DEBUG (DevController:95) DevController:
writing {'virtual-device': '51728', 'device-type': 'disk', 'protocol':
'x86_32-abi', 'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vbd/5/51728'} to
/local/domain/5/device/vbd/51728.
[2011-07-01 12:50:10 334] DEBUG (DevController:97) DevController:
writing {'domain': 'one', 'frontend':
'/local/domain/5/device/vbd/51728', 'uuid':
'9ed36d54-a229-3919-d5d2-5ffcdf2b54a6', 'bootable': '0', 'dev':
'xvdb', 'state': '1', 'params': '/dev/mapper/guests-images', 'mode':
'w', 'online': '1', 'frontend-id': '5', 'type': 'phy'} to
/local/domain/0/backend/vbd/5/51728.
[2011-07-01 12:50:10 334] INFO (XendDomainInfo:2357) createDevice: vif
: {'bridge': 'bridge1', 'mac': '00:16:3E:9C:F2:5E', 'uuid':
'5487642b-3781-f3ff-deb5-b7da6d2ee40b'}
[2011-07-01 12:50:10 334] DEBUG (DevController:95) DevController:
writing {'mac': '00:16:3E:9C:F2:5E', 'handle': '0', 'protocol':
'x86_32-abi', 'backend-id': '0', 'state': '1', 'backend':
'/local/domain/0/backend/vif/5/0'} to /local/domain/5/device/vif/0.
[2011-07-01 12:50:10 334] DEBUG (DevController:97) DevController:
writing {'bridge': 'bridge1', 'domain': 'one', 'handle': '0', 'uuid':
'5487642b-3781-f3ff-deb5-b7da6d2ee40b', 'script':
'/usr/pkg/etc/xen/scripts/vif-bridge', 'mac': '00:16:3E:9C:F2:5E',
'frontend-id': '5', 'state': '1', 'online': '1', 'frontend':
'/local/domain/5/device/vif/0'} to /local/domain/0/backend/vif/5/0.
[2011-07-01 12:50:10 334] DEBUG (XendDomainInfo:3420) Storing VM
details: {'on_xend_stop': 'ignore', 'pool_name': 'Pool-0',
'shadow_memory': '0', 'uuid': '714dbd21-4665-1737-b76e-40a44eaf9f9a',
'on_reboot': 'restart', 'start_time': '1309517410.33', 'on_poweroff':
'destroy', 'bootloader_args': '-q', 'on_xend_start': 'ignore',
'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '1',
'vcpu_avail': '1', 'bootloader': '/usr/pkg/bin/pygrub', 'image':
"(linux (kernel '') (args 'root=/dev/xvda2 ro ') (superpages 0)
(videoram 4) (pci ()) (nomigrate 0) (tsc_mode 0) (notes (HV_START_LOW
4118806528) (FEATURES '!writable_page_tables|pae_pgdir_above_4gb')
(VIRT_BASE 3221225472) (GUEST_VERSION 2.6) (PADDR_OFFSET 0) (GUEST_OS
linux) (HYPERCALL_PAGE 3238010880) (LOADER generic) (SUSPEND_CANCEL 1)
(PAE_MODE yes) (ENTRY 3242176512) (XEN_VERSION xen-3.0)))", 'name':
'one'}
[2011-07-01 12:50:10 334] DEBUG (XendDomainInfo:1794) Storing domain
details: {'console/ring-ref': '2237141', 'image/entry': '3242176512',
'console/port': '2', 'store/ring-ref': '2237142', 'image/loader':
'generic', 'vm': '/vm/714dbd21-4665-1737-b76e-40a44eaf9f9a',
'control/platform-feature-multiprocessor-suspend': '1',
'image/hv-start-low': '4118806528', 'image/guest-os': 'linux',
'image/virt-base': '3221225472', 'memory/target': '1048576',
'image/guest-version': '2.6', 'image/pae-mode': 'yes', 'description':
'', 'console/limit': '1048576', 'image/paddr-offset': '0',
'image/hypercall-page': '3238010880', 'image/suspend-cancel': '1',
'cpu/0/availability': 'online', 'image/features/pae-pgdir-above-4gb':
'1', 'image/features/writable-page-tables': '0', 'console/type':
'xenconsoled', 'name': 'one', 'domid': '5', 'image/xen-version':
'xen-3.0', 'store/port': '1'}
[2011-07-01 12:50:10 334] DEBUG (DevController:95) DevController:
writing {'protocol': 'x86_32-abi', 'state': '1', 'backend-id': '0',
'backend': '/local/domain/0/backend/console/5/0'} to
/local/domain/5/device/console/0.
[2011-07-01 12:50:10 334] DEBUG (DevController:97) DevController:
writing {'domain': 'one', 'frontend':
'/local/domain/5/device/console/0', 'uuid':
'daa05ecd-7272-60a1-5d00-0c1dc3d7a19c', 'frontend-id': '5', 'state':
'1', 'location': '2', 'online': '1', 'protocol': 'vt100'} to
/local/domain/0/backend/console/5/0.
[2011-07-01 12:50:10 334] DEBUG (XendDomainInfo:1881)
XendDomainInfo.handleShutdownWatch
[2011-07-01 12:50:10 334] DEBUG (DevController:139) Waiting for devices tap2.
[2011-07-01 12:50:10 334] DEBUG (DevController:139) Waiting for devices vif.
[2011-07-01 12:50:10 334] DEBUG (DevController:144) Waiting for 0.
[2011-07-01 12:50:10 334] DEBUG (DevController:628)
hotplugStatusCallback /local/domain/0/backend/vif/5/0/hotplug-status.
[2011-07-01 12:50:10 334] DEBUG (DevController:642) hotplugStatusCallback 1.
[2011-07-01 12:50:10 334] DEBUG (DevController:139) Waiting for devices vkbd.
[2011-07-01 12:50:10 334] DEBUG (DevController:139) Waiting for devices ioports.
[2011-07-01 12:50:10 334] DEBUG (DevController:139) Waiting for devices tap.
[2011-07-01 12:50:10 334] DEBUG (DevController:139) Waiting for devices vif2.
[2011-07-01 12:50:10 334] DEBUG (DevController:139) Waiting for devices console.
[2011-07-01 12:50:10 334] DEBUG (DevController:144) Waiting for 0.
[2011-07-01 12:50:10 334] DEBUG (DevController:139) Waiting for devices vscsi.
[2011-07-01 12:50:10 334] DEBUG (DevController:139) Waiting for devices vbd.
[2011-07-01 12:50:10 334] DEBUG (DevController:144) Waiting for 51714.
[2011-07-01 12:50:10 334] DEBUG (DevController:628)
hotplugStatusCallback
/local/domain/0/backend/vbd/5/51714/hotplug-status.
[2011-07-01 12:50:10 334] DEBUG (DevController:642) hotplugStatusCallback 1.
[2011-07-01 12:50:10 334] DEBUG (DevController:144) Waiting for 51713.
[2011-07-01 12:50:10 334] DEBUG (DevController:628)
hotplugStatusCallback
/local/domain/0/backend/vbd/5/51713/hotplug-status.
[2011-07-01 12:50:10 334] DEBUG (DevController:642) hotplugStatusCallback 1.
[2011-07-01 12:50:10 334] DEBUG (DevController:144) Waiting for 51728.
[2011-07-01 12:50:10 334] DEBUG (DevController:628)
hotplugStatusCallback
/local/domain/0/backend/vbd/5/51728/hotplug-status.
[2011-07-01 12:50:10 334] DEBUG (DevController:642) hotplugStatusCallback 1.
[2011-07-01 12:50:10 334] DEBUG (DevController:139) Waiting for devices irq.
[2011-07-01 12:50:10 334] DEBUG (DevController:139) Waiting for devices vfb.
[2011-07-01 12:50:10 334] DEBUG (DevController:139) Waiting for devices pci.
[2011-07-01 12:50:10 334] DEBUG (DevController:139) Waiting for devices vusb.
[2011-07-01 12:50:10 334] DEBUG (DevController:139) Waiting for devices vtpm.
[2011-07-01 12:50:10 334] INFO (XendDomain:1225) Domain one (5) unpaused.

So if I shutdown one of my guests, I have to restart the Dom0 to be
able to launch the domain again. Also the kernel messages in the Dom0
when the machine cannot attach the devices:

xbdback backend/vbd/5/51714: can't VOP_OPEN device 0xa904: 16
xbdback backend/vbd/5/51714: can't VOP_OPEN device 0xa904: 16
xbdback backend/vbd/5/51713: can't VOP_OPEN device 0xa903: 16
xbdback backend/vbd/5/51713: can't VOP_OPEN device 0xa903: 16
xbdback backend/vbd/5/51728: can't VOP_OPEN device 0xa905: 16
xbdback backend/vbd/5/51728: can't VOP_OPEN device 0xa905: 16
xvif5i0: Ethernet address 00:16:3e:9d:f2:5e
xbd backend domain 5 handle 0xca02 (51714) using event channel 34,
protocol x86_32-abi
xbd backend domain 5 handle 0xca01 (51713) using event channel 35,
protocol x86_32-abi
xbd backend domain 5 handle 0xca10 (51728) using event channel 36,
protocol x86_32-abi

These messages in Dom0 are different than the ones shown when the
devices can be attached correctly, here is the output from the first
boot of the DomU:

xbd backend: attach device guests-one (size 20971520) for domain 2
xbdback backend/vbd/2/51714: can't VOP_OPEN device 0xa904: 16
xbd backend: attach device guests-oneswap (size 2097152) for domain 2
xbdback backend/vbd/2/51713: can't VOP_OPEN device 0xa903: 16
xbd backend: attach device guests-images (size 1677721600) for domain 2
xbdback backend/vbd/2/51728: can't VOP_OPEN device 0xa905: 16
xvif2i0: Ethernet address 00:16:3e:9d:f2:5e
xbd backend domain 2 handle 0xca02 (51714) using event channel 20,
protocol x86_32-abi
xbd backend domain 2 handle 0xca01 (51713) using event channel 21,
protocol x86_32-abi
xbd backend domain 2 handle 0xca10 (51728) using event channel 22,
protocol x86_32-abi

It seems that the Dom0 is not even trying to attach the devices to the
guest (again it's just a guess). Finally here's the output form the
DomU booting sequence:

[    0.000000] Reserving virtual address space above 0xf5800000
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.32-5-xen-686 (Debian 2.6.32-35)
(dannf@xxxxxxxxxx) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Mon
Jun 13 09:07:50 UTC 2011
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   NSC Geode by NSC
[    0.000000]   Cyrix CyrixInstead
[    0.000000]   Centaur CentaurHauls
[    0.000000]   Transmeta GenuineTMx86
[    0.000000]   Transmeta TransmetaCPU
[    0.000000]   UMC UMC UMC UMC
[    0.000000] ACPI in unprivileged domain disabled
[    0.000000] released 0 pages of unused memory
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  Xen: 0000000000000000 - 00000000000a0000 (usable)
[    0.000000]  Xen: 00000000000a0000 - 0000000000100000 (reserved)
[    0.000000]  Xen: 0000000000100000 - 0000000040000000 (usable)
[    0.000000] DMI not present or invalid.
[    0.000000] last_pfn = 0x40000 max_arch_pfn = 0x1000000
[    0.000000] init_memory_mapping: 0000000000000000-000000002cffe000
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] RAMDISK: 0164d000 - 02a35000
[    0.000000] 304MB HIGHMEM available.
[    0.000000] 719MB LOWMEM available.
[    0.000000]   mapped low ram: 0 - 2cffe000
[    0.000000]   low ram: 0 - 2cffe000
[    0.000000]   node 0 low ram: 00000000 - 2cffe000
[    0.000000]   node 0 bootmap 00007000 - 0000ca00
[    0.000000] (9 early reservations) ==> bootmem [0000000000 - 002cffe000]
[    0.000000]   #0 [0000000000 - 0000001000]   BIOS data page ==>
[0000000000 - 0000001000]
[    0.000000]   #1 [0002b38000 - 0002b50000]   XEN PAGETABLES ==>
[0002b38000 - 0002b50000]
[    0.000000]   #2 [0000001000 - 0000002000]    EX TRAMPOLINE ==>
[0000001000 - 0000002000]
[    0.000000]   #3 [0000006000 - 0000007000]       TRAMPOLINE ==>
[0000006000 - 0000007000]
[    0.000000]   #4 [0001000000 - 00015278f4]    TEXT DATA BSS ==>
[0001000000 - 00015278f4]
[    0.000000]   #5 [000164d000 - 0002a35000]          RAMDISK ==>
[000164d000 - 0002a35000]
[    0.000000]   #6 [0002a35000 - 0002b38000]   XEN START INFO ==>
[0002a35000 - 0002b38000]
[    0.000000]   #7 [0000100000 - 0000251000]          PGTABLE ==>
[0000100000 - 0000251000]
[    0.000000]   #8 [0000007000 - 000000d000]          BOOTMAP ==>
[0000007000 - 000000d000]
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000000 -> 0x00001000
[    0.000000]   Normal   0x00001000 -> 0x0002cffe
[    0.000000]   HighMem  0x0002cffe -> 0x00040000
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[2] active PFN ranges
[    0.000000]     0: 0x00000000 -> 0x000000a0
[    0.000000]     0: 0x00000100 -> 0x00040000
[    0.000000] Using APIC driver default
[    0.000000] SFI: Simple Firmware Interface v0.7 http://simplefirmware.org
[    0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
[    0.000000] Local APIC disabled by BIOS -- you can enable it with "lapic"
[    0.000000] APIC: disable apic facility
[    0.000000] PM: Registered nosave memory: 00000000000a0000 - 0000000000100000
[    0.000000] Allocating PCI resources starting at 40000000 (gap:
40000000:c0000000)
[    0.000000] Booting paravirtualized kernel on Xen
[    0.000000] Xen version: 4.1.1 (preserve-AD)
[    0.000000] NR_CPUS:32 nr_cpumask_bits:32 nr_cpu_ids:1 nr_node_ids:1
[    0.000000] PERCPU: Embedded 15 pages/cpu @c3357000 s37688 r0 d23752 u65536
[    0.000000] pcpu-alloc: s37688 r0 d23752 u65536 alloc=16*4096
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Xen: using vcpu_info placement
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 259999
[    0.000000] Kernel command line: root=/dev/xvda2 ro root=/dev/xvda2 ro
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Enabling fast FPU save and restore... done.
[    0.000000] Enabling unmasked SIMD FPU exception support... done.
[    0.000000] Initializing CPU#0
[    0.000000] Initializing HighMem for node 0 (0002cffe:00040000)
[    0.000000] Memory: 1010276k/1048576k available (2636k kernel code,
37240k reserved, 1438k data, 404k init, 311304k highmem)
[    0.000000] virtual kernel memory layout:
[    0.000000]     fixmap  : 0xf5556000 - 0xf57ff000   (2724 kB)
[    0.000000]     pkmap   : 0xf5000000 - 0xf5200000   (2048 kB)
[    0.000000]     vmalloc : 0xed7fe000 - 0xf4ffe000   ( 120 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xecffe000   ( 719 MB)
[    0.000000]       .init : 0xc13fb000 - 0xc1460000   ( 404 kB)
[    0.000000]       .data : 0xc1293071 - 0xc13fab18   (1438 kB)
[    0.000000]       .text : 0xc1000000 - 0xc1293071   (2636 kB)
[    0.000000] SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0,
CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:1536
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled
[    0.000000] console [hvc0] enabled
[    0.000000] installing Xen timer for CPU 0
[    0.000000] Detected 2128.064 MHz processor.
[    0.004000] Calibrating delay loop (skipped), value calculated
using timer frequency.. 4256.12 BogoMIPS (lpj=8512256)
[    0.004000] Security Framework initialized
[    0.004000] SELinux:  Disabled at boot.
[    0.004000] Mount-cache hash table entries: 512
[    0.004000] Initializing cgroup subsys ns
[    0.004000] Initializing cgroup subsys cpuacct
[    0.004000] Initializing cgroup subsys devices
[    0.004000] Initializing cgroup subsys freezer
[    0.004000] Initializing cgroup subsys net_cls
[    0.004000] CPU: L1 I cache: 32K, L1 D cache: 32K
[    0.004000] CPU: L2 cache: 256K
[    0.004000] CPU: L3 cache: 8192K
[    0.004000] CPU: Unsupported number of siblings 32
[    0.004000] Performance Events: unsupported p6 CPU model 44 no PMU
driver, software events only.
[    0.004000] SMP alternatives: switching to UP code
[    0.004000] Freeing SMP alternatives: 14k freed
[    0.004176] Brought up 1 CPUs
[    0.004312] devtmpfs: initialized
[    0.004811] Grant table initialized
[    0.004820] regulator: core version 0.5
[    0.004887] NET: Registered protocol family 16
[    0.005714] PCI: setting up Xen PCI frontend stub
[    0.006363] bio: create slab <bio-0> at 0
[    0.006442] ACPI: Interpreter disabled.
[    0.006487] xen_balloon: Initialising balloon driver with page order 0.
[    0.006548] vgaarb: loaded
[    0.006632] PCI: System does not support PCI
[    0.006640] PCI: System does not support PCI
[    0.006739] Switching to clocksource xen
[    0.008000] pnp: PnP ACPI: disabled
[    0.008000] PnPBIOS: Disabled
[    0.008000] NET: Registered protocol family 2
[    0.008000] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.008000] TCP established hash table entries: 131072 (order: 8,
1048576 bytes)
[    0.008000] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[    0.008000] TCP: Hash tables configured (established 131072 bind 65536)
[    0.008000] TCP reno registered
[    0.008000] NET: Registered protocol family 1
[    0.008000] Unpacking initramfs...
[    0.060149] Freeing initrd memory: 20384k freed
[    0.065656] platform rtc_cmos: registered platform RTC device (no
PNP device found)
[    0.164407] audit: initializing netlink socket (disabled)
[    0.164428] type=2000 audit(1309517411.913:1): initialized
[    0.169248] highmem bounce pool size: 64 pages
[    0.169261] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.170965] VFS: Disk quotas dquot_6.5.2
[    0.171029] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.171161] msgmni has been set to 1406
[    0.171400] alg: No test for stdrng (krng)
[    0.171473] Block layer SCSI generic (bsg) driver version 0.4
loaded (major 253)
[    0.171484] io scheduler noop registered
[    0.171490] io scheduler anticipatory registered
[    0.171497] io scheduler deadline registered
[    0.171541] io scheduler cfq registered (default)
[    0.171713] isapnp: ISA Plug & Play support disabled
[    0.175877] registering netback
[    0.177865] Linux agpgart interface v0.103
[    0.177989] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.178263] PNP: No PS/2 controller found. Probing ports directly.
[    0.179084] i8042.c: No controller found.
[    0.179120] mice: PS/2 mouse device common for all mice
[    0.179288] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[    0.179366] cpuidle: using governor ladder
[    0.179373] cpuidle: using governor menu
[    0.179382] No iBFT detected.
[    0.179646] TCP cubic registered
[    0.179814] NET: Registered protocol family 10
[    0.180472] Mobile IPv6
[    0.180480] NET: Registered protocol family 17
[    0.180499] Using IPI No-Shortcut mode
[    0.180597] registered taskstats version 1
[    0.180613] XENBUS: Device with no driver: device/vbd/51714
[    0.180620] XENBUS: Device with no driver: device/vbd/51713
[    0.180626] XENBUS: Device with no driver: device/vbd/51728
[    0.180633] XENBUS: Device with no driver: device/vif/0
[    0.180639] XENBUS: Device with no driver: device/console/0
[    0.180660] 
/tmp/buildd/linux-2.6-2.6.32/debian/build/source_i386_xen/drivers/rtc/hctosys.c:
unable to open rtc device (rtc0)
[    0.180685] Initalizing network drop monitor service
[    0.180726] Freeing unused kernel memory: 404k freed
[    0.181523] Write protecting the kernel text: 2640k
[    0.181776] Write protecting the kernel read-only data: 948k
Loading, please wait...
[    0.220445] udev[47]: starting version 164
[    0.286743] Initialising Xen virtual ethernet driver.
[    5.428092] XENBUS: Waiting for devices to initialise:
295s...290s...285s...280s...275s...270s...265s...260s...255s...250s...245s...240s...235s...230s...225s...220s...215s...210s...205s...200s...195s...190s...185s...180s...175s...170s...165s...160s...155s...150s...145s...140s...135s...130s...125s...udevd[47]:
worker [54] unexpectedly returned with status 0x0100

udevd[47]: worker [54] failed while handling '/devices/vbd-51713'

udevd[47]: worker [55] unexpectedly returned with status 0x0100

udevd[47]: worker [55] failed while handling '/devices/vbd-51714'

udevd[47]: worker [56] unexpectedly returned with status 0x0100

udevd[47]: worker [56] failed while handling '/devices/vbd-51728'

Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Waiting for root file system ...
120s...115s...110s...105s...100s...95s...90s...done.
Gave up waiting for root device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/xvda2 does not exist.  Dropping to a shell!


BusyBox v1.17.1 (Debian 1:1.17.1-8) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
(initramfs) 
85s...80s...75s...70s...65s...60s...55s...50s...45s...40s...35s...30s...25s...20s...15s...10s...5s...0s...
[  300.332294] XENBUS: Timeout connecting to device: device/vbd/51714
(local state 3, remote state 2)
[  300.332418] XENBUS: Timeout connecting to device: device/vbd/51713
(local state 3, remote state 2)
[  300.332533] XENBUS: Timeout connecting to device: device/vbd/51728
(local state 3, remote state 2)

Also my xm info:

host                   : odin
release                : 5.99.52
version                : NetBSD 5.99.52 (XEN3_DOM0) #0: Wed Jun 22
15:02:28 CEST 2011
royger@odin:/usr/obj/sys/arch/amd64/compile/XEN3_DOM0
machine                : amd64
nr_cpus                : 4
nr_nodes               : 1
cores_per_socket       : 4
threads_per_core       : 1
cpu_mhz                : 2128
hw_caps                :
bfebfbff:2c100800:00000000:00003f40:029ee3ff:00000000:00000001:00000000
virt_caps              : hvm hvm_directio
total_memory           : 16371
free_memory            : 13079
free_cpus              : 0
xen_major              : 4
xen_minor              : 1
xen_extra              : .1
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          : unavailable
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        : Wed Jun 22 11:36:28 CEST 2011
xend_config_format     : 4

Well, I hope I haven't send too much, I'm sure some of this logs are
useless, but since I don't know where the problem is I prefer to send
everything I can. Hope someone can give me a hand with this one.

Thanks and regards, Roger.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.