Skip to contentSkip to conversation

GPLPV drivers update

DISCUSSION James Harper 4 participants 9 messages Aug 25, 2009

lore
Share & tools
lore
#0 lore raw

I have just uploaded a new testing version of GPL PV drivers for Windows. Have a look for 0.10.0.97-dontuse at
http://www.meadowcourt.org/downloads (the -dontuse bit is to scare people away who haven't read this email :)

As usual, please test thoroughly on a test DomU and make sure you have a backup before installing on a non-test system. In particular, I'm only testing with Xen 3.4.1 these days so anything older isn't tested although it should work.

There was a problem with the signing of the drivers that would prevent them working properly under Vista/2008 x64 even with testsigning enabled. This should resolve that.

The installation procedure for Vista/2008 x64 is as follows:
. Run 'bcdedit /set testsigning on'
. Reboot
. Install the drivers. Accept any warnings and tick 'always trust...' when prompted.
. Make sure you now have PV network and SCSI adapters present . Reboot

If something doesn't work, you should be able to boot to safe mode unless you forgot to run 'bcdedit /set testsigning on' in which case you will probably have an unbootable system... for some reason the vista F8 boot menu doesn't allow you to turn on testsigning and safe mode at the same time. Ideally the installer would be able to detect that we are using a test certificate and instruct you to turn on testsigning first but I don't yet know how to do that. I'll see if I can at least put in a loud warning at installation time...

James

#1 lore raw

Hi,
I just installed this new PV drivers, the vps will show a blue screen and never boot up again if we do a reboot.
but it can boot by 'xm create'

On Tue, Aug 25, 2009 at 4:37 AM, James Harper <[email protected]

Quoted 33 lines

wrote:

I have just uploaded a new testing version of GPL PV drivers for Windows. Have a look for 0.10.0.97-dontuse at
http://www.meadowcourt.org/downloads (the -dontuse bit is to scare people away who haven't read this email :)

As usual, please test thoroughly on a test DomU and make sure you have a backup before installing on a non-test system. In particular, I'm only testing with Xen 3.4.1 these days so anything older isn't tested although it should work.

There was a problem with the signing of the drivers that would prevent them working properly under Vista/2008 x64 even with testsigning enabled. This should resolve that.

The installation procedure for Vista/2008 x64 is as follows:
. Run 'bcdedit /set testsigning on'
. Reboot
. Install the drivers. Accept any warnings and tick 'always trust...' when prompted.
. Make sure you now have PV network and SCSI adapters present . Reboot

If something doesn't work, you should be able to boot to safe mode unless you forgot to run 'bcdedit /set testsigning on' in which case you will probably have an unbootable system... for some reason the vista F8 boot menu doesn't allow you to turn on testsigning and safe mode at the same time. Ideally the installer would be able to detect that we are using a test certificate and instruct you to turn on testsigning first but I don't yet know how to do that. I'll see if I can at least put in a loud warning at installation time...

Quoted 8 lines

James

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

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

#2 lore raw

What version of xen and what windows version and what bits (32 or 64)?

James

Quoted 9 lines

-----Original Message-----
From: Jingyun He [mailto:[email protected]]
Sent: Tuesday, 25 August 2009 15:29
To: James Harper
Cc: [email protected]; [email protected]
Subject: Re: [Xen-users] GPLPV drivers update

Hi,
I just installed this new PV drivers, the vps will show a blue screen

and

Quoted 5 lines

never boot up again if we do a reboot.
but it can boot by 'xm create'

On Tue, Aug 25, 2009 at 4:37 AM, James Harper

<[email protected]>

Quoted 6 lines

wrote:

I have just uploaded a new testing version of GPL PV drivers for Windows. Have a look for 0.10.0.97-dontuse at
http://www.meadowcourt.org/downloads (the -dontuse bit is to

scare

Quoted 3 lines

people away who haven't read this email :)

As usual, please test thoroughly on a test DomU and make sure

you have a

Quoted 1 line

backup before installing on a non-test system. In particular,

I'm only

Quoted 4 lines

