dma-debug warning with ixgbe

From: Joerg Roedel
Date: Tue Jun 16 2009 - 11:34:52 EST


today I got this dma-debug warning with the ixgbe driver with a kernel
near 2.6.30-rc8.

------------[ cut here ]------------
WARNING: at /data/repos/linux-2.6-iommu/lib/dma-debug.c:806
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]
Modules linked in: loop i2c_piix4 tpm_infineon rtc_cmos tpm
tpm_bios rtc_core rtc_lib button ata_generic pata_acpi usbhid
pata_atiixp ixgbe hid dca bnx2
Pid: 4391, comm: ifconfig Not tainted 2.6.30-rc81 #1
Call Trace:
[<ffffffff8039125a>] ? check_unmap+0x214/0x5c3
[<ffffffff80238d72>] warn_slowpath_common+0x77/0xa4
[<ffffffff80238e14>] warn_slowpath_fmt+0x64/0x66
[<ffffffff80391134>] ? check_unmap+0xee/0x5c3
[<ffffffff8058970b>] ? _spin_lock_irqsave+0x3f/0x4b
[<ffffffff80391134>] ? check_unmap+0xee/0x5c3
[<ffffffff8039125a>] check_unmap+0x214/0x5c3
[<ffffffff80391813>] debug_dma_unmap_page+0x51/0x53
[<ffffffffa002e29c>] ixgbe_clean_rx_ring+0xb9/0x1e4 [ixgbe]
[<ffffffffa002f2f6>] ixgbe_down+0x2f8/0x34e [ixgbe]
[<ffffffffa00307a8>] ixgbe_reinit_locked+0x59/0x70 [ixgbe]
[<ffffffffa0030837>] ixgbe_change_mtu+0x78/0x82 [ixgbe]
[<ffffffff804f56b5>] dev_set_mtu+0x3a/0x69
[<ffffffff804f688c>] dev_ifsioc+0xcf/0x2cc
[<ffffffff804f7018>] dev_ioctl+0x58f/0x647
[<ffffffff80351978>] ? avc_has_perm+0x4e/0x60
[<ffffffff804e4e7f>] sock_ioctl+0x21f/0x231
[<ffffffff802cb478>] vfs_ioctl+0x2a/0x78
[<ffffffff802cb934>] do_vfs_ioctl+0x46e/0x4aa
[<ffffffff80250521>] ? up_read+0x26/0x2b
[<ffffffff802cb9c5>] sys_ioctl+0x55/0x77
[<ffffffff8020afab>] system_call_fastpath+0x16/0x1b
---[ end trace f560e4a00a9d5d32 ]---
Mapped at:
[<ffffffff80391bca>] debug_dma_map_page+0x7c/0x11f
[<ffffffffa002b3ba>] ixgbe_alloc_rx_buffers+0x247/0x316 [ixgbe]
[<ffffffffa002bc5a>] ixgbe_configure+0x7d1/0x7e3 [ixgbe]
[<ffffffffa002ffb9>] ixgbe_open+0xed/0x63b [ixgbe]
[<ffffffff804f5d48>] dev_open+0x7c/0xc2


| 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-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at