[Bug 104274] Unable to cleanly unload kernel module: BUG: unable to handle kernel NULL pointer dereference at 0000000000000258 (mutex_lock)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Comment # 3 on bug 104274 from
Thanks for pointing me to that. Seems like it should have gone to stable

Alright. Here is what I do now:

boot with intel gpu, amdgpu is blacklisted in modules so it doesn't get
autoloaded
then i load amdgpu with dc on or off by hand, this time i make sure display
that is attached via DisplayPort to amdgpu is on

i cannot unload until i use

echo 0 > /sys/devices/virtual/vtconsole/vtcon1/bind

here is with dc=1:

rmmod hangs


[   45.665237] LoadPin: kernel-module pinning-ignored
obj="/usr/lib/modules/4.15.0-1-rc/kernel/drivers/gpu/drm/ttm/ttm.ko" pid=1201
cmdline="modprobe amdgpu dc=1"
[   45.682434] LoadPin: kernel-module pinning-ignored
obj="/usr/lib/modules/4.15.0-1-rc/kernel/drivers/gpu/drm/amd/lib/chash.ko"
pid=1201 cmdline="modprobe amdgpu dc=1"
[   45.693068] LoadPin: kernel-module pinning-ignored
obj="/usr/lib/modules/4.15.0-1-rc/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko"
pid=1201 cmdline="modprobe amdgpu dc=1"
[   46.202469] [drm] amdgpu kernel modesetting enabled.
[   46.202519] amdgpu 0000:01:00.0: enabling device (0006 -> 0007)
[   46.202669] [drm] initializing kernel modesetting (POLARIS11 0x1002:0x67EF
0x1462:0x809D 0xCF).
[   46.202681] [drm] register mmio base: 0xEFE00000
[   46.202682] [drm] register mmio size: 262144
[   46.202694] [drm] probing gen 2 caps for device 8086:1901 = 261ad03/e
[   46.202694] [drm] probing mlw for device 8086:1901 = 261ad03
[   46.202700] [drm] UVD is enabled in VM mode
[   46.202700] [drm] UVD ENC is enabled in VM mode
[   46.202702] [drm] VCE enabled in VM mode
[   46.202715] ATOM BIOS: 113-C99401-S01
[   46.202721] [drm] GPU post is not needed
[   46.202730] [drm] vm size is 64 GB, block size is 13-bit, fragment size is
9-bit
[   46.203725] LoadPin: firmware pinning-ignored
obj="/usr/lib/firmware/amdgpu/polaris11_mc.bin" pid=1201 cmdline="modprobe
amdgpu dc=1"
[   46.204234] amdgpu 0000:01:00.0: VRAM: 2048M 0x000000F400000000 -
0x000000F47FFFFFFF (2048M used)
[   46.204235] amdgpu 0000:01:00.0: GTT: 256M 0x0000000000000000 -
0x000000000FFFFFFF
[   46.204241] [drm] Detected VRAM RAM=2048M, BAR=256M
[   46.204242] [drm] RAM width 128bits GDDR5
[   46.204321] [TTM] Zone  kernel: Available graphics memory: 8082548 kiB
[   46.204321] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
[   46.204321] [TTM] Initializing pool allocator
[   46.204323] [TTM] Initializing DMA pool allocator
[   46.204333] [drm] amdgpu: 2048M of VRAM memory ready
[   46.204333] [drm] amdgpu: 3072M of GTT memory ready.
[   46.204366] [drm] GART: num cpu pages 65536, num gpu pages 65536
[   46.204414] [drm] PCIE GART of 256M enabled (table at 0x000000F400040000).
[   46.204447] amdgpu 0000:01:00.0: amdgpu: using MSI.
[   46.204462] [drm] amdgpu: irq initialized.
[   46.204475] amdgpu: [powerplay] amdgpu: powerplay sw initialized
[   46.204487] LoadPin: firmware pinning-ignored
obj="/usr/lib/firmware/amdgpu/polaris11_pfp_2.bin" pid=1201 cmdline="modprobe
amdgpu dc=1"
[   46.205094] LoadPin: firmware pinning-ignored
obj="/usr/lib/firmware/amdgpu/polaris11_me_2.bin" pid=1201 cmdline="modprobe
amdgpu dc=1"
[   46.217397] LoadPin: firmware pinning-ignored
obj="/usr/lib/firmware/amdgpu/polaris11_ce_2.bin" pid=1201 cmdline="modprobe
amdgpu dc=1"
[   46.217550] [drm] Chained IB support enabled!
[   46.217556] LoadPin: firmware pinning-ignored
obj="/usr/lib/firmware/amdgpu/polaris11_rlc.bin" pid=1201 cmdline="modprobe
amdgpu dc=1"
[   46.217822] LoadPin: firmware pinning-ignored
obj="/usr/lib/firmware/amdgpu/polaris11_mec_2.bin" pid=1201 cmdline="modprobe
amdgpu dc=1"
[   46.218718] LoadPin: firmware pinning-ignored
obj="/usr/lib/firmware/amdgpu/polaris11_mec2_2.bin" pid=1201 cmdline="modprobe
amdgpu dc=1"
[   46.219694] amdgpu 0000:01:00.0: fence driver on ring 0 use gpu addr
0x0000000000400040, cpu addr 0x0000000072e5becd
[   46.219847] amdgpu 0000:01:00.0: fence driver on ring 1 use gpu addr
0x00000000004000c0, cpu addr 0x000000007d1f8b28
[   46.219906] amdgpu 0000:01:00.0: fence driver on ring 2 use gpu addr
0x0000000000400140, cpu addr 0x000000001b657fe6
[   46.219946] amdgpu 0000:01:00.0: fence driver on ring 3 use gpu addr
0x00000000004001c0, cpu addr 0x000000009cd8ddd2
[   46.219993] amdgpu 0000:01:00.0: fence driver on ring 4 use gpu addr
0x0000000000400240, cpu addr 0x000000004495111b
[   46.220039] amdgpu 0000:01:00.0: fence driver on ring 5 use gpu addr
0x00000000004002c0, cpu addr 0x00000000705ffa8e
[   46.220113] amdgpu 0000:01:00.0: fence driver on ring 6 use gpu addr
0x0000000000400340, cpu addr 0x000000009005afe9
[   46.220160] amdgpu 0000:01:00.0: fence driver on ring 7 use gpu addr
0x00000000004003c0, cpu addr 0x00000000e3bdcb19
[   46.220203] amdgpu 0000:01:00.0: fence driver on ring 8 use gpu addr
0x0000000000400440, cpu addr 0x00000000d3b3c22e
[   46.220214] amdgpu 0000:01:00.0: fence driver on ring 9 use gpu addr
0x00000000004004e0, cpu addr 0x0000000002a1dbbf
[   46.220487] LoadPin: firmware pinning-ignored
obj="/usr/lib/firmware/amdgpu/polaris11_sdma.bin" pid=1201 cmdline="modprobe
amdgpu dc=1"
[   46.220721] LoadPin: firmware pinning-ignored
obj="/usr/lib/firmware/amdgpu/polaris11_sdma1.bin" pid=1201 cmdline="modprobe
amdgpu dc=1"
[   46.230175] amdgpu 0000:01:00.0: fence driver on ring 10 use gpu addr
0x0000000000400560, cpu addr 0x0000000091d8de17
[   46.230241] amdgpu 0000:01:00.0: fence driver on ring 11 use gpu addr
0x00000000004005e0, cpu addr 0x0000000030660891
[   46.230263] LoadPin: firmware pinning-ignored
obj="/usr/lib/firmware/amdgpu/polaris11_uvd.bin" pid=1201 cmdline="modprobe
amdgpu dc=1"
[   46.240501] [drm] Found UVD firmware Version: 1.79 Family ID: 16
[   46.240850] amdgpu 0000:01:00.0: fence driver on ring 12 use gpu addr
0x000000f4001e6420, cpu addr 0x00000000b794fc25
[   46.240867] amdgpu 0000:01:00.0: fence driver on ring 13 use gpu addr
0x00000000004006e0, cpu addr 0x00000000fe2dd157
[   46.240880] amdgpu 0000:01:00.0: fence driver on ring 14 use gpu addr
0x0000000000400760, cpu addr 0x00000000979c0f78
[   46.240896] LoadPin: firmware pinning-ignored
obj="/usr/lib/firmware/amdgpu/polaris11_vce.bin" pid=1201 cmdline="modprobe
amdgpu dc=1"
[   46.241568] [drm] Found VCE firmware Version: 52.4 Binary ID: 3
[   46.241682] amdgpu 0000:01:00.0: fence driver on ring 15 use gpu addr
0x00000000004007e0, cpu addr 0x00000000397058ac
[   46.241814] amdgpu 0000:01:00.0: fence driver on ring 16 use gpu addr
0x0000000000400860, cpu addr 0x00000000331d7ca7
[   46.241959] LoadPin: firmware pinning-ignored
obj="/usr/lib/firmware/amdgpu/polaris11_smc.bin" pid=1201 cmdline="modprobe
amdgpu dc=1"
[   46.310973] amdgpu: [powerplay] 
[   46.310986] amdgpu: [powerplay] 
[   46.319356] [drm] DM_PPLIB: values for Engine clock
[   46.319356] [drm] DM_PPLIB:   21400
[   46.319357] [drm] DM_PPLIB:   48100
[   46.319357] [drm] DM_PPLIB:   76600
[   46.319357] [drm] DM_PPLIB:   102800
[   46.319357] [drm] DM_PPLIB:   111100
[   46.319357] [drm] DM_PPLIB:   114700
[   46.319358] [drm] DM_PPLIB:   118100
[   46.319358] [drm] DM_PPLIB:   121000
[   46.319358] [drm] DM_PPLIB: Warning: using default validation clocks!
[   46.319358] [drm] DM_PPLIB: Validation clocks:
[   46.319358] [drm] DM_PPLIB:    engine_max_clock: 72000
[   46.319359] [drm] DM_PPLIB:    memory_max_clock: 80000
[   46.319359] [drm] DM_PPLIB:    level           : 0
[   46.319359] [drm] DM_PPLIB: reducing engine clock level from 8 to 2
[   46.319360] [drm] DM_PPLIB: values for Memory clock
[   46.319360] [drm] DM_PPLIB:   30000
[   46.319360] [drm] DM_PPLIB:   175000
[   46.319360] [drm] DM_PPLIB: Warning: using default validation clocks!
[   46.319361] [drm] DM_PPLIB: Validation clocks:
[   46.319361] [drm] DM_PPLIB:    engine_max_clock: 72000
[   46.319361] [drm] DM_PPLIB:    memory_max_clock: 80000
[   46.319361] [drm] DM_PPLIB:    level           : 0
[   46.319362] [drm] DM_PPLIB: reducing memory clock level from 2 to 1
[   46.319362] [drm] DC: create_links: connectors_num: physical:3, virtual:0
[   46.335157] [drm] Display Core initialized!
[   46.341040] [drm] Rx Caps: 
[   46.465504] [drm] HBRx4 pass VS=0, PE=0
[   46.465794] [drm] LG ULTRAWIDE: [Block 0] 
[   46.465795] [drm] LG ULTRAWIDE: [Block 1] 
[   46.465796] [drm] dc_link_detect: manufacturer_id = 6D1E, product_id = 59F2,
serial_number = 1010101, manufacture_week = 1, manufacture_year = 23,
display_name = LG ULTRAWIDE, speaker_flag = 1, audio_mode_count = 1
[   46.465796] [drm] dc_link_detect: mode number = 0, format_code = 1,
channel_count = 1, sample_rate = 7, sample_size = 7
[   46.466298] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   46.466299] [drm] Driver supports precise vblank timestamp query.
[   46.467687] [drm] ring test on 0 succeeded in 18 usecs
[   46.468436] [drm] ring test on 9 succeeded in 13 usecs
[   46.468458] [drm] ring test on 1 succeeded in 10 usecs
[   46.468511] [drm] ring test on 2 succeeded in 24 usecs
[   46.468549] [drm] ring test on 3 succeeded in 18 usecs
[   46.468587] [drm] ring test on 4 succeeded in 19 usecs
[   46.468625] [drm] ring test on 5 succeeded in 18 usecs
[   46.468663] [drm] ring test on 6 succeeded in 19 usecs
[   46.468702] [drm] ring test on 7 succeeded in 18 usecs
[   46.468740] [drm] ring test on 8 succeeded in 17 usecs
[   46.468798] [drm] ring test on 10 succeeded in 7 usecs
[   46.468805] [drm] ring test on 11 succeeded in 6 usecs
[   46.515372] [drm] ring test on 12 succeeded in 1 usecs
[   46.515420] [drm] ring test on 13 succeeded in 20 usecs
[   46.515432] [drm] ring test on 14 succeeded in 4 usecs
[   46.515432] [drm] UVD and UVD ENC initialized successfully.
[   46.626345] [drm] ring test on 15 succeeded in 7 usecs
[   46.626355] [drm] ring test on 16 succeeded in 3 usecs
[   46.626355] [drm] VCE initialized successfully.
[   46.626593] [drm] ib test on ring 0 succeeded
[   46.626823] [drm] ib test on ring 1 succeeded
[   46.626892] [drm] ib test on ring 2 succeeded
[   46.626947] [drm] ib test on ring 3 succeeded
[   46.627010] [drm] ib test on ring 4 succeeded
[   46.627097] [drm] ib test on ring 5 succeeded
[   46.627162] [drm] ib test on ring 6 succeeded
[   46.627259] [drm] ib test on ring 7 succeeded
[   46.627301] [drm] ib test on ring 8 succeeded
[   47.128114] [drm] ib test on ring 9 succeeded
[   47.128212] [drm] ib test on ring 10 succeeded
[   47.128300] [drm] ib test on ring 11 succeeded
[   47.130133] [drm] ib test on ring 12 succeeded
[   47.130553] [drm] ib test on ring 13 succeeded
[   47.130886] [drm] ib test on ring 14 succeeded
[   47.131156] [drm] ib test on ring 15 succeeded
[   47.133086] [drm] fb mappable at 0xD03F2000
[   47.133086] [drm] vram apper at 0xD0000000
[   47.133087] [drm] size 11059200
[   47.133087] [drm] fb depth is 24
[   47.133087] [drm]    pitch is 10240
[   47.133223] fbcon: amdgpudrmfb (fb1) is primary device
[   47.133223] fbcon: Remapping primary device, fb1, to tty 1-63
[   47.135020] [drm] {2560x1080, 2784x1111@185580Khz}
[   47.139059] [drm] RBRx4 pass VS=0, PE=0
[   47.168689] amdgpu 0000:01:00.0: fb1: amdgpudrmfb frame buffer device
[   47.168786] [drm] Initialized amdgpu 3.23.0 20150101 for 0000:01:00.0 on
minor 1

