All of lore.kernel.org
 help / color / mirror / Atom feed
* XCP PV driver
@ 2011-01-30  1:53 Soubir Acharya
  2011-02-01 13:14 ` Paul Durrant
  0 siblings, 1 reply; 14+ messages in thread
From: Soubir Acharya @ 2011-01-30  1:53 UTC (permalink / raw)
  To: xen-devel

The XCP PV driver does not like the SCSI Op codes for RESERVE/RELEASE 
and possibly RESET.

I am trying to install Microsoft Failover Clustering on a HVM with the 
XCP PV drivers installed and disk arbitration is broken.

Is there a registry setting or otherwise to enable this behavior?

Or can code be changed to return success if these opcodes are seen in 
the CDB?

I am fairly certain that this will make clustering work and serve as a 
valuable tool to play with clustered Windows configurations.

Soubir

^ permalink raw reply	[flat|nested] 14+ messages in thread

* RE: XCP PV driver
  2011-01-30  1:53 XCP PV driver Soubir Acharya
@ 2011-02-01 13:14 ` Paul Durrant
  2011-02-01 13:27   ` James Harper
  0 siblings, 1 reply; 14+ messages in thread
From: Paul Durrant @ 2011-02-01 13:14 UTC (permalink / raw)
  To: Soubir Acharya, xen-devel

No, we don't support I_T nexus registration; the model is a simple non-shared SCSI bus.

  Paul

> -----Original Message-----
> From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-
> bounces@lists.xensource.com] On Behalf Of Soubir Acharya
> Sent: 30 January 2011 01:53
> To: xen-devel@lists.xensource.com
> Subject: [Xen-devel] XCP PV driver
> 
> The XCP PV driver does not like the SCSI Op codes for
> RESERVE/RELEASE
> and possibly RESET.
> 
> I am trying to install Microsoft Failover Clustering on a HVM with
> the
> XCP PV drivers installed and disk arbitration is broken.
> 
> Is there a registry setting or otherwise to enable this behavior?
> 
> Or can code be changed to return success if these opcodes are seen
> in
> the CDB?
> 
> I am fairly certain that this will make clustering work and serve as
> a
> valuable tool to play with clustered Windows configurations.
> 
> Soubir
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 14+ messages in thread

* RE: XCP PV driver
  2011-02-01 13:14 ` Paul Durrant
@ 2011-02-01 13:27   ` James Harper
  2011-02-01 14:42     ` Soubir Acharya
  2011-02-01 17:59     ` Soubir Acharya
  0 siblings, 2 replies; 14+ messages in thread
From: James Harper @ 2011-02-01 13:27 UTC (permalink / raw)
  To: Paul Durrant, Soubir Acharya, xen-devel

> 
> No, we don't support I_T nexus registration; the model is a simple
non-shared
> SCSI bus.
> 

GPLPV tells windows that these SCSIOP's are supported (just returns
STATUS_SUCCESS), but they don't actually do anything. As Paul implies
there is no mechanism to pass such a message back to the actual device
(which could just be a file on disk anyway). It doesn't block anything
else from accessing the device.

Maybe you could use iSCSI in the DomU instead?

James

>   Paul
> 
> > -----Original Message-----
> > From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-
> > bounces@lists.xensource.com] On Behalf Of Soubir Acharya
> > Sent: 30 January 2011 01:53
> > To: xen-devel@lists.xensource.com
> > Subject: [Xen-devel] XCP PV driver
> >
> > The XCP PV driver does not like the SCSI Op codes for
> > RESERVE/RELEASE
> > and possibly RESET.
> >
> > I am trying to install Microsoft Failover Clustering on a HVM with
> > the
> > XCP PV drivers installed and disk arbitration is broken.
> >
> > Is there a registry setting or otherwise to enable this behavior?
> >
> > Or can code be changed to return success if these opcodes are seen
> > in
> > the CDB?
> >
> > I am fairly certain that this will make clustering work and serve as
> > a
> > valuable tool to play with clustered Windows configurations.
> >
> > Soubir
> >
> >
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.xensource.com
> > http://lists.xensource.com/xen-devel
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: XCP PV driver
  2011-02-01 13:27   ` James Harper
