xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Jonas Meurer <jonas@freesources.org>
To: xen-devel@lists.xen.org
Cc: xen-users@lists.xen.org
Subject: Re: [Xen-users] [BUG] PCI passtrough causes driver crash in DomU (Xen 4.3, Linux kernel 3.12)
Date: Sat, 08 Mar 2014 21:32:21 +0100	[thread overview]
Message-ID: <531B7E55.3030809@freesources.org> (raw)
In-Reply-To: <5319B5C6.2030600@freesources.org>

Am 07.03.2014 13:04, schrieb Jonas Meurer:
> Am 07.03.2014 12:54, schrieb Jonas Meurer:
>> as already written to xen-users a few days ago, I've troubles using pci
>> passthrough for an Intel 82574L ethernet device (kernel module e1000e).
>> The device is passed through by xen-pciback, and can be seen by 'lspci'
>> inside the DomU. Still, the corresponding network interface doesn't
>> appear in /proc/net/dev and even more striking, the DomU kernel driver
>> crashes with a traceback.
>>
>> All this happens on a Debian/Jessie Dom0 with Xen 4.3 and Linux kernel
>> 3.12. The DomU in question has a similar Debian/Jessie setup.
>>
>> I searched the archives for similar issues and found the following
>> thread from October 2013 that describes a similar issue starting with
>> Linux kernel 3.8:
>> http://thread.gmane.org/gmane.comp.emulators.xen.user/80672
> 
> Just a quick follow-up: After some further searching I found the
> following thread:
> http://thread.gmane.org/gmane.comp.emulators.xen.user/80176
> 
> In this thread, Ian Campbell suggests to disable MSI for the guest, and
> the submitter replies that it fixed the issue for him. So indeed it
> seems to me like MSI in DomU is the cause for trouble here. I'll give
> the suggested workaround a try within the next days and report back if
> it works for me as well.

I can confirm now, that pci=nomsi argument to kernel commandline in DomU
fixes/workarounds the described issue.

In another mail to xen-devel, Konrad Rzeszutek Wilk mentioned that the
bug got fixed in Linux kernel 3.14. I'll give that kernel a try and
report back as soon as it's available in Debian/experimental.

Kind regards,
 jonas

      reply	other threads:[~2014-03-08 20:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4ae3db63354065feba956b28e900cc44@imap.steindlberger.de>
2014-03-07 11:54 ` [BUG] PCI passtrough causes driver crash in DomU (Xen 4.3, Linux kernel 3.12) Jonas Meurer
2014-03-07 12:03   ` Andrew Cooper
2014-03-07 12:04   ` Jonas Meurer
2014-03-08 20:32     ` Jonas Meurer [this message]

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=531B7E55.3030809@freesources.org \
    --to=jonas@freesources.org \
    --cc=xen-devel@lists.xen.org \
    --cc=xen-users@lists.xen.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).