[   78.983798] Console: switching to colour dummy device 80x25

[   83.616305] [drm] amdgpu: finishing device.
[   83.616315] WARNING: CPU: 0 PID: 1380 at drivers/gpu/drm/drm_crtc.c:108
drm_crtc_force_disable+0x58/0x70
[   83.616315] Modules linked in: amdgpu(-) chash ttm cls_u32 sch_htb af_packet
nft_limit nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nf_log_ipv6
nf_log_ipv4 nf_log_common nf_conntrack_ipv6 nf_defrag_ipv6 nf_conntrack_ipv4
nf_defrag_ipv4 nft_log nft_ct nf_conntrack xfrm_user xfrm_algo nft_counter
nft_meta nft_set_bitmap nft_set_hash nft_set_rbtree nf_tables_netdev
nf_tables_inet nf_tables_ipv6 nf_tables_ipv4 dm_cache_smq dm_cache
dm_bio_prison dm_persistent_data dm_bufio libcrc32c bcache raid1 raid0
x86_pkg_temp_thermal intel_powerclamp kvm_intel vhost_net tun vhost
snd_hda_codec_realtek tap snd_hda_codec_generic kvm snd_hda_codec_hdmi md_mod
snd_hda_intel snd_hda_codec snd_hwdep snd_hda_core mei_me efi_pstore irqbypass
plusb mei intel_cstate usbnet snd_pcm intel_uncore input_leds mii led_class
[   83.616341]  intel_rapl_perf efivars tpm_crb usbip_host usbip_core efivarfs
algif_skcipher af_alg joydev mousedev psmouse atkbd crct10dif_pclmul libps2
crc32_pclmul ghash_clmulni_intel pcspkr tpm_tis tpm_tis_core shpchp fan tpm
thermal i8042 acpi_pad vfat fat
[   83.616353] CPU: 0 PID: 1380 Comm: rmmod Not tainted 4.15.0-1-rc #2
[   83.616353] Hardware name: Gigabyte Technology Co., Ltd.
Z170X-UD3/Z170X-UD3-CF, BIOS F23d 12/01/2017
[   83.616354] RIP: 0010:drm_crtc_force_disable+0x58/0x70
[   83.616355] RSP: 0018:ffffb3130559bd68 EFLAGS: 00010286
[   83.616355] RAX: ffffffffc0848b80 RBX: ffff9a179d654000 RCX:
0000000000000000
[   83.616356] RDX: ffffb3130559bd68 RSI: ffff9a179d654000 RDI:
ffffb3130559bd98
[   83.616356] RBP: ffff9a17caf4d368 R08: ffff9a179d1d9048 R09:
ffff9a179f620940
[   83.616356] R10: 000000000000000f R11: 0000000000000000 R12:
ffff9a17caf4d000
[   83.616357] R13: ffffffffc08d1370 R14: ffff9a17cc787100 R15:
ffffffffc08d13e8
[   83.616357] FS:  00007fc7e4463b80(0000) GS:ffff9a17dec00000(0000)
knlGS:0000000000000000
[   83.616358] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   83.616358] CR2: 0000000001e19d48 CR3: 000000045d4a6002 CR4:
00000000003606f0
[   83.616358] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[   83.616359] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
0000000000000400
[   83.616359] Call Trace:
[   83.616362]  drm_crtc_force_disable_all+0x49/0x70
[   83.616376]  amdgpu_device_fini+0x1ad/0x1c0 [amdgpu]
[   83.616383]  amdgpu_driver_unload_kms+0x45/0x90 [amdgpu]
[   83.616384]  drm_dev_unregister+0x37/0xe0
[   83.616389]  amdgpu_pci_remove+0x14/0x40 [amdgpu]
[   83.616391]  pci_device_remove+0x31/0xa0
[   83.616393]  device_release_driver_internal+0x152/0x210
[   83.616394]  driver_detach+0x32/0x70
[   83.616396]  bus_remove_driver+0x4c/0xc0
[   83.616397]  pci_unregister_driver+0x25/0xa0
[   83.616406]  amdgpu_exit+0x11/0x3b6 [amdgpu]
[   83.616408]  SyS_delete_module+0x19c/0x2a0
[   83.616410]  do_syscall_64+0x48/0xe0
[   83.616412]  entry_SYSCALL64_slow_path+0x25/0x25
[   83.616413] RIP: 0033:0x7fc7e3b70b87
[   83.616413] RSP: 002b:00007ffd6adc1d38 EFLAGS: 00000202 ORIG_RAX:
00000000000000b0
[   83.616414] RAX: ffffffffffffffda RBX: 0000000000000000 RCX:
00007fc7e3b70b87
[   83.616414] RDX: 000000000000000a RSI: 0000000000000800 RDI:
0000000001e0f8a8
[   83.616415] RBP: 0000000001e0f840 R08: 00007ffd6adc0cb1 R09:
0000000000000000
[   83.616415] R10: 00000000000008b2 R11: 0000000000000202 R12:
00007ffd6adc3750
[   83.616415] R13: 0000000000000000 R14: 0000000001e0f840 R15:
0000000001e0f260
[   83.616416] Code: 48 8b 80 98 03 00 00 48 83 78 20 00 75 1d 48 89 d7 e8 8d
ff ff ff 48 8b 4c 24 30 65 48 33 0c 25 28 00 00 00 75 09 48 83 c4 38 c3 <0f> ff
eb df e8 bf 96 b7 ff 0f 1f 44 00 00 66 2e 0f 1f 84 00 00 
[   83.616429] ---[ end trace b52f33037e0770c4 ]---
[   83.616436] WARNING: CPU: 0 PID: 1380 at drivers/gpu/drm/drm_crtc.c:499
drm_mode_set_config_internal+0x1c/0x30
[   83.616437] Modules linked in: amdgpu(-) chash ttm cls_u32 sch_htb af_packet
nft_limit nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nf_log_ipv6
nf_log_ipv4 nf_log_common nf_conntrack_ipv6 nf_defrag_ipv6 nf_conntrack_ipv4
nf_defrag_ipv4 nft_log nft_ct nf_conntrack xfrm_user xfrm_algo nft_counter
nft_meta nft_set_bitmap nft_set_hash nft_set_rbtree nf_tables_netdev
nf_tables_inet nf_tables_ipv6 nf_tables_ipv4 dm_cache_smq dm_cache
dm_bio_prison dm_persistent_data dm_bufio libcrc32c bcache raid1 raid0
x86_pkg_temp_thermal intel_powerclamp kvm_intel vhost_net tun vhost
snd_hda_codec_realtek tap snd_hda_codec_generic kvm snd_hda_codec_hdmi md_mod
snd_hda_intel snd_hda_codec snd_hwdep snd_hda_core mei_me efi_pstore irqbypass
plusb mei intel_cstate usbnet snd_pcm intel_uncore input_leds mii led_class
[   83.616455]  intel_rapl_perf efivars tpm_crb usbip_host usbip_core efivarfs
algif_skcipher af_alg joydev mousedev psmouse atkbd crct10dif_pclmul libps2
crc32_pclmul ghash_clmulni_intel pcspkr tpm_tis tpm_tis_core shpchp fan tpm
thermal i8042 acpi_pad vfat fat
[   83.616462] CPU: 0 PID: 1380 Comm: rmmod Tainted: G        W       
4.15.0-1-rc #2
[   83.616463] Hardware name: Gigabyte Technology Co., Ltd.
Z170X-UD3/Z170X-UD3-CF, BIOS F23d 12/01/2017
[   83.616464] RIP: 0010:drm_mode_set_config_internal+0x1c/0x30
[   83.616464] RSP: 0018:ffffb3130559bd60 EFLAGS: 00010286
[   83.616465] RAX: ffffffffc0848b80 RBX: ffff9a179d654000 RCX:
0000000000000000
[   83.616465] RDX: ffffb3130559bd68 RSI: ffff9a179d654000 RDI:
ffffb3130559bd68
[   83.616465] RBP: ffff9a17caf4d368 R08: ffff9a179d1d9048 R09:
ffff9a179f620940
[   83.616465] R10: 000000000000000f R11: 0000000000000000 R12:
ffff9a17caf4d000
[   83.616466] R13: ffffffffc08d1370 R14: ffff9a17cc787100 R15:
ffffffffc08d13e8
[   83.616466] FS:  00007fc7e4463b80(0000) GS:ffff9a17dec00000(0000)
knlGS:0000000000000000
[   83.616467] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   83.616467] CR2: 0000000001e19d48 CR3: 000000045d4a6002 CR4:
00000000003606f0
[   83.616467] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[   83.616468] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
0000000000000400
[   83.616468] Call Trace:
[   83.616469]  drm_crtc_force_disable+0x43/0x70
[   83.616470]  drm_crtc_force_disable_all+0x49/0x70
[   83.616479]  amdgpu_device_fini+0x1ad/0x1c0 [amdgpu]
[   83.616486]  amdgpu_driver_unload_kms+0x45/0x90 [amdgpu]
[   83.616487]  drm_dev_unregister+0x37/0xe0
[   83.616493]  amdgpu_pci_remove+0x14/0x40 [amdgpu]
[   83.616494]  pci_device_remove+0x31/0xa0
[   83.616495]  device_release_driver_internal+0x152/0x210
[   83.616496]  driver_detach+0x32/0x70
[   83.616497]  bus_remove_driver+0x4c/0xc0
[   83.616498]  pci_unregister_driver+0x25/0xa0
[   83.616508]  amdgpu_exit+0x11/0x3b6 [amdgpu]
[   83.616509]  SyS_delete_module+0x19c/0x2a0
[   83.616510]  do_syscall_64+0x48/0xe0
[   83.616511]  entry_SYSCALL64_slow_path+0x25/0x25
[   83.616512] RIP: 0033:0x7fc7e3b70b87
[   83.616512] RSP: 002b:00007ffd6adc1d38 EFLAGS: 00000202 ORIG_RAX:
00000000000000b0
[   83.616513] RAX: ffffffffffffffda RBX: 0000000000000000 RCX:
00007fc7e3b70b87
[   83.616513] RDX: 000000000000000a RSI: 0000000000000800 RDI:
0000000001e0f8a8
[   83.616513] RBP: 0000000001e0f840 R08: 00007ffd6adc0cb1 R09:
0000000000000000
[   83.616514] R10: 00000000000008b2 R11: 0000000000000202 R12:
00007ffd6adc3750
[   83.616514] R13: 0000000000000000 R14: 0000000001e0f840 R15:
0000000001e0f260
[   83.616515] Code: 8e b8 ea ff ff ff c3 b8 fe ff ff ff eb 8b 90 48 8b 47 08
48 8b 00 48 8b 80 98 03 00 00 48 83 78 20 00 75 07 31 f6 e9 a4 fb ff ff <0f> ff
31 f6 e9 9b fb ff ff 90 66 2e 0f 1f 84 00 00 00 00 00 48 
[   83.616527] ---[ end trace b52f33037e0770c5 ]---
[   83.616540] WARNING: CPU: 0 PID: 1380 at drivers/gpu/drm/drm_atomic.c:272
drm_atomic_get_crtc_state+0xdb/0x100
[   83.616540] Modules linked in: amdgpu(-) chash ttm cls_u32 sch_htb af_packet
nft_limit nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nf_log_ipv6
nf_log_ipv4 nf_log_common nf_conntrack_ipv6 nf_defrag_ipv6 nf_conntrack_ipv4
nf_defrag_ipv4 nft_log nft_ct nf_conntrack xfrm_user xfrm_algo nft_counter
nft_meta nft_set_bitmap nft_set_hash nft_set_rbtree nf_tables_netdev
nf_tables_inet nf_tables_ipv6 nf_tables_ipv4 dm_cache_smq dm_cache
dm_bio_prison dm_persistent_data dm_bufio libcrc32c bcache raid1 raid0
x86_pkg_temp_thermal intel_powerclamp kvm_intel vhost_net tun vhost
snd_hda_codec_realtek tap snd_hda_codec_generic kvm snd_hda_codec_hdmi md_mod
snd_hda_intel snd_hda_codec snd_hwdep snd_hda_core mei_me efi_pstore irqbypass
plusb mei intel_cstate usbnet snd_pcm intel_uncore input_leds mii led_class
[   83.616552]  intel_rapl_perf efivars tpm_crb usbip_host usbip_core efivarfs
algif_skcipher af_alg joydev mousedev psmouse atkbd crct10dif_pclmul libps2
crc32_pclmul ghash_clmulni_intel pcspkr tpm_tis tpm_tis_core shpchp fan tpm
thermal i8042 acpi_pad vfat fat
[   83.616557] CPU: 0 PID: 1380 Comm: rmmod Tainted: G        W       
4.15.0-1-rc #2
[   83.616557] Hardware name: Gigabyte Technology Co., Ltd.
Z170X-UD3/Z170X-UD3-CF, BIOS F23d 12/01/2017
[   83.616558] RIP: 0010:drm_atomic_get_crtc_state+0xdb/0x100
[   83.616559] RSP: 0018:ffffb3130559bcb0 EFLAGS: 00010246
[   83.616559] RAX: 0000000000000000 RBX: ffffb3130559bd68 RCX:
0000000000000000
[   83.616559] RDX: ffffffff85c3043d RSI: ffff9a179d654000 RDI:
ffff9a179d452a80
[   83.616560] RBP: ffffb3130559bd68 R08: ffff9a179f5da000 R09:
ffff9a179f5da000
[   83.616560] R10: 000000000000000f R11: 0000000000000000 R12:
0000000000000000
[   83.616560] R13: ffffffffc08d1370 R14: ffff9a179d654000 R15:
ffffffffc08d13e8
[   83.616561] FS:  00007fc7e4463b80(0000) GS:ffff9a17dec00000(0000)
knlGS:0000000000000000
[   83.616561] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   83.616561] CR2: 0000000001e19d48 CR3: 000000045d4a6002 CR4:
00000000003606f0
[   83.616562] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[   83.616562] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
0000000000000400
[   83.616562] Call Trace:
[   83.616564]  ? retint_kernel+0x1b/0x1d
[   83.616565]  __drm_atomic_helper_set_config+0x33/0x2f0
[   83.616567]  drm_atomic_helper_set_config+0x31/0x90
[   83.616568]  __drm_mode_set_config_internal+0x5c/0x110
[   83.616569]  drm_crtc_force_disable+0x43/0x70
[   83.616570]  drm_crtc_force_disable_all+0x49/0x70
[   83.616577]  amdgpu_device_fini+0x1ad/0x1c0 [amdgpu]
[   83.616583]  amdgpu_driver_unload_kms+0x45/0x90 [amdgpu]
[   83.616584]  drm_dev_unregister+0x37/0xe0
[   83.616589]  amdgpu_pci_remove+0x14/0x40 [amdgpu]
[   83.616590]  pci_device_remove+0x31/0xa0
[   83.616592]  device_release_driver_internal+0x152/0x210
[   83.616593]  driver_detach+0x32/0x70
[   83.616594]  bus_remove_driver+0x4c/0xc0
[   83.616594]  pci_unregister_driver+0x25/0xa0
[   83.616604]  amdgpu_exit+0x11/0x3b6 [amdgpu]
[   83.616605]  SyS_delete_module+0x19c/0x2a0
[   83.616606]  do_syscall_64+0x48/0xe0
[   83.616607]  entry_SYSCALL64_slow_path+0x25/0x25
[   83.616607] RIP: 0033:0x7fc7e3b70b87
[   83.616607] RSP: 002b:00007ffd6adc1d38 EFLAGS: 00000202 ORIG_RAX:
00000000000000b0
[   83.616608] RAX: ffffffffffffffda RBX: 0000000000000000 RCX:
00007fc7e3b70b87
[   83.616608] RDX: 000000000000000a RSI: 0000000000000800 RDI:
0000000001e0f8a8
[   83.616608] RBP: 0000000001e0f840 R08: 00007ffd6adc0cb1 R09:
0000000000000000
[   83.616609] R10: 00000000000008b2 R11: 0000000000000202 R12:
00007ffd6adc3750
[   83.616609] R13: 0000000000000000 R14: 0000000001e0f840 R15:
0000000001e0f260
[   83.616610] Code: 10 02 00 00 48 c7 c2 c0 06 c3 85 8b 4d 60 53 4c 8b 45 20
48 89 44 24 08 e8 f3 23 ff ff 58 48 8b 04 24 48 83 c4 08 5b 5d 41 5c c3 <0f> ff
e9 3a ff ff ff 48 c7 c0 f4 ff ff ff e9 46 ff ff ff 48 98 
[   83.616622] ---[ end trace b52f33037e0770c6 ]---