@ 2011-02-01 14:42     ` Soubir Acharya
  2011-02-01 14:49       ` Paul Durrant
  2011-02-01 17:59     ` Soubir Acharya
  1 sibling, 1 reply; 14+ messages in thread
From: Soubir Acharya @ 2011-02-01 14:42 UTC (permalink / raw)
  To: James Harper; +Cc: Paul Durrant, xen-devel

On 2/1/2011 8:27 AM, James Harper wrote:
>> No, we don't support I_T nexus registration; the model is a simple
> non-shared
>> SCSI bus.
>>
> GPLPV tells windows that these SCSIOP's are supported (just returns
> STATUS_SUCCESS), but they don't actually do anything. As Paul implies
> there is no mechanism to pass such a message back to the actual device
> (which could just be a file on disk anyway). It doesn't block anything
> else from accessing the device.
>
> Maybe you could use iSCSI in the DomU instead?
 >> True, but not as simple as using files out of dom0 as storage.
> James
>
Thanks. There is no reason the XCP driver could not do the same, right?
Shared disks would still be "unsupported" but it would just work on a 
single physical node.
I think the configuration is useful to train/demo/play around with 
Windows configurations requiring shared disks.
Oracle RAC, Fail-over clustering to name a few.
Even a single node cluster is a valid configuration for learning.

Soubir

^ permalink raw reply	[flat|nested] 14+ messages in thread

* RE: XCP PV driver
  2011-02-01 14:42     ` Soubir Acharya
@ 2011-02-01 14:49       ` Paul Durrant
  2011-02-01 14:55         ` Soubir Acharya
  0 siblings, 1 reply; 14+ messages in thread
From: Paul Durrant @ 2011-02-01 14:49 UTC (permalink / raw)
  To: Soubir Acharya, James Harper; +Cc: xen-devel

I guess that succeeding the ops may affect the slew of WHQL tests that the storage driver is expected to pass.
It'd be kind of nice to make it work 'properly' such that a disk image passed into multiple VMS could be shared via MSCS, and we could still pass WHQL. I'll stick it on the bottom of my 'have a look at this' list.

  Paul

> -----Original Message-----
> From: Soubir Acharya [mailto:acharya@kubisys.com]
> Sent: 01 February 2011 14:42
> To: James Harper
> Cc: Paul Durrant; xen-devel@lists.xensource.com
> Subject: Re: [Xen-devel] XCP PV driver
> 
> On 2/1/2011 8:27 AM, James Harper wrote:
> >> No, we don't support I_T nexus registration; the model is a
> simple
> > non-shared
> >> SCSI bus.
> >>
> > GPLPV tells windows that these SCSIOP's are supported (just
> returns
> > STATUS_SUCCESS), but they don't actually do anything. As Paul
> implies
> > there is no mechanism to pass such a message back to the actual
> device
> > (which could just be a file on disk anyway). It doesn't block
> anything
> > else from accessing the device.
> >
> > Maybe you could use iSCSI in the DomU instead?
>  >> True, but not as simple as using files out of dom0 as storage.
> > James
> >
> Thanks. There is no reason the XCP driver could not do the same,
> right?
> Shared disks would still be "unsupported" but it would just work on
> a
> single physical node.
> I think the configuration is useful to train/demo/play around with
> Windows configurations requiring shared disks.
> Oracle RAC, Fail-over clustering to name a few.
> Even a single node cluster is a valid configuration for learning.
> 
> Soubir
> 

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: XCP PV driver
  2011-02-01 14:49       ` Paul Durrant
@ 2011-02-01 14:55         ` Soubir Acharya
  0 siblings, 0 replies; 14+ messages in thread
From: Soubir Acharya @ 2011-02-01 14:55 UTC (permalink / raw)
  To: Paul Durrant; +Cc: James Harper, xen-devel

On 2/1/2011 9:49 AM, Paul Durrant wrote:
> I guess that succeeding the ops may affect the slew of WHQL tests that the storage driver is expected to pass.
> It'd be kind of nice to make it work 'properly' such that a disk image passed into multiple VMS could be shared via MSCS, and we could still pass WHQL. I'll stick it on the bottom of my 'have a look at this' list.

Good point. One option would be to return failure as default (so that we 
are OK with WHQL), and then turn the feature on via a registry setting 
or similar?

I can also research the WHQL requirement for disk arbitration.

Soubir

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: XCP PV driver
  2011-02-01 13:27   ` James Harper
  2011-02-01 14:42     ` Soubir Acharya
