[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [win-pv-devel] PV Drivers Offline Removal



Sorry just resending this as I managed to hit 'Reply' rather than 'Reply All' and remove the list as a recipient.

Paul,

Yes, I see INACCESSIBLE_BOOT_DEVICE when it attempts to boot which seems to map to 0x7B.

Joel

On 16/09/15 12:51, Paul Durrant wrote:

Joel,

 

What BSOD code was it? I’m assuming 0x7B.

 

  Paul

 

From: Joel Noyce-Barnham [mailto:joel.noyce-barnham@xxxxxxxxxxx]
Sent: 16 September 2015 12:23
To: Paul Durrant; win-pv-devel@xxxxxxxxxxxxxxxxxxxx
Subject: Re: PV Drivers Offline Removal

 

Paul,

 

Just to be clear I've previously had success removing the drivers online using the uninstallers so I would assume that still works. The way I am removing the drivers at the moment is using Dism so that the process is fully offline. I have tried also removing that unplug value after removing the drivers with Dism which gives me the same windows blue screen (and then being rebooted into automatic repair) as without modifying the Unplug value.

 

I am happy to send over the logs if this is something that should work but I don't want to waste your time if this is not something you hope to support.

 

Cheers,

Joel

 


From: Paul Durrant <Paul.Durrant@xxxxxxxxxx>
Sent: 16 September 2015 11:30
To: Joel Noyce-Barnham; win-pv-devel@xxxxxxxxxxxxxxxxxxxx
Subject: RE: PV Drivers Offline Removal

 

Joel,

 

Yes, you need to remove the drivers *and* the unplug keys… sorry if that was not clear. Doing that should work so could you send me logs of your failed VM boot? I’ll also try to repro.

Assuming you’re using qemu trad, I just need the qemu log from /var/log/xen.

 

  Cheers,

 

  Paul

 

From: Joel Noyce-Barnham [mailto:joel.noyce-barnham@xxxxxxxxxxx]
Sent: 16 September 2015 11:26
To: Paul Durrant; win-pv-devel@xxxxxxxxxxxxxxxxxxxx
Subject: Re: PV Drivers Offline Removal

 

Hi Paul,

 

I have now got the 8.1.0-rc2 installed and working. I tried removing the Unplug value you suggested and then rebooting but that value just seems to reappeared and the drivers still seem to be in use - they are reported by driverquery and the devices appear in 'Computer Management'. I have also tried removing the drivers with Dism and changing the Unplug value after removing the drivers with Dism which both resulted in an unbootable system like before.

 

I'll try the other suggestions people here made and see if those are any help but is there anything you would recommend or some information I can find to help debug this? I only built the 8.1.0-rc2 code but I'm happy to retry with the code from master if there's been any changes in this area since the RC.

 

Cheers,

Joel

 


From: Paul Durrant <Paul.Durrant@xxxxxxxxxx>
Sent: 15 September 2015 15:40
To: Joel Noyce-Barnham; win-pv-devel@xxxxxxxxxxxxxxxxxxxx
Subject: RE: PV Drivers Offline Removal

 

Thanks. It would be good to confirm it actually works J

 

  Paul

 

From: Joel Noyce-Barnham [mailto:joel.noyce-barnham@xxxxxxxxxxx]
Sent: 15 September 2015 15:33
To: Paul Durrant; win-pv-devel@xxxxxxxxxxxxxxxxxxxx
Subject: Re: PV Drivers Offline Removal

 

Paul,

Thanks for the reply.  The version of the drivers I am using doesn't seem to have added that key to the registry so I will try the same tests with the 8.1.0-rc2 code which contains your recent changes to the unplug code. I will let you know how I get on.

Cheers,
Joel


From: Paul Durrant <Paul.Durrant@xxxxxxxxxx>
Sent: 15 September 2015 09:59
To: Joel Noyce-Barnham; win-pv-devel@xxxxxxxxxxxxxxxxxxxx
Subject: RE: PV Drivers Offline Removal

 

Joel,

 

  Offline removal should be quite possible. The thing that needs to be cleaned up to make sure the image will reboot are the ‘unplug’ values that are used early on in boot to request unplug of emulated devices in QEMU. Look under HKLM/system/currentcontrolset/services/xen and you should see a key called ‘Unplug’. If you delete that key then the next reboot should use emulated devices and so should be fine with no PV drivers.

 

  Cheers,

 

  Paul

 

From: win-pv-devel-bounces@xxxxxxxxxxxxxxxxxxxx [mailto:win-pv-devel-bounces@xxxxxxxxxxxxxxxxxxxx] On Behalf Of Joel Noyce-Barnham
Sent: 14 September 2015 18:21
To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
Subject: [win-pv-devel] PV Drivers Offline Removal

 

Hi All,

We are currently using the GPLPV drivers but are hoping to move to the new Xen WINPV drivers as they are actively developed and have some new features which we are interested in. We currently have a process where VMs can be moved from our Xen hypervisor into EC2. This process relies on the fact that we are able to remove the drivers from an offline image. Previously we have been removing the drivers successfully by converting the disk images to a VHD file, using Dism to remove the drivers (https://technet.microsoft.com/en-GB/library/dd744355%28v=ws.10%29.aspx) and then importing the resulting VHD into EC2. This works with the GPLPV drivers but with the new WINPV drivers it creates an unbootable image (the import into EC2 fails and the image can also not be booted on the original hypervisor).

I have found some previous posts on this mailing list (http://lists.xenproject.org/archives/html/win-pv-devel/2015-03/msg00076.html) discussing removing the drivers and I am able to successfully remove the drivers from an online image but sadly our process requires that this removal be performed offline.

I am just wondering if anyone else is using Dism in windows to remove the PV drivers from an offline image? Or if anyone else has successfully removed the WINPV drivers from an offline image at all? Any pointers anyone can give would be appreciated. The only way we have so far found to make the image boot after removing the drivers with Dism is by manual modification of a large number of registry keys which seems like a far from ideal solution.

Thanks for any help,
Joel

Zynstra is a private limited company registered in England and Wales (registered number 07864369). Our registered office and Headquarters are at The Innovation Centre, Broad Quay, Bath, BA1 1UD. This email, its contents and any attachments are confidential. If you have received this message in error please delete it from your system and advise the sender immedia


_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.