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

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

To: <fajar@xxxxxxxxx>
Subject: RE: [Xen-users] Device *** (***) could not be connected. Hotplug scripts not working.
From: BlueMoon <moonblue333@xxxxxxxxxxx>
Date: Tue, 15 Dec 2009 11:41:00 +0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 14 Dec 2009 19:41:45 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <7207d96f0912141913o2edce940x4d93fd4911895374@xxxxxxxxxxxxxx>
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>
References: <BLU138-W29F6B34FAFFFEF08F98EEE1880@xxxxxxx>, <7207d96f0912141913o2edce940x4d93fd4911895374@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi, Xener:
    I have compiled and installed Xen, even I still can NOT create DomU.  I would like to share the total process I done:
 
 
 
(OS:  CentOS-5.4-i386-bin-DVD.iso) BT http://mirrors.163.com/centos/5.4/isos/i386/CentOS-5.4-i386-bin-DVD.torrent
centos_install_from_usb_boot
   mode: graphical
   language: english
   keyboard: us
   method: hard_driver
   partition: /dev/sdb1 (usb)
   drivers: sda
   MUST: remove all partitions on selected drivers and create default layout
   MUST: dont choose sdb while select the driver(s) to use for this installation
   MUST: review and modify partitioning layout
   MUST: configure advanced boot loader options
   MUST: change Driver Order and /dev/sda first
   MUST: install boot loader record on /dev/sda Master Boot Record (MBR)
   network: eth0 & eth1; dhcp; disable-ipv6;
   region: shanghai
   password: yourpasswordforcentos
   //restart
   firewall: disable
   selinux: disable
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
yum install mercurial
yum install gcc
yum install gcc-c++
yum install make
yum install binutils
yum install zlib-devel
yum install python-devel
yum install ncurses-devel
yum install openssl-devel
yum install libX11-devel
yum install bridge-utils
yum install iproute
yum install dev86
yum install texinfo
yum install tetex-latex
yum install gperf
yum install glib
wget http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-140.tar.gz
tar -xzvf udev-140.tar.gz
cd udev-140
configure
make
make install
cd ..
#wget http://bits.xensource.com/oss-xen/release/3.4.1/linux-2.6.18-xen-3.4.2.tar.gz
wget http://bits.xensource.com/oss-xen/release/3.4.1/xen-3.4.2.tar.gz
tar -xzvf xen-3.4.2.tar.gz
cd xen-3.4.2
cd tools/check/
./chk build
./chk install
cd ../../
make world
 (for all options, please directly type enter)
make install
depmod 2.6.18.8-xen
mkinitrd -v -f /boot/initrd-2.6.18.8-xen.img 2.6.18.8-xen
vi /boot/grub/grub.conf
(to be append like this, make sure: uname -r)
default 3
title Xen 3.4.2 / XenLinux 2.6.18
        root (hd0,0)
        kernel /xen-3.4.2.gz
        module /vmlinuz-2.6.18.8-xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        module /initrd-2.6.18.8-xen.img
iptables -L
iptables -F
vi /etc/xen/xend-config.sxp   (to enable xen-api base on README under same folder)
        (xen-api-server ((9363 none)))
  (xend-http-server yes)
  (xend-port 8000)
service xend restart
service xendomains restart
service libvirtd restart
 
 
 
 
HERE: compiled and installed successfully.  but, domU can not be created.  Oh my god.
 
Can ANYBODY share the compiling and intallation scripts (step by step)?
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
> Date: Tue, 15 Dec 2009 10:13:53 +0700
> Subject: Re: [Xen-users] Device *** (***) could not be connected. Hotplug scripts not working.
> From: fajar@xxxxxxxxx
> To: moonblue333@xxxxxxxxxxx
> CC: xen-users@xxxxxxxxxxxxxxxxxxx
>
> 2009/12/15 BlueMoon <moonblue333@xxxxxxxxxxx>:
> > 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?
> ;
> Do you have udev running?
>
> --
> Fajar
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users


更多热辣资讯尽在新版MSN首页! 立刻访问!
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>