testing with Xen 3.4.1 these days so anything older isn't tested although it should work.

There was a problem with the signing of the drivers that would

prevent

Quoted 7 lines

them working properly under Vista/2008 x64 even with testsigning enabled. This should resolve that.

The installation procedure for Vista/2008 x64 is as follows:
. Run 'bcdedit /set testsigning on'
. Reboot
. Install the drivers. Accept any warnings and tick 'always

trust...'

Quoted 5 lines

when prompted.
. Make sure you now have PV network and SCSI adapters present . Reboot

If something doesn't work, you should be able to boot to safe

mode

Quoted 1 line

unless you forgot to run 'bcdedit /set testsigning on' in which

case you

Quoted 1 line

will probably have an unbootable system... for some reason the

vista F8

Quoted 1 line

boot menu doesn't allow you to turn on testsigning and safe mode

at the

Quoted 1 line

same time. Ideally the installer would be able to detect that we

are

Quoted 1 line

using a test certificate and instruct you to turn on testsigning

first

Quoted 1 line

but I don't yet know how to do that. I'll see if I can at least

put in a

Quoted 11 lines

loud warning at installation time...

James

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

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

I have just uploaded a new testing version of GPL PV drivers for Windows. Have a look for 0.10.0.97-dontuse at
http://www.meadowcourt.org/downloads (the -dontuse bit is to scare people away who haven't read this email :)

As usual, please test thoroughly on a test DomU and make sure you have a backup before installing on a non-test system. In particular, I'm only testing with Xen 3.4.1 these days so anything older isn't tested although it should work.

There was a problem with the signing of the drivers that would prevent them working properly under Vista/2008 x64 even with testsigning enabled. This should resolve that.

The installation procedure for Vista/2008 x64 is as follows:
. Run 'bcdedit /set testsigning on'
. Reboot
. Install the drivers. Accept any warnings and tick 'always trust...' when prompted.
. Make sure you now have PV network and SCSI adapters present . Reboot

If something doesn't work, you should be able to boot to safe mode unless you forgot to run 'bcdedit /set testsigning on' in which case you will probably have an unbootable system... for some reason the vista F8 boot menu doesn't allow you to turn on testsigning and safe mode at the same time. Ideally the installer would be able to detect that we are using a test certificate and instruct you to turn on testsigning first but I don't yet know how to do that. I'll see if I can at least put in a loud warning at installation time...

Quoted 8 lines

James

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

James,

Happy to report that I've tested the new drivers on a freshly installed windows 2008 x64 hvm and after following your instructions and rebooting the correct drivers appeared in device manager and the performance increased as expected.

Then I decided to try backing out the kludge I had added to makedist.bat to bypass signing, this time a new certificate was generated and the drivers compiled without error, but during installation the system bugchecked with a error in xenpci.sys, after rebooting I retried the installation and the correct Xen PCI device driver and other devices were detected but when I rebooted again the system bugchecked.

I will do more testing to see if I get consistent results, I would expect the msi that you released and the one I compiled to behave exactly the same as I did a "hg pull" before compiling and "hg diff" shows that my tree is the same as yours.

Andy

Andy

#4 lore raw
Quoted 62 lines · Andrew Lyon
Quoted 31 lines · James Harper

I have just uploaded a new testing version of GPL PV drivers for Windows. Have a look for 0.10.0.97-dontuse at
http://www.meadowcourt.org/downloads (the -dontuse bit is to scare people away who haven't read this email :)

As usual, please test thoroughly on a test DomU and make sure you have a backup before installing on a non-test system. In particular, I'm only testing with Xen 3.4.1 these days so anything older isn't tested although it should work.

There was a problem with the signing of the drivers that would prevent them working properly under Vista/2008 x64 even with testsigning enabled. This should resolve that.

The installation procedure for Vista/2008 x64 is as follows:
. Run 'bcdedit /set testsigning on'
. Reboot
. Install the drivers. Accept any warnings and tick 'always trust...' when prompted.
. Make sure you now have PV network and SCSI adapters present . Reboot

