From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: dma-debug warning with ixgbe Date: Tue, 16 Jun 2009 17:34:17 +0200 Message-ID: <20090616153417.GN5139@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: e1000-devel@lists.sourceforge.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: jesse.brandeburg@intel.com Return-path: Received: from tx2ehsobe002.messaging.microsoft.com ([65.55.88.12]:41318 "EHLO TX2EHSOBE004.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754245AbZFPPeh convert rfc822-to-8bit (ORCPT ); Tue, 16 Jun 2009 11:34:37 -0400 Content-Disposition: inline Sender: netdev-owner@vger.kernel.org List-ID: Hi, 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 check_unmap+0x214/0x5c3() Hardware name: Toonie ixgbe 0000:02:00.0: DMA-API: device driver frees DMA memory with different size [device address=3D0x0000000000045c12] [map size=3D258 bytes] [unmap size=3D256 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: [] ? check_unmap+0x214/0x5c3 [] warn_slowpath_common+0x77/0xa4 [] warn_slowpath_fmt+0x64/0x66 [] ? check_unmap+0xee/0x5c3 [] ? _spin_lock_irqsave+0x3f/0x4b [] ? check_unmap+0xee/0x5c3 [] check_unmap+0x214/0x5c3 [] debug_dma_unmap_page+0x51/0x53 [] ixgbe_clean_rx_ring+0xb9/0x1e4 [ixgbe] [] ixgbe_down+0x2f8/0x34e [ixgbe] [] ixgbe_reinit_locked+0x59/0x70 [ixgbe] [] ixgbe_change_mtu+0x78/0x82 [ixgbe] [] dev_set_mtu+0x3a/0x69 [] dev_ifsioc+0xcf/0x2cc [] dev_ioctl+0x58f/0x647 [] ? avc_has_perm+0x4e/0x60 [] sock_ioctl+0x21f/0x231 [] vfs_ioctl+0x2a/0x78 [] do_vfs_ioctl+0x46e/0x4aa [] ? up_read+0x26/0x2b [] sys_ioctl+0x55/0x77 [] system_call_fastpath+0x16/0x1b ---[ end trace f560e4a00a9d5d32 ]--- Mapped at: [] debug_dma_map_page+0x7c/0x11f [] ixgbe_alloc_rx_buffers+0x247/0x316 [ixgbe] [] ixgbe_configure+0x7d1/0x7e3 [ixgbe] [] ixgbe_open+0xed/0x63b [ixgbe] [] dev_open+0x7c/0xc2 Joerg --=20 | Advanced Micro Devices GmbH Operating | Karl-Hammerschmidt-Str. 34, 85609 Dornach bei M=FCnchen System |=20 Research | Gesch=E4ftsf=FChrer: Thomas M. McCoy, Giuliano Meroni Center | Sitz: Dornach, Gemeinde Aschheim, Landkreis M=FCnchen | Registergericht M=FCnchen, HRB Nr. 43632