[Pkg-xen-devel] Bug#784810: Xen domU try ton access to dom0 LVM Volume group

Romain Mourier romainm at uncornichon.net
Sat May 9 01:41:35 UTC 2015


Package: xen-hypervisor-4.4-amd64
Version: 4.4.1-9

On a fresh installation of Debian Jessie, when I try to start a domU, it
try to access to a dom0 LVM Volume Group :

[...] (I put all the boot at the end)

Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top
... Begin: Assembling all MD arrays ... Failure: failed to assemble all
arrays.
done.
[    1.520563] device-mapper: uevent: version 1.0.3
[    1.520814] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30)
initialised: dm-devel at redhat.com
  Volume group "SSD-RAID1" not found
  Skipping volume group SSD-RAID1
Unable to find LVM volume SSD-RAID1/swap
  Reading all physical volumes.  This may take a while...
  No volume groups found
  No volume groups found
Begin: Waiting for encrypted source device... ...   Reading all physical
volumes.  This may take a while...
  No volume groups found
  No volume groups found

And It continue to search the volume.
SSD-RAID1 is a volume group on the dom0.
A view of the dom0 partition :

2 SSD :
    -> RAID1 soft (md0)
        -> EXT4 /boot
        -> Luks Paritition
            -> LVM  (PV : /dev/mapper/md1_crypt, VG : SSD-RAID1)
                -> /dev/SSD-RAID1/swap
                -> /dev/SSD-RAID1/root
                -> /dev/SSD-RAID1/home
4 HDD :
    -> RAID10 soft (md1)
        -> Luks Partition
            -> LVM (PV : /dev/mapper/md0p2_crypt, VG raid10)
                -> /dev/raid10/Data
                -> /dev/raid10/test0-swap (The domU swap)
                -> /dev/raid10/test0-disk (The domU disk)
                -> Potentials others domU disk

This a new install of Debian, and I can list all the things I have done :
    sed -i 's/main$/main contrib non-free/' /etc/apt/sources.list
    apt-get update && apt-get upgrade
    apt-get install vim firmware-realtek bridge-utils xen-linux-system
xen-tools
    dpkg-divert --divert /etc/grub.d/08_linux_xen --rename
/etc/grub.d/20_linux_xen
    update-grub
    reboot
    xen-create-image --hostname=test0 --lvm=raid10 --fs=ext4
--bridge=br-lan --dhcp --dist=jessie

~# apt-cache policy xen-hypervisor-4.4-amd64
xen-hypervisor-4.4-amd64:
  Installé : 4.4.1-9
  Candidat : 4.4.1-9

~# apt-cache policy xen-tools
xen-tools:
  Installé : 4.5-1
  Candidat : 4.5-1

# uname -a
Linux hv0 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24)
x86_64 GNU/Linux

The domU boot :

