Re: dma-debug warning with ixgbe
From: Joerg Roedel <hidden>
Date: 2009-06-17 09:26:53
Also in:
lkml
On Tue, Jun 16, 2009 at 09:33:15AM -0700, Brandeburg, Jesse wrote:
On Tue, 16 Jun 2009, Joerg Roedel wrote:quoted
today I got this dma-debug warning with the ixgbe driver with a kernel near 2.6.30-rc8.Hi Joerg, thanks for the report, I thought we had fixed all of these already but we must have missed this one.quoted
------------[ cut here ]------------ WARNING: at /data/repos/linux-2.6-iommu/lib/dma-debug.c:806 check_unmap+0x214/0x5c3() Hardware name: Toonie ixgbe 0000:02:00.0: DMA-API: device driver frees DMA memory with different size [device address=0x0000000000045c12] [map size=258 bytes] [unmap size=256 bytes]The following patch should fix it, compile tested only, but it is pretty straight forward.
Thanks for the quick answer :) But I tested the patch and the warning is
still there.
Joerg
--
| Advanced Micro Devices GmbH
Operating | Karl-Hammerschmidt-Str. 34, 85609 Dornach bei München
System |
Research | Geschäftsführer: Thomas M. McCoy, Giuliano Meroni
Center | Sitz: Dornach, Gemeinde Aschheim, Landkreis München
| Registergericht München, HRB Nr. 43632