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/
Home Products Support Community News


Re: [Xen-users] Driver/Backend Domains

To: Matthew Mallozzi <matt.mallozzi@xxxxxxxxxx>
Subject: Re: [Xen-users] Driver/Backend Domains
From: Fasiha Ashraf <feehapk@xxxxxxxxxxx>
Date: Fri, 3 Jul 2009 16:03:52 +0530 (IST)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 03 Jul 2009 03:34:39 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.in; s=s1024; t=1246617233; bh=zR+ou22VpfVpq+RT7669s0xGDdM/peZ7NfGZqH6c0n8=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=IfJ4wpmWUTGHu0oeEoWPB6utWJbaiHShExkxKlEJLGBkwq9O4rRuPf0y3Q/gkIdydI+Pb/XtraQbnP8ADR1QbUux71P7fZqLTlKtG2KOYHjTtNqOhX3HrZ/r8ZMBrw7sOsZNt8BRE7egBv0iPKR43ruPO4jo4FDKxtbKf27yFLg=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=YySt5aRbvLuEQyIubHExwFlK9dRVqlg9cV/zvtYpLecPErRlT6ILl6Yoit2MGs8ynlA54HnU1m2gKCZODcX7xjSgv7YoRub6tLFmSqFfdp4XoclbxZNK5/PWYMEWtlIfmNOW1sNlfLZMW8FpVUJGXoQDVJGvU6I7GdKZBnjmqdk=;
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
"Error: Device 51744 (vbd) could not be connected. Hotplug
scripts not working.", which is quite vague."

You might have smaller no of loopback devices in your domain. By the default there are only 8 loops available. but you can increase the limit up to 256 max this way:-
1- Add this line to /etc/modprobe.conf
    options loop max_loop=256
2- The other way is to add 'loop' to /etc/modules
     and add the same above mentioned option in /etc/modprobe.d/options

Fasiha Ashraf

--- On Fri, 3/7/09, Matthew Mallozzi <matt.mallozzi@xxxxxxxxxx> wrote:

From: Matthew Mallozzi <matt.mallozzi@xxxxxxxxxx>
Subject: [Xen-users] Driver/Backend Domains
To: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Friday, 3 July, 2009, 7:20 AM

Forgot to mention - I also put the option "blkif=1" in the configuration file for the intended driver domain.
What is required for a PV domU to act as a driver domain for a block
device?  My goal is to attach a disk image file located within the domU
to dom0 as a block device.  The command I am running in dom0 is
   xm block-attach 0 file:/root/hdisk.img /dev/xvdb w 2,
where hdisk.img is the disk image file in domU, xvdb is the name of the
intended device node in dom0, and 2 is the domain ID of the domU.

My domU is a PV guest with its kernel replaced by the kernel from dom0,
and I have copied over both /etc/xen/scripts and
/usr/lib/python2.4/site-packages/xen from dom0 to the guest.  However,
whenever I attempt the above command, it sits for a while and then
returns with "Error: Device 51744 (vbd) could not be connected. Hotplug
scripts not working.", which is quite vague.

Thank you!

Xen-users mailing list

See the Web's breaking stories, chosen by people like you. Check out Yahoo! Buzz.
Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>