From: Andrew Lyon Subject: Re: pvscsi broken Date: Tue, 31 Mar 2009 16:08:28 +0100 Message-ID: References: <20090330182845.08F9.EB2C8575@jp.fujitsu.com> <20090330192313.0911.EB2C8575@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20090330192313.0911.EB2C8575@jp.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jun Kamada Cc: Xen-devel , James Harper , Masaki Kanno List-Id: xen-devel@lists.xenproject.org On Mon, Mar 30, 2009 at 11:34 AM, Jun Kamada wrote: > Hi, > > On Mon, 30 Mar 2009 10:49:57 +0100 > Andrew Lyon wrote: > >> On Mon, Mar 30, 2009 at 10:39 AM, Jun Kamada wrote= : >> > Hi Andrew-san, >> > >> > Which assignment mode, LUN mode or Host mode, do you use? If you used >> > the LUN mode, only mandatory SCSI commands can work and almost all >> > tape related commands will fail. >> > >> > Could you try the Host mode? Please see >> > "http://lists.xensource.com/archives/html/xen-devel/2009-02/msg00505.h= tml" >> > for usage of the Host mode. >> > >> > Best regards, >> > >> > >> >> >> I used a config setting like this: #vscsi=3D['/dev/st0, 0:0:0:0'] which >> I guess must be LUN mode, I removed the setting and used a "xm attach >> =A08:0:5:0 host" which was successful and "xm scsi-list" shows the >> device is attached, but nothing was detected in windows, perhaps it >> needs to be there as soon as windows is booted, what is the syntax to >> specify host mode in the config file? > > Syntax is as same as in case of "xm scsi-attach". Please replace > "0:0:0:0" with keyword "host". That does not work: xm scsi-attach 1 /dev/st0 host =3D ok But if I use the syntax you described: vscsi=3D['/dev/st0, host] # xm create 2008_32_snap.cfg Using config file "./2008_32_snap.cfg". Error: Errors were found at line 32 while processing ./2008_32_snap.cfg: vscsi=3D['/dev/st0, host] Or did I misunderstand the syntax? Andy > > BTW, I suppose the problem you are facing is caused by inconsistency > between backend driver and xend. (The xend support host mode but the > driver does not support it, maybe.) I reccomend you to use xen unstable > to avoid such a problem. > > Best regards, > > ----- > Jun Kamada > kama@jp.fujitsu.com > > >