From: Wayne Gong <wayne.gong@oracle.com>
To: Sandro Sigala <sandro@sigala.it>
Cc: James Harper <james.harper@bendigoit.com.au>,
xen-devel@lists.xensource.com
Subject: Re: GPLPV Drivers 0.9.11-pre4 hang during boot - WindowsXP Pro SP2
Date: Fri, 04 Jul 2008 16:29:40 +0800 [thread overview]
Message-ID: <486DDF74.1010909@oracle.com> (raw)
In-Reply-To: <486DD394.4060403@sigala.it>
Hi James,
I meet this problem before but not in the same scenario.
I use WinPv driver WDF version and attach a lot of vbd and vif device,
such as 4 disks and 8 NICs. After WinPv driver install correctly, reboot
the vm. Vm cannot reboot correctly every times. And the debug log is
very similar as Sandro provided. I change the backend bit width detect
code as follow. In my test box, WinPv driver works ok till now. Please
have a try if you are interested in it.
+XenVbd_TestBitWidth(PXENVBD_DEVICE_DATA DeviceData, PXENVBD_TARGET_DATA TargetData)
+{
+ blkif_request_t *req;
+ ULONG i;
+ int notify;
+
+ KdPrint((__DRIVER_NAME " --> XenVbd_TestBitWidth\n"));
+ req = RING_GET_REQUEST(&TargetData->Ring, TargetData->Ring.req_prod_pvt);
+ req->id = 0;
+ KdPrint((__DRIVER_NAME " req id : %d\n",req->id));
+ req->operation = 0xff;
+ req->nr_segments = 0;
+ for (i = 0; i < req->nr_segments; i++)
+ {
+ req->seg[i].gref = 0xffffffff;
+ req->seg[i].first_sect = 0xff;
+ req->seg[i].last_sect = 0xff;
+ }
+ TargetData->Ring.req_prod_pvt++;
+
+ RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(&TargetData->Ring, notify);
+ KdPrint((__DRIVER_NAME " 1st notify: %d\n", notify));
+ if (notify)
+ DeviceData->XenDeviceData->XenInterface.EvtChn_Notify(
+ DeviceData->XenDeviceData->XenInterface.InterfaceHeader.Context,
+ TargetData->EventChannel);
+ KeMemoryBarrier();
+
+ req = RING_GET_REQUEST(&TargetData->Ring, TargetData->Ring.req_prod_pvt);
+ req->id = 1;
+ KdPrint((__DRIVER_NAME " req id : %d\n",req->id));
+ req->operation = 0xff;
+ req->nr_segments = 0;
+ for (i = 0; i < req->nr_segments; i++)
+ {
+ req->seg[i].gref = 0xffffffff;
+ req->seg[i].first_sect = 0xff;
+ req->seg[i].last_sect = 0xff;
+ }
+ TargetData->Ring.req_prod_pvt++;
+
+ RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(&TargetData->Ring, notify);
+ KdPrint((__DRIVER_NAME " 2nd notify: %d\n", notify));
+ if (notify)
+ DeviceData->XenDeviceData->XenInterface.EvtChn_Notify(
+ DeviceData->XenDeviceData->XenInterface.InterfaceHeader.Context,
+ TargetData->EventChannel);
+ KeMemoryBarrier();
+ KdPrint((__DRIVER_NAME " <-- XenVbd_TestBitWidth\n"));
+ return;
+}
next prev parent reply other threads:[~2008-07-04 8:29 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <485A8681.10503@darkskiez.co.uk>
[not found] ` <AEC6C66638C05B468B556EA548C1A77D0148FABB@trantor>
[not found] ` <485AD22D.7070303@darkskiez.co.uk>
[not found] ` <AEC6C66638C05B468B556EA548C1A77D0148FAEE@trantor>
[not found] ` <485F726C.2000908@darkskiez.co.uk>
2008-06-23 10:46 ` Problems with GPLPV 0.9.10 on XP Pro, STOP 0x0000007B James Harper
2008-06-25 5:10 ` GPLPV Drivers 0.9.11-pre4 hang during boot - Windows XP Pro SP2 Sandro Sigala
2008-07-03 7:02 ` Sandro Sigala
2008-07-03 11:13 ` GPLPV Drivers 0.9.11-pre4 hang during boot - WindowsXP " James Harper
2008-07-03 12:16 ` James Harper
2008-07-03 14:19 ` Sandro Sigala
2008-07-04 1:32 ` James Harper
2008-07-04 7:39 ` Sandro Sigala
2008-07-04 8:29 ` Wayne Gong [this message]
2008-07-04 8:56 ` Sandro Sigala
2008-07-04 11:19 ` James Harper
2008-07-04 15:15 ` Wayne Gong
2008-07-04 10:44 ` James Harper
2008-07-04 11:45 ` Sandro Sigala
2008-07-04 12:39 ` James Harper
2008-07-05 9:58 ` James Harper
2008-07-05 10:11 ` Sandro Sigala
2008-07-05 10:17 ` James Harper
2008-07-05 11:53 ` James Harper
2008-07-05 12:00 ` Sandro Sigala
2008-07-05 12:02 ` James Harper
2008-07-05 12:07 ` GPLPV Drivers 0.9.11-pre4 hang during boot -WindowsXP " James Harper
2008-07-05 12:30 ` GPLPV Drivers 0.9.11-pre4 hang during boot -Windows XP " Sandro Sigala
2008-07-05 12:38 ` James Harper
2008-07-05 12:52 ` GPLPV Drivers 0.9.11-pre4 hang during boot - Windows " Sandro Sigala
2008-07-05 12:59 ` James Harper
2008-07-06 11:45 ` James Harper
2008-07-06 12:04 ` Sandro Sigala
2008-07-07 10:51 ` James Harper
2008-07-07 11:28 ` Sandro Sigala
[not found] ` <AEC6C66638C05B468B556EA548C1A77D0148FD1E@t rantor>
2008-07-07 11:36 ` James Harper
2008-07-07 11:57 ` Sandro Sigala
2008-07-07 12:05 ` James Harper
2008-07-07 12:17 ` Sandro Sigala
2008-07-07 12:19 ` GPLPV Drivers 0.9.11-pre4 hang during boot - WindowsXP " James Harper
2008-07-07 12:42 ` Sandro Sigala
2008-07-07 12:43 ` James Harper
2008-07-07 12:47 ` Sandro Sigala
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=486DDF74.1010909@oracle.com \
--to=wayne.gong@oracle.com \
--cc=james.harper@bendigoit.com.au \
--cc=sandro@sigala.it \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.