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-devel

Re: [Xen-devel] blktap failure after 14895:800aa9f5cec9 (moves /dev/xen/

To: Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] blktap failure after 14895:800aa9f5cec9 (moves /dev/xen/... to /var/run/tap/...)
From: Brendan Cully <brendan@xxxxxxxxx>
Date: Wed, 2 May 2007 08:11:35 -0700
Cc: Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 02 May 2007 08:10:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C25E47E4.E465%keir@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: keir@xxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
References: <20070502024827.GC18424@xxxxxxxxxxxxxxxxx> <C25E47E4.E465%keir@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.15 (2007-04-24)
On Wednesday, 02 May 2007 at 13:51, Keir Fraser wrote:
> On 2/5/07 03:48, "Brendan Cully" <brendan@xxxxxxxxx> wrote:
> 
> > I don't know why I'm the only one to see this, but blktap hasn't been
> > working for me since 14895:800aa9f5cec9. Opening /var/run/tap/blktap0
> > fails. I think this is because the kernel defines BLKTAP_DEV_DIR as
> > /dev/xen in drivers/xen/blktap/blktap.c, but in that changeset the
> > tools define it as /var/run/tap in tools/blktap/lib/blktaplib.h.
> > 
> > Reverting the change to blktaplib.h gives me blktap devices
> > again. Reads and writes don't seem to make any progress. I'll keep
> > investigating, but any clues would be welcome.
> 
> More likely it's simply because /var/run/tap/ doesn't exist?
> 
> Either some startup script needs to 'mkdir -p', or blktapctrl needs to make
> the directory on demand.

the blktap tools do create that directory on demand, and in fact
/var/run/tap/blktap0 is properly created. What fails is the 'open',
somewhere in the kernel I believe. Maybe this only affects
block-attaching a device in domain 0?

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