|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Error: Device 0 (vif) could not be connected. Hotplug sc
Pasi Kärkkäinen a écrit :
On Wed, Feb 17, 2010 at 01:49:46PM +0100, Olivier B. wrote:
For example :
name = 'athena'
kernel = '/boot/vmlinuz-2.6.31.12-dae-xen'
ramdisk = '/boot/initrd.img-2.6.31.12-dae-xen'
memory = '1024'
root = 'root=/dev/mapper/vg--athena-root ro rootflags=data=writeback'
disk = [ 'drbd:athena-disk,sda,w' ]
vif = [ 'mac=02:00:00:00:04:3f' ]
extra = 'rootdelay=1 raid=noautodetect'
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
What if you also specify the bridge on the vif line?
-- Pasi
Same result with "vif = [ 'mac=02:00:00:00:04:3f,bridge=xenbr0' ]" :
I obtain "Error: Device 0 (vif) could not be connected. Hotplug scripts
not working." after 100 seconds.
And udev monitor said :
UEVENT[1266416315.932082] add /devices/vbd-11-2048 (xen-backend)
UDEV [1266416315.938359] add /devices/vbd-11-2048 (xen-backend)
UEVENT[1266416315.960950] add /devices/vif-11-0 (xen-backend)
UDEV [1266416315.961748] add /devices/vif-11-0 (xen-backend)
UEVENT[1266416315.969379] add /devices/vif-11-0/net/vif11.0 (net)
UEVENT[1266416315.970659] online /devices/vif-11-0 (xen-backend)
UDEV [1266416315.980741] add /devices/vif-11-0/net/vif11.0 (net)
UDEV [1266416315.982675] online /devices/vif-11-0 (xen-backend)
UEVENT[1266416316.094038] add /devices/console-11-0 (xen-backend)
UDEV [1266416316.095965] add /devices/console-11-0 (xen-backend)
UEVENT[1266416355.592132] add /kernel/uids/101 (uids)
UDEV [1266416355.592846] add /kernel/uids/101 (uids)
UEVENT[1266416356.623642] remove /kernel/uids/101 (uids)
UDEV [1266416356.625038] remove /kernel/uids/101 (uids)
UDEV [1266416397.419326] remove /devices/vif-10-0/net/vif10.0 (net)
UDEV [1266416397.439092] remove /devices/vif-10-0 (xen-backend)
UEVENT[1266416416.855557] remove /devices/console-11-0 (xen-backend)
UDEV [1266416416.858075] remove /devices/console-11-0 (xen-backend)
UEVENT[1266416416.894895] remove /devices/vbd-11-2048 (xen-backend)
UDEV [1266416416.896732] remove /devices/vbd-11-2048 (xen-backend)
UEVENT[1266416416.900803] offline /devices/vif-11-0 (xen-backend)
UEVENT[1266416416.925352] remove /devices/vif-11-0/net/vif11.0 (net)
UEVENT[1266416416.936165] remove /devices/vif-11-0 (xen-backend)
Olivier
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|