Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #63552

Bug#850425: mpt3sas "swiotlb buffer is full" problem only under Xen

Path csiph.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.roellig-ltd.de!open-news-network.org!weretis.net!feeder7.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Juergen Gross <jgross@suse.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#850425: mpt3sas "swiotlb buffer is full" problem only under Xen
Date Mon, 11 Mar 2019 08:00:02 +0100
Message-ID <xAn4J-4MS-1@gated-at.bofh.it> (permalink)
References <xAn4J-4MS-3@gated-at.bofh.it> <xAn4J-4MS-5@gated-at.bofh.it> <sWB2h-1hn-5@gated-at.bofh.it> <xAn4J-4MS-5@gated-at.bofh.it>
X-Original-To Andrew Cooper <andrew.cooper3@citrix.com>, Hans van Kranenburg <hans@knorrie.org>, 850425@bugs.debian.org, Andy Smith <andy@strugglers.net>, Boris Ostrovsky <boris.ostrovsky@oracle.com>, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Mon Mar 11 06:57:09 2019
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -4.199
Reply-To Juergen Gross <jgross@suse.com>, 850425@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Kernel Team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 850425
X-Debian-Pr-Package src:linux
X-Debian-Pr-Keywords upstream patch moreinfo
X-Debian-Pr-Source linux
X-Spam-Bayes score:0.0000 Tokens: new, 152; hammy, 150; neutral, 155; spammy, 0. spammytokens: hammytokens:0.000-+--HOpenpgp:preference, 0.000-+--HOpenpgp:signencrypt, 0.000-+--HAutocrypt:addr, 0.000-+--HAutocrypt:keydata, 0.000-+--HAutocrypt:mutual
Openpgp preference=signencrypt
Autocrypt addr=jgross@suse.com; prefer-encrypt=mutual; keydata= mQENBFOMcBYBCACgGjqjoGvbEouQZw/ToiBg9W98AlM2QHV+iNHsEs7kxWhKMjrioyspZKOB ycWxw3ie3j9uvg9EOB3aN4xiTv4qbnGiTr3oJhkB1gsb6ToJQZ8uxGq2kaV2KL9650I1SJve dYm8Of8Zd621lSmoKOwlNClALZNew72NjJLEzTalU1OdT7/i1TXkH09XSSI8mEQ/ouNcMvIJ NwQpd369y9bfIhWUiVXEK7MlRgUG6MvIj6Y3Am/BBLUVbDa4+gmzDC9ezlZkTZG2t14zWPvx XP3FAp2pkW0xqG7/377qptDmrk42GlSKN4z76ELnLxussxc7I2hx18NUcbP8+uty4bMxABEB AAG0H0p1ZXJnZW4gR3Jvc3MgPGpncm9zc0BzdXNlLmNvbT6JATkEEwECACMFAlOMcK8CGwMH CwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRCw3p3WKL8TL8eZB/9G0juS/kDY9LhEXseh mE9U+iA1VsLhgDqVbsOtZ/S14LRFHczNd/Lqkn7souCSoyWsBs3/wO+OjPvxf7m+Ef+sMtr0 G5lCWEWa9wa0IXx5HRPW/ScL+e4AVUbL7rurYMfwCzco+7TfjhMEOkC+va5gzi1KrErgNRHH kg3PhlnRY0Udyqx++UYkAsN4TQuEhNN32MvN0Np3WlBJOgKcuXpIElmMM5f1BBzJSKBkW0Jc Wy3h2Wy912vHKpPV/Xv7ZwVJ27v7KcuZcErtptDevAljxJtE7aJG6WiBzm+v9EswyWxwMCIO RoVBYuiocc51872tRGywc03xaQydB+9R7BHPuQENBFOMcBYBCADLMfoA44MwGOB9YT1V4KCy vAfd7E0BTfaAurbG+Olacciz3yd09QOmejFZC6AnoykydyvTFLAWYcSCdISMr88COmmCbJzn sHAogjexXiif6ANUUlHpjxlHCCcELmZUzomNDnEOTxZFeWMTFF9Rf2k2F0Tl4E5kmsNGgtSa aMO0rNZoOEiD/7UfPP3dfh8JCQ1VtUUsQ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g2WosU9k9H+LcheS37Ph2vMVTISMszW9W8gyORSgmw==
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Language de-DE
Content-Transfer-Encoding 8bit
X-Greylist delayed 1133 seconds by postgrey-1.36 at buxtehude; Mon, 11 Mar 2019 06:53:47 UTC
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1526444
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 74
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Mon, 11 Mar 2019 07:34:46 +0100
X-Original-Message-ID <55046ee7-75fe-18ab-b592-442c2cc54392@suse.com>
X-Original-References <0f8d4f04-6075-5c31-6b97-c59a5d8589a7@knorrie.org> <7261253e-5dc1-60c9-7b64-f592aa9fd787@citrix.com> <20170106113711.GR1804@bitfolk.com> <7261253e-5dc1-60c9-7b64-f592aa9fd787@citrix.com>
Xref csiph.com linux.debian.bugs.dist:949398 linux.debian.kernel:63552

