WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

[Xen-bugs] [Bug 1227] Out of SW-IOMMU space, 3ware Raid controller/3w-xx

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1227] Out of SW-IOMMU space, 3ware Raid controller/3w-xxxx module
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Thu, 13 Oct 2011 04:44:16 -0700
Delivery-date: Thu, 13 Oct 2011 04:44:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <bug-1227-3@xxxxxxxxxxxxxxxxxxxxxxxxxxx/bugzilla/>
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1227


fthain@xxxxxxxxxxxxxxxxxxx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fthain@xxxxxxxxxxxxxxxxxxx




------- Comment #9 from fthain@xxxxxxxxxxxxxxxxxxx  2011-10-13 04:44 -------
Hi Konrad,

Thanks for your response.

> I am pretty sure I responded to you on the mailing list. Did you read my reply
> there.
> 
> http://lists.xensource.com/archives/html/xen-devel/2011-09/msg00739.html

No, "Fantu" is someone else.

> So.. why are you not using the default values (64MB)

Using the default value crashed out on the x3550 when aacraid died (out of
SW-IOMMU space). The backtrace revealed that the problem was apparently DMA
buffer shortage. (So I don't see why this bug report is marked
"RESOLVED/INVALID".)

> I see you have  swiotlb=128 which ends up with:
> 
> DMA: Placing 0MB software IO TLB between ffff880020000000 - ffff880020040000
> DMA: software IO TLB at phys 0x20000000 - 0x20040000

I was wondering about that "0MB"...

> which of course means that there is not enough space. 0MB will
> cause issues like this. The parameter (if you look in the
> kernel-parameters.txt) defines it as -pages_, not megabytes.

I know, I already searched the kernel Documentation/ subdir before posting
here. It says,
"    swiotlb=<pages>[,force]
    <pages>            Prereserve that many 128K pages for the software IO
                       bounce buffering."

Of course, 128 * 128K = 16 MB not 0 MB... I never did figure that out.

> So either leave it as default, or change it to larger value, like 
> swiotlb=65535

Seems that the default isn't documented. Do you happen to know what it is?

I can try swiotlb=65535. I suppose this would yield about 512 MB. Assuming that
pages are in fact 8 K not 128 K. Is this correct?

Why did you subtract one from the power of two?


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs

<Prev in Thread] Current Thread [Next in Thread>