@ 2011-02-01 17:59     ` Soubir Acharya
  2011-02-01 22:21       ` James Harper
  1 sibling, 1 reply; 14+ messages in thread
From: Soubir Acharya @ 2011-02-01 17:59 UTC (permalink / raw)
  To: James Harper; +Cc: Paul Durrant, xen-devel

Is the latest GP PV driver, signed and will it install on 2008 without 
requiring "bcdedit driver signing off"?

Soubir

On 2/1/2011 8:27 AM, James Harper wrote:
>> No, we don't support I_T nexus registration; the model is a simple
> non-shared
>> SCSI bus.
>>
> GPLPV tells windows that these SCSIOP's are supported (just returns
> STATUS_SUCCESS), but they don't actually do anything. As Paul implies
> there is no mechanism to pass such a message back to the actual device
> (which could just be a file on disk anyway). It doesn't block anything
> else from accessing the device.
>
> Maybe you could use iSCSI in the DomU instead?
>
> James
>
>>    Paul
>>
>>> -----Original Message-----
>>> From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-
>>> bounces@lists.xensource.com] On Behalf Of Soubir Acharya
>>> Sent: 30 January 2011 01:53
>>> To: xen-devel@lists.xensource.com
>>> Subject: [Xen-devel] XCP PV driver
>>>
>>> The XCP PV driver does not like the SCSI Op codes for
>>> RESERVE/RELEASE
>>> and possibly RESET.
>>>
>>> I am trying to install Microsoft Failover Clustering on a HVM with
>>> the
>>> XCP PV drivers installed and disk arbitration is broken.
>>>
>>> Is there a registry setting or otherwise to enable this behavior?
>>>
>>> Or can code be changed to return success if these opcodes are seen
>>> in
>>> the CDB?
>>>
>>> I am fairly certain that this will make clustering work and serve as
>>> a
>>> valuable tool to play with clustered Windows configurations.
>>>
>>> Soubir
>>>
>>>
>>> _______________________________________________
>>> Xen-devel mailing list
>>> Xen-devel@lists.xensource.com
>>> http://lists.xensource.com/xen-devel
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* RE: XCP PV driver
  2011-02-01 17:59     ` Soubir Acharya
@ 2011-02-01 22:21       ` James Harper
  2011-02-02  8:34         ` Ian Campbell
  0 siblings, 1 reply; 14+ messages in thread
From: James Harper @ 2011-02-01 22:21 UTC (permalink / raw)
  To: Soubir Acharya; +Cc: Paul Durrant, xen-devel

> 
> Is the latest GP PV driver, signed and will it install on 2008 without
> requiring "bcdedit driver signing off"?
> 

It's test signed. You have to turn testsigning on for 64 bit windows.

James

^ permalink raw reply	[flat|nested] 14+ messages in thread

* RE: XCP PV driver
  2011-02-01 22:21       ` James Harper
@ 2011-02-02  8:34         ` Ian Campbell
  2011-02-02  8:41           ` James Harper
  2011-02-02  9:51           ` Pasi Kärkkäinen
  0 siblings, 2 replies; 14+ messages in thread
From: Ian Campbell @ 2011-02-02  8:34 UTC (permalink / raw)
  To: James Harper; +Cc: Paul Durrant, xen-devel, Soubir Acharya

On Tue, 2011-02-01 at 22:21 +0000, James Harper wrote: 
> > 
> > Is the latest GP PV driver, signed and will it install on 2008 without
> > requiring "bcdedit driver signing off"?
> > 
> 
> It's test signed. You have to turn testsigning on for 64 bit windows.

Is that process documented somewhere? I was trying to install gplpv
drivers on 2008r2 yesterday to try and repro a backend bug and couldn't
get it to work.

http://wiki.xen.org/xenwiki/XenWindowsGplPv/Installing seems to cover an
older more manual installation process which didn't appear to apply to
the .msi I downloaded. There is a link to an MS document on how to
actually test sign a driver but nothing on how to allow test signing in
the OS. The link is now a redirect on the MS end so perhaps the previous
content of that link was more useful?

Pressing F8 on boot and disabling driver signing didn't help, the
installer still aborted with a message about turning off driver signing.

Ian.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* RE: XCP PV driver
  2011-02-02  8:34         ` Ian Campbell
