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

Re: [win-pv-devel] winpv drivers update still don't works correctly and domUs unable to boot on next reboot


  • To: Fabio Fantoni <fabio.fantoni@xxxxxxx>, "win-pv-devel@xxxxxxxxxxxxxxxxxxxx" <win-pv-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Paul Durrant <Paul.Durrant@xxxxxxxxxx>
  • Date: Fri, 23 Oct 2015 14:49:49 +0000
  • Accept-language: en-GB, en-US
  • Delivery-date: Fri, 23 Oct 2015 14:50:15 +0000
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>
  • Thread-index: AQHRDXNjXLsQhDl5akuQ2SO58eBnM554zt+g///r1ICAACRMYP//49IAgAA5Q4CAACqnEA==
  • Thread-topic: [win-pv-devel] winpv drivers update still don't works correctly and domUs unable to boot on next reboot

> -----Original Message-----
[snip]
> 
> I now retried with same domU when I had the latest problem reported (I
> returned to status before the winpv update with disk snapshot), I
> removed the winpv drivers from windows control panel (in this case I
> didn't try additional manual clean) and reboot.
> Next boot windows fails to boot and from qemu log winpv things are still
> present and used but boot fails (I suppose because partial as uninstalled).
> Full qemu log with trace in attachment.
> Seems very strange that similar thing happen only to me and in 80-90% of
> my tests with winpv, as already wrote tested on many domUs, W7/8/10,
> different builds of winpv, different versions of dom0 kernel, xen, qemu
> ecc...
> 

The XENVBD you have installed is missing this fix:

commit 59797d160517e47a249e67f030bb5d2943f8177a
Author: Paul Durrant <paul.durrant@xxxxxxxxxx>
Date:   Thu Sep 3 17:36:43 2015 +0100

    Clear unplug requests from co-installer

    When XENVBD is uninstalled there is no suitable notification in kernel
    which can be used to clear any remaining unplug requests. This leads to
    a certain 0x7B bugcheck on reboot. This patch therefore does the job
    from the co-installer since this seems to be the only way.

    Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx>

This means, when you try to remove it, the unplug registry remains set. So, to 
remove the old driver you have you will need to hack the registry manually 
after removing the driver but before rebooting (or go into safe mode after 
reboot). The thing you need to shoot is the "DISKS" value under 
HKLM/System/CurrentControlset/Services/Xen/Unplug.
BTW, it is expected that the XEN export driver and the XENFILT filter will 
still re-load after boot even after removing all driver packages... Windows 
never truly removes drivers. From the log though it looks like you've also got 
an old XENBUS hanging around in DriverStore since XEN, XENFILT and XENBUS now 
have a version of 8.1.0 and a date of 7th August so you should probably do a 
'pnputil -e' and then 'pnputil -d' on any remaining oemX.inf files you find.

  Paul


> If you need more informations/tests tell me and I'll post them.
> 
> Thanks for any reply and sorry for my bad english.
> 
> >
> >>
> >>>>> In my latest test:
> >>>>> Dom0:
> >>>>> Wheezy (debian 7) 64 bit with xen 4.6.0 plus some small additional
> >>> patches:
> >>>>> https://github.com/Fantu/Xen/commits/rebase/m2r-testing-4.6
> >>>>> kernel is custom build of 4.1.8 with .config in attachment
> >>>>> Qemu 2.4 with some small additional patches:
> >>>>> https://github.com/Fantu/qemu/commits/rebase/upstream
> >>>>> Seabios 1.8.2
> >>>>>
> >>>>> DomU:
> >>>>> windows 10 pro 64 bit
> >>>>> xl cfg in attachment
> >>>>>
> >>>>> I updated all winpv components to latest build without saw errors
> >>>>> but on
> >>>>> reboot windows fails to boot, in qemu log I saw a trace about and
> >>>>> also
> >>>>> the still use older build of at least one component.
> >>>>> Full qemu log with trace in attachment.
> >>>>> I had similar problem many time with different versions of xen, qemu,
> >>>>> seabios, winpv, windows ecc...
> >>>>> I also already did at least one other report about time ago if I
> >>>>> remember good.
> >>>>>
> >>>>>
> >>>>> If you need more informations/tests tell me and I'll post them.
> >>>>>
> >>>>> Thanks for any reply and sorry for my bad english.
> >>>>>
> >>>


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