<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Unable to cleanly unload kernel module: BUG: unable to handle kernel NULL pointer dereference at 0000000000000258 (mutex_lock)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=104274#c15">Comment # 15</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Unable to cleanly unload kernel module: BUG: unable to handle kernel NULL pointer dereference at 0000000000000258 (mutex_lock)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=104274">bug 104274</a>
from <span class="vcard"><a class="email" href="mailto:sverd.johnsen@googlemail.com" title="Sverd Johnsen <sverd.johnsen@googlemail.com>"> <span class="fn">Sverd Johnsen</span></a>
</span></b>
<pre>Seems to be much better or completly (well almost, <a class="bz_bug_link
bz_status_NEW "
title="NEW - 4.17.0 BUG: unable to handle kernel paging request at 00000000bfbfbf08 sysfs_kf_seq_show"
href="show_bug.cgi?id=106820">bug 106820</a>) solved with 4.17
according to my preliminary tests. Still a problem in 4.16:
[16981.789980] [drm] amdgpu: finishing device.
[16981.901013] BUG: unable to handle kernel NULL pointer dereference at
0000000000000000
[16981.901017] IP: (null)
[16981.901018] PGD 0 P4D 0
[16981.901020] Oops: 0010 [#1] PREEMPT SMP PTI
[16981.901022] Modules linked in: amdgpu(-) chash gpu_sched ttm fuse af_packet
macvtap macvlan bonding nft_reject_inet nf_reject_ipv4 nf_reject_ipv6
nft_reject nft_nat nft_chain_nat_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv6
nf_log_ipv4 nf_log_common nft_log nf_conntrack_ipv6 nf_defrag_ipv6
nf_conntrack_ipv4 nf_defrag_ipv4 nft_ct nf_conntrack xfrm_user xfrm_algo
nft_counter nft_meta nft_set_bitmap nft_set_hash nft_set_rbtree cls_u32
nf_tables_inet sch_htb raid0 intel_pmc_core x86_pkg_temp_thermal
intel_powerclamp kvm_intel vhost_net tun vhost tap kvm snd_hda_codec_realtek
bcache snd_hda_codec_generic intel_cstate intel_uncore snd_hda_codec_hdmi
efi_pstore md_mod snd_hda_intel snd_hda_codec intel_rapl_perf efivars snd_hwdep
snd_hda_core mei_me mei plusb snd_pcm input_leds usbnet mii led_class tpm_crb
binfmt_misc
[16981.901045] crypto_user efivarfs algif_skcipher af_alg mousedev joydev
psmouse atkbd libps2 tpm_tis crct10dif_pclmul tpm_tis_core crc32_pclmul tpm
ghash_clmulni_intel pcspkr rng_core shpchp thermal fan i8042 acpi_pad vfio_pci
irqbypass vfio_virqfd vfio_iommu_type1 vfio
[16981.901055] CPU: 1 PID: 23604 Comm: rmmod Not tainted 4.16.12-5-ph #2
[16981.901056] Hardware name: Gigabyte Technology Co., Ltd.
Z170X-UD3/Z170X-UD3-CF, BIOS F23d 12/01/2017
[16981.901056] RIP: 0010: (null)
[16981.901057] RSP: 0018:ffffb8ac03083d08 EFLAGS: 00010286
[16981.901058] RAX: 0000000000000000 RBX: ffffa16af8c39f00 RCX:
000000018020000e
[16981.901059] RDX: 000000018020000f RSI: 0000000000005c02 RDI:
ffffa16cc19a8240
[16981.901060] RBP: ffffa16c51c42290 R08: 0000000000000001 R09:
ffffa16d0cc01900
[16981.901061] R10: ffffa16b845ef300 R11: ffffe4b3ca133420 R12:
ffffa16b89eb4400
[16981.901061] R13: 0000000000000040 R14: ffffffffc09aaf68 R15:
dead000000000100
[16981.901062] FS: 00007f3733f98b80(0000) GS:ffffa16d1ec80000(0000)
knlGS:0000000000000000
[16981.901063] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16981.901064] CR2: 0000000000000000 CR3: 00000003df3de006 CR4:
00000000003606e0
[16981.901065] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[16981.901066] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
0000000000000400
[16981.901066] Call Trace:
[16981.901087] ? destroy+0x23/0xb0 [amdgpu]
[16981.901100] ? dal_i2caux_destruct+0x6a/0xb0 [amdgpu]
[16981.901113] ? destroy+0x10/0x30 [amdgpu]
[16981.901126] ? dal_i2caux_destroy+0x1d/0x30 [amdgpu]
[16981.901137] ? destruct+0x8e/0x110 [amdgpu]
[16981.901148] ? dc_destroy+0xc/0x20 [amdgpu]
[16981.901162] ? dm_hw_fini+0x19/0x20 [amdgpu]
[16981.901173] ? amdgpu_device_ip_fini+0xef/0x30a [amdgpu]
[16981.901184] ? amdgpu_device_fini+0x68/0x177 [amdgpu]
[16981.901191] ? amdgpu_driver_unload_kms+0x3d/0x90 [amdgpu]
[16981.901193] ? drm_dev_unregister+0x3a/0xf0
[16981.901201] ? amdgpu_pci_remove+0x14/0x40 [amdgpu]
[16981.901203] ? pci_device_remove+0x36/0xb0
[16981.901205] ? device_release_driver_internal+0x155/0x220
[16981.901206] ? driver_detach+0x32/0x63
[16981.901208] ? bus_remove_driver+0x6f/0xd0
[16981.901209] ? pci_unregister_driver+0x38/0x90
[16981.901220] ? amdgpu_exit+0x11/0x1029 [amdgpu]
[16981.901222] ? SyS_delete_module+0x17f/0x240
[16981.901223] ? do_syscall_64+0x5b/0x100
[16981.901226] ? entry_SYSCALL_64_after_hwframe+0x3d/0xa2
[16981.901226] Code: Bad RIP value.
[16981.901230] RIP: (null) RSP: ffffb8ac03083d08
[16981.901230] CR2: 0000000000000000
[16981.901232] ---[ end trace f3ff8fc93836e132 ]---</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>