@ 2011-02-02  8:41           ` James Harper
  2011-02-02 10:03             ` Ian Campbell
  2011-02-02  9:51           ` Pasi Kärkkäinen
  1 sibling, 1 reply; 14+ messages in thread
From: James Harper @ 2011-02-02  8:41 UTC (permalink / raw)
  To: Ian Campbell; +Cc: Paul Durrant, xen-devel, Soubir Acharya

> 
> On Tue, 2011-02-01 at 22:21 +0000, James Harper wrote:
> > >
> > > Is the latest GP PV driver, signed and will it install on 2008
without
> > > requiring "bcdedit driver signing off"?
> > >
> >
> > It's test signed. You have to turn testsigning on for 64 bit
windows.
> 
> Is that process documented somewhere? I was trying to install gplpv
> drivers on 2008r2 yesterday to try and repro a backend bug and
couldn't
> get it to work.

bcdedit /set testsigning on

or something like that

> 
> http://wiki.xen.org/xenwiki/XenWindowsGplPv/Installing seems to cover
an
> older more manual installation process which didn't appear to apply to
> the .msi I downloaded. There is a link to an MS document on how to
> actually test sign a driver but nothing on how to allow test signing
in
> the OS. The link is now a redirect on the MS end so perhaps the
previous
> content of that link was more useful?
> 
> Pressing F8 on boot and disabling driver signing didn't help, the
> installer still aborted with a message about turning off driver
signing.
> 

Yeah. Better to not install than to install and break.

James

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: XCP PV driver
  2011-02-02  8:34         ` Ian Campbell
  2011-02-02  8:41           ` James Harper
@ 2011-02-02  9:51           ` Pasi Kärkkäinen
  2011-02-02 10:08             ` Ian Campbell
  1 sibling, 1 reply; 14+ messages in thread
From: Pasi Kärkkäinen @ 2011-02-02  9:51 UTC (permalink / raw)
  To: Ian Campbell; +Cc: Paul Durrant, James Harper, xen-devel, Soubir Acharya

On Wed, Feb 02, 2011 at 08:34:25AM +0000, Ian Campbell wrote:
> On Tue, 2011-02-01 at 22:21 +0000, James Harper wrote: 
> > > 
> > > Is the latest GP PV driver, signed and will it install on 2008 without
> > > requiring "bcdedit driver signing off"?
> > > 
> > 
> > It's test signed. You have to turn testsigning on for 64 bit windows.
> 
> Is that process documented somewhere? I was trying to install gplpv
> drivers on 2008r2 yesterday to try and repro a backend bug and couldn't
> get it to work.
> 

I've been planning to update Gplpv instructions on the wiki, 
since that's very common source of questions on xen-users and on irc..

-- Pasi

> http://wiki.xen.org/xenwiki/XenWindowsGplPv/Installing seems to cover an
> older more manual installation process which didn't appear to apply to
> the .msi I downloaded. There is a link to an MS document on how to
> actually test sign a driver but nothing on how to allow test signing in
> the OS. The link is now a redirect on the MS end so perhaps the previous
> content of that link was more useful?
> 
> Pressing F8 on boot and disabling driver signing didn't help, the
> installer still aborted with a message about turning off driver signing.
> 
> Ian.
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 14+ messages in thread

* RE: XCP PV driver
  2011-02-02  8:41           ` James Harper
@ 2011-02-02 10:03             ` Ian Campbell
  0 siblings, 0 replies; 14+ messages in thread
From: Ian Campbell @ 2011-02-02 10:03 UTC (permalink / raw)
  To: James Harper; +Cc: Paul Durrant, xen-devel, Soubir Acharya

On Wed, 2011-02-02 at 08:41 +0000, James Harper wrote:
> bcdedit /set testsigning on
> 
> or something like that

Thanks, precisely that command plus a reboot is what was needed.

Ian.

> 
> > 
> > http://wiki.xen.org/xenwiki/XenWindowsGplPv/Installing seems to cover
> an
> > older more manual installation process which didn't appear to apply to
> > the .msi I downloaded. There is a link to an MS document on how to
> > actually test sign a driver but nothing on how to allow test signing
> in
> > the OS. The link is now a redirect on the MS end so perhaps the
> previous
> > content of that link was more useful?
> > 
> > Pressing F8 on boot and disabling driver signing didn't help, the
> > installer still aborted with a message about turning off driver
> signing.
> > 
> 
> Yeah. Better to not install than to install and break.
> 
> James

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: XCP PV driver
  2011-02-02  9:51           ` Pasi Kärkkäinen
