From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kamalesh Babulal Date: Wed, 22 Aug 2007 22:36:30 +0000 Subject: Re: [BUG] 2.6.23-rc3-mm1 Kernel panic - not syncing: DMA: Memory Message-Id: <46CCB79E.7070109@linux.vnet.ibm.com> List-Id: 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> In-Reply-To: <617E1C2C70743745A92448908E030B2A023B2D39@scsmsx411.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: "Luck, Tony" Cc: Andi Kleen , Andrew Morton , linux-kernel@vger.kernel.org, Balbir Singh , linux-ia64@vger.kernel.org Luck, Tony wrote: >> Attached the boot log and config file. >> =20 > > Kamelesh, > > I don't see anything obvious in the boot_log. > > I used your "dotconfig" file to build a 2.6.23-rc3-mm1 kernel > and booted it on my test system ... it worked just fine > (except that for some reason the network did not come up :-( ) > > I tried to compare my boot log with yours ... you have some > different devices (E.g. your ethernet links are Tigon3 while > mine are e1000) ... so the memory leak in a driver theory > is a possibility. > > Try adding a dump_stack() call to lib/swiotlb.c where the > "DMA: Out of SW-IOMMU space ..." message is printed. That > would tell us who is making the call that fails (they > might be an innocent bystander after someone else has > used all the space ... but this is unlikely). > > -Ton > - > 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/ > =20 stack dump after the message "DMA: Out of SW-IOMMU space ...." [ 20.865382] DMA: Out of SW-IOMMU space for 263200 bytes at device ? [ 20.871946] [ 20.871947] Call Trace: [ 20.876287] [] show_stack+0x80/0xa0 [ 20.876289] sp=E00000014322f8f0 bsp=E000000143229170 [ 20.889731] [] dump_stack+0x30/0x60 [ 20.889733] sp=E00000014322fac0 bsp=E000000143229158 [ 20.903201] [] swiotlb_full+0x50/0x120 [ 20.903202] sp=E00000014322fac0 bsp=E000000143229120 [ 20.916902] [] swiotlb_map_single+0x120/0x1c0 [ 20.916904] sp=E00000014322fac0 bsp=E0000001432290d8 [ 20.931215] [] swiotlb_alloc_coherent+0x150/0x240 [ 20.931217] sp=E00000014322fac0 bsp=E000000143229090 [ 20.945923] [] PrimeIocFifos+0x4c0/0xb20 [ 20.945925] sp=E00000014322fac0 bsp=E000000143229010 [ 20.959812] [] mpt_do_ioc_recovery+0xd60/0x28e0 [ 20.959814] sp=E00000014322faf0 bsp=E000000143228f30 [ 20.974310] [] mpt_attach+0x830/0x20e0 [ 20.974311] sp=E00000014322fdc0 bsp=E000000143228eb0 [ 20.988021] [] mptspi_probe+0x30/0x720 [ 20.988023] sp=E00000014322fdd0 bsp=E000000143228e60 [ 21.001743] [] pci_device_probe+0x1f0/0x2c0 [ 21.001745] sp=E00000014322fdd0 bsp=E000000143228e18 [ 21.015911] [] driver_probe_device+0x180/0x400 [ 21.015913] sp=E00000014322fdd0 bsp=E000000143228dc8 [ 21.030305] [] __driver_attach+0xc0/0x160 [ 21.030307] sp=E00000014322fdd0 bsp=E000000143228d90 [ 21.044268] [] bus_for_each_dev+0xb0/0x120 [ 21.044269] sp=E00000014322fdd0 bsp=E000000143228d58 [ 21.058316] [] driver_attach+0x40/0x60 [ 21.058318] sp=E00000014322fdf0 bsp=E000000143228d38 [ 21.072024] [] bus_add_driver+0x120/0x400 [ 21.072026] sp=E00000014322fdf0 bsp=E000000143228cf8 [ 21.085989] [] driver_register+0xc0/0x180 [ 21.085990] sp=E00000014322fdf0 bsp=E000000143228cd8 [ 21.099952] [] __pci_register_driver+0xc0/0x140 [ 21.099953] sp=E00000014322fdf0 bsp=E000000143228ca0 [ 21.114467] [] mptspi_init+0x180/0x1c0 [ 21.114469] sp=E00000014322fe00 bsp=E000000143228c70 [ 21.130036] [] kernel_init+0x350/0x840 [ 21.130038] sp=E00000014322fe00 bsp=E000000143228c10 [ 21.143737] [] kernel_thread_helper+0xd0/0x100 [ 21.143739] sp=E00000014322fe30 bsp=E000000143228be0 [ 21.158141] [] start_kernel_thread+0x20/0x40 [ 21.158143] sp=E00000014322fe30 bsp=E000000143228be0 [ 21.172360] Kernel panic - not syncing: DMA: Memory would be corrupted Thanks & Regards, Kamalesh Babulal