Skip to contentSkip to conversation

Windows7 Home, PV drivers (x32_0.11.0.238) stuck during install (image attached)

DISCUSSION Konrad Rzeszutek Wilk 4 participants 9 messages Mar 8, 2011 – Mar 9, 2011

lore
Share & tools
lore
#0 lore raw

Hey James,

I just installed a Windows 7 Home Premium version under QEMU (xen-unstable) with a 2.6.38 dom0. Installing and running it under QEMU works quite well.

I decided to install the PV drivers and followed the criteria for allowing self-signed drivers to be installed:

Bcdedit.exe -set TESTSIGNING ON

And then I tried to install the non-debug and debug version of the GPL drivers. The version I picked was 0.11.0.238 - and it just sits there doing nothing. The Windows 7 install is stock + Kaspersky AntiVirus 2011 + Everest Ultimate. Both of them (non-debug and debug) hang at the same point.

Any ideas what I ought to try? Where are the log files for the install located?

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

#1 lore raw
Quoted 3 lines

Hey James,

I just installed a Windows 7 Home Premium version under QEMU

(xen-unstable)

Quoted 1 line

with a 2.6.38 dom0. Installing and running it under QEMU works quite

well.

Quoted 9 lines

I decided to install the PV drivers and followed the criteria for allowing self-signed drivers to be installed:

Bcdedit.exe -set TESTSIGNING ON

And then I tried to install the non-debug and debug version of the GPL drivers. The version I picked was 0.11.0.238 - and it just sits there doing nothing. The Windows 7 install is stock + Kaspersky

AntiVirus 2011

Quoted 2 lines

+
Everest Ultimate. Both of them (non-debug and debug) hang at the same

point.

Quoted 3 lines

Any ideas what I ought to try? Where are the log files for the install located?

I think I've seen this once before but couldn't reproduce it. The installer waits for all the devices to be ready before asking for a reboot, otherwise you'll end up with the 0x7B "boot device inaccessible" BSoD next boot.

When it is hung like that, can you go into device manager and tell me what xen devices are loaded?

Thanks

James

#2 lore raw
Quoted 23 lines · James Harper
Quoted 3 lines

Hey James,

I just installed a Windows 7 Home Premium version under QEMU

(xen-unstable)

Quoted 1 line

with a 2.6.38 dom0. Installing and running it under QEMU works quite

well.

Quoted 9 lines

I decided to install the PV drivers and followed the criteria for allowing self-signed drivers to be installed:

Bcdedit.exe -set TESTSIGNING ON

And then I tried to install the non-debug and debug version of the GPL drivers. The version I picked was 0.11.0.238 - and it just sits there doing nothing. The Windows 7 install is stock + Kaspersky

AntiVirus 2011

Quoted 2 lines

+
Everest Ultimate. Both of them (non-debug and debug) hang at the same

point.

Quoted 3 lines

Any ideas what I ought to try? Where are the log files for the install located?

Quoted 7 lines

I think I've seen this once before but couldn't reproduce it. The installer waits for all the devices to be ready before asking for a reboot, otherwise you'll end up with the 0x7B "boot device inaccessible" BSoD next boot.

When it is hung like that, can you go into device manager and tell me what xen devices are loaded?

Nothing shows up as Xen. I ran Lavasys Everest to do a report and scanned for anything that said 'Xen'. The only things I found were the DMI fields.

Interestingly enough, if I click "Cancel" it is still hung. Are there any installation logs of what it tried to load/install?

#3 lore raw
Quoted 8 lines
Quoted 2 lines

When it is hung like that, can you go into device manager and tell me what xen devices are loaded?

Nothing shows up as Xen. I ran Lavasys Everest to do a report and scanned for anything that said 'Xen'. The only things I found were the DMI fields.

Interestingly enough, if I click "Cancel" it is still hung. Are there any installation logs of what it tried to load/install?

It does Cancel, just takes a bit of time. Found out that running the installer with /l* Logfile.txt did the trick and saw this:

