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

Re: [Xen-devel] LSI SAS2008 Option Rom Failure

On Tue, 31 Jul 2012, David Erickson wrote:
> Just got back in town, following up on the prior discussion.  I
> successfully compiled the latest code (25688 and qemu upstream
> 5e3bc7144edd6e4fa2824944e5eb16c28197dd5a), but am still having
> problems during initialization of the card in the guest, in particular
> the unsupported delivery mode 3 which seems to cause interrupt related
> problems during init.  I've again attached the qemu-dm-log, and xl
> dmesg log files, and additionally screenshots of the guest dmesg and
> also for comparison starting the same livecd natively on the box.

"unsupported delivery mode 3" means that the Linux guest is trying to
remap the MSI onto an event channel but Xen is still trying to deliver
the MSI using the emulated code path anyway.



at the top of hw/xen_pt.h and posting the additional QEMU logs could
be helpful.

The full Xen logs might also be useful. I would add some more tracing to
the hypervisor too:

diff --git a/xen/drivers/passthrough/io.c b/xen/drivers/passthrough/io.c
index b5975d1..08f4ab7 100644
--- a/xen/drivers/passthrough/io.c
+++ b/xen/drivers/passthrough/io.c
@@ -474,6 +474,11 @@ static void hvm_pci_msi_assert(
     struct pirq *pirq = dpci_pirq(pirq_dpci);
+    printk("DEBUG %s pirq=%d hvm_domain_use_pirq=%d emuirq=%d\n", __func__,
+            pirq->pirq,
+            hvm_domain_use_pirq(d, pirq),
+            pirq->arch.hvm.emuirq);
     if ( hvm_domain_use_pirq(d, pirq) )
         send_guest_pirq(d, pirq);

Xen-devel mailing list



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