Port-xen archive

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

Re: GPLPV Drivers



Strange.  I seriously doubt it's because it's French, but it's worth a
shot.  Only catch is I can't read French to set one up locally (I was
so horrible at foreign languages my instructor told me to drop the
class).  I guess I can compare screens to an English one :).

In case anybody is interested, all I did was download the SDKs, pull
the GPLPV hg tree, and added this kludge:

--- win-pvdrivers/xenpci/xenpci_pdo.c   2010-06-10 17:00:53.935040686 +0000
+++ pv/xenpci/xenpci_pdo.c      2010-06-08 15:18:15.456700116 +0000
@@ -490,10 +490,13 @@ XenPci_ChangeFrontendState(WDFDEVICE dev
   RtlStringCbPrintfA(path, ARRAY_SIZE(path), "%s/state", xppdd->path);
   XenBus_Printf(xpdd, XBT_NIL, path, "%d", frontend_state_set);

   remaining = maximum_wait_ms;

+  if ((backend_state_response ==
XenbusStateInitWait)&&(xppdd->backend_state == XenbusStateConnected))
+         backend_state_response = XenbusStateConnected;
+
   while (xppdd->backend_state != backend_state_response)
   {
     thiswait = min((LONG)remaining, 1000); // 1 second or remaining
time, whichever is less
     timeout.QuadPart = (LONGLONG)-1 * thiswait * 1000 * 10;
     if (KeWaitForSingleObject(&xppdd->backend_state_event, Executive,
KernelMode, FALSE, &timeout) == STATUS_TIMEOUT)

Then I just fixed up some paths in the various .bat files (I was using
WDK 7.1, upstream seems to use 7.0) and ran it.  Nothing too fancy.

-Dustin

On Thu, Jun 10, 2010 at 11:57 AM, Manuel Bouyer 
<bouyer%antioche.eu.org@localhost> wrote:
> On Thu, Jun 10, 2010 at 11:25:33AM -0500, Dustin Marquess wrote:
>> Strange, even with the stock drivers I haven't seen a hang during
>> install, just a BSOD at bootup.
>>
>> I'm not even sure the debug drivers would help here.  I've tried it on
>> 3 VMs of different flavors so far and haven't seen this, but I'll try
>> it on a new VM just to be sure.
>>
>> If it helps, my config is:
>
> I tried with your config file (just changed the file: name and
> mac address) and get the same issue.
> When looking at the Xen PCI device in device manager, I get
> (translated from french, as I'm using a french version of 2003R2"
> "Windows can't load the driver for this device. This driver may be damaged
> or not present (Code 39)"
>
>
>
> --
> Manuel Bouyer <bouyer%antioche.eu.org@localhost>
>     NetBSD: 26 ans d'experience feront toujours la difference
> --
>


Home | Main Index | Thread Index | Old Index