hang:

[  185.311746] INFO: task rmmod:1380 blocked for more than 60 seconds.
[  185.311749]       Tainted: G        W        4.15.0-1-rc #2
[  185.311750] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
message.
[  185.311750] rmmod           D    0  1380   1169 0x80000080
[  185.311752] Call Trace:
[  185.311755]  ? __schedule+0x1ac/0x6d0
[  185.311756]  schedule+0x2a/0x80
[  185.311757]  schedule_preempt_disabled+0xc/0x20
[  185.311758]  __ww_mutex_lock.isra.1+0x54a/0x6c0
[  185.311759]  ? preempt_schedule_irq+0x27/0x50
[  185.311761]  ? drm_modeset_lock+0xd1/0xf0
[  185.311762]  drm_modeset_lock+0xd1/0xf0
[  185.311763]  drm_atomic_get_crtc_state+0x4f/0x100
[  185.311766]  ? retint_kernel+0x1b/0x1d
[  185.311768]  __drm_atomic_helper_set_config+0x33/0x2f0
[  185.311769]  drm_atomic_helper_set_config+0x31/0x90
[  185.311771]  __drm_mode_set_config_internal+0x5c/0x110
[  185.311773]  drm_crtc_force_disable+0x43/0x70
[  185.311774]  drm_crtc_force_disable_all+0x49/0x70
[  185.311786]  amdgpu_device_fini+0x1ad/0x1c0 [amdgpu]
[  185.311792]  amdgpu_driver_unload_kms+0x45/0x90 [amdgpu]
[  185.311793]  drm_dev_unregister+0x37/0xe0
[  185.311799]  amdgpu_pci_remove+0x14/0x40 [amdgpu]
[  185.311800]  pci_device_remove+0x31/0xa0
[  185.311803]  device_release_driver_internal+0x152/0x210
[  185.311804]  driver_detach+0x32/0x70
[  185.311805]  bus_remove_driver+0x4c/0xc0
[  185.311806]  pci_unregister_driver+0x25/0xa0
[  185.311815]  amdgpu_exit+0x11/0x3b6 [amdgpu]
[  185.311820]  SyS_delete_module+0x19c/0x2a0
[  185.311823]  do_syscall_64+0x48/0xe0
[  185.311824]  entry_SYSCALL64_slow_path+0x25/0x25
[  185.311825] RIP: 0033:0x7fc7e3b70b87
[  185.311825] RSP: 002b:00007ffd6adc1d38 EFLAGS: 00000202 ORIG_RAX:
00000000000000b0
[  185.311826] RAX: ffffffffffffffda RBX: 0000000000000000 RCX:
00007fc7e3b70b87
[  185.311826] RDX: 000000000000000a RSI: 0000000000000800 RDI:
0000000001e0f8a8
[  185.311827] RBP: 0000000001e0f840 R08: 00007ffd6adc0cb1 R09:
0000000000000000
[  185.311827] R10: 00000000000008b2 R11: 0000000000000202 R12:
00007ffd6adc3750
[  185.311828] R13: 0000000000000000 R14: 0000000001e0f840 R15:
0000000001e0f260
[  246.751527] INFO: task rmmod:1380 blocked for more than 60 seconds.
[  246.751530]       Tainted: G        W        4.15.0-1-rc #2
[  246.751530] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
message.
[  246.751531] rmmod           D    0  1380   1169 0x80000080
[  246.751532] Call Trace:
[  246.751536]  ? __schedule+0x1ac/0x6d0
[  246.751537]  schedule+0x2a/0x80
[  246.751538]  schedule_preempt_disabled+0xc/0x20
[  246.751539]  __ww_mutex_lock.isra.1+0x54a/0x6c0
[  246.751540]  ? preempt_schedule_irq+0x27/0x50
[  246.751542]  ? drm_modeset_lock+0xd1/0xf0
[  246.751543]  drm_modeset_lock+0xd1/0xf0
[  246.751544]  drm_atomic_get_crtc_state+0x4f/0x100
[  246.751545]  ? retint_kernel+0x1b/0x1d
[  246.751548]  __drm_atomic_helper_set_config+0x33/0x2f0
[  246.751549]  drm_atomic_helper_set_config+0x31/0x90
[  246.751552]  __drm_mode_set_config_internal+0x5c/0x110
[  246.751554]  drm_crtc_force_disable+0x43/0x70
[  246.751555]  drm_crtc_force_disable_all+0x49/0x70
[  246.751579]  amdgpu_device_fini+0x1ad/0x1c0 [amdgpu]
[  246.751585]  amdgpu_driver_unload_kms+0x45/0x90 [amdgpu]
[  246.751586]  drm_dev_unregister+0x37/0xe0
[  246.751592]  amdgpu_pci_remove+0x14/0x40 [amdgpu]
[  246.751593]  pci_device_remove+0x31/0xa0
[  246.751595]  device_release_driver_internal+0x152/0x210
[  246.751597]  driver_detach+0x32/0x70
[  246.751598]  bus_remove_driver+0x4c/0xc0
[  246.751598]  pci_unregister_driver+0x25/0xa0
[  246.751608]  amdgpu_exit+0x11/0x3b6 [amdgpu]
[  246.751610]  SyS_delete_module+0x19c/0x2a0
[  246.751611]  do_syscall_64+0x48/0xe0
[  246.751612]  entry_SYSCALL64_slow_path+0x25/0x25
[  246.751613] RIP: 0033:0x7fc7e3b70b87
[  246.751614] RSP: 002b:00007ffd6adc1d38 EFLAGS: 00000202 ORIG_RAX:
00000000000000b0
[  246.751614] RAX: ffffffffffffffda RBX: 0000000000000000 RCX:
00007fc7e3b70b87
[  246.751615] RDX: 000000000000000a RSI: 0000000000000800 RDI:
0000000001e0f8a8
[  246.751615] RBP: 0000000001e0f840 R08: 00007ffd6adc0cb1 R09:
0000000000000000
[  246.751615] R10: 00000000000008b2 R11: 0000000000000202 R12:
00007ffd6adc3750
[  246.751616] R13: 0000000000000000 R14: 0000000001e0f840 R15:
0000000001e0f260
[  308.191107] INFO: task rmmod:1380 blocked for more than 60 seconds.
[  308.191109]       Tainted: G        W        4.15.0-1-rc #2
[  308.191110] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
message.
[  308.191111] rmmod           D    0  1380   1169 0x80000080
[  308.191112] Call Trace:
[  308.191115]  ? __schedule+0x1ac/0x6d0
[  308.191116]  schedule+0x2a/0x80
[  308.191117]  schedule_preempt_disabled+0xc/0x20
[  308.191118]  __ww_mutex_lock.isra.1+0x54a/0x6c0
[  308.191120]  ? preempt_schedule_irq+0x27/0x50
[  308.191122]  ? drm_modeset_lock+0xd1/0xf0
[  308.191122]  drm_modeset_lock+0xd1/0xf0
[  308.191124]  drm_atomic_get_crtc_state+0x4f/0x100
[  308.191125]  ? retint_kernel+0x1b/0x1d
[  308.191126]  __drm_atomic_helper_set_config+0x33/0x2f0
[  308.191127]  drm_atomic_helper_set_config+0x31/0x90
[  308.191129]  __drm_mode_set_config_internal+0x5c/0x110
[  308.191130]  drm_crtc_force_disable+0x43/0x70
[  308.191131]  drm_crtc_force_disable_all+0x49/0x70
[  308.191142]  amdgpu_device_fini+0x1ad/0x1c0 [amdgpu]
[  308.191148]  amdgpu_driver_unload_kms+0x45/0x90 [amdgpu]
[  308.191149]  drm_dev_unregister+0x37/0xe0
[  308.191154]  amdgpu_pci_remove+0x14/0x40 [amdgpu]
[  308.191157]  pci_device_remove+0x31/0xa0
[  308.191159]  device_release_driver_internal+0x152/0x210
[  308.191162]  driver_detach+0x32/0x70
[  308.191163]  bus_remove_driver+0x4c/0xc0
[  308.191164]  pci_unregister_driver+0x25/0xa0
[  308.191173]  amdgpu_exit+0x11/0x3b6 [amdgpu]
[  308.191175]  SyS_delete_module+0x19c/0x2a0
[  308.191176]  do_syscall_64+0x48/0xe0
[  308.191177]  entry_SYSCALL64_slow_path+0x25/0x25
[  308.191179] RIP: 0033:0x7fc7e3b70b87
[  308.191179] RSP: 002b:00007ffd6adc1d38 EFLAGS: 00000202 ORIG_RAX:
00000000000000b0
[  308.191180] RAX: ffffffffffffffda RBX: 0000000000000000 RCX:
00007fc7e3b70b87
[  308.191180] RDX: 000000000000000a RSI: 0000000000000800 RDI:
0000000001e0f8a8
[  308.191180] RBP: 0000000001e0f840 R08: 00007ffd6adc0cb1 R09:
0000000000000000
[  308.191181] R10: 00000000000008b2 R11: 0000000000000202 R12:
00007ffd6adc3750
[  308.191181] R13: 0000000000000000 R14: 0000000001e0f840 R15:
0000000001e0f260


