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] Device *** (***) could not be connected. Hotplug scripts not

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Device *** (***) could not be connected. Hotplug scripts not working.
From: BlueMoon <moonblue333@xxxxxxxxxxx>
Date: Tue, 15 Dec 2009 10:38:04 +0800
Delivery-date: Mon, 14 Dec 2009 18:38:45 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
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
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
<Prev in Thread] Current Thread [Next in Thread>