Re: [PATCH] dma-debug: disable DMA_API_DEBUG for now

Joerg Roedel
2009-06-12T07:51:03Z

On Thu, Jun 11, 2009 at 07:38:47PM +0200, Torsten Kaiser wrote:
> I tried this patch, but I still get a wrong warning from the DMA-API:
> Jun 11 19:24:57 treogen [ 9.451064] raid1: raid set md2 active with
> 2 out of 2 mirrors
> Jun 11 19:24:57 treogen [ 9.479278] md2: bitmap initialized from
> disk: read 10/10 pages, set 0 bits
> Jun 11 19:24:57 treogen [ 9.479282] created bitmap (153 pages) for device md2
> Jun 11 19:24:57 treogen [ 9.513544] md: ... autorun DONE.
> Jun 11 19:24:57 treogen [ 9.517590] md3: unknown partition table
> Jun 11 19:24:57 treogen [ 20.718608] XFS mounting filesystem dm-0
> Jun 11 19:24:57 treogen [ 21.220452] ------------[ cut here ]------------
> Jun 11 19:24:57 treogen [ 21.220477] WARNING: at lib/dma-debug.c:532
> check_unmap+0x49e/0x620()
> Jun 11 19:24:57 treogen [ 21.220482] Hardware name: KFN5-D SLI
> Jun 11 19:24:57 treogen [ 21.220488] sata_sil24 0000:04:00.0:
> DMA-API: device driver tries to free DM A memory it has not allocated [device address=0x000000011e4c3000]

This happens with the best-fit if there is no perfect fit but multiple
matches. This warning needs to be adjusted to also cover this case. I
have this on my list and will fix it soon.

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

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html