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] blktap2: need more than 3 values to unpack

To: Dutch Meyer <dmeyer@xxxxxxxxx>
Subject: RE: [Xen-devel] blktap2: need more than 3 values to unpack
From: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Date: Mon, 1 Jun 2009 20:40:57 -0700 (PDT)
Cc: "Xen-Devel \(E-mail\)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 01 Jun 2009 20:41:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.GSO.4.60.0906011914020.23746@xxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> Then I might be able to help, but I'm not sure how to 
> reproduce it.  If 
> you send a log file and config for this latter error I'll 
> take a look. 

Here ya go.

Thanks,
Dan

> -----Original Message-----
> From: Dutch Meyer [mailto:dmeyer@xxxxxxxxx]
> Sent: Monday, June 01, 2009 8:32 PM
> To: Dan Magenheimer
> Cc: Xen-Devel (E-mail)
> Subject: Re: [Xen-devel] blktap2: need more than 3 values to unpack
> 
> 
> The tap:aio:/pathto/file.img syntax that you're using in your 
> config was 
> changed before blktap2 was introduced. 
> tap:tapdisk:aio:/pathto/file.img is 
> apparently the correct syntax now, though the README didn't 
> get updated to 
> reflect this.  Our blktap2 documentation is no better - I'll try to 
> remedy that this week.
> 
> 
> If you're still seeing this error:
>     "Error: 'file' object has no attribute 'find'"
> 
> Then I might be able to help, but I'm not sure how to 
> reproduce it.  If 
> you send a log file and config for this latter error I'll 
> take a look. 
> Yang seems to be reporting the same thing in another thread.
> 
> --Dutch
> 
> On Mon, 1 Jun 2009, Dan Magenheimer wrote:
> 
> > Hmmm... trying blktap2 for the first time, using 19682.
> > I had thought that the syntax hadn't changed, but I am
> > getting what appears to be a parsing error on my vbd line.
> >
> > "ValueError: need more than 3 values to unpack"
> >
> > Thinking maybe that "w!" was the culprit, I changed
> > it to "w" with no change in result.
> >
> > Looking at the python code that generated the error,
> > I tried to figure out the syntax by experimentation
> > but without luck.  I tried:
> >
> > tap:tapdisk:aio:/pathto/file.img
> >
> > but got "Error: 'file' object has no attribute 'find'"
> >
> > To see if I could use the old blktap, I tried
> >
> > tap:tapdisk:ioemu:/pathto/file.img
> >
> > but got the dreaded "Error: Device 768 (tap) could not be
> > connected. Hotplug scripts not working"
> >
> > Am I missing something in the syntax for blktap2?
> > Is there a how-to or readme I didn't find?  Or
> > is there some required dependency I don't know about
> > that is missing?
> >
> > I thought maybe I had a bad install, so rebuilt and
> > reinstalled with the same result.
> >
> > xend.log and config file attached.
> >
> > Thanks,
> > Dan
> >
> > P.S. I am trying blktap2 because both blktap and
> > file-backed fail.  Blktap sometimes reads garbage
> > from the file and
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>

Attachment: xend.log
Description: Binary data

Attachment: ocfs2-node0.cfg
Description: Binary data

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