Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754237Ab1DLTJs (ORCPT ); Tue, 12 Apr 2011 15:09:48 -0400 Received: from einhorn.in-berlin.de ([192.109.42.8]:54516 "EHLO einhorn.in-berlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751777Ab1DLTJr (ORCPT ); Tue, 12 Apr 2011 15:09:47 -0400 X-Envelope-From: stefanr@s5r6.in-berlin.de Date: Tue, 12 Apr 2011 21:09:40 +0200 From: Stefan Richter To: dri-devel@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org Subject: kernel 2.6.39-rc3 drm, radeon: device driver tries to free DMA memory it has not allocated Message-ID: <20110412210940.0b3d598b@stein> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2858 Lines: 56 Hi, I just switched from 2.6.38-rc7 to 2.6.39-rc3 and got this at some point during userland startup: WARNING: at lib/dma-debug.c:803 check_unmap+0x19a/0x696() Hardware name: System Product Name NULL NULL: DMA-API: device driver tries to free DMA memory it has not allocated [device address=0x00000000ce47b000] [size=4096 bytes] Modules linked in: cpufreq_ondemand powernow_k8 freq_table mperf snd_pcm_oss snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device nfsd lockd it87 hwmon_vid sunrpc ext4 jbd2 crc16 sr_mod cdrom snd_hda_codec_realtek k10temp yenta_socket snd_hda_intel pcmcia_core pcmcia_rsrc snd_hda_codec snd_pcm pata_atiixp snd_timer sg snd snd_page_alloc r8169 mii processor usb_storage Pid: 4397, comm: X Tainted: G W 2.6.39-rc3 #2 Call Trace: [] warn_slowpath_common+0x80/0x98 [] warn_slowpath_fmt+0x41/0x43 [] ? _raw_spin_lock_irqsave+0x49/0x53 [] ? check_unmap+0x102/0x696 [] check_unmap+0x19a/0x696 [] ? __change_page_attr_set_clr+0x16d/0x99d [] debug_dma_free_coherent+0x6c/0x7a [] ttm_put_pages+0x117/0x255 [] ttm_tt_free_alloced_pages+0xbc/0xe2 [] ttm_tt_destroy+0x50/0xda [] ttm_bo_cleanup_memtype_use+0x29/0x63 [] ttm_bo_release+0x112/0x1df [] ? ttm_bo_create+0xff/0xff [] kref_put+0x43/0x4d [] ttm_bo_unref+0x33/0x40 [] radeon_bo_unref+0x3f/0x5e [] ? drm_gem_handle_delete+0x89/0xab [] ? drm_gem_object_release_handle+0x5a/0x5a [] radeon_gem_object_free+0x1e/0x20 [] drm_gem_object_free+0x28/0x2a [] kref_put+0x43/0x4d [] drm_gem_handle_delete+0x98/0xab [] drm_gem_close_ioctl+0x23/0x25 [] drm_ioctl+0x277/0x343 [] ? drm_gem_handle_delete+0xab/0xab [] ? get_parent_ip+0x11/0x41 [] ? trace_hardirqs_on+0xd/0xf [] do_vfs_ioctl+0x464/0x4b3 [] ? remove_vma+0x69/0x71 [] sys_ioctl+0x42/0x65 [] system_call_fastpath+0x16/0x1b ---[ end trace 6a2f7052e2c76f52 ]--- DMA-API: debugging out of memory - disabling This is an AMD RS780/ ATI Radeon HD 3200 system with Gentoo xorg-server 1.9.4 and xf86-video-ati 6.14.1. -- Stefan Richter -=====-==-== -=-- -==-- http://arcgraph.de/sr/ -- 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/