.. snip..
DIFXAPP: INFO: No matching devices found in INF "C:\Windows\System32\DriverStore\FileRepository\xenpci.inf_x86_neutral_232bc49777803725\xenpci.inf" on the Machine.
DIFXAPP: INFO: No drivers installed. No devices found that match driver(s) contained in 'C:\Windows\System32\DriverStore\FileRepository\xenpci.inf_x86_neutral_232bc49777803725\xenpci.inf'.
DIFXAPP: INFO: RETURN: DriverPackageInstallW (0xE000020B)
DIFXAPP: INFO: The device(s) for which the driver is being installed has not been plugged into the computer.
DIFXAPP: INFO: ENTER: DriverPackageGetPathW
DIFXAPP: INFO: RETURN: DriverPackageGetPathW (0x7A)
DIFXAPP: INFO: ENTER: DriverPackageGetPathW
DIFXAPP: INFO: RETURN: DriverPackageGetPathW (0x0)
DIFXAPP: INFO: driver store entry for 'C:\Program Files\Xen PV Drivers\drivers\xenpci\xenpci.inf' is 'C:\Windows\System32\DriverStore\FileRepository\xenpci.inf_x86_neutral_232bc49777803725\xenpci.inf'.
DIFXAPP: INFO: The component Id '{D6BB9B5F-61F9-4B6E-8FAD-289706F5EBEB}' is now set to point to driver store: 'C:\Windows\System32\DriverStore\FileRepository\xenpci.inf_x86_neutral_232bc49777803725\xenpci.inf'
DIFXAPP: INFO: A reboot is not needed to install the component '{D6BB9B5F-61F9-4B6E-8FAD-289706F5EBEB}'.
DIFXAPP: RETURN: InstallDriverPackages() 0 (0x0)
Action 1:11:12: WaitForDevices.

And sure enough I did not have a Xen PCI platform device. The reason being that I had this in my guest configuration file:

#-----------------------------------------------------------------------------
# Enable/disable xen platform PCI device, default=1 (enabled)
xen_platform_pci=0

Changing it to 1 made the installer work. After two reboots my Windows 7 guest is running with the PV drivers.

#4 lore raw

Is that a safe way to temporarily disable gplpv? If we hide the platform device then gplpv shouldn't start, correct?

chris

Quoted 43 lines · Konrad Rzeszutek Wilk
Quoted 8 lines
Quoted 2 lines

When it is hung like that, can you go into device manager and tell me what xen devices are loaded?

Nothing shows up as Xen. I ran Lavasys Everest to do a report and scanned for anything that said 'Xen'. The only things I found were the DMI fields.

Interestingly enough, if I click "Cancel" it is still hung. Are there any installation logs of what it tried to load/install?

It does Cancel, just takes a bit of time. Found out that running the installer with /l* Logfile.txt did the trick and saw this:

.. snip..
DIFXAPP: INFO:   No matching devices found in INF "C:\Windows\System32\DriverStore\FileRepository\xenpci.inf_x86_neutral_232bc49777803725\xenpci.inf" on the Machine.
DIFXAPP: INFO:   No drivers installed. No devices found that match driver(s) contained in 'C:\Windows\System32\DriverStore\FileRepository\xenpci.inf_x86_neutral_232bc49777803725\xenpci.inf'.
DIFXAPP: INFO:   RETURN: DriverPackageInstallW  (0xE000020B)
DIFXAPP: INFO: The device(s) for which the driver is being installed has not been plugged into the computer.
DIFXAPP: INFO:   ENTER:  DriverPackageGetPathW
DIFXAPP: INFO:   RETURN: DriverPackageGetPathW  (0x7A)
DIFXAPP: INFO:   ENTER:  DriverPackageGetPathW
DIFXAPP: INFO:   RETURN: DriverPackageGetPathW  (0x0)
DIFXAPP: INFO: driver store entry for 'C:\Program Files\Xen PV Drivers\drivers\xenpci\xenpci.inf' is 'C:\Windows\System32\DriverStore\FileRepository\xenpci.inf_x86_neutral_232bc49777803725\xenpci.inf'.
DIFXAPP: INFO: The component Id '{D6BB9B5F-61F9-4B6E-8FAD-289706F5EBEB}' is now set to point to driver store: 'C:\Windows\System32\DriverStore\FileRepository\xenpci.inf_x86_neutral_232bc49777803725\xenpci.inf'
DIFXAPP: INFO: A reboot is not needed to install the component '{D6BB9B5F-61F9-4B6E-8FAD-289706F5EBEB}'.
DIFXAPP: RETURN: InstallDriverPackages() 0 (0x0)
Action 1:11:12: WaitForDevices.