----------

with dc=0 amdgpu can be unloaded


[   55.321963] [drm] Initialized amdgpu 3.23.0 20150101 for 0000:01:00.0 on
minor 1
[   77.829378] Console: switching to colour dummy device 80x25

[   81.365952] [drm] amdgpu: finishing device.
[   81.397013] amdgpu: [powerplay] 
[   81.397027] amdgpu: [powerplay] 
[   81.525471] [drm:dce_v11_0_set_pageflip_irq_state [amdgpu]] *ERROR* invalid
pageflip crtc 5
[   81.525482] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling
interrupt (-22)
[   81.525497] [drm:dce_v11_0_set_pageflip_irq_state [amdgpu]] *ERROR* invalid
pageflip crtc 5
[   81.525505] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling
interrupt (-22)
[   81.525520] [drm:dce_v11_0_set_pageflip_irq_state [amdgpu]] *ERROR* invalid
pageflip crtc 5
[   81.525528] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling
interrupt (-22)
[   81.525542] [drm:dce_v11_0_set_pageflip_irq_state [amdgpu]] *ERROR* invalid
pageflip crtc 5
[   81.525550] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling
interrupt (-22)
[   81.525564] [drm:dce_v11_0_set_pageflip_irq_state [amdgpu]] *ERROR* invalid
pageflip crtc 5
[   81.525571] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling
interrupt (-22)
[   81.525585] [drm:dce_v11_0_set_pageflip_irq_state [amdgpu]] *ERROR* invalid
pageflip crtc 5
[   81.525592] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling
interrupt (-22)
[   81.525665] ------------[ cut here ]------------
[   81.525665] Memory manager not clean during takedown.
[   81.525674] WARNING: CPU: 1 PID: 1407 at drivers/gpu/drm/drm_mm.c:895
drm_mm_takedown+0x1b/0x20
[   81.525674] Modules linked in: amdgpu(-) chash ttm cls_u32 sch_htb af_packet
nft_limit nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nf_log_ipv6
nf_log_ipv4 nf_log_common nf_conntrack_ipv6 nf_defrag_ipv6 nf_conntrack_ipv4
nf_defrag_ipv4 nft_log nft_ct nf_conntrack xfrm_user xfrm_algo nft_counter
nft_meta nft_set_bitmap nft_set_hash nft_set_rbtree nf_tables_netdev
nf_tables_inet nf_tables_ipv6 nf_tables_ipv4 dm_cache_smq dm_cache
dm_bio_prison dm_persistent_data dm_bufio libcrc32c bcache raid0
x86_pkg_temp_thermal intel_powerclamp kvm_intel vhost_net raid1 tun vhost tap
kvm snd_hda_codec_realtek md_mod snd_hda_codec_generic snd_hda_codec_hdmi
irqbypass snd_hda_intel intel_cstate snd_hda_codec intel_uncore intel_rapl_perf
snd_hwdep efi_pstore snd_hda_core mei_me plusb usbnet snd_pcm input_leds
[   81.525693]  mei mii led_class efivars tpm_crb usbip_host usbip_core
efivarfs algif_skcipher af_alg mousedev joydev psmouse crct10dif_pclmul atkbd
crc32_pclmul libps2 pcspkr ghash_clmulni_intel shpchp thermal tpm_tis
tpm_tis_core fan tpm i8042 acpi_pad vfat fat
[   81.525702] CPU: 1 PID: 1407 Comm: rmmod Not tainted 4.15.0-1-rc #2
[   81.525702] Hardware name: Gigabyte Technology Co., Ltd.
Z170X-UD3/Z170X-UD3-CF, BIOS F23d 12/01/2017
[   81.525704] RIP: 0010:drm_mm_takedown+0x1b/0x20
[   81.525704] RSP: 0018:ffffbfce0297bd00 EFLAGS: 00010286
[   81.525705] RAX: 0000000000000000 RBX: ffffa261745a8a00 RCX:
0000000000000006
[   81.525705] RDX: 0000000000000007 RSI: 0000000000000092 RDI:
ffffa2619ec8cab0
[   81.525705] RBP: ffffa2615c712878 R08: 0000000000000001 R09:
0000000000000582
[   81.525706] R10: 0000000000000000 R11: 0000000000000000 R12:
ffffa261745a8ae0
[   81.525706] R13: 0000000000000000 R14: 0000000000000170 R15:
ffffffffc061b3e8
[   81.525706] FS:  00007ff958e5fb80(0000) GS:ffffa2619ec80000(0000)
knlGS:0000000000000000
[   81.525707] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   81.525707] CR2: 00007f2352182498 CR3: 000000045a47e001 CR4:
00000000003606e0
[   81.525707] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[   81.525708] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
0000000000000400
[   81.525708] Call Trace:
[   81.525728]  amdgpu_vram_mgr_fini+0x22/0x50 [amdgpu]
[   81.525736]  ttm_bo_clean_mm+0x9a/0xe0 [ttm]
[   81.525743]  amdgpu_ttm_fini+0xe1/0x1e0 [amdgpu]
[   81.525750]  amdgpu_bo_fini+0x9/0x30 [amdgpu]
[   81.525758]  gmc_v8_0_sw_fini+0x29/0x50 [amdgpu]
[   81.525764]  amdgpu_fini+0x1f3/0x2f0 [amdgpu]
[   81.525769]  amdgpu_device_fini+0x5f/0x1c0 [amdgpu]
[   81.525775]  amdgpu_driver_unload_kms+0x45/0x90 [amdgpu]
[   81.525777]  drm_dev_unregister+0x37/0xe0
[   81.525782]  amdgpu_pci_remove+0x14/0x40 [amdgpu]
[   81.525784]  pci_device_remove+0x31/0xa0
[   81.525786]  device_release_driver_internal+0x152/0x210
[   81.525787]  driver_detach+0x32/0x70
[   81.525788]  bus_remove_driver+0x4c/0xc0
[   81.525789]  pci_unregister_driver+0x25/0xa0
[   81.525798]  amdgpu_exit+0x11/0x3b6 [amdgpu]
[   81.525800]  SyS_delete_module+0x19c/0x2a0
[   81.525802]  do_syscall_64+0x48/0xe0
[   81.525804]  entry_SYSCALL64_slow_path+0x25/0x25
[   81.525804] RIP: 0033:0x7ff95856cb87
[   81.525805] RSP: 002b:00007ffc64d76928 EFLAGS: 00000206 ORIG_RAX:
00000000000000b0
[   81.525805] RAX: ffffffffffffffda RBX: 0000000000000000 RCX:
00007ff95856cb87
[   81.525806] RDX: 000000000000000a RSI: 0000000000000800 RDI:
0000000001ce88a8
[   81.525806] RBP: 0000000001ce8840 R08: 00007ffc64d758a1 R09:
0000000000000000
[   81.525806] R10: 00000000000008b2 R11: 0000000000000206 R12:
00007ffc64d78750
[   81.525807] R13: 0000000000000000 R14: 0000000001ce8840 R15:
0000000001ce8260
[   81.525807] Code: fe ff ff 48 89 31 e9 f7 fe ff ff 0f 1f 44 00 00 48 8b 47
38 48 83 c7 38 48 39 c7 75 02 f3 c3 48 c7 c7 70 f6 c2 8b e8 35 a4 b7 ff <0f> ff
c3 66 90 41 57 41 56 49 89 f6 41 55 41 54 49 89 fd 55 53 
[   81.525820] ---[ end trace 6ae74b00c25ed621 ]---
[   81.525823] [TTM] Finalizing pool allocator
[   81.525824] [TTM] Finalizing DMA pool allocator
[   81.525827] BUG: scheduling while atomic: rmmod/1407/0x00000000
[   81.525827] Modules linked in: amdgpu(-) chash ttm cls_u32 sch_htb af_packet
nft_limit nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nf_log_ipv6
nf_log_ipv4 nf_log_common nf_conntrack_ipv6 nf_defrag_ipv6 nf_conntrack_ipv4
nf_defrag_ipv4 nft_log nft_ct nf_conntrack xfrm_user xfrm_algo nft_counter
nft_meta nft_set_bitmap nft_set_hash nft_set_rbtree nf_tables_netdev
nf_tables_inet nf_tables_ipv6 nf_tables_ipv4 dm_cache_smq dm_cache
dm_bio_prison dm_persistent_data dm_bufio libcrc32c bcache raid0
x86_pkg_temp_thermal intel_powerclamp kvm_intel vhost_net raid1 tun vhost tap
kvm snd_hda_codec_realtek md_mod snd_hda_codec_generic snd_hda_codec_hdmi
irqbypass snd_hda_intel intel_cstate snd_hda_codec intel_uncore intel_rapl_perf
snd_hwdep efi_pstore snd_hda_core mei_me plusb usbnet snd_pcm input_leds
[   81.525840]  mei mii led_class efivars tpm_crb usbip_host usbip_core
efivarfs algif_skcipher af_alg mousedev joydev psmouse crct10dif_pclmul atkbd
crc32_pclmul libps2 pcspkr ghash_clmulni_intel shpchp thermal tpm_tis
tpm_tis_core fan tpm i8042 acpi_pad vfat fat
[   81.525846] CPU: 1 PID: 1407 Comm: rmmod Tainted: G        W       
4.15.0-1-rc #2
[   81.525846] Hardware name: Gigabyte Technology Co., Ltd.
Z170X-UD3/Z170X-UD3-CF, BIOS F23d 12/01/2017
[   81.525846] Call Trace:
[   81.525848]  dump_stack+0x46/0x65
[   81.525850]  __schedule_bug+0x47/0x60
[   81.525851]  __schedule+0x531/0x6d0
[   81.525852]  ? enqueue_entity+0x149/0x820
[   81.525853]  schedule+0x2a/0x80
[   81.525854]  schedule_timeout+0x1ef/0x2b0
[   81.525855]  wait_for_common+0x11c/0x1d0
[   81.525856]  ? wake_up_q+0x70/0x70
[   81.525857]  kthread_stop+0x38/0x60
[   81.525858]  destroy_workqueue+0x114/0x180
[   81.525860]  ttm_mem_global_release+0x21/0x80 [ttm]
[   81.525861]  drm_global_item_unref+0x3f/0x60
[   81.525867]  amdgpu_ttm_fini+0x179/0x1e0 [amdgpu]
[   81.525874]  amdgpu_bo_fini+0x9/0x30 [amdgpu]
[   81.525882]  gmc_v8_0_sw_fini+0x29/0x50 [amdgpu]
[   81.525887]  amdgpu_fini+0x1f3/0x2f0 [amdgpu]
[   81.525893]  amdgpu_device_fini+0x5f/0x1c0 [amdgpu]
[   81.525899]  amdgpu_driver_unload_kms+0x45/0x90 [amdgpu]
[   81.525900]  drm_dev_unregister+0x37/0xe0
[   81.525905]  amdgpu_pci_remove+0x14/0x40 [amdgpu]
[   81.525906]  pci_device_remove+0x31/0xa0
[   81.525908]  device_release_driver_internal+0x152/0x210
[   81.525909]  driver_detach+0x32/0x70
[   81.525910]  bus_remove_driver+0x4c/0xc0
[   81.525911]  pci_unregister_driver+0x25/0xa0
[   81.525920]  amdgpu_exit+0x11/0x3b6 [amdgpu]
[   81.525921]  SyS_delete_module+0x19c/0x2a0
[   81.525922]  do_syscall_64+0x48/0xe0
[   81.525923]  entry_SYSCALL64_slow_path+0x25/0x25
[   81.525923] RIP: 0033:0x7ff95856cb87
[   81.525923] RSP: 002b:00007ffc64d76928 EFLAGS: 00000206 ORIG_RAX:
00000000000000b0
[   81.525924] RAX: ffffffffffffffda RBX: 0000000000000000 RCX:
00007ff95856cb87
[   81.525924] RDX: 000000000000000a RSI: 0000000000000800 RDI:
0000000001ce88a8
[   81.525925] RBP: 0000000001ce8840 R08: 00007ffc64d758a1 R09:
0000000000000000
[   81.525925] R10: 00000000000008b2 R11: 0000000000000206 R12:
00007ffc64d78750
[   81.525925] R13: 0000000000000000 R14: 0000000001ce8840 R15:
0000000001ce8260
[   81.525931] [TTM] Zone  kernel: Used memory at exit: 12 kiB
[   81.525931] [TTM] Zone   dma32: Used memory at exit: 12 kiB
[   81.525932] [drm] amdgpu: ttm finalized



