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] error XEN scsi-attach

To: "Helder Rebelo @ SAPO" <helderrebelo@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] error XEN scsi-attach
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Thu, 15 Apr 2010 13:11:24 +1000
Cc:
Delivery-date: Wed, 14 Apr 2010 20:12:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <000001cad184$9ef7ab00$dce70100$@pt>
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>
References: <000001cad184$9ef7ab00$dce70100$@pt>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcrRhJwDfR8MDYO3SFW3RbEm/KrpTQKxF9fg
Thread-topic: [Xen-devel] error XEN scsi-attach
> 
> bckpicmds102:~ # xm scsi-attach sles11 4:0:3:15 0:0:0:1
> 
> Unexpected error: <type 'exceptions.UnboundLocalError'>
> 

Do you have 'sg' loaded ("lsmod | grep sg" to check).

I'm sure it used to work better, but the only way I can get it working
at the moment is by specifying the sg device directly, which
unfortunately can change between reboots, eg:

xm scsi-attach sles11 /dev/sg0 0:0:0:1

James

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

<Prev in Thread] Current Thread [Next in Thread>