[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Device *** (***) could not be connected. Hotplug scripts not working.



Hi,
   This is a Xen newbie.
    I have compiled and installed Xen-3.4.1.
    And Dom0 is OK, but when I try to create the DomU, I encouter these message:
       Device 0 (vif) could not be connected. Hotplug scripts not working.
    I commented the vif in my configure file, but I encouter another one:
       Device 2049(vbd) could not be connected. Hotplug scripts not working.
Can anybody give me a hand?
Thanks
 
 
Here are some commanded I used:
could not be connected. Hotplug scripts not working.
 
brctl show
   bridge name     bridge id               STP enabled     interfaces
   eth1            8000.001e680f2ce7       no              peth1

mkinitrd -v -f --builtin=ext3 --builtin=ide-generic --builtin=ide-disk --builtin=usb-storage --builtin=ata_piix --builtin=mptbase --builtin=mptsas --builtin=ehci-hcd  --builtin=ohci-hcd  --builtin=uhci-hcd --with=ide-disk --with=sd_mod --with=ide-generic --with=ext3 --with=scsi_mod /boot/initrd-2.6.18.8-xenU.img 2.6.18.8-xenU

mkdir /var/lib/xen/images
rm -rf /var/lib/xen/guestos0001.img
dd if=/dev/zero of=/var/lib/xen/guestos0001.img bs=1k seek=2048k count=1
mkfs -t ext3 /var/lib/xen/guestos0001.img
mount -o loop /var/lib/xen/guestos0001.img /mnt
cp -ax /{root,dev,var,etc,usr,bin,sbin,lib} /mnt
mkdir /mnt/{proc,sys,home,tmp}
umount /mnt
mkdir /etc/xen/vm
cp /etc/xen/xmexample.hvm /etc/xen/vm/xmguestos.hvm
vi /etc/xen/vm/xmguestos.hvm
    name = "guestos0001"
    memory = "512"
 vcpus=1  
   
   
 disk = ['file:/var/lib/xen/images/guestos0001.img,sda1,w']
 #vif = [ 'bridge=xenbr0', ]
 
xm create -c /etc/xen/vm/xmguestos.hvm vmid=1


Windows 7:简化您的日常工作。 寻找最适合您的 PC。
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.