but it does not load again properly:




[  189.453963] LoadPin: kernel-module pinning-ignored
obj="/usr/lib/modules/4.15.0-1-rc/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko"
pid=1592 cmdline="modprobe amdgpu dc=0 disp_priority=1"
[  189.777294] [drm] amdgpu kernel modesetting enabled.
[  189.777564] [drm] initializing kernel modesetting (POLARIS11 0x1002:0x67EF
0x1462:0x809D 0xCF).
[  189.777579] [drm] register mmio base: 0xEFE00000
[  189.777579] [drm] register mmio size: 262144
[  189.777591] [drm] probing gen 2 caps for device 8086:1901 = 261ad03/e
[  189.777592] [drm] probing mlw for device 8086:1901 = 261ad03
[  189.777598] [drm] UVD is enabled in VM mode
[  189.777598] [drm] UVD ENC is enabled in VM mode
[  189.777600] [drm] VCE enabled in VM mode
[  189.777614] ATOM BIOS: 113-C99401-S01
[  189.777620] [drm] GPU post is not needed
[  189.777684] [drm] vm size is 64 GB, block size is 13-bit, fragment size is
9-bit
[  189.777696] LoadPin: firmware pinning-ignored
obj="/usr/lib/firmware/amdgpu/polaris11_mc.bin" pid=1592 cmdline="modprobe
amdgpu dc=0 disp_priority=1"
[  189.777716] amdgpu 0000:01:00.0: VRAM: 2048M 0x000000F400000000 -
0x000000F47FFFFFFF (2048M used)
[  189.777717] amdgpu 0000:01:00.0: GTT: 256M 0x0000000000000000 -
0x000000000FFFFFFF
[  189.777719] [drm] Detected VRAM RAM=2048M, BAR=256M
[  189.777720] [drm] RAM width 128bits GDDR5
[  189.777774] [TTM] Zone  kernel: Available graphics memory: 8082548 kiB
[  189.777775] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
[  189.777775] [TTM] Initializing pool allocator
[  189.777777] [TTM] Initializing DMA pool allocator
[  189.777786] [drm] amdgpu: 2048M of VRAM memory ready
[  189.777786] [drm] amdgpu: 3072M of GTT memory ready.
[  189.777793] [drm] GART: num cpu pages 65536, num gpu pages 65536
[  189.777846] [drm] PCIE GART of 256M enabled (table at 0x000000F400040000).
[  189.777889] amdgpu 0000:01:00.0: amdgpu: using MSI.
[  189.777890] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[  189.777890] [drm] Driver supports precise vblank timestamp query.
[  189.777907] [drm] amdgpu: irq initialized.
[  189.777921] amdgpu: [powerplay] amdgpu: powerplay sw initialized
[  189.777990] [drm] AMDGPU Display Connectors
[  189.777990] [drm] Connector 0:
[  189.777990] [drm]   DP-2
[  189.777990] [drm]   HPD5
[  189.777991] [drm]   DDC: 0x4868 0x4868 0x4869 0x4869 0x486a 0x486a 0x486b
0x486b
[  189.777991] [drm]   Encoders:
[  189.777991] [drm]     DFP1: INTERNAL_UNIPHY1
[  189.777992] [drm] Connector 1:
[  189.777992] [drm]   HDMI-A-4
[  189.777992] [drm]   HPD3
[  189.777993] [drm]   DDC: 0x4874 0x4874 0x4875 0x4875 0x4876 0x4876 0x4877
0x4877
[  189.777993] [drm]   Encoders:
[  189.777993] [drm]     DFP2: INTERNAL_UNIPHY1
[  189.777993] [drm] Connector 2:
[  189.777993] [drm]   DVI-D-1
[  189.777994] [drm]   HPD4
[  189.777994] [drm]   DDC: 0x4878 0x4878 0x4879 0x4879 0x487a 0x487a 0x487b
0x487b
[  189.777994] [drm]   Encoders:
[  189.777995] [drm]     DFP3: INTERNAL_UNIPHY
[  189.778005] LoadPin: firmware pinning-ignored
obj="/usr/lib/firmware/amdgpu/polaris11_pfp_2.bin" pid=1592 cmdline="modprobe
amdgpu dc=0 disp_priority=1"
[  189.778019] LoadPin: firmware pinning-ignored
obj="/usr/lib/firmware/amdgpu/polaris11_me_2.bin" pid=1592 cmdline="modprobe
amdgpu dc=0 disp_priority=1"
[  189.778026] LoadPin: firmware pinning-ignored
obj="/usr/lib/firmware/amdgpu/polaris11_ce_2.bin" pid=1592 cmdline="modprobe
amdgpu dc=0 disp_priority=1"
[  189.778146] [drm] Chained IB support enabled!
[  189.778152] LoadPin: firmware pinning-ignored
obj="/usr/lib/firmware/amdgpu/polaris11_rlc.bin" pid=1592 cmdline="modprobe
amdgpu dc=0 disp_priority=1"
[  189.778176] LoadPin: firmware pinning-ignored
obj="/usr/lib/firmware/amdgpu/polaris11_mec_2.bin" pid=1592 cmdline="modprobe
amdgpu dc=0 disp_priority=1"
[  189.778326] LoadPin: firmware pinning-ignored
obj="/usr/lib/firmware/amdgpu/polaris11_mec2_2.bin" pid=1592 cmdline="modprobe
amdgpu dc=0 disp_priority=1"
[  189.778966] amdgpu 0000:01:00.0: fence driver on ring 0 use gpu addr
0x0000000000400040, cpu addr 0x00000000456538e8
[  189.779035] amdgpu 0000:01:00.0: fence driver on ring 1 use gpu addr
0x00000000004000c0, cpu addr 0x0000000087651bf6
[  189.779057] amdgpu 0000:01:00.0: fence driver on ring 2 use gpu addr
0x0000000000400140, cpu addr 0x00000000680696bd
[  189.779077] amdgpu 0000:01:00.0: fence driver on ring 3 use gpu addr
0x00000000004001c0, cpu addr 0x00000000c26caa62
[  189.779092] amdgpu 0000:01:00.0: fence driver on ring 4 use gpu addr
0x0000000000400240, cpu addr 0x0000000053481efe
[  189.779109] amdgpu 0000:01:00.0: fence driver on ring 5 use gpu addr
0x00000000004002c0, cpu addr 0x00000000582def0e
[  189.779125] amdgpu 0000:01:00.0: fence driver on ring 6 use gpu addr
0x0000000000400340, cpu addr 0x0000000093e310d1
[  189.779140] amdgpu 0000:01:00.0: fence driver on ring 7 use gpu addr
0x00000000004003c0, cpu addr 0x00000000e9eccf7c
[  189.779153] amdgpu 0000:01:00.0: fence driver on ring 8 use gpu addr
0x0000000000400440, cpu addr 0x00000000b4fa868a
[  189.779166] amdgpu 0000:01:00.0: fence driver on ring 9 use gpu addr
0x00000000004004e0, cpu addr 0x00000000439981f7
[  189.779421] LoadPin: firmware pinning-ignored
obj="/usr/lib/firmware/amdgpu/polaris11_sdma.bin" pid=1592 cmdline="modprobe
amdgpu dc=0 disp_priority=1"
[  189.779435] LoadPin: firmware pinning-ignored
obj="/usr/lib/firmware/amdgpu/polaris11_sdma1.bin" pid=1592 cmdline="modprobe
amdgpu dc=0 disp_priority=1"
[  189.779721] amdgpu 0000:01:00.0: fence driver on ring 10 use gpu addr
0x0000000000400560, cpu addr 0x00000000c76a4e3d
[  189.779786] amdgpu 0000:01:00.0: fence driver on ring 11 use gpu addr
0x00000000004005e0, cpu addr 0x00000000a47d905e
[  189.779809] LoadPin: firmware pinning-ignored
obj="/usr/lib/firmware/amdgpu/polaris11_uvd.bin" pid=1592 cmdline="modprobe
amdgpu dc=0 disp_priority=1"
[  189.779867] [drm] Found UVD firmware Version: 1.79 Family ID: 16
[  189.780944] amdgpu 0000:01:00.0: fence driver on ring 12 use gpu addr
0x000000f4001e6420, cpu addr 0x000000004fdb73f3
[  189.782125] amdgpu 0000:01:00.0: fence driver on ring 13 use gpu addr
0x00000000004006e0, cpu addr 0x0000000077cfc94d
[  189.782161] amdgpu 0000:01:00.0: fence driver on ring 14 use gpu addr
0x0000000000400760, cpu addr 0x000000002b4b50a7
[  189.782172] LoadPin: firmware pinning-ignored
obj="/usr/lib/firmware/amdgpu/polaris11_vce.bin" pid=1592 cmdline="modprobe
amdgpu dc=0 disp_priority=1"
[  189.782215] [drm] Found VCE firmware Version: 52.4 Binary ID: 3
[  189.782543] amdgpu 0000:01:00.0: fence driver on ring 15 use gpu addr
0x00000000004007e0, cpu addr 0x00000000110798ab
[  189.782697] amdgpu 0000:01:00.0: fence driver on ring 16 use gpu addr
0x0000000000400860, cpu addr 0x000000005d049f27
[  189.789375] amdgpu: [powerplay] 
[  189.789392] amdgpu: [powerplay] 
[  189.794892] [drm] ring test on 0 succeeded in 18 usecs
[  189.986988] [drm:gfx_v8_0_kiq_resume [amdgpu]] *ERROR* KCQ enable failed
(scratch(0xC040)=0xCAFEDEAD)
[  189.987006] [drm:amdgpu_device_init [amdgpu]] *ERROR* hw_init of IP block
<gfx_v8_0> failed -22
[  189.987007] amdgpu 0000:01:00.0: amdgpu_init failed
[  189.987438] amdgpu: [powerplay] 
[  189.987453] amdgpu: [powerplay] 
[  190.039125] [drm:dce_v11_0_set_pageflip_irq_state [amdgpu]] *ERROR* invalid
pageflip crtc 5
[  190.039145] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling
interrupt (-22)
[  190.039170] [drm:dce_v11_0_set_pageflip_irq_state [amdgpu]] *ERROR* invalid
pageflip crtc 5
[  190.039187] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling
interrupt (-22)
[  190.039210] [drm:dce_v11_0_set_pageflip_irq_state [amdgpu]] *ERROR* invalid
pageflip crtc 5
[  190.039227] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling
interrupt (-22)
[  190.039250] [drm:dce_v11_0_set_pageflip_irq_state [amdgpu]] *ERROR* invalid
pageflip crtc 5
[  190.039266] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling
interrupt (-22)
[  190.039289] [drm:dce_v11_0_set_pageflip_irq_state [amdgpu]] *ERROR* invalid
pageflip crtc 5
[  190.039305] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling
interrupt (-22)
[  190.039327] [drm:dce_v11_0_set_pageflip_irq_state [amdgpu]] *ERROR* invalid
pageflip crtc 5
[  190.039343] [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling
interrupt (-22)
[  190.039426] ------------[ cut here ]------------
[  190.039427] Memory manager not clean during takedown.
[  190.039435] WARNING: CPU: 1 PID: 1592 at drivers/gpu/drm/drm_mm.c:895
drm_mm_takedown+0x1b/0x20
[  190.039436] Modules linked in: amdgpu(+) chash ttm cls_u32 sch_htb af_packet
nft_limit nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nf_log_ipv6
nf_log_ipv4 nf_log_common nf_conntrack_ipv6 nf_defrag_ipv6 nf_conntrack_ipv4
nf_defrag_ipv4 nft_log nft_ct nf_conntrack xfrm_user xfrm_algo nft_counter
nft_meta nft_set_bitmap nft_set_hash nft_set_rbtree nf_tables_netdev
nf_tables_inet nf_tables_ipv6 nf_tables_ipv4 dm_cache_smq dm_cache
dm_bio_prison dm_persistent_data dm_bufio libcrc32c bcache raid0
x86_pkg_temp_thermal intel_powerclamp kvm_intel vhost_net raid1 tun vhost tap
kvm snd_hda_codec_realtek md_mod snd_hda_codec_generic snd_hda_codec_hdmi
irqbypass snd_hda_intel intel_cstate snd_hda_codec intel_uncore intel_rapl_perf
snd_hwdep efi_pstore snd_hda_core mei_me plusb usbnet snd_pcm input_leds
[  190.039455]  mei mii led_class efivars tpm_crb usbip_host usbip_core
efivarfs algif_skcipher af_alg mousedev joydev psmouse crct10dif_pclmul atkbd
crc32_pclmul libps2 pcspkr ghash_clmulni_intel shpchp thermal tpm_tis
tpm_tis_core fan tpm i8042 acpi_pad vfat fat [last unloaded: amdgpu]
[  190.039464] CPU: 1 PID: 1592 Comm: modprobe Tainted: G        W       
4.15.0-1-rc #2
[  190.039464] Hardware name: Gigabyte Technology Co., Ltd.
Z170X-UD3/Z170X-UD3-CF, BIOS F23d 12/01/2017
[  190.039465] RIP: 0010:drm_mm_takedown+0x1b/0x20
[  190.039466] RSP: 0018:ffffbfce024cf9f0 EFLAGS: 00010282
[  190.039466] RAX: 0000000000000000 RBX: ffffa2615a4bd400 RCX:
0000000000000006
[  190.039467] RDX: 0000000000000007 RSI: 0000000000000096 RDI:
ffffa2619ec8cab0
[  190.039467] RBP: ffffa26148082878 R08: 0000000000000001 R09:
0000000000000645
[  190.039467] R10: ffffbfce024cf998 R11: 0000000000000000 R12:
ffffa2615a4bd4e0
[  190.039468] R13: 0000000000000000 R14: 0000000000000170 R15:
ffffa26148082f28
[  190.039468] FS:  00007f164a557b80(0000) GS:ffffa2619ec80000(0000)
knlGS:0000000000000000
[  190.039469] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  190.039469] CR2: 000055c3a7a98510 CR3: 000000045adfc002 CR4:
00000000003606e0
[  190.039469] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[  190.039470] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
0000000000000400
[  190.039470] Call Trace:
[  190.039489]  amdgpu_vram_mgr_fini+0x22/0x50 [amdgpu]
[  190.039492]  ttm_bo_clean_mm+0x9a/0xe0 [ttm]
[  190.039508]  amdgpu_ttm_fini+0xe1/0x1e0 [amdgpu]
[  190.039524]  amdgpu_bo_fini+0x9/0x30 [amdgpu]
[  190.039540]  gmc_v8_0_sw_fini+0x29/0x50 [amdgpu]
[  190.039555]  amdgpu_fini+0x1f3/0x2f0 [amdgpu]
[  190.039569]  amdgpu_device_init+0xda2/0x14d0 [amdgpu]
[  190.039571]  ? kernfs_activate+0x5e/0x80
[  190.039572]  ? kernfs_add_one+0xdf/0x130
[  190.039586]  amdgpu_driver_load_kms+0x43/0x1a0 [amdgpu]
[  190.039588]  drm_dev_register+0x12a/0x1b0
[  190.039601]  amdgpu_pci_probe+0x104/0x140 [amdgpu]
[  190.039603]  pci_device_probe+0xc3/0x140
[  190.039605]  driver_probe_device+0x307/0x470
[  190.039607]  __driver_attach+0x98/0xe0
[  190.039608]  ? driver_probe_device+0x470/0x470
[  190.039609]  bus_for_each_dev+0x64/0xb0
[  190.039610]  bus_add_driver+0x1b8/0x260
[  190.039611]  ? 0xffffffffc084d000
[  190.039611]  driver_register+0x52/0xc0
[  190.039612]  ? 0xffffffffc084d000
[  190.039613]  do_one_initcall+0x46/0x180
[  190.039614]  do_init_module+0x51/0x1c9
[  190.039616]  load_module+0x23c4/0x2a30
[  190.039618]  ? SyS_finit_module+0xea/0x110
[  190.039619]  SyS_finit_module+0xea/0x110
[  190.039620]  do_syscall_64+0x48/0xe0
[  190.039622]  entry_SYSCALL64_slow_path+0x25/0x25
[  190.039622] RIP: 0033:0x7f1649c5ee29
[  190.039623] RSP: 002b:00007ffc877e3828 EFLAGS: 00000206 ORIG_RAX:
0000000000000139
[  190.039623] RAX: ffffffffffffffda RBX: 000000000192bbc0 RCX:
00007f1649c5ee29
[  190.039624] RDX: 0000000000000000 RSI: 000000000192c0a0 RDI:
0000000000000003
[  190.039624] RBP: 000000000192c0a0 R08: 0000000000000000 R09:
000000000000000f
[  190.039624] R10: 0000000000000003 R11: 0000000000000206 R12:
0000000000000000
[  190.039625] R13: 000000000192bc60 R14: 0000000000040000 R15:
000000000192b910
[  190.039625] Code: fe ff ff 48 89 31 e9 f7 fe ff ff 0f 1f 44 00 00 48 8b 47
38 48 83 c7 38 48 39 c7 75 02 f3 c3 48 c7 c7 70 f6 c2 8b e8 35 a4 b7 ff <0f> ff
c3 66 90 41 57 41 56 49 89 f6 41 55 41 54 49 89 fd 55 53 
[  190.039638] ---[ end trace 6ae74b00c25ed622 ]---
[  190.039641] [TTM] Finalizing pool allocator
[  190.039642] [TTM] Finalizing DMA pool allocator
[  190.039646] BUG: scheduling while atomic: modprobe/1592/0x00000000
[  190.039646] Modules linked in: amdgpu(+) chash ttm cls_u32 sch_htb af_packet
nft_limit nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nf_log_ipv6
nf_log_ipv4 nf_log_common nf_conntrack_ipv6 nf_defrag_ipv6 nf_conntrack_ipv4
nf_defrag_ipv4 nft_log nft_ct nf_conntrack xfrm_user xfrm_algo nft_counter
nft_meta nft_set_bitmap nft_set_hash nft_set_rbtree nf_tables_netdev
nf_tables_inet nf_tables_ipv6 nf_tables_ipv4 dm_cache_smq dm_cache
dm_bio_prison dm_persistent_data dm_bufio libcrc32c bcache raid0
x86_pkg_temp_thermal intel_powerclamp kvm_intel vhost_net raid1 tun vhost tap
kvm snd_hda_codec_realtek md_mod snd_hda_codec_generic snd_hda_codec_hdmi
irqbypass snd_hda_intel intel_cstate snd_hda_codec intel_uncore intel_rapl_perf
snd_hwdep efi_pstore snd_hda_core mei_me plusb usbnet snd_pcm input_leds
[  190.039663]  mei mii led_class efivars tpm_crb usbip_host usbip_core
efivarfs algif_skcipher af_alg mousedev joydev psmouse crct10dif_pclmul atkbd
crc32_pclmul libps2 pcspkr ghash_clmulni_intel shpchp thermal tpm_tis
tpm_tis_core fan tpm i8042 acpi_pad vfat fat [last unloaded: amdgpu]
[  190.039672] CPU: 1 PID: 1592 Comm: modprobe Tainted: G        W       
4.15.0-1-rc #2
[  190.039673] Hardware name: Gigabyte Technology Co., Ltd.
Z170X-UD3/Z170X-UD3-CF, BIOS F23d 12/01/2017
[  190.039673] Call Trace:
[  190.039675]  dump_stack+0x46/0x65
[  190.039677]  __schedule_bug+0x47/0x60
[  190.039677]  __schedule+0x531/0x6d0
[  190.039679]  ? enqueue_entity+0x149/0x820
[  190.039680]  ? sched_clock_cpu+0xc/0xc0
[  190.039680]  schedule+0x2a/0x80
[  190.039681]  schedule_timeout+0x1ef/0x2b0
[  190.039682]  wait_for_common+0x11c/0x1d0
[  190.039683]  ? wake_up_q+0x70/0x70
[  190.039684]  kthread_stop+0x38/0x60
[  190.039685]  destroy_workqueue+0x114/0x180
[  190.039687]  ttm_mem_global_release+0x21/0x80 [ttm]
[  190.039688]  drm_global_item_unref+0x3f/0x60
[  190.039703]  amdgpu_ttm_fini+0x179/0x1e0 [amdgpu]
[  190.039718]  amdgpu_bo_fini+0x9/0x30 [amdgpu]
[  190.039735]  gmc_v8_0_sw_fini+0x29/0x50 [amdgpu]
[  190.039749]  amdgpu_fini+0x1f3/0x2f0 [amdgpu]
[  190.039763]  amdgpu_device_init+0xda2/0x14d0 [amdgpu]
[  190.039764]  ? kernfs_activate+0x5e/0x80
[  190.039765]  ? kernfs_add_one+0xdf/0x130
[  190.039779]  amdgpu_driver_load_kms+0x43/0x1a0 [amdgpu]
[  190.039780]  drm_dev_register+0x12a/0x1b0
[  190.039793]  amdgpu_pci_probe+0x104/0x140 [amdgpu]
[  190.039794]  pci_device_probe+0xc3/0x140
[  190.039795]  driver_probe_device+0x307/0x470
[  190.039796]  __driver_attach+0x98/0xe0
[  190.039797]  ? driver_probe_device+0x470/0x470
[  190.039798]  bus_for_each_dev+0x64/0xb0
[  190.039800]  bus_add_driver+0x1b8/0x260
[  190.039800]  ? 0xffffffffc084d000
[  190.039801]  driver_register+0x52/0xc0
[  190.039801]  ? 0xffffffffc084d000
[  190.039802]  do_one_initcall+0x46/0x180
[  190.039802]  do_init_module+0x51/0x1c9
[  190.039804]  load_module+0x23c4/0x2a30
[  190.039805]  ? SyS_finit_module+0xea/0x110
[  190.039806]  SyS_finit_module+0xea/0x110
[  190.039807]  do_syscall_64+0x48/0xe0
[  190.039808]  entry_SYSCALL64_slow_path+0x25/0x25
[  190.039809] RIP: 0033:0x7f1649c5ee29
[  190.039809] RSP: 002b:00007ffc877e3828 EFLAGS: 00000206 ORIG_RAX:
0000000000000139
[  190.039810] RAX: ffffffffffffffda RBX: 000000000192bbc0 RCX:
00007f1649c5ee29
[  190.039810] RDX: 0000000000000000 RSI: 000000000192c0a0 RDI:
0000000000000003
[  190.039810] RBP: 000000000192c0a0 R08: 0000000000000000 R09:
000000000000000f
[  190.039811] R10: 0000000000000003 R11: 0000000000000206 R12:
0000000000000000
[  190.039811] R13: 000000000192bc60 R14: 0000000000040000 R15:
000000000192b910
[  190.039821] [TTM] Zone  kernel: Used memory at exit: 12 kiB
[  190.039822] [TTM] Zone   dma32: Used memory at exit: 12 kiB
[  190.039823] [drm] amdgpu: ttm finalized
[  190.039827] amdgpu 0000:01:00.0: Fatal error during GPU init
[  190.039829] [drm] amdgpu: finishing device.
[  190.039829] [TTM] Memory type 2 has not been initialized

[  190.040053] amdgpu: probe of 0000:01:00.0 failed with error -22


You are receiving this mail because:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux