All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Steinacher <mailinglists@websource.ch>
To: Ian Campbell <ian.campbell@citrix.com>
Cc: xen-devel@lists.xen.org
Subject: Re: "swiotlb buffer is full" problem with tg3 and kernel 3.16.0-4-686-pae on Xen 4.4.1
Date: Fri, 22 May 2015 19:44:30 +0200	[thread overview]
Message-ID: <555F6AFE.8000402@websource.ch> (raw)
In-Reply-To: <1432231896.5748.122.camel@citrix.com>

Am 21.05.2015 um 20:11 schrieb Ian Campbell:
> On Thu, 2015-05-21 at 17:17 +0200, Marco Steinacher wrote:
>> Shall I try to build a 3.16.0-4-686-pae kernel with
>> "CONFIG_NEED_DMA_MAP_STATE=y"?
> 
> Yes, this is what I would recommend. Although it's not as simple as
> turning it on, you actually need to patch the Kconfig as in this mail:
> http://www.spinics.net/lists/netdev/msg325844.html such that it comes on
> by itself.

Thanks for pointing me in the right direction. I compiled a custom
kernel following [0] and the following change:

--- linux-source-3.16.orig/arch/x86/Kconfig     2015-04-24
04:05:11.000000000 +0200
+++ linux-source-3.16/arch/x86/Kconfig  2015-05-22 06:14:17.393963697 +0200
@@ -164,7 +164,7 @@

 config NEED_DMA_MAP_STATE
        def_bool y
-       depends on X86_64 || INTEL_IOMMU || DMA_API_DEBUG
+       depends on X86_64 || INTEL_IOMMU || DMA_API_DEBUG || SWIOTLB

 config NEED_SG_DMA_LENGTH
        def_bool y

And this solved the problem for me. No "swiotlb buffer is full" messages
anymore and the network interface works just fine again.

> If you could file your results into the Debian BTW, i.e. by running
> "reportbug <linux-image-pkg-name>" then that would be useful to help get
> it fixed in a future update.

Done [1].

Thanks a lot,
Marco

[0] https://www.debian.org/releases/jessie/i386/ch08s06.html.en
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=786551

-- 
OpenPGP Key ID: 0x62937F7F

      reply	other threads:[~2015-05-22 17:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-21 15:17 "swiotlb buffer is full" problem with tg3 and kernel 3.16.0-4-686-pae on Xen 4.4.1 Marco Steinacher
2015-05-21 18:11 ` Ian Campbell
2015-05-22 17:44   ` Marco Steinacher [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=555F6AFE.8000402@websource.ch \
    --to=mailinglists@websource.ch \
    --cc=ian.campbell@citrix.com \
    --cc=xen-devel@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 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.