<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [Hawaii, FirePro, radeon] WARNING: CPU: 1 PID: 18632 at drivers/gpu/drm/ttm/ttm_page_alloc_dma.c:548 ttm_dma_free_pool.part.8+0x128/0x130 [ttm]"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103316">103316</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[Hawaii, FirePro, radeon] WARNING: CPU: 1 PID: 18632 at drivers/gpu/drm/ttm/ttm_page_alloc_dma.c:548 ttm_dma_free_pool.part.8+0x128/0x130 [ttm]
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Gallium/radeonsi
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>vedran@miletic.net
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>On kernel 4.13.6-300.fc27.x86_64, with 01:00.0 VGA compatible controller:
Advanced Micro Devices, Inc. [AMD/ATI] Hawaii XT GL [FirePro W9100] upon
modprobe -r radeon I get:

[83523.596239] [drm] radeon: finishing device.
[83523.615907] [TTM] Finalizing pool allocator
[83523.615910] [TTM] Finalizing DMA pool allocator
[83523.615942] ------------[ cut here ]------------
[83523.615948] WARNING: CPU: 1 PID: 18632 at
drivers/gpu/drm/ttm/ttm_page_alloc_dma.c:548
ttm_dma_free_pool.part.8+0x128/0x130 [ttm]
[83523.615949] Modules linked in: ip6t_rpfilter ip6t_REJECT nf_reject_ipv6
xt_conntrack ip_set nfnetlink ebtable_nat ebtable_broute bridge stp llc
ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle
ip6table_raw ip6table_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4
nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_raw iptable_security
ebtable_filter ebtables ip6table_filter ip6_tables sunrpc intel_rapl
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm
snd_hda_codec_realtek snd_hda_codec_generic irqbypass snd_hda_codec_hdmi
snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_seq crct10dif_pclmul
crc32_pclmul ghash_clmulni_intel snd_seq_device intel_cstate intel_uncore
eeepc_wmi intel_rapl_perf asus_wmi snd_pcm sparse_keymap rfkill iTCO_wdt
mxm_wmi iTCO_vendor_support
[83523.615968]  snd_timer wmi_bmof snd mei_me mei soundcore shpchp i2c_i801
lpc_ich tpm_infineon tpm_tis tpm_tis_core tpm wmi xfs libcrc32c amdgpu amdkfd
i915 amd_iommu_v2 radeon(-) i2c_algo_bit drm_kms_helper ttm crc32c_intel drm
r8169 mii video
[83523.615978] CPU: 1 PID: 18632 Comm: modprobe Not tainted
4.13.6-300.fc27.x86_64 #1
[83523.615978] Hardware name: ASUS All Series/Z87-A, BIOS 1602 10/29/2013
[83523.615979] task: ffff948aebd84c80 task.stack: ffffa04ea4cf8000
[83523.615982] RIP: 0010:ttm_dma_free_pool.part.8+0x128/0x130 [ttm]
[83523.615982] RSP: 0018:ffffa04ea4cfbc40 EFLAGS: 00010202
[83523.615983] RAX: 0000000000000202 RBX: ffff948ed5b6d540 RCX:
0000000000000000
[83523.615984] RDX: 0000000100400002 RSI: ffffdab5d0562e40 RDI:
ffffa04ea4cfbbf0
[83523.615984] RBP: ffffa04ea4cfbc58 R08: ffff948ed58b9080 R09:
0000000100400001
[83523.615985] R10: ffffa04ea4cfbb40 R11: 0000000000000000 R12:
ffff948edce2e2e0
[83523.615985] R13: 0000000000000008 R14: ffffffffc043e1e8 R15:
ffff948edd148100
[83523.615986] FS:  00007efc655aa740(0000) GS:ffff948eefa40000(0000)
knlGS:0000000000000000
[83523.615987] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[83523.615987] CR2: 000055e3e6293030 CR3: 00000003f194c000 CR4:
00000000001406e0
[83523.615988] Call Trace:
[83523.615992]  ttm_dma_page_alloc_fini+0x84/0xf0 [ttm]
[83523.615994]  ttm_mem_global_release+0x19/0x90 [ttm]
[83523.616017]  radeon_ttm_mem_global_release+0x12/0x20 [radeon]
[83523.616026]  drm_global_item_unref+0x4c/0x70 [drm]
[83523.616035]  radeon_ttm_fini+0x133/0x1a0 [radeon]
[83523.616044]  radeon_bo_fini+0x12/0x40 [radeon]
[83523.616057]  cik_fini+0xca/0xf0 [radeon]
[83523.616065]  radeon_device_fini+0x35/0x110 [radeon]
[83523.616072]  radeon_driver_unload_kms+0x4b/0x80 [radeon]
[83523.616077]  drm_dev_unregister+0x3c/0xe0 [drm]
[83523.616083]  drm_put_dev+0x32/0x60 [drm]
[83523.616089]  radeon_pci_remove+0x15/0x20 [radeon]
[83523.616092]  pci_device_remove+0x39/0xb0
[83523.616094]  device_release_driver_internal+0x158/0x210
[83523.616095]  driver_detach+0x38/0x70
[83523.616096]  bus_remove_driver+0x59/0xd0
[83523.616097]  driver_unregister+0x2c/0x40
[83523.616098]  pci_unregister_driver+0x22/0xb0
[83523.616103]  drm_pci_exit+0xbb/0xc0 [drm]
[83523.616115]  radeon_exit+0x1c/0x43 [radeon]
[83523.616116]  SyS_delete_module+0x1a8/0x2b0
[83523.616118]  ? exit_to_usermode_loop+0x91/0xb0
[83523.616120]  entry_SYSCALL_64_fastpath+0x1a/0xa5
[83523.616121] RIP: 0033:0x7efc64a93917
[83523.616122] RSP: 002b:00007ffdd5e175f8 EFLAGS: 00000206 ORIG_RAX:
00000000000000b0
[83523.616123] RAX: ffffffffffffffda RBX: 0000000000000003 RCX:
00007efc64a93917
[83523.616123] RDX: 0000000000000000 RSI: 0000000000000800 RDI:
0000564a18d45ea8
[83523.616123] RBP: 0000000000000000 R08: 00007ffdd5e165a1 R09:
0000000000000000
[83523.616124] R10: 00007efc64b0cbc0 R11: 0000000000000206 R12:
0000564a18d45e40
[83523.616124] R13: 00007ffdd5e16610 R14: 0000564a18d45ea8 R15:
00007ffdd5e189e0
[83523.616125] Code: 00 ad de 48 89 df 48 89 03 48 05 00 01 00 00 48 89 43 08
e8 7b 35 f6 da 48 8b 3d 14 63 00 00 e8 af 46 5b db 5b 41 5c 41 5d 5d c3 <0f> ff
eb b0 0f 1f 40 00 0f 1f 44 00 00 48 8b 06 48 85 c0 74 13 
[83523.616141] ---[ end trace 64292c2a3a933def ]---
[83523.616779] [TTM] Zone  kernel: Used memory at exit: 2080 kiB
[83523.616781] [TTM] Zone   dma32: Used memory at exit: 24 kiB
[83523.616782] [drm] radeon: ttm finalized
[83523.642072] [drm] Module unloaded

This doesn't depend on whether the GPU experienced VM errors prior to modprobe
-r.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>