Cross-posted to 2 groups.

Show key headers only | View raw


On 10/03/2019 23:03, Andrew Cooper wrote:
> On 10/03/2019 21:35, Hans van Kranenburg wrote:
>> found -1 4.19.20-1
>> thanks
>>
>> Hi,
>>
>> Reviving a thing from Jan 2017 here. I don't have this thread in my
>> mailbox, so no inline quotes.
>>
>> I just installed some HP z820 workstation and rebooted it into Xen
>> 4.11.1+26-g87f51bf366-3 with linux 4.19.20-1 as dom0 kernel.
>>
>> During boot I'm greeted by a long list of...
>>
>> [   14.518793] mpt3sas 0000:02:00.0: swiotlb buffer is full (sz: 65536
>> bytes)
>> [   14.518899] mpt3sas 0000:02:00.0: swiotlb buffer is full
>> [   14.518956] mpt3sas 0000:02:00.0: swiotlb buffer is full (sz: 65536
>> bytes)
>> [   14.518988] sd 6:0:3:0: pci_map_sg failed: request for 786432 bytes!
>> [   14.519081] mpt3sas 0000:02:00.0: swiotlb buffer is full
>> [   14.519309] sd 6:0:1:0: pci_map_sg failed: request for 1310720 bytes!
>> [   14.524611] mpt3sas 0000:02:00.0: swiotlb buffer is full (sz: 65536
>> bytes)
>> [   14.527309] mpt3sas 0000:02:00.0: swiotlb buffer is full
>> [   14.527405] sd 6:0:3:0: pci_map_sg failed: request for 786432 bytes!
>> [...]
>>
>> ...and some hangs here and there. This indeed did not happen when
>> booting just Linux, without Xen.
>>
>> Some searching brought me to this Debian bug. So, thanks for writing
>> down all kinds of research here already. Even if it's not fixed upstream
>> yet, this helps a lot. :-)
>>
>> Using dom0_mem=2GiB,max:4GiB instead of dom0_mem=2GiB,max:2GiB (which I
>> started with) makes the errors go away, so workaround confirmed.
>>
>> I can try any of the linked patches, but I see that in message 54,
>>   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850425#54
>> Andrew says: "IIRC, they were essentially rejected,". Next message, Ian
>> asks "Do you have a reference ?", but I don't see any fup on that.
>>
>> I think I'm fine with this workaround.
>>
>> If someone will ever work on the upstream patches, then this is just to
>> let know that I might be able to help testing. However, I only have one
>> of this type of box and it's gonna be installed as server at some
>> non-profit organization without OOB access, replacing even older donated
>> hardware, so, it will be kinda limited... :)
> 
> I think
> https://lists.xen.org/archives/html/xen-devel/2014-12/msg00699.html is
> the last attempt David made to upstream the fixes.
> 
> Linux is still broken, and these fixes are still necessary.
> 
> Boris/Juergen: Any chance you could look into these patches?  I have no
> idea what they they're in against master, but its also liable its now
> more complicated with the host max mfn calculations which have gone in
> more recently.

I'm not sure. Patch 3 of this series is basically already there (see
commit c6d4381220a0087ce19dbf6984d92c451bd6b364). So maybe all we need
is patch 4, which should really be easy to do?

Hans, could you give it a try? You'd need to use a 4.20 kernel at least.
I can do the official patch posting in case you confirm it working.

Adding Konrad as the swiotlb-xen maintainer.


Juergen

Back to linux.debian.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Bug#850425: mpt3sas "swiotlb buffer is full" problem only under Xen Juergen Gross <jgross@suse.com> - 2019-03-11 08:00 +0100
  Bug#850425: mpt3sas "swiotlb buffer is full" problem only under Xen Juergen Gross <jgross@suse.com> - 2019-03-12 17:10 +0100
    Bug#850425: mpt3sas "swiotlb buffer is full" problem only under Xen Juergen Gross <jgross@suse.com> - 2019-03-12 20:30 +0100

csiph-web