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 51714 (vbd) could not be connected. Hotplug sc

To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Error: Device 51714 (vbd) could not be connected. Hotplug scripts not working. While creating centOS DomU on Dom0
From: Tapas Mishra <mightydreams@xxxxxxxxx>
Date: Mon, 17 May 2010 12:53:56 +0530
Delivery-date: Mon, 17 May 2010 00:25:16 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=Pm6TC7I4mbQOSqHHlxiVFczD6NlYHyA2mWFhX/Z1q34=; b=rUx7a7ei4W3rSslu6kpeMsR5G3fw+QvQlZk91L5m5qxcI3cTw47zSBljaiBhny2tVO gfNavOvizynJNCw6Zf5etoAekfYQLCOPkoZC1vMVVLYZDKSEZihFndzVVHbFISc44MlH nDgEROYqEg/e4zJB1bMWyp+MC50BLdI0kldPo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=a2ciz/D4naYBolW1EB7eVU7z7tDTTaczT18z/3zRlxwtnW3f0YKe4zLySWaY3Uxjli rDY8UTlfRwB1M9yQRLzFY4bOfg7qNGIHLbqHIa/qij70pp3ueliUIhgxFSAkZeyx+ATs V0GL5pH5T5v4pGtw4kh6TxDtB+PQTHOrF9KaA=
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
I tried to create CentOS DomU on Debian Lenny
and got the error
Error: Device 51714 (vbd) could not be connected. Hotplug scripts not working.
Saw a method given here
http://www.grantmcwilliams.com/tech/virtualization/xen-howtos/410-centos-5-virtual-machine-64-bit-installation-on-xen

Step 1
wget http://mirror.centos.org/centos/5/os/x86_64/images/xen/vmlinuz -O
/boot/vmlinuz-xen-install
wget http://mirror.centos.org/centos/5/os/x86_64/images/xen/initrd.img
-O /boot/initrd-xen-install

Step 2

Downloaded
http://www.grantmcwilliams.com/files/minimal-ks-x86_64.cfg
kept a copy to my local apache root
modified it
It looks like
-----------------------------------------------------------------------------------
install
url --url http://localhost/centos
lang en_US.UTF-8
network --device eth2 --bootproto static
# Bogus password, change to something sensible!
rootpw something
firewall --enabled --port=
authconfig --enableshadow --enablemd5
selinux --enforcing ?~H~R?~H~Rport=22:tcp
timezone --utc Asia/Kolkata
#bootloader --location=mbr --driveorder=xvda --append="console=xvc0"
reboot

# Partitioning
clearpart --all --initlabel --drives=xvda
part /boot --fstype ext3 --size=100 --ondisk=xvda
part pv.2 --size=0 --grow --ondisk=xvda
volgroup VolGroup00 --pesize=32768 pv.2
logvol / --fstype ext3 --name=my_os-root --vgname=vg --size=98304 --grow
logvol swap --fstype swap --name=my_os-swap --vgname=vg --size=2048
--grow --maxsize=2048

%packages
@core
-----------------------------------------------------------------------------------

I have already created to logical volumes my_os-root and my_os-swap
98Gb and 2 GB in size.

On local webserver centos is a softlink to locally mounted cdrom

Step 3.
Created a centos5.cfg file it has following contents


-----------------------------------------------------------------------------------
kernel = "/boot/vmlinuz-xen-install"
ramdisk = "/boot/initrd-xen-install"
extra = "text ks=http://localhost/minimal-ks-x86_64.cfg";
name = "centos5"
memory = "1024"
root = '/dev/xvda ro'

disk        = [
                  'phy:/dev/vg/my_os-swap,xvda1,w',
                  'phy:/dev/vg/my_os-disk,xvda2,w',
              ]

vif = [ 'bridge=eth2', ]

vcpus=1
on_reboot = 'destroy'
on_crash = 'destroy'

-----------------------------------------------------------------------------------
Then issued
xm create -c centos5.cfg
but after some time got an error
Error: Device 51714 (vbd) could not be connected. Hotplug scripts not
working. While creating centOS DomU on Dom0

What should I do now ?
I am trying to create a CentOS DomU
 on Debian Lenny Amd 64 bit.


-- 
Tapas

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Error: Device 51714 (vbd) could not be connected. Hotplug scripts not working. While creating centOS DomU on Dom0, Tapas Mishra <=