https://bugzilla.novell.com/show_bug.cgi?id=874463
https://bugzilla.novell.com/show_bug.cgi?id=874463#c0
Summary: Device 0 (vif) could not be connected. Hotplug scripts
not working.
Classification: openSUSE
Product: openSUSE 13.1
Version: Final
Platform: x86-64
OS/Version: openSUSE 13.1
Status: NEW
Severity: Critical
Priority: P5 - None
Component: Xen
AssignedTo: jdouglas@suse.com
ReportedBy: t.wagner@inode.at
QAContact: qa-bugs@suse.de
Found By: ---
Blocker: ---
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Win64;
x64; Trident/7.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR
3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
After upgrade from 12.3 to 13.1 xen with xend and bridge-mode does not work any
more. I know that xm is deprecated by xen project. But migration from xm to
xl/libvirt is not so simple at the moment.
=====================================================
zeus:/ # rpm -q -a |grep xen
xen-xend-tools-4.3.2_01-12.1.x86_64
xen-libs-4.3.2_01-12.1.x86_64
libvirt-daemon-xen-1.1.2-2.18.3.x86_64
xen-4.3.2_01-12.1.x86_64
libvirt-daemon-driver-xen-1.1.2-2.18.3.x86_64
xen-tools-4.3.2_01-12.1.x86_64
<domain type='xen'>
<name>template</name>
<uuid>7fdf20a8-08b1-8d01-09e9-cfe8ca12de7d</uuid>
<description>template for all Linux VMs</description>
<memory unit='KiB'>524288</memory>
<currentMemory unit='KiB'>524288</currentMemory>
<vcpu placement='static'>2</vcpu>
<bootloader>/usr/bin/pygrub</bootloader>
-q
<os>
<type>linux</type>
<cmdline>brokenmodules=edd</cmdline>
</os>
<clock offset='utc' adjustment='reset'/>
destroy
restart
destroy
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type='file' device='disk'>
<driver name='file'/>
<source file='/srv/domains/template.0'/>
<target dev='xvda' bus='xen'/>
</disk>
<interface type='bridge'>
<mac address='00:16:3e:51:a3:b8'/>
<source bridge='br1'/>
<script path='/etc/xen/scripts/vif-bridge'/>
</interface>
<console type='pty'>
<target type='xen' port='0'/>
</console>
<input type='mouse' bus='xen'/>
<graphics type='vnc' port='-1' autoport='yes' keymap='de'/>
</devices>
</domain>
zeus:~ # brctl show
bridge name bridge id STP enabled interfaces
br0 8000.0025b3e0f418 no eth0
br1 8000.0025b3e0f41a no eth1
br2 8000.0025b3e0f41c no eth2
"qemu-dm-template.log"
domid: 2
Warning: vlan 0 is not connected to host network
char device redirected to /dev/pts/0
xs_read(): target get error. /local/domain/2/target.
xs_read(): vncpasswd get error.
/vm/7fdf20a8-08b1-8d01-09e9-cfe8ca12de7d/vncpasswd.
char device redirected to /dev/pts/2
xen-hotplug.log
xenstore-read: couldn't read path backend/vbd/2/51712/node
xm start -c template
(on a second shell because vm is in state 'p') - xm unpause 2
zeus:/var/log/xen # xm start -c template
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.10.24-4-xen (root@artemis) (gcc version 4.7.2
20130108 [gcc-4_7-branch revision 195012] (SUSE Linux) ) #1 SMP Sun Dec 15
12:22:45 CET 2013
[ 0.000000] Command line: root=/dev/xvda2 resume=/dev/xvda1 splash=silent
showopts brokenmodules=edd
[ 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-0x00000000207fffff] usable
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] DMI not present or invalid.
[ 0.000000] No AGP bridge found
[ 0.000000] e820: last_pfn = 0x20800 max_arch_pfn = 0x400000000
[ 0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[ 0.000000] init_memory_mapping: [mem 0x1fe00000-0x1fffffff]
[ 0.000000] init_memory_mapping: [mem 0x1c000000-0x1fdfffff]
[ 0.000000] init_memory_mapping: [mem 0x00100000-0x1bffffff]
[ 0.000000] init_memory_mapping: [mem 0x20000000-0x207fffff]
[ 0.000000] RAMDISK: [mem 0x019d4000-0x034b4fff]
[ 0.000000] NUMA turned off
[ 0.000000] Faking a node at [mem 0x0000000000000000-0x00000000207fffff]
[ 0.000000] Initmem setup node 0 [mem 0x00000000-0x207fffff]
[ 0.000000] NODE_DATA [mem 0x1ff1a000-0x1ff1dfff]
[ 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-0x207fffff]
[ 0.000000] smpboot: Allowing 2 CPUs, 0 hotplug CPUs
[ 0.000000] No local APIC present
[ 0.000000] APIC: disable apic facility
[ 0.000000] APIC: switched to apic NOOP
[ 0.000000] e820: [mem 0x20800000-0xffffffff] available for PCI devices
[ 0.000000] Booting paravirtualized kernel on Xen
[ 0.000000] Xen version: 4.3.2_01-12.1 (preserve-AD)
[ 0.000000] setup_percpu: NR_CPUS:4 nr_cpumask_bits:4 nr_cpu_ids:2
nr_node_ids:1
[ 0.000000] PERCPU: Embedded 26 pages/cpu @ffff88001fc00000 s76736 r8192
d21568 u1048576
[ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total
pages: 131182
[ 0.000000] Policy zone: DMA32
[ 0.000000] Kernel command line: root=/dev/xvda2 resume=/dev/xvda1
splash=silent showopts brokenmodules=edd
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Checking aperture...
[ 0.000000] No AGP bridge found
[ 0.000000] Memory: 479080k/532480k available (3096k kernel code, 388k
absent, 53012k reserved, 1305k data, 800k init)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[ 0.000000] NR_IRQS:4352 nr_irqs:288 16
[ 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 2800.160 MHz processor
[ 0.004000] Calibrating delay loop (skipped), value calculated using timer
frequency.. 5600.32 BogoMIPS (lpj=11200640)
[ 0.004000] pid_max: default: 32768 minimum: 301
[ 0.004000] Dentry cache hash table entries: 131072 (order: 8, 1048576
bytes)
[ 0.004000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.004000] Mount-cache hash table entries: 256
[ 0.004000] Initializing cgroup subsys devices
[ 0.004000] Initializing cgroup subsys freezer
[ 0.004000] Initializing cgroup subsys blkio
[ 0.004000] CPU: Physical Processor ID: 0
[ 0.004000] CPU: Processor Core ID: 0
[ 0.004000] Last level iTLB entries: 4KB 512, 2MB 7, 4MB 7
[ 0.004000] Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32
[ 0.004000] tlb_flushall_shift: 6
[ 0.010163] cpu 0 spinlock event irq 17
[ 0.010185] Performance Events: unsupported p6 CPU model 26 no PMU driver,
software events only.
[ 0.010332] installing Xen timer for CPU 1
[ 0.010341] cpu 1 spinlock event irq 24
[ 0.010908] SMP alternatives: switching to SMP code
[ 0.019175] Brought up 2 CPUs
[ 0.019495] devtmpfs: initialized
[ 0.019807] Grant tables using version 2 layout.
[ 0.019807] Grant table initialized
[ 0.019807] NET: Registered protocol family 16
[ 0.020561] PCI: setting up Xen PCI frontend stub
[ 0.021311] bio: create slab <bio-0> at 0
[ 0.021599] xen/balloon: Initialising balloon driver.
[ 0.023000] xen-balloon: Initialising balloon driver.
[ 0.023199] vgaarb: loaded
[ 0.023199] SCSI subsystem initialized
[ 0.023199] PCI: System does not support PCI
[ 0.023199] PCI: System does not support PCI
[ 0.023199] Switching to clocksource xen
[ 0.024000] NET: Registered protocol family 2
[ 0.024000] TCP established hash table entries: 8192 (order: 5, 131072
bytes)
[ 0.024000] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[ 0.024000] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.024000] TCP: reno registered
[ 0.024000] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.024000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.024000] NET: Registered protocol family 1
[ 0.024000] Unpacking initramfs...
[ 0.037852] Freeing initrd memory: 27524k freed
[ 0.043538] platform rtc_cmos: registered platform RTC device (no PNP device
found)
[ 0.043721] audit: initializing netlink socket (disabled)
[ 0.043736] type=2000 audit(1397664913.095:1): initialized
[ 0.043907] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 0.044193] msgmni has been set to 989
[ 0.044396] Block layer SCSI generic (bsg) driver version 0.4 loaded (major
254)
[ 0.044402] io scheduler noop registered
[ 0.044435] io scheduler cfq registered (default)
[ 0.048759] Console: switching to colour frame buffer device 100x37
[ 0.049512] console [tty0] enabled
[ 0.049747] Event-channel device installed.
[ 0.050109] Non-volatile memory driver v1.3
[ 1.051091] i8042: No controller found
[ 1.051199] mousedev: PS/2 mouse device common for all mice
[ 1.051976] input: Xen Virtual Keyboard as /devices/virtual/input/input0
[ 1.052017] input: Xen Virtual Pointer as /devices/virtual/input/input1
[ 1.053676] TCP: cubic registered
[ 1.053810] registered taskstats version 1
[ 1.152138] XENBUS: Device with no driver: device/vbd/51712
[ 1.152178] XENBUS: Device with no driver: device/vif/0
[ 1.152672] Freeing unused kernel memory: 800k freed
[ 6.328185] XENBUS: Waiting for devices to initialise:
25s...20s...15s...10s...
zeus:/var/log/xen # Error: Device 0 (vif) could not be connected. Hotplug
scripts not working.
Reproducible: Always
Steps to Reproduce:
Try to start a vm.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.