Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754529AbbDQPKS (ORCPT ); Fri, 17 Apr 2015 11:10:18 -0400 Received: from mail-wg0-f54.google.com ([74.125.82.54]:34246 "EHLO mail-wg0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753785AbbDQPKJ (ORCPT ); Fri, 17 Apr 2015 11:10:09 -0400 MIME-Version: 1.0 In-Reply-To: References: <552FCD25.9060807@gmail.com> Date: Fri, 17 Apr 2015 17:10:07 +0200 Message-ID: Subject: Re: Error: DMA: Out of SW-IOMMU space [was: External USB drives become unresponsive after few hours.] From: Dorian Gray To: Suman Tripathi Cc: Alexander Duyck , Alan Stern , Konrad Rzeszutek Wilk , iommu@lists.linux-foundation.org, USB list , Kernel development list Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1368 Lines: 30 On 16 April 2015 at 18:57, Dorian Gray wrote: > On 16 April 2015 at 16:24, Suman Tripathi wrote: >> Try increasing the SWIOTLB size to 128MB .Default is 64MB. > > Ok, so I'm back to k3.18.7 (default in the latest Fatdog), although > I'm not sure what should be the exact value of swiotlb boot param? > Got totally mixed results from uncle Google - some says the unit is in > MiB, some that it's 4k pages and another that 128MiB = 65536, so I > played it safe and used swiotlb=131072. > Is this correct? > It may take a few days, but I'll let you know if it worked (or for how > long, if not). I was running 3.18.7 + swiotlb=131072 + 2 external drives plugged-in and mounted for about 18 hours straight. The error didn't show up. Well, I would run it a little longer, but I had to restart X and while doing so, the system crashed for an unknown reason. Anyway, this seems to be quite reliable workaround - at least I can _use_ kernels newer than 3.17.8, because with that bug, popping up after a couple of hours of uptime, it was a total show stopper to me. Thanks! Jake -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/