WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Error: Device 0 (vif) could not be connected. Hotplug script

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Error: Device 0 (vif) could not be connected. Hotplug scripts not working
From: John/SML <john@xxxxxxxxxxxxxxxxx>
Date: Thu, 17 Mar 2011 09:21:47 +0800
Delivery-date: Wed, 16 Mar 2011 18:23:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

Dear Fajar,

Thank you for your prompt reply.

>> I used the kernel config on Ubuntu Xen documentation and succeeded to
>> compile Xen 4.0.1 on Ubuntu 10.04.02 LTS :-
>> A blank console screen appeared for 1 min and then returned an error "Error:
>> Device 0 (vif) could not be connected. Hotplug scripts not working".
>> vif = [ 'type=ioemu, bridge=xenbr0' ]

>Some simple checks:
>- do you have udevd running?
>- do you have a bridge called xenbr0 (try running "brctl show")

Yes, the vdevd is running and the bridge xenbr0 is available :-

bridge name        bridge id                STP enabled        interfaces
xenbr0                8000.782bcb0892e9        no                peth0

I see no clue from the xen logs (see below). I hope someone could point me what went wrong.

Thanks a lot.

John Mok

=== begin of smlxsv1 config ===

# -*- mode: python; -*-

import os, re
arch = os.uname()[4]
if re.search('64', arch):
        arch_libdir = 'lib64'
else:
        arch_libdir = 'lib'

kernel = "/usr/lib/xen/boot/hvmloader"
builder = 'hvm'
memory = 1024
shadow_memory = 8
name = "smlxsv1"
vif = [ 'type=ioemu, bridge=xenbr0' ]
disk = [ 'phy:/dev/volgroup1/smlxsv1-disk0,ioemu:hda,w', 'phy:/dev/volgroup1/smlxsv1-disk1,ioemu:hdb,w', 'file:/var/tmp/win2k3-x64-cd1.iso,ioemu:hdc:cdrom,r' ]
boot = "d"

device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
sdl=1
vnc=0
vncpasswd = ''

=== end of smlxsv1 config ===

=== begin of qemu log ===

domid: 3
config qemu network with xen bridge for  tap3.0 xenbr0
Using file /dev/volgroup1/smlxsv1-disk0 in read-write mode
Using file /dev/volgroup1/smlxsv1-disk1 in read-write mode
Using file /var/tmp/win2k3-x64-cd1.iso in read-only mode
Watching /local/domain/0/device-model/3/logdirty/cmd
Watching /local/domain/0/device-model/3/command
qemu_map_cache_init nr_buckets = 10000 size 4194304
shared page at pfn feffd
buffered io page at pfn feffb
Guest uuid = c55e71c1-928c-5cd5-394d-eff39479e4ba
Time offset set 0
populating video RAM at ff000000
mapping video RAM from ff000000
Register xen platform.
Done register platform.
platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state.
xs_read(/local/domain/0/device-model/3/xen_extended_power_mgmt): read error
medium change watch on `hdc' (index: 2): /var/tmp/win2k3-x64-cd1.iso
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
Log-dirty: no command yet.
xs_read(/local/domain/3/log-throttling): read error
qemu: ignoring not-understood drive `/local/domain/3/log-throttling'
medium change watch on `/local/domain/3/log-throttling' - unknown device, ignored

=== end of qemu log ===




=========================
Sunciti Manufacturers Ltd.
Direct: +852 27976403
Mobile (HK): +852 81011325
Mobile (CN): +86 15018974476
Facsmile: +852 22601701
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>