Skip to contentSkip to conversation

XCP PV driver

DISCUSSION Soubir Acharya 6 participants 14 messages Jan 30, 2011 – Feb 2, 2011

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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

Paul

Quoted 32 lines

-----Original Message-----
From: [email protected] [mailto:xen-devel- [email protected]] On Behalf Of Soubir Acharya
Sent: 30 January 2011 01:53
To: [email protected]
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
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw
Quoted 2 lines

No, we don't support I_T nexus registration; the model is a simple

non-shared

Quoted 2 lines

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

Quoted 39 lines

Paul

Quoted 25 lines

-----Original Message-----
From: [email protected] [mailto:xen-devel- [email protected]] On Behalf Of Soubir Acharya
Sent: 30 January 2011 01:53
To: [email protected]
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.

Quoted 7 lines

Soubir

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw
Quoted 10 lines · James Harper
Quoted 1 line

No, we don't support I_T nexus registration; the model is a simple

non-shared

Quoted 2 lines

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.

Quoted 4 lines

Maybe you could use iSCSI in the DomU instead?

Quoted 1 line

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

#4 lore raw

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

Quoted 39 lines

-----Original Message-----
From: Soubir Acharya [mailto:[email protected]]
Sent: 01 February 2011 14:42
To: James Harper
Cc: Paul Durrant; [email protected]
Subject: Re: [Xen-devel] XCP PV driver

Quoted 1 line · James Harper
Quoted 1 line

No, we don't support I_T nexus registration; the model is a

simple

Quoted 4 lines

non-shared

Quoted 2 lines

SCSI bus.

GPLPV tells windows that these SCSIOP's are supported (just

returns

Quoted 1 line

STATUS_SUCCESS), but they don't actually do anything. As Paul

implies

Quoted 1 line

there is no mechanism to pass such a message back to the actual

device

Quoted 1 line

(which could just be a file on disk anyway). It doesn't block

anything

Quoted 6 lines

else from accessing the device.

Maybe you could use iSCSI in the DomU instead?

Quoted 1 line

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

#5 lore raw
Quoted 2 lines · Paul Durrant

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

#6 lore raw
In reply to James Harper

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

Soubir

Quoted 57 lines · James Harper
Quoted 1 line

No, we don't support I_T nexus registration; the model is a simple

non-shared

Quoted 2 lines

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

Quoted 30 lines

Paul

Quoted 28 lines

-----Original Message-----
From: [email protected] [mailto:xen-devel- [email protected]] On Behalf Of Soubir Acharya
Sent: 30 January 2011 01:53
To: [email protected]
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

Quoted 8 lines
Quoted 4 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#7 lore raw
Quoted 4 lines

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

#8 lore raw
Quoted 6 lines · James Harper
Quoted 4 lines

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.

#9 lore raw
Quoted 4 lines · James Harper
Quoted 2 lines
Quoted 2 lines

Is the latest GP PV driver, signed and will it install on 2008

without

Quoted 4 lines
Quoted 4 lines
Quoted 2 lines

requiring "bcdedit driver signing off"?

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

windows.

Quoted 3 lines

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

Quoted 1 line

get it to work.

bcdedit /set testsigning on

or something like that

Quoted 2 lines

http://wiki.xen.org/xenwiki/XenWindowsGplPv/Installing seems to cover

an

Quoted 3 lines

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

Quoted 1 line

the OS. The link is now a redirect on the MS end so perhaps the

previous

Quoted 4 lines

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.

Quoted 1 line

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

James

#11 lore raw
In reply to Ian Campbell
Quoted 6 lines · Ian Campbell
Quoted 5 lines · James Harper
Quoted 4 lines

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

Quoted 6 lines
Quoted 1 line

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

Quoted 17 lines

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
[email protected]
http://lists.xensource.com/xen-devel

#10 lore raw
In reply to James Harper
Quoted 3 lines · James Harper

bcdedit /set testsigning on

or something like that

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

Ian.

Quoted 20 lines
Quoted 3 lines

http://wiki.xen.org/xenwiki/XenWindowsGplPv/Installing seems to cover

an

Quoted 3 lines

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

Quoted 1 line

the OS. The link is now a redirect on the MS end so perhaps the

previous

Quoted 4 lines

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.

Quoted 1 line

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

James

#12 lore raw
In reply to Pasi Kärkkäinen
Quoted 9 lines · Pasi Kärkkäinen
Quoted 8 lines · Ian Campbell
Quoted 6 lines · James Harper
Quoted 4 lines

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.

Quoted 7 lines
Quoted 4 lines

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.

#13 lore raw
Quoted 18 lines · Ian Campbell
Quoted 9 lines · Pasi Kärkkäinen
Quoted 8 lines · Ian Campbell
Quoted 6 lines · James Harper
Quoted 4 lines

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.

Quoted 7 lines
Quoted 4 lines

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..

Quoted 7 lines

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