If something doesn't work, you should be able to boot to safe mode unless you forgot to run 'bcdedit /set testsigning on' in which case you will probably have an unbootable system... for some reason the vista F8 boot menu doesn't allow you to turn on testsigning and safe mode at the same time. Ideally the installer would be able to detect that we are using a test certificate and instruct you to turn on testsigning first but I don't yet know how to do that. I'll see if I can at least put in a loud warning at installation time...

Quoted 8 lines

James

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

James,

Happy to report that I've tested the new drivers on a freshly installed windows 2008 x64 hvm and after following your instructions and rebooting the correct drivers appeared in device manager and the performance increased as expected.

Then I decided to try backing out the kludge I had added to makedist.bat to bypass signing, this time a new certificate was generated and the drivers compiled without error, but during installation the system bugchecked with a error in xenpci.sys, after rebooting I retried the installation and the correct Xen PCI device driver and other devices were detected but when I rebooted again the system bugchecked.

I will do more testing to see if I get consistent results, I would expect the msi that you released and the one I compiled to behave exactly the same as I did a "hg pull" before compiling and "hg diff" shows that my tree is the same as yours.

Quoted 5 lines

Andy

Andy

Just tried installing your MSI onto the 2008x64 hvm and got the same bugcheck, so it seems to be slightly random...

Andy

#5 lore raw
Quoted 4 lines

Just tried installing your MSI onto the 2008x64 hvm and got the same bugcheck, so it seems to be slightly random...

What bugcheck? If you are running 3.4.x it should now print the bugcheck info into /var/log/qemu-dm-<domain name>.log

James

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

Just tried installing your MSI onto the 2008x64 hvm and got the same bugcheck, so it seems to be slightly random...

What bugcheck? If you are running 3.4.x it should now print the bugcheck info into /var/log/qemu-dm-<domain name>.log

James

That's a nice feature!, here it is:

XenPCI --> XenPci_SysrqHandXenPCI Bug check 0x000000D1
(0x0000000000000000, 0x0000000000000002, 0x0000000000000001, 0xFFFFFA6003AAAB0A)

Andy

#7 lore raw
Quoted 7 lines

That's a nice feature!, here it is:

XenPCI --> XenPci_SysrqHandXenPCI Bug check 0x000000D1
(0x0000000000000000, 0x0000000000000002, 0x0000000000000001, 0xFFFFFA6003AAAB0A)

Hmmm... null pointer dereference by the looks of it.

Quoted 1 line

From the mangled prefix I'm guessing you are running SMP. Can you send

me (privately will be fine) the whole logfile, and also see if you can reproduce it running with vcpus=1?

James

#8 lore raw
In reply to James Harper

Using the newest drivers, the installer fails with 'the installer ended prematurely'

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of James Harper
Sent: Monday, August 24, 2009 10:37 PM
To: [email protected]
Cc: [email protected]
Subject: [Xen-users] GPLPV drivers update

I have just uploaded a new testing version of GPL PV drivers for Windows. Have a look for 0.10.0.97-dontuse at
http://www.meadowcourt.org/downloads (the -dontuse bit is to scare people away who haven't read this email :)

As usual, please test thoroughly on a test DomU and make sure you have a backup before installing on a non-test system. In particular, I'm only testing with Xen 3.4.1 these days so anything older isn't tested although it should work.

There was a problem with the signing of the drivers that would prevent them working properly under Vista/2008 x64 even with testsigning enabled. This should resolve that.

The installation procedure for Vista/2008 x64 is as follows:
. Run 'bcdedit /set testsigning on'
. Reboot
. Install the drivers. Accept any warnings and tick 'always trust...' when prompted.
. Make sure you now have PV network and SCSI adapters present . Reboot

If something doesn't work, you should be able to boot to safe mode unless you forgot to run 'bcdedit /set testsigning on' in which case you will probably have an unbootable system... for some reason the vista F8 boot menu doesn't allow you to turn on testsigning and safe mode at the same time. Ideally the installer would be able to detect that we are using a test certificate and instruct you to turn on testsigning first but I don't yet know how to do that. I'll see if I can at least put in a loud warning at installation time...

James

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