[Intel-gfx] leak of dma object in intel-next

Dave Airlie airlied at gmail.com
Fri Oct 8 02:26:04 CEST 2010


On my 965 on unload of driver.

------------[ cut here ]------------
WARNING: at /home/airlied/kernel/linux-2.6/lib/dma-debug.c:686
dma_debug_device_change+0x11f/0x19d()
Hardware name: HP Compaq 2510p Notebook PC
pci 0000:00:02.0: DMA-API: device driver has pending DMA allocations
while released from device
Modules linked in: fbcon tileblit font bitblit fbcon_rotate fbcon_cw
fbcon_ud fbcon_ccw softcursor ipt_MASQUERADE iptable_nat nf_nat bridge
stp llc autofs4 coretemp hwmon sunrpc cpufreq_ondemand acpi_cpufreq
ipt_REJECT nf_conntrack_ipv4 nf_defrag_ipv4 iptable_filter ip_tables
ip6t_REJECT ip6t_ipv6header xt_tcpudp nf_conntrack_ipv6 xt_state
nf_conntrack ip6table_filter ip6_tables x_tables ipv6 ext2 loop
dm_mirror dm_region_hash dm_log kvm_intel kvm arc4 ecb iwlagn iwlcore
mac80211 snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_seq
snd_seq_device cfg80211 sdhci_pci snd_pcm snd_timer sdhci snd mmc_core
e1000e soundcore snd_page_alloc iTCO_wdt iTCO_vendor_support serio_raw
sg rtc_cmos rfkill wmi pcspkr joydev sr_mod cdrom firewire_ohci sd_mod
firewire_core crc_itu_t uhci_hcd ehci_hcd ata_generic pata_pcmcia
i915(-) drm_kms_helper drm i2c_algo_bit i2c_core video output [last
unloaded: scsi_wait_scan]
Pid: 3553, comm: rmmod Not tainted 2.6.36-rc5+ #27
Call Trace:
 [<c103199b>] warn_slowpath_common+0x65/0x7a
 [<c11687cf>] ? dma_debug_device_change+0x11f/0x19d
 [<c1031a14>] warn_slowpath_fmt+0x26/0x2a
 [<c11687cf>] dma_debug_device_change+0x11f/0x19d
 [<c12df14b>] notifier_call_chain+0x26/0x48
 [<c104c7b5>] __blocking_notifier_call_chain+0x37/0x4c
 [<c104c7d6>] blocking_notifier_call_chain+0xc/0xe
 [<c11d8daa>] __device_release_driver+0x89/0x99
 [<c11d8e21>] driver_detach+0x67/0x85
 [<c11d8292>] bus_remove_driver+0x69/0x85
 [<c11d924a>] driver_unregister+0x4b/0x52
 [<c116e04f>] pci_unregister_driver+0x2d/0x6e
 [<f86b03ea>] drm_exit+0x34/0x65 [drm]
 [<f8df0cd2>] i915_exit+0x12/0x14 [i915]
 [<c105ba78>] sys_delete_module+0x16f/0x1c0
 [<c10a3a75>] ? remove_vma+0x52/0x58
 [<c10a4857>] ? do_munmap+0x217/0x231
 [<c100278c>] sysenter_do_call+0x12/0x22
---[ end trace 424cdfba1bbf7407 ]---
Mapped at:
 [<c1167fdc>] debug_dma_map_page+0x4e/0x104
 [<c11cdfce>] intel_gmch_probe+0x606/0x668
 [<c12ce2ed>] agp_intel_probe+0x3f/0x15a
 [<c116d449>] local_pci_probe+0x3e/0x81
 [<c116defb>] pci_device_probe+0x43/0x66

Dave.



More information about the Intel-gfx mailing list