All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Trippelsdorf <markus@trippelsdorf.de>
To: Stefan Richter <stefanr@s5r6.in-berlin.de>
Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Re: kernel 2.6.39-rc3 drm, radeon: device driver tries to free DMA memory it has not allocated
Date: Tue, 12 Apr 2011 21:28:24 +0200	[thread overview]
Message-ID: <20110412192823.GA1634@x4.trippels.de> (raw)
In-Reply-To: <20110412210940.0b3d598b@stein>

On 2011.04.12 at 21:09 +0200, Stefan Richter wrote:
> 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:
>  [<ffffffff81031ef9>] warn_slowpath_common+0x80/0x98
>  [<ffffffff81031fa5>] warn_slowpath_fmt+0x41/0x43
>  [<ffffffff8134606d>] ? _raw_spin_lock_irqsave+0x49/0x53
>  [<ffffffff811474e5>] ? check_unmap+0x102/0x696
>  [<ffffffff8114757d>] check_unmap+0x19a/0x696
>  [<ffffffff81021810>] ? __change_page_attr_set_clr+0x16d/0x99d
>  [<ffffffff81147ae5>] debug_dma_free_coherent+0x6c/0x7a
>  [<ffffffff811ccb00>] ttm_put_pages+0x117/0x255
>  [<ffffffff811c62cb>] ttm_tt_free_alloced_pages+0xbc/0xe2
>  [<ffffffff811c6695>] ttm_tt_destroy+0x50/0xda
>  [<ffffffff811c6f27>] ttm_bo_cleanup_memtype_use+0x29/0x63
>  [<ffffffff811c96aa>] ttm_bo_release+0x112/0x1df
>  [<ffffffff811c9598>] ? ttm_bo_create+0xff/0xff
>  [<ffffffff81139882>] kref_put+0x43/0x4d
>  [<ffffffff811c7748>] ttm_bo_unref+0x33/0x40
>  [<ffffffff811f6f66>] radeon_bo_unref+0x3f/0x5e
>  [<ffffffff811b58f2>] ? drm_gem_handle_delete+0x89/0xab
>  [<ffffffff811b5779>] ? drm_gem_object_release_handle+0x5a/0x5a
>  [<ffffffff8120985a>] radeon_gem_object_free+0x1e/0x20
>  [<ffffffff811b57a1>] drm_gem_object_free+0x28/0x2a
>  [<ffffffff81139882>] kref_put+0x43/0x4d
>  [<ffffffff811b5901>] drm_gem_handle_delete+0x98/0xab
>  [<ffffffff811b5937>] drm_gem_close_ioctl+0x23/0x25
>  [<ffffffff811b4106>] drm_ioctl+0x277/0x343
>  [<ffffffff811b5914>] ? drm_gem_handle_delete+0xab/0xab
>  [<ffffffff8102b65f>] ? get_parent_ip+0x11/0x41
>  [<ffffffff81058895>] ? trace_hardirqs_on+0xd/0xf
>  [<ffffffff810b5e8b>] do_vfs_ioctl+0x464/0x4b3
>  [<ffffffff810953bd>] ? remove_vma+0x69/0x71
>  [<ffffffff810b5f1c>] sys_ioctl+0x42/0x65
>  [<ffffffff813472bb>] 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.

Looks similar to: http://thread.gmane.org/gmane.linux.kernel/1119774

Try reverting 69a07f0b117a40fcc1a479358d8e1f41793617f2

-- 
Markus

      reply	other threads:[~2011-04-12 19:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-12 19:09 kernel 2.6.39-rc3 drm, radeon: device driver tries to free DMA memory it has not allocated Stefan Richter
2011-04-12 19:28 ` Markus Trippelsdorf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110412192823.GA1634@x4.trippels.de \
    --to=markus@trippelsdorf.de \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stefanr@s5r6.in-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.