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

[Xen-devel] Problem adding new device & triggering backend

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Problem adding new device & triggering backend
From: "Mukil Kesavan" <mukilk@xxxxxxxxx>
Date: Tue, 20 Nov 2007 14:50:37 -0500
Delivery-date: Tue, 20 Nov 2007 11:51:16 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=Ji+v5oXelq8CVzAuY9vZxdnUShQ3OnIzrUykUQ+zUeU=; b=p4iZCnaedWGWQZIUUDkKKelcUipAXMjM/M2rai0L78OOp3ILptNIVDXN31y5USvd0e1sOVU6JRigKPbkRoXfQXuxRkczwUOE/bS9enqab/o0Kcn9NTMkrskQhHnbq7vtTYJzt2ZL3hYVa3wj1BlF7SMv8Rd3nmrRtspcIEFN/yk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=ujss7lcr6I0MV2ihvSF0yXYMcCpwbg4coWWA2W0j7l8AlMVxpvOY3FGCXSyUM1AIsJcqL2QUH91bskYAWesFicgh+LAGValaU/D/Uf9dcuX8hUVf0po0MfChG22BOThgPcOzfAnObRqjvwBpJOMVbN3ALSsMrchGhtvHaN4pwNY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hey All,

I followed the procedure in the XenIntro document to add a new device and trigger the frontend and backend drivers over xenbus. The issue that I am facing now is when the backend switches state, the frontend driver does NOT pick it up. I suspect that the frontend permissions to read part of the backend xenstore are not set properly. I did do a xenstore-chmod in the frontend trigger script.

I then tried to create a new controller class for my device and set permissions during domain load through the python scripts but that works for xen-3.0.0 and not for xen-3.1. (In fact my split driver worked perfectly with xen-3.0.) I did note the changes in the scripts/code in both versions and made sure I appropriately handled them in my 3.1 implementation. I get an error that says something like "backend device could not be connected: <mydevice>" during domU create in xen-3.1.

Could anyone give me pointers on how to get around this problem? What are the major differences in the xen python scripts in xen3.0.0 and xen3.1 for handling devices?

Thanks for any help,

Mukil
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Problem adding new device & triggering backend, Mukil Kesavan <=