@ 2011-02-02 10:08             ` Ian Campbell
  2011-02-02 10:13               ` Pasi Kärkkäinen
  0 siblings, 1 reply; 14+ messages in thread
From: Ian Campbell @ 2011-02-02 10:08 UTC (permalink / raw)
  To: Pasi Kärkkäinen
  Cc: Paul Durrant, James Harper, xen-devel, Soubir Acharya

On Wed, 2011-02-02 at 09:51 +0000, Pasi Kärkkäinen wrote:
> On Wed, Feb 02, 2011 at 08:34:25AM +0000, Ian Campbell wrote:
> > On Tue, 2011-02-01 at 22:21 +0000, James Harper wrote: 
> > > > 
> > > > Is the latest GP PV driver, signed and will it install on 2008 without
> > > > requiring "bcdedit driver signing off"?
> > > > 
> > > 
> > > It's test signed. You have to turn testsigning on for 64 bit windows.
> > 
> > Is that process documented somewhere? I was trying to install gplpv
> > drivers on 2008r2 yesterday to try and repro a backend bug and couldn't
> > get it to work.
> > 
> 
> I've been planning to update Gplpv instructions on the wiki, 
> since that's very common source of questions on xen-users and on irc..

Thanks. I changed the note about test signing to:
        __'''NOTE:'''__ x64 versions of Vista and Server 2008 require
        signed drivers. The GPLPV drivers are only test signed. In order
        to use them you need to enable test signing by running
        "bcdedit /set testsigning on" and rebooting.
which I hope is somewhat accurate.

Ian.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: XCP PV driver
  2011-02-02 10:08             ` Ian Campbell
@ 2011-02-02 10:13               ` Pasi Kärkkäinen
  0 siblings, 0 replies; 14+ messages in thread
From: Pasi Kärkkäinen @ 2011-02-02 10:13 UTC (permalink / raw)
  To: Ian Campbell; +Cc: Paul Durrant, James Harper, xen-devel, Soubir Acharya

On Wed, Feb 02, 2011 at 10:08:58AM +0000, Ian Campbell wrote:
> On Wed, 2011-02-02 at 09:51 +0000, Pasi Kärkkäinen wrote:
> > On Wed, Feb 02, 2011 at 08:34:25AM +0000, Ian Campbell wrote:
> > > On Tue, 2011-02-01 at 22:21 +0000, James Harper wrote: 
> > > > > 
> > > > > Is the latest GP PV driver, signed and will it install on 2008 without
> > > > > requiring "bcdedit driver signing off"?
> > > > > 
> > > > 
> > > > It's test signed. You have to turn testsigning on for 64 bit windows.
> > > 
> > > Is that process documented somewhere? I was trying to install gplpv
> > > drivers on 2008r2 yesterday to try and repro a backend bug and couldn't
> > > get it to work.
> > > 
> > 
> > I've been planning to update Gplpv instructions on the wiki, 
> > since that's very common source of questions on xen-users and on irc..
> 
> Thanks. I changed the note about test signing to:
>         __'''NOTE:'''__ x64 versions of Vista and Server 2008 require
>         signed drivers. The GPLPV drivers are only test signed. In order
>         to use them you need to enable test signing by running
>         "bcdedit /set testsigning on" and rebooting.
> which I hope is somewhat accurate.
> 

That's better.

The really important point is to reboot *before* installing gplpv.

testsigning needs to be enabled when installing gplpv drivers,
and it gets enabled on reboot.

-- Pasi

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-02-02 10:13 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-30  1:53 XCP PV driver Soubir Acharya
2011-02-01 13:14 ` Paul Durrant
2011-02-01 13:27   ` James Harper
2011-02-01 14:42     ` Soubir Acharya
2011-02-01 14:49       ` Paul Durrant
2011-02-01 14:55         ` Soubir Acharya
2011-02-01 17:59     ` Soubir Acharya
2011-02-01 22:21       ` James Harper
2011-02-02  8:34         ` Ian Campbell
2011-02-02  8:41           ` James Harper
2011-02-02 10:03             ` Ian Campbell
2011-02-02  9:51           ` Pasi Kärkkäinen
2011-02-02 10:08             ` Ian Campbell
2011-02-02 10:13               ` Pasi Kärkkäinen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.