root at hv0:~# xl create /etc/xen/test0.cfg && xl console test0
Parsing config from /etc/xen/test0.cfg
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.16.0-4-amd64
(debian-kernel at lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) )
#1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24)
[    0.000000] Command line: root=/dev/xvda2 ro elevator=noop
[    0.000000] ACPI in unprivileged domain disabled
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] Xen: [mem 0x0000000000000000-0x000000000009ffff] usable
[    0.000000] Xen: [mem 0x00000000000a0000-0x00000000000fffff] reserved
[    0.000000] Xen: [mem 0x0000000000100000-0x0000000007ffffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI not present or invalid.
[    0.000000] AGP: No AGP bridge found
[    0.000000] e820: last_pfn = 0x8000 max_arch_pfn = 0x400000000
[    0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[    0.000000] init_memory_mapping: [mem 0x07e00000-0x07ffffff]
[    0.000000] init_memory_mapping: [mem 0x04000000-0x07dfffff]
[    0.000000] init_memory_mapping: [mem 0x00100000-0x03ffffff]
[    0.000000] RAMDISK: [mem 0x01f18000-0x05189fff]
[    0.000000] NUMA turned off
[    0.000000] Faking a node at [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x07ffffff]
[    0.000000]   NODE_DATA [mem 0x07feb000-0x07feffff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00001000-0x00ffffff]
[    0.000000]   DMA32    [mem 0x01000000-0xffffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00001000-0x0009ffff]
[    0.000000]   node   0: [mem 0x00100000-0x07ffffff]
[    0.000000] SFI: Simple Firmware Interface v0.81
http://simplefirmware.org
[    0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000fffff]
[    0.000000] e820: [mem 0x08000000-0xffffffff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on Xen
[    0.000000] Xen version: 4.4.1 (preserve-AD)
[    0.000000] setup_percpu: NR_CPUS:512 nr_cpumask_bits:512
nr_cpu_ids:1 nr_node_ids:1
[    0.000000] PERCPU: Embedded 27 pages/cpu @ffff880007c00000 s80896
r8192 d21504 u2097152
[    0.000000] Built 1 zonelists in Node order, mobility grouping on. 
Total pages: 32202
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: root=/dev/xvda2 ro elevator=noop
[    0.000000] PID hash table entries: 512 (order: 0, 4096 bytes)
[    0.000000] xsave: enabled xstate_bv 0x7, cntxt size 0x340
[    0.000000] AGP: Checking aperture...
[    0.000000] AGP: No AGP bridge found
[    0.000000] Memory: 64992K/130684K available (5207K kernel code, 946K
rwdata, 1832K rodata, 1204K init, 840K bss, 65692K reserved)
[    0.000000] Hierarchical RCU implementation.
[    0.000000]     RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000]     RCU restricting CPUs from NR_CPUS=512 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS:33024 nr_irqs:256 16
[    0.000000] xen:events: Using FIFO-based ABI
[    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] tsc: Detected 3200.090 MHz processor
[    0.004000] Calibrating delay loop (skipped), value calculated using
timer frequency.. 6400.18 BogoMIPS (lpj=12800360)
[    0.004000] pid_max: default: 32768 minimum: 301
[    0.004000] Security Framework initialized
[    0.004000] AppArmor: AppArmor disabled by boot time parameter
[    0.004000] Yama: disabled by default; enable with sysctl kernel.yama.*
[    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: 512 (order: 0, 4096 bytes)
[    0.004000] Mountpoint-cache hash table entries: 512 (order: 0, 4096
bytes)
[    0.004000] Initializing cgroup subsys memory
[    0.004000] Initializing cgroup subsys devices
[    0.004000] Initializing cgroup subsys freezer
[    0.004000] Initializing cgroup subsys net_cls
[    0.004000] Initializing cgroup subsys blkio
[    0.004000] Initializing cgroup subsys perf_event
[    0.004000] Initializing cgroup subsys net_prio
[    0.004000] CPU: Physical Processor ID: 0
[    0.004000] CPU: Processor Core ID: 0
[    0.004000] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 1024
[    0.004000] Last level dTLB entries: 4KB 1024, 2MB 1024, 4MB 1024, 1GB 4
[    0.004000] tlb_flushall_shift: 6
[    0.016334] Freeing SMP alternatives memory: 20K (ffffffff81a1b000 -
ffffffff81a20000)
[    0.018218] ftrace: allocating 21614 entries in 85 pages
[    0.024079] Performance Events: unsupported p6 CPU model 60 no PMU
driver, software events only.
[    0.025144] x86: Booted up 1 node, 1 CPUs
[    0.025203] NMI watchdog: disabled (cpu0): hardware events not enabled
[    0.025251] devtmpfs: initialized
[    0.027005] pinctrl core: initialized pinctrl subsystem
[    0.027049] NET: Registered protocol family 16
[    0.027059] xen:grant_table: Grant tables using version 1 layout
[    0.027068] Grant table initialized
[    0.027203] PCI: setting up Xen PCI frontend stub
[    0.028138] ACPI: Interpreter disabled.
[    0.028149] xen:balloon: Initialising balloon driver
[    0.028157] xen_balloon: Initialising balloon driver
[    0.028157] vgaarb: loaded
[    0.028157] PCI: System does not support PCI
[    0.028157] PCI: System does not support PCI
[    0.028157] Switched to clocksource xen
[    0.030689] pnp: PnP ACPI: disabled
[    0.031438] NET: Registered protocol family 2
[    0.031482] TCP established hash table entries: 1024 (order: 1, 8192
bytes)
[    0.031488] TCP bind hash table entries: 1024 (order: 2, 16384 bytes)
[    0.031492] TCP: Hash tables configured (established 1024 bind 1024)
[    0.031501] TCP: reno registered
[    0.031505] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.031509] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.031531] NET: Registered protocol family 1
[    0.031563] Unpacking initramfs...
[    0.059977] Freeing initrd memory: 51656K (ffff880001f18000 -
ffff88000518a000)
[    0.061052] platform rtc_cmos: registered platform RTC device (no PNP
device found)
[    0.061090] RAPL PMU detected, hw unit 2^-14 Joules, API unit is
2^-32 Joules, 4 fixed counters 655360 ms ovfl timer
[    0.061109] microcode: CPU0 sig=0x306c3, pf=0x2, revision=0x19
[    0.061138] microcode: Microcode Update Driver: v2.00
<tigran at aivazian.fsnet.co.uk>, Peter Oruba
[    0.061267] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.061283] audit: initializing netlink subsys (disabled)
[    0.061295] audit: type=2000 audit(1431131837.812:1): initialized
[    0.061491] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.061506] zbud: loaded
[    0.061593] VFS: Disk quotas dquot_6.5.2
[    0.061600] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.061633] msgmni has been set to 227
[    0.061799] alg: No test for stdrng (krng)
[    0.061814] Block layer SCSI generic (bsg) driver version 0.4 loaded
(major 252)
[    0.061839] io scheduler noop registered (default)
[    0.061845] io scheduler deadline registered
[    0.061862] io scheduler cfq registered
[    0.061896] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    0.061907] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    0.062096] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.062246] Linux agpgart interface v0.103
[    0.062289] i8042: PNP: No PS/2 controller found. Probing ports directly.
[    1.066996] i8042: No controller found
[    1.067085] mousedev: PS/2 mouse device common for all mice
[    1.126759] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[    1.126799] rtc_cmos: probe of rtc_cmos failed with error -38
[    1.126827] ledtrig-cpu: registered to indicate activity on CPUs
[    1.126838] AMD IOMMUv2 driver by Joerg Roedel <joerg.roedel at amd.com>
[    1.126840] AMD IOMMUv2 functionality not available on this system
[    1.126899] TCP: cubic registered
[    1.126910] NET: Registered protocol family 10
[    1.127047] mip6: Mobile IPv6
[    1.127052] NET: Registered protocol family 17
[    1.127066] mpls_gso: MPLS GSO support
[    1.127070] mce: Unable to init device /dev/mcelog (rc: -5)
[    1.127161] registered taskstats version 1
[    1.127195] xenbus_probe_frontend: Device with no driver:
device/vbd/51714
[    1.127198] xenbus_probe_frontend: Device with no driver:
device/vbd/51713
[    1.127200] xenbus_probe_frontend: Device with no driver: device/vif/0
[    1.127220]
/build/linux-RGM_Ed/linux-3.16.7-ckt9/drivers/rtc/hctosys.c: unable to
open rtc device (rtc0)
[    1.127569] Freeing unused kernel memory: 1204K (ffffffff818ee000 -
ffffffff81a1b000)
[    1.127574] Write protecting the kernel read-only data: 8192k
[    1.129274] Freeing unused kernel memory: 924K (ffff880001519000 -
ffff880001600000)
[    1.129338] Freeing unused kernel memory: 216K (ffff8800017ca000 -
ffff880001800000)
Loading, please wait...
[    1.171000] systemd-udevd[60]: starting version 215
[    1.171304] random: systemd-udevd urandom read with 3 bits of entropy
available
[    1.183122] xen_netfront: Initialising Xen virtual ethernet driver
[    1.188221] AVX2 version of gcm_enc/dec engaged.
[    1.197162] blkfront: xvda2: flush diskcache: enabled; persistent
grants: enabled; indirect descriptors: enabled;
[    1.198104] blkfront: xvda1: flush diskcache: enabled; persistent
grants: enabled; indirect descriptors: enabled;
[    1.200034] alg: No test for __gcm-aes-aesni (__driver-gcm-aes-aesni)
[    1.202251] alg: No test for crc32 (crc32-pclmul)
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top
... Begin: Assembling all MD arrays ... Failure: failed to assemble all
arrays.
done.
[    1.520563] device-mapper: uevent: version 1.0.3
[    1.520814] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30)
initialised: dm-devel at redhat.com
  Volume group "SSD-RAID1" not found
  Skipping volume group SSD-RAID1
Unable to find LVM volume SSD-RAID1/swap
  Reading all physical volumes.  This may take a while...
  No volume groups found
  No volume groups found
Begin: Waiting for encrypted source device... ...   Reading all physical
volumes.  This may take a while...
  No volume groups found
  No volume groups found



More information about the Pkg-xen-devel mailing list