Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758515AbZCTRfS (ORCPT ); Fri, 20 Mar 2009 13:35:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755603AbZCTRe7 (ORCPT ); Fri, 20 Mar 2009 13:34:59 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:58139 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751870AbZCTRe6 (ORCPT ); Fri, 20 Mar 2009 13:34:58 -0400 Date: Fri, 20 Mar 2009 18:33:53 +0100 From: Ingo Molnar To: Lubomir Rintel Cc: Joerg Roedel , netdev@vger.kernel.org, jeffrey.t.kirsher@intel.com, jesse.brandeburg@intel.com, bruce.w.allan@intel.com, peter.p.waskiewicz.jr@intel.com, john.ronciak@intel.com, e1000-devel@lists.sourceforge.net, Ingo Molnar , iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: 3c59x 0000:00:0b.0: DMA-API: device driver maps memory from kernel text or rodata [addr=c0fffe54] [size=428] Message-ID: <20090320173353.GA3108@elte.hu> References: <1237223130-26519-1-git-send-email-joerg.roedel@amd.com> <20090317120112.GP6159@amd.com> <20090318093847.GC5879@elte.hu> <20090318115615.GS6159@amd.com> <20090318120458.GA1601@elte.hu> <36697.89.102.207.186.1237380871.squirrel@mail.v3.sk> <20090318140949.GA20852@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090318140949.GA20852@elte.hu> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3585 Lines: 66 FYI, triggered a new type of DMA debug warning today, this time on an older box, in the boomerang/vortex 3c59x driver: [ 211.098328] eth0: setting full-duplex. [ 1745.974321] ------------[ cut here ]------------ [ 1745.980344] WARNING: at lib/dma-debug.c:627 check_for_illegal_area+0xa6/0xe4() [ 1745.983613] 3c59x 0000:00:0b.0: DMA-API: device driver maps memory from kernel text or rodata [addr=c0fffe54] [size=428] [ 1745.986521] Modules linked in: [ 1745.986521] Pid: 19063, comm: distcc Not tainted 2.6.29-rc8-tip-02734-gfd4c260-dirty #729 [ 1745.993830] Call Trace: [ 1745.996309] [] warn_slowpath+0x5e/0x74 [ 1746.001069] [] ? memcpy+0xe/0x31 [ 1746.005322] [] ? skb_put+0x62/0x7b [ 1746.009732] [] ? _spin_unlock_irqrestore+0x19/0x25 [ 1746.011540] [] ? enable_8259A_irq+0x45/0x48 [ 1746.016729] [] ? handle_level_irq+0xe3/0xef [ 1746.021921] [] ? handle_irq+0x36/0x43 [ 1746.022582] [] ? restore_nocheck_notrace+0x0/0xe [ 1746.028198] [] ? trace_hardirqs_on_thunk+0xc/0x10 [ 1746.033900] [] ? restore_nocheck_notrace+0x0/0xe [ 1746.035517] [] check_for_illegal_area+0xa6/0xe4 [ 1746.041046] [] debug_dma_map_page+0x12a/0x13b [ 1746.043356] [] boomerang_start_xmit+0x40b/0x54c [ 1746.048900] [] ? kmem_cache_free+0xf6/0xfe [ 1746.054013] [] dev_hard_start_xmit+0x101/0x171 [ 1746.055471] [] __qdisc_run+0xf4/0x21f [ 1746.060143] [] dev_queue_xmit+0x1e2/0x2dc [ 1746.065162] [] ip_finish_output+0x213/0x24d [ 1746.066360] [] ? check_object+0xfa/0x156 [ 1746.071291] [] ip_output+0x4e/0x51 [ 1746.075693] [] ip_local_out+0x39/0x42 [ 1746.080366] [] ip_queue_xmit+0x2ce/0x314 [ 1746.085295] [] ? __kmalloc_node_track_caller+0x165/0x172 [ 1746.087612] [] ? __alloc_skb+0x38/0x115 [ 1746.092458] [] ? tcp_v4_md5_do_lookup+0xa/0x36 [ 1746.097916] [] ? __tcp_select_window+0xe/0x12f [ 1746.099368] [] ? tcp_options_write+0x138/0x1b7 [ 1746.104820] [] tcp_transmit_skb+0x452/0x492 [ 1746.110009] [] tcp_write_xmit+0x21d/0x2c4 [ 1746.111029] [] __tcp_push_pending_frames+0x52/0x12e [ 1746.116912] [] do_tcp_sendpages+0x4a9/0x4d6 [ 1746.122112] [] tcp_sendpage+0x54/0x69 [ 1746.122783] [] sock_sendpage+0x34/0x3b [ 1746.127547] [] pipe_to_sendpage+0x5b/0x66 [ 1746.132576] [] __splice_from_pipe+0x65/0x1db [ 1746.137853] [] ? pipe_to_sendpage+0x0/0x66 [ 1746.138956] [] splice_from_pipe+0x56/0x6d [ 1746.143975] [] generic_splice_sendpage+0x18/0x1a [ 1746.149599] [] ? pipe_to_sendpage+0x0/0x66 [ 1746.150703] [] do_splice_from+0xc0/0xd1 [ 1746.155547] [] direct_splice_actor+0x1c/0x21 [ 1746.160835] [] splice_direct_to_actor+0x124/0x1f1 [ 1746.162841] [] ? direct_splice_actor+0x0/0x21 [ 1746.168203] [] do_splice_direct+0x3a/0x55 [ 1746.173220] [] do_sendfile+0x1b0/0x23e [ 1746.177980] [] sys_sendfile+0x5b/0xac [ 1746.178649] [] sysenter_do_call+0x12/0x2b [ 1746.183668] ---[ end trace e9b0fe468818fdae ]--- Ingo -- 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/