All of lore.kernel.org
 help / color / mirror / Atom feed
* Need help figuring out why my windows pv drivers wont work with a 32 bit dom0...
@ 2008-02-01  4:14 James Harper
  2008-02-01  4:52 ` Need help figuring out why my windows pv drivers wontwork " James Harper
  0 siblings, 1 reply; 8+ messages in thread
From: James Harper @ 2008-02-01  4:14 UTC (permalink / raw)
  To: xen-devel

All my development up until now on the Windows PV drivers has been on an
AMD64 system with a 64 bit hypervisor, a 64 bit Dom0, and 32 or 64 bit
Windows DomU's, and that has all worked fine for me.

I've been getting reports of problems from other people, and initially
assumed (incorrectly I think) that it was a problem with Intel, but as
it turns out it appears to be a problem when Dom0 is 32 bit. When I test
with a 64 bit hypervisor and a 32 bit Dom0, the block device drivers
don't work - the first request gives a failure, and a few requests later
I get a crash. The crash is most likely because I may not be handling
failures correctly.

Anyway, I can't seem to figure out why things are breaking under vbd
when Dom0 is 32 bit. Vif works perfectly. Before some very recent
testing, I wasn't even setting the 'protocol' frontend xenstore
parameter, but I have since tried setting it to XEN_IO_PROTO_ABI_NATIVE,
XEN_IO_PROTO_ABI_X86_64 and XEN_IO_PROTO_ABI_X86_32, without any
success.

At around the time of the error, Dom0 logs "(XEN) grant_table.c:264:d0
Bad flags (0) or dom (0). (expected dom 0)", which I assume is probably
related.

Can anyone suggest what is different about the backend that I might not
be taking into account? My thoughts so far are:
. Windows is padding structures differently under 32 and 64 bits.
Strange that everything else works fine though...
. The pfn I get from MmGetMdlPfnArray (windows kernel api) isn't valid
to a 32 bit Dom0 (this function is used identically in the vif driver
though)

Any and all suggestions will be greatly appreciated!

Thanks

James

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-02-01 13:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-01  4:14 Need help figuring out why my windows pv drivers wont work with a 32 bit dom0 James Harper
2008-02-01  4:52 ` Need help figuring out why my windows pv drivers wontwork " James Harper
2008-02-01  5:48   ` Need help figuring out why my windows pv driverswontwork " James Harper
2008-02-01 12:59     ` Daniel Stodden
2008-02-01 13:03       ` Need help figuring out why my windows pvdriverswontwork " James Harper
2008-02-01 12:18   ` Need help figuring out why my windows pv drivers wontwork " Samuel Thibault
2008-02-01 12:23     ` James Harper
2008-02-01 12:59     ` James Harper

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.