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] pvscsi broken

To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] pvscsi broken
From: Andrew Lyon <andrew.lyon@xxxxxxxxx>
Date: Sat, 14 Mar 2009 12:43:31 +0000
Delivery-date: Sat, 14 Mar 2009 05:44:00 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=OiFT5+93XarOn1/TGl3dk9D3OWIfBBQjp/LMHuOMXZc=; b=iZ+8CUhafdjFhEPw1WBHLF0nOiMPGF85Y9cILp1mrNx/pmzckobcnXCX41/XxpeCc1 XKwjVrGtckvc8bXK/BRVbmyh2UarvULfttn4l8ZVDprrN7kbRp/nVhhIkbI7zuu3jbqX Ka3viLcmpUxoKiFdUsDlxs0+gpqBvG0gNNGH4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=q5LbDAFrR7JEayXyJLf2pFgFstrHQeZmooXqPTjJ8hCC4YvSglj4426Y/dz+T0ySs+ 3xFgh812E5quo0QORRfI5A7F6j5XorlyqtLhUXsBWxAv4jd3vNfIdn1I+AaPPqtPrq6c zA0JUzoH9LEcoLgCzEuqoToi4/EC+iGku6o9I=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
Hi,

On both 3.3.1 and unstable if I try to use pvscsi as per the examples
in the config file I get a error when I try to start the domain:

 xm dry-run xptest.cfg
Using config file "./xptest.cfg".
/sbin/scsi_id: invalid option -- 's'


/sbin/scsi_id comes from udev and I have version 124 installed.

This is from xmexample.hvm

#-----------------------------------------------------------------------------
#   Configure PVSCSI devices:
#
#vscsi=[ 'PDEV, VDEV' ]
#
#   PDEV   gives physical SCSI device to be attached to specified guest
#          domain by one of the following identifier format.
#          - XX:XX:XX:XX (4-tuples with decimal notation which shows
#                          "host:channel:target:lun")
#          - /dev/sdxx or sdx
#          - /dev/stxx or stx
#          - /dev/sgxx or sgx
#          - result of 'scsi_id -gu -s'.
#            ex. # scsi_id -gu -s /block/sdb
#                  36000b5d0006a0000006a0257004c0000
#
#   VDEV   gives virtual SCSI device by 4-tuples (XX:XX:XX:XX) as
#          which the specified guest domain recognize.
#



The command scsi_id -gu -s /block/sdb in the example produces the same error:

scsi_id -gu -s /block/sdb
scsi_id: invalid option -- 's'


I guess the scripts need to be updated for the newer scsi_id & udev.

Andy

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

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