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

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

On Tue, Jul 31, 2012 at 4:39 AM, Stefano Stabellini
<stefano.stabellini@xxxxxxxxxxxxx> wrote:
> 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.
> Adding
> 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);
>      else

Hi Stefano-
I made the modifications (it looks like that DEFINE hasn't been used
in awhile, caused a few compilation issues, I had to prefix most of
the logged variables with s->hostaddr.), and am attaching the
qemu-dm-ubuntu.log and dmesg from xl.  You referred to full Xen logs,
where do I find those at?


Attachment: xl_dmesg.log
Description: Binary data

Attachment: qemu-dm-ubuntu.log
Description: Binary data

Xen-devel mailing list



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