And sure enough I did not have a Xen PCI platform device. The reason being that I had this in my guest configuration file:

#-----------------------------------------------------------------------------
#   Enable/disable xen platform PCI device, default=1 (enabled) xen_platform_pci=0

Changing it to 1 made the installer work. After two reboots my Windows 7 guest is running with the PV drivers.

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

#5 lore raw
Quoted 4 lines

Is that a safe way to temporarily disable gplpv? If we hide the platform device then gplpv shouldn't start, correct?

Hmmm... the driver will still load, and will try to disable the qemu devices. If xen_platform_pci=0 disables the qemu device disabling mechanism then it may work.

Otherwise, putting /NOGPLPV in your boot.ini (or BCD) or just booting in safe mode should do the trick.

James

#6 lore raw
In reply to Konrad Rzeszutek Wilk
Quoted 10 lines

And sure enough I did not have a Xen PCI platform device. The reason being that I had this in my guest configuration file:

#----------------------------------------------------------------------
-------
# Enable/disable xen platform PCI device, default=1 (enabled)
xen_platform_pci=0

Changing it to 1 made the installer work. After two reboots my Windows 7 guest is running with the PV drivers.

Konrad,

What version of Xen are you running? Just curious because I had to perform 2 reboots with Win2k8 R2 under Xen 3.1. James and I concluded this was because of the version of Xen I was running.

Thanks,
AP

Quoted 5 lines

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

#7 lore raw
Quoted 8 lines · AP Xen
Quoted 8 lines

And sure enough I did not have a Xen PCI platform device. The reason being that I had this in my guest configuration file:

#----------------------------------------------------------------------
-------
# Enable/disable xen platform PCI device, default=1 (enabled)
xen_platform_pci=0

Quoted 6 lines
Quoted 2 lines

Changing it to 1 made the installer work. After two reboots my Windows 7 guest is running with the PV drivers.

Konrad,

What version of Xen are you running? Just curious because I had to perform 2

xen_major : 4
xen_minor : 1
xen_changeset : Thu Jan 20 17:04:06 2011 +0000 22787:003acf02d416

Quoted 2 lines

reboots with Win2k8 R2 under Xen 3.1. James and I concluded this was because of the version of Xen I was running.

Uhh, in my case Windows was telling me that I needed to restart. I think the drivers installed themselves fine (it had the icon saying it installed them).

Quoted 9 lines

Thanks,
AP

Quoted 5 lines

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

#8 lore raw
Quoted 35 lines

-----Original Message-----
From: Konrad Rzeszutek Wilk [mailto:[email protected]]
Sent: Wednesday, March 09, 2011 12:47 PM
To: AP Xen
Cc: 'James Harper'; [email protected]
Subject: Re: [Xen-devel] RE: Windows7 Home, PV drivers (x32_0.11.0.238) stuck during install (image attached)

Quoted 4 lines · AP Xen
Quoted 4 lines

And sure enough I did not have a Xen PCI platform device. The reason being that I had this in my guest configuration file:

#------------------------------------------------------------------

----

Quoted 10 lines
Quoted 6 lines

-------
# Enable/disable xen platform PCI device, default=1 (enabled)
xen_platform_pci=0

Changing it to 1 made the installer work. After two reboots my Windows 7 guest is running with the PV drivers.

Konrad,

What version of Xen are you running? Just curious because I had to

perform 2

xen_major : 4
xen_minor : 1
xen_changeset : Thu Jan 20 17:04:06 2011 +0000
22787:003acf02d416

Quoted 7 lines
Quoted 1 line

reboots with Win2k8 R2 under Xen 3.1. James and I concluded this was

because

Quoted 1 line

of the version of Xen I was running.

Uhh, in my case Windows was telling me that I needed to restart. I think the drivers
installed themselves fine (it had the icon saying it installed them).

Yes, it was Windows asking me to reboot too. Except that only one reboot should have been required given that it was R2.

http://lists.xensource.com/archives/html/xen-users/2011-03/msg00113.html

Quoted 8 lines
Quoted 8 lines

Thanks,
AP

Quoted 5 lines

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