From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Laszlo Ersek <lersek@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: 2.6.38 (FC15) with PCI passthrough fails mysteriously with iommu=soft..
Date: Wed, 1 Jun 2011 14:13:17 -0400 [thread overview]
Message-ID: <20110601181317.GA2455@dumpdata.com> (raw)
In-Reply-To: <4DE677C6.6040701@redhat.com>
On Wed, Jun 01, 2011 at 07:32:54PM +0200, Laszlo Ersek wrote:
> On 06/01/11 16:31, Konrad Rzeszutek Wilk wrote:
> >On Wed, Jun 01, 2011 at 01:02:02PM +0200, Laszlo Ersek wrote:
> >>(Perhaps it's best to write a separate mail about this.)
> >
> >Yes. You did use 'iommu=soft' on your bootup line right?
>
> I thought I did; turns out I was wrong. Sorry for the noise.
>
> Now I tried with "iommu=soft swiotlb=force", but this way the guest
You don't need the swiotlb=force. I wonder what page talks about that?
The Wiki mentions it is only required for older kernels - not the new ones.
> immediately disappears; it doesn't even start to produce console
It probably was panicing b/c it couldn't swizzle out 64MB
of DMA32 memory. You can find that out if you do 'earlyprintk=xenboot' and
that should print out the bootlog in your Xen debug console (if you have
configured guest_loglvl=all).
You can also do 'swiotlb=1024' to lower the amount. .. which should have worked,
except that I found it does not work - so try this patch:
https://lkml.org/lkml/2011/6/1/554
Also, you can set this parameter in you guest file to analyze its stack:
on_crash="preserve"
using xenctx.
> output.
>
> # xm create -c f15-64bit-pv
> Using config file "/etc/xen/f15-64bit-pv".
> Using <class 'grub.GrubConf.GrubConfigFile'> to parse /grub/menu.lst
> Started domain f15-64bit-pv
> #
>
> http://wiki.xen.org/xenwiki/XenPCIpassthrough says though:
>
> Bugs:
>
> # Starting the DomU using pvgrub with 'iommu=soft swiotlb=force'
> breaks pvgrub.
>
> Perhaps that could be the reason. Removing "swiotlb=force" and
> keeping only "iommu=soft" crashes (?) the same way.
That was .. a bug that Daniel Kiper fixed at some point. It was all in the
MiniOS. Are you using pygrub or pvgrub?
next prev parent reply other threads:[~2011-06-01 18:13 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-01 10:05 [RFC PATCH linux-2.6.18-xen] pciback: clean up (MSI-X vec, entrynr) list when resetting PCI device Laszlo Ersek
2011-06-01 11:02 ` Laszlo Ersek
2011-06-01 14:31 ` Konrad Rzeszutek Wilk
2011-06-01 16:18 ` Paolo Bonzini
2011-06-01 17:32 ` Laszlo Ersek
2011-06-01 18:13 ` Konrad Rzeszutek Wilk [this message]
2011-06-02 7:42 ` 2.6.38 (FC15) with PCI passthrough fails mysteriously with iommu=soft Laszlo Ersek
2011-06-02 20:49 ` Pasi Kärkkäinen
2011-06-01 12:56 ` [RFC PATCH linux-2.6.18-xen] pciback: clean up (MSI-X vec, entrynr) list when resetting PCI device Jan Beulich
2011-06-01 14:12 ` Laszlo Ersek
2011-06-01 14:59 ` Jan Beulich
2011-06-01 15:27 ` Laszlo Ersek
2011-06-01 16:07 ` Jan Beulich
2011-06-01 16:25 ` Andrew Jones
2011-06-01 16:27 ` Paolo Bonzini
2011-06-01 16:16 ` Paolo Bonzini
2011-06-01 14:51 ` Konrad Rzeszutek Wilk
2011-06-01 15:01 ` Konrad Rzeszutek Wilk
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=20110601181317.GA2455@dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=lersek@redhat.com \
--cc=pbonzini@redhat.com \
--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.