Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758235AbXHWJYP (ORCPT ); Thu, 23 Aug 2007 05:24:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758223AbXHWJXt (ORCPT ); Thu, 23 Aug 2007 05:23:49 -0400 Received: from ausmtp05.au.ibm.com ([202.81.18.154]:59314 "EHLO ausmtp05.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755660AbXHWJXq (ORCPT ); Thu, 23 Aug 2007 05:23:46 -0400 Message-ID: <46CD51DC.6030602@linux.vnet.ibm.com> Date: Thu, 23 Aug 2007 14:52:36 +0530 From: Kamalesh Babulal User-Agent: Thunderbird 1.5.0.12 (X11/20070604) MIME-Version: 1.0 To: "Luck, Tony" CC: Jeremy Higdon , Andi Kleen , Andrew Morton , linux-kernel@vger.kernel.org, Balbir Singh , linux-ia64@vger.kernel.org Subject: Re: [BUG] 2.6.23-rc3-mm1 Kernel panic - not syncing: DMA: Memory would be corrupted References: <46CC48FD.4000607@linux.vnet.ibm.com> <20070822091959.aa38fd3e.akpm@linux-foundation.org> <20070822172541.GA8058@bingen.suse.de> <46CC811C.9010600@linux.vnet.ibm.com> <617E1C2C70743745A92448908E030B2A023B2D39@scsmsx411.amr.corp.intel.com> <46CCB79E.7070109@linux.vnet.ibm.com> <617E1C2C70743745A92448908E030B2A023B2F6A@scsmsx411.amr.corp.intel.com> <20070822231111.GD89849@sgi.com> <617E1C2C70743745A92448908E030B2A023B2FD5@scsmsx411.amr.corp.intel.com> In-Reply-To: <617E1C2C70743745A92448908E030B2A023B2FD5@scsmsx411.amr.corp.intel.com> Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4811 Lines: 105 Luck, Tony wrote: >> The more ioc's you have, the more space you will use. >> > > Default SW IOTLB allocation is 64MB ... how much should we see > used per ioc? > > Kamelesh: You could try increasing the amount of sw iotlb space > available by booting with a swiotlb=131072 argument (argument > value is the number of 2K slabs to allocate ... 131072 would > give you four times as much space as the default allocation). > > -Tony > boot log after passing boot parameter swiotlb=131072 [ 0.000000] 0: 32768 -> 131072 [ 0.000000] 0: 262144 -> 1703936 [ 0.000000] 1: 4194304 -> 4980736 [ 0.000000] Built 2 zonelists in Zone order, mobility grouping on. Total pages: 1563903 [ 0.000000] Policy zone: Normal [ 0.000000] Kernel command line: BOOT_IMAGE=scsi0:/EFI/debian/boot/vmlinuz-autobench root=/dev/sda2 console=tty0 console=ttyS0,115200n8 ro autobench_args: root=/dev/sda2 ABAT:1187857488 profile=2 swiotlb=131072 [ 0.000000] kernel profiling enabled (shift: 2) <> [ 20.408360] mptbase: Initiating ioc2 bringup [ 20.892659] ioc2: LSI53C1030 C0: Capabilities={Initiator} [ 20.902432] DMA: Out of SW-IOMMU space for 263200 bytes at device ? [ 20.908992] [ 20.908993] Call Trace: [ 20.913324] [] show_stack+0x80/0xa0 [ 20.913327] sp=e00000014322f8f0 bsp=e000000143229170 [ 20.926764] [] dump_stack+0x30/0x60 [ 20.926766] sp=e00000014322fac0 bsp=e000000143229158 [ 20.940225] [] swiotlb_full+0x50/0x120 [ 20.940227] sp=e00000014322fac0 bsp=e000000143229120 [ 20.953915] [] swiotlb_map_single+0x120/0x1c0 [ 20.953916] sp=e00000014322fac0 bsp=e0000001432290d8 [ 20.968223] [] swiotlb_alloc_coherent+0x150/0x240 [ 20.968226] sp=e00000014322fac0 bsp=e000000143229090 [ 20.982919] [] PrimeIocFifos+0x4c0/0xb20 [ 20.982922] sp=e00000014322fac0 bsp=e000000143229010 [ 20.996801] [] mpt_do_ioc_recovery+0xd60/0x28e0 [ 20.996803] sp=e00000014322faf0 bsp=e000000143228f30 [ 21.011292] [] mpt_attach+0x830/0x20e0 [ 21.011293] sp=e00000014322fdc0 bsp=e000000143228eb0 [ 21.025009] [] mptspi_probe+0x30/0x720 [ 21.025011] sp=e00000014322fdd0 bsp=e000000143228e60 [ 21.038722] [] pci_device_probe+0x1f0/0x2c0 [ 21.038724] sp=e00000014322fdd0 bsp=e000000143228e18 [ 21.052887] [] driver_probe_device+0x180/0x400 [ 21.052888] sp=e00000014322fdd0 bsp=e000000143228dc8 [ 21.067276] [] __driver_attach+0xc0/0x160 [ 21.067277] sp=e00000014322fdd0 bsp=e000000143228d90 [ 21.081234] [] bus_for_each_dev+0xb0/0x120 [ 21.081236] sp=e00000014322fdd0 bsp=e000000143228d58 [ 21.095283] [] driver_attach+0x40/0x60 [ 21.095285] sp=e00000014322fdf0 bsp=e000000143228d38 [ 21.108983] [] bus_add_driver+0x120/0x400 [ 21.108985] sp=e00000014322fdf0 bsp=e000000143228cf8 [ 21.122942] [] driver_register+0xc0/0x180 [ 21.122943] sp=e00000014322fdf0 bsp=e000000143228cd8 [ 21.136906] [] __pci_register_driver+0xc0/0x140 [ 21.136908] sp=e00000014322fdf0 bsp=e000000143228ca0 [ 21.151422] [] mptspi_init+0x180/0x1c0 [ 21.151425] sp=e00000014322fe00 bsp=e000000143228c70 [ 21.166973] [] kernel_init+0x350/0x840 [ 21.166974] sp=e00000014322fe00 bsp=e000000143228c10 [ 21.180677] [] kernel_thread_helper+0xd0/0x100 [ 21.180679] sp=e00000014322fe30 bsp=e000000143228be0 [ 21.195082] [] start_kernel_thread+0x20/0x40 [ 21.195084] sp=e00000014322fe30 bsp=e000000143228be0 [ 21.209297] Kernel panic - not syncing: DMA: Memory would be corrupted - Kamalesh Babulal. - 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/