Marc Ulfig
2011-Oct-09 18:33 UTC
[Xen-users] Boot failure of DomU in Dom0 with software Raid1 configuration - Debian Squeeze
Hi all, i have a strange problem getting DomU''s running on my Dom0. As you can see the DomU stops booting, because the /dev/xvda2 is not found. Instead it tries to mount a Raid partion. System: Debian Squeeze (last update and upgrade todoay) amd64 HDD: in Software Raid 1 Here is my mount: /dev/md1 on / type ext3 (rw,errors=remount-ro) tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) udev on /dev type tmpfs (rw,mode=0755) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620) /dev/md0 on /boot type ext3 (rw) /dev/md3 on /data type ext3 (rw,grpquota,usrquota) rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) nfsd on /proc/fs/nfsd type nfsd (rw) xenfs on /proc/xen type xenfs (rw) This is the console output: zeus:~# xm create -c dns.shadownet.local.cfg Using config file "/etc/xen/dns.shadownet.local.cfg". Started domain dns.shadownet.local (id=16) [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.32-5-xen-amd64 (Debian 2.6.32-38) (ben@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Mon Oct 3 07:53:54 UTC 2011 [ 0.000000] Command line: root=/dev/xvda2 ro [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 0.000000] Centaur CentaurHauls [ 0.000000] Atom PSE erratum detected, BIOS microcode update recommended [ 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 - 0000000008000000 (usable) [ 0.000000] DMI not present or invalid. [ 0.000000] last_pfn = 0x8000 max_arch_pfn = 0x400000000 [ 0.000000] init_memory_mapping: 0000000000000000-0000000008000000 [ 0.000000] RAMDISK: 016b9000 - 021db000 [ 0.000000] No NUMA configuration found [ 0.000000] Faking a node at 0000000000000000-0000000008000000 [ 0.000000] Bootmem setup node 0 0000000000000000-0000000008000000 [ 0.000000] NODE_DATA [0000000000032000 - 0000000000039fff] [ 0.000000] bootmap [000000000003a000 - 000000000003afff] pages 1 [ 0.000000] (7 early reservations) ==> bootmem [0000000000 - 0008000000] [ 0.000000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000] [ 0.000000] #1 [000221e000 - 0002233000] XEN PAGETABLES ==> [000221e000 - 0002233000] [ 0.000000] #2 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 - 0000008000] [ 0.000000] #3 [0001000000 - 0001698b14] TEXT DATA BSS ==> [0001000000 - 0001698b14] [ 0.000000] #4 [00016b9000 - 00021db000] RAMDISK ==> [00016b9000 - 00021db000] [ 0.000000] #5 [00021db000 - 000221e000] XEN START INFO ==> [00021db000 - 000221e000] [ 0.000000] #6 [0000008000 - 0000032000] PGTABLE ==> [0000008000 - 0000032000] [ 0.000000] Zone PFN ranges: [ 0.000000] DMA 0x00000000 -> 0x00001000 [ 0.000000] DMA32 0x00001000 -> 0x00100000 [ 0.000000] Normal 0x00100000 -> 0x00100000 [ 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 -> 0x00008000 [ 0.000000] SFI: Simple Firmware Interface v0.7 http://simplefirmware.org [ 0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs [ 0.000000] No local APIC present [ 0.000000] APIC: disable apic facility [ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 0000000000100000 [ 0.000000] Allocating PCI resources starting at 8000000 (gap: 8000000:f8000000) [ 0.000000] Booting paravirtualized kernel on Xen [ 0.000000] Xen version: 4.0.1 (preserve-AD) [ 0.000000] NR_CPUS:512 nr_cpumask_bits:512 nr_cpu_ids:1 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 30 pages/cpu @ffff880002269000 s90328 r8192 d24360 u122880 [ 0.000000] pcpu-alloc: s90328 r8192 d24360 u122880 alloc=30*4096 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Xen: using vcpu_info placement [ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 32179 [ 0.000000] Policy zone: DMA32 [ 0.000000] Kernel command line: root=/dev/xvda2 ro [ 0.000000] PID hash table entries: 512 (order: 0, 4096 bytes) [ 0.000000] Initializing CPU#0 [ 0.000000] Checking aperture... [ 0.000000] No AGP bridge found [ 0.000000] Memory: 109796k/131072k available (3149k kernel code, 384k absent, 20892k reserved, 1906k data, 604k init) [ 0.000000] SLUB: Genslabs=14, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:4352 nr_irqs:512 [ 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 1596.114 MHz processor. [ 0.004000] Calibrating delay loop (skipped), value calculated using timer frequency.. 3192.22 BogoMIPS (lpj=6384456) [ 0.004000] Security Framework initialized [ 0.004000] SELinux: Disabled at boot. [ 0.004000] Dentry cache hash table entries: 16384 (order: 5, 131072 bytes) [ 0.004000] Inode-cache hash table entries: 8192 (order: 4, 65536 bytes) [ 0.004000] Mount-cache hash table entries: 256 [ 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] Atom PSE erratum detected, BIOS microcode update recommended [ 0.004000] CPU: L1 I cache: 32K, L1 D cache: 24K [ 0.004000] CPU: L2 cache: 512K [ 0.004000] CPU 0/0x2 -> Node 0 [ 0.004000] CPU: Unsupported number of siblings 4 [ 0.004000] Performance Events: unsupported p6 CPU model 28 no PMU driver, software events only. [ 0.004000] SMP alternatives: switching to UP code [ 0.004470] Freeing SMP alternatives: 28k freed [ 0.005199] Brought up 1 CPUs [ 0.005717] devtmpfs: initialized [ 0.011877] Grant table initialized [ 0.011910] regulator: core version 0.5 [ 0.012123] NET: Registered protocol family 16 [ 0.013920] PCI: setting up Xen PCI frontend stub [ 0.015770] bio: create slab <bio-0> at 0 [ 0.016087] ACPI: Interpreter disabled. [ 0.016225] xen_balloon: Initialising balloon driver with page order 0. [ 0.016404] vgaarb: loaded [ 0.016658] PCI: System does not support PCI [ 0.016680] PCI: System does not support PCI [ 0.016950] Switching to clocksource xen [ 0.020608] pnp: PnP ACPI: disabled [ 0.021540] NET: Registered protocol family 2 [ 0.021774] IP route cache hash table entries: 1024 (order: 1, 8192 bytes) [ 0.022444] TCP established hash table entries: 4096 (order: 4, 65536 bytes) [ 0.022573] TCP bind hash table entries: 4096 (order: 4, 65536 bytes) [ 0.022635] TCP: Hash tables configured (established 4096 bind 4096) [ 0.022660] TCP reno registered [ 0.022870] NET: Registered protocol family 1 [ 0.023062] Unpacking initramfs... [ 0.055829] Freeing initrd memory: 11400k freed [ 0.068252] platform rtc_cmos: registered platform RTC device (no PNP device found) [ 0.068915] audit: initializing netlink socket (disabled) [ 0.068967] type=2000 audit(1318184071.697:1): initialized [ 0.075245] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 0.080385] VFS: Disk quotas dquot_6.5.2 [ 0.080598] Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.080877] msgmni has been set to 236 [ 0.081601] alg: No test for stdrng (krng) [ 0.081810] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 0.081843] io scheduler noop registered [ 0.081861] io scheduler anticipatory registered [ 0.081880] io scheduler deadline registered [ 0.082013] io scheduler cfq registered (default) [ 0.098841] registering netback [ 0.104653] Linux agpgart interface v0.103 [ 0.104784] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.105463] input: Macintosh mouse button emulation as /devices/virtual/input/input0 [ 0.105643] PNP: No PS/2 controller found. Probing ports directly. [ 0.108030] i8042.c: No controller found. [ 0.121563] mice: PS/2 mouse device common for all mice [ 0.121894] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0 [ 0.122112] cpuidle: using governor ladder [ 0.122135] cpuidle: using governor menu [ 0.122176] No iBFT detected. [ 0.122974] TCP cubic registered [ 0.123382] NET: Registered protocol family 10 [ 0.125376] Mobile IPv6 [ 0.125408] NET: Registered protocol family 17 [ 0.125780] registered taskstats version 1 [ 0.125831] XENBUS: Device with no driver: device/vbd/51714 [ 0.125852] XENBUS: Device with no driver: device/vbd/51713 [ 0.125872] XENBUS: Device with no driver: device/vif/0 [ 0.125890] XENBUS: Device with no driver: device/console/0 [ 0.125950] /build/buildd-linux-2.6_2.6.32-38-amd64-bk66e4/linux-2.6-2.6.32/debian/build/source_amd64_xen/drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [ 0.126068] Initalizing network drop monitor service [ 0.126354] Freeing unused kernel memory: 604k freed [ 0.126893] Write protecting the kernel read-only data: 4332k Loading, please wait... ^[OR[ 0.276422] udev[49]: starting version 164 Begin: Loading essential drivers ... [ 0.546050] SCSI subsystem initialized done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... Begin: Loading[ 0.660984] md: raid1 personality registered for level 1 Success: loaded module raid1. done. Begin: Assembling all MD arrays ... mdadm: No devices listed in conf file were found. Failure: failed to assemble all arrays. done. [ 0.706149] device-mapper: uevent: version 1.0.3 [ 0.708372] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com done. Begin: Waiting for root file system ... 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! I found in this list some inspiration where to look at. But none helped me soliving this problem. A testsystem on an old 32bit system with same Debian Version runs well. Is here someone who can help me with an idea? greetz from Germany Marc _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users