From: bugzilla-daemon@freedesktop.org Subject: [Bug 104274] Unable to cleanly unload kernel module: BUG: unable to handle kernel NULL pointer dereference at 0000000000000258 (mutex_lock) Date: Thu, 05 Apr 2018 13:12:28 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1339081982==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id D93126E43F for ; Thu, 5 Apr 2018 13:12:28 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1339081982== Content-Type: multipart/alternative; boundary="15229339483.DA51f.29833" Content-Transfer-Encoding: 7bit --15229339483.DA51f.29833 Date: Thu, 5 Apr 2018 13:12:28 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D104274 --- Comment #13 from Sverd Johnsen --- Still seen with 4.15.15 and dc=3D1. Not sure if this always reproduces or n= ot, havn't tested this in a while. [13342.285357] [drm] amdgpu: finishing device. [13342.288330] amdgpu: [powerplay]=20 failed to send message 30a ret is 254=20 [13342.288345] amdgpu: [powerplay]=20 failed to send pre message 26b ret is 254=20 [13342.369191] BUG: unable to handle kernel NULL pointer dereference at 0000000000000000 [13342.369193] IP: (null) [13342.369194] PGD 80000003eed8a067 P4D 80000003eed8a067 PUD 3f027a067 PMD = 0=20 [13342.369197] Oops: 0010 [#1] PREEMPT SMP PTI [13342.369198] Modules linked in: nfnetlink_log bluetooth ecdh_generic amdgpu(-) chash ttm af_packet macvtap macvlan bonding nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nf_log_ipv6 nf_log_ipv4 nf_log_com= mon 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_inet cls_u32 nf_tables_ipv6 nf_tables_ipv4 sch_htb dm_cache_smq dm_cache dm_bio_prison dm_persistent_da= ta dm_bufio libcrc32c raid0 x86_pkg_temp_thermal intel_powerclamp kvm_intel vhost_net tun vhost tap kvm md_mod snd_hda_codec_realtek snd_hda_codec_gene= ric snd_hda_codec_hdmi snd_hda_intel intel_cstate intel_uncore snd_hda_codec intel_rapl_perf efi_pstore snd_hwdep snd_hda_core mei_me plusb snd_pcm [13342.369219] input_leds usbnet mei led_class mii efivars tpm_crb crypto_= user efivarfs algif_skcipher af_alg joydev mousedev psmouse atkbd libps2 crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcspkr tpm_tis tpm_tis_co= re shpchp thermal fan tpm i8042 acpi_pad vfio_pci irqbypass vfio_virqfd vfio_iommu_type1 vfio [13342.369230] CPU: 1 PID: 18251 Comm: rmmod Not tainted 4.15.15-5-ph #2 [13342.369232] Hardware name: Gigabyte Technology Co., Ltd. Z170X-UD3/Z170X-UD3-CF, BIOS F23d 12/01/2017 [13342.369233] RIP: 0010: (null) [13342.369234] RSP: 0018:ffffb40e025e7d00 EFLAGS: 00010282 [13342.369235] RAX: 0000000000000000 RBX: ffff8ee9c9c1b420 RCX: 0000000180200011 [13342.369236] RDX: 0000000180200012 RSI: 0000000000005c02 RDI: ffff8ee989680f60 [13342.369236] RBP: ffff8ee9ac57da90 R08: 0000000000000001 R09: ffff8ee982daae00 [13342.369237] R10: ffff8ee9ccc01900 R11: 0000000000023610 R12: 0000000000000003 [13342.369238] R13: ffff8ee9ca032f18 R14: 0000000000000000 R15: 0000000000000000 [13342.369239] FS: 00007f738c970b80(0000) GS:ffff8ee9dec80000(0000) knlGS:0000000000000000 [13342.369240] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [13342.369241] CR2: 0000000000000000 CR3: 000000033ee74001 CR4: 00000000003606e0 [13342.369241] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [13342.369242] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [13342.369243] Call Trace: [13342.369258] ? destroy+0x23/0xb0 [amdgpu] [13342.369269] ? dal_i2caux_destruct+0x6a/0xb0 [amdgpu] [13342.369278] ? destroy+0x10/0x30 [amdgpu] [13342.369288] ? dal_i2caux_destroy+0x1d/0x30 [amdgpu] [13342.369297] ? destruct+0x89/0x110 [amdgpu] [13342.369306] ? dc_destroy+0xc/0x20 [amdgpu] [13342.369318] ? dm_hw_fini+0x19/0x20 [amdgpu] [13342.369323] ? amdgpu_fini+0x9c/0x310 [amdgpu] [13342.369329] ? amdgpu_device_fini+0x5f/0x1c0 [amdgpu] [13342.369334] ? amdgpu_driver_unload_kms+0x45/0x90 [amdgpu] [13342.369336] ? drm_dev_unregister+0x3a/0xe0 [13342.369341] ? amdgpu_pci_remove+0x14/0x40 [amdgpu] [13342.369344] ? pci_device_remove+0x36/0xb0 [13342.369346] ? device_release_driver_internal+0x155/0x220 [13342.369347] ? driver_detach+0x32/0x70 [13342.369349] ? bus_remove_driver+0x4c/0xc0 [13342.369350] ? pci_unregister_driver+0x24/0x90 [13342.369359] ? amdgpu_exit+0x11/0x3b6 [amdgpu] [13342.369361] ? SyS_delete_module+0x19d/0x230 [13342.369363] ? do_syscall_64+0x5b/0x100 [13342.369365] ? entry_SYSCALL_64_after_hwframe+0x3d/0xa2 [13342.369366] Code: Bad RIP value. [13342.369368] RIP: (null) RSP: ffffb40e025e7d00 [13342.369369] CR2: 0000000000000000 [13342.369370] ---[ end trace 9551ca9b94f5680d ]--- --=20 You are receiving this mail because: You are the assignee for the bug.= --15229339483.DA51f.29833 Date: Thu, 5 Apr 2018 13:12:28 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comme= nt # 13 on bug 10427= 4 from Sverd Johnsen
Still seen with 4.15.15 and dc=3D1. Not sure if this always re=
produces or not,
havn't tested this in a while.

[13342.285357] [drm] amdgpu: finishing device.
[13342.288330] amdgpu: [powerplay]=20
                failed to send message 30a ret is 254=20
[13342.288345] amdgpu: [powerplay]=20
                failed to send pre message 26b ret is 254=20
[13342.369191] BUG: unable to handle kernel NULL pointer dereference at
0000000000000000
[13342.369193] IP:           (null)
[13342.369194] PGD 80000003eed8a067 P4D 80000003eed8a067 PUD 3f027a067 PMD =
0=20
[13342.369197] Oops: 0010 [#1] PREEMPT SMP PTI
[13342.369198] Modules linked in: nfnetlink_log bluetooth ecdh_generic
amdgpu(-) chash ttm af_packet macvtap macvlan bonding nft_reject_inet
nf_reject_ipv4 nf_reject_ipv6 nft_reject nf_log_ipv6 nf_log_ipv4 nf_log_com=
mon
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_inet cls_u32 nf_tables_ipv6
nf_tables_ipv4 sch_htb dm_cache_smq dm_cache dm_bio_prison dm_persistent_da=
ta
dm_bufio libcrc32c raid0 x86_pkg_temp_thermal intel_powerclamp kvm_intel
vhost_net tun vhost tap kvm md_mod snd_hda_codec_realtek snd_hda_codec_gene=
ric
snd_hda_codec_hdmi snd_hda_intel intel_cstate intel_uncore snd_hda_codec
intel_rapl_perf efi_pstore snd_hwdep snd_hda_core mei_me plusb snd_pcm
[13342.369219]  input_leds usbnet mei led_class mii efivars tpm_crb crypto_=
user
efivarfs algif_skcipher af_alg joydev mousedev psmouse atkbd libps2
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcspkr tpm_tis tpm_tis_co=
re
shpchp thermal fan tpm i8042 acpi_pad vfio_pci irqbypass vfio_virqfd
vfio_iommu_type1 vfio
[13342.369230] CPU: 1 PID: 18251 Comm: rmmod Not tainted 4.15.15-5-ph #2
[13342.369232] Hardware name: Gigabyte Technology Co., Ltd.
Z170X-UD3/Z170X-UD3-CF, BIOS F23d 12/01/2017
[13342.369233] RIP: 0010:          (null)
[13342.369234] RSP: 0018:ffffb40e025e7d00 EFLAGS: 00010282
[13342.369235] RAX: 0000000000000000 RBX: ffff8ee9c9c1b420 RCX:
0000000180200011
[13342.369236] RDX: 0000000180200012 RSI: 0000000000005c02 RDI:
ffff8ee989680f60
[13342.369236] RBP: ffff8ee9ac57da90 R08: 0000000000000001 R09:
ffff8ee982daae00
[13342.369237] R10: ffff8ee9ccc01900 R11: 0000000000023610 R12:
0000000000000003
[13342.369238] R13: ffff8ee9ca032f18 R14: 0000000000000000 R15:
0000000000000000
[13342.369239] FS:  00007f738c970b80(0000) GS:ffff8ee9dec80000(0000)
knlGS:0000000000000000
[13342.369240] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[13342.369241] CR2: 0000000000000000 CR3: 000000033ee74001 CR4:
00000000003606e0
[13342.369241] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[13342.369242] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
0000000000000400
[13342.369243] Call Trace:
[13342.369258]  ? destroy+0x23/0xb0 [amdgpu]
[13342.369269]  ? dal_i2caux_destruct+0x6a/0xb0 [amdgpu]
[13342.369278]  ? destroy+0x10/0x30 [amdgpu]
[13342.369288]  ? dal_i2caux_destroy+0x1d/0x30 [amdgpu]
[13342.369297]  ? destruct+0x89/0x110 [amdgpu]
[13342.369306]  ? dc_destroy+0xc/0x20 [amdgpu]
[13342.369318]  ? dm_hw_fini+0x19/0x20 [amdgpu]
[13342.369323]  ? amdgpu_fini+0x9c/0x310 [amdgpu]
[13342.369329]  ? amdgpu_device_fini+0x5f/0x1c0 [amdgpu]
[13342.369334]  ? amdgpu_driver_unload_kms+0x45/0x90 [amdgpu]
[13342.369336]  ? drm_dev_unregister+0x3a/0xe0
[13342.369341]  ? amdgpu_pci_remove+0x14/0x40 [amdgpu]
[13342.369344]  ? pci_device_remove+0x36/0xb0
[13342.369346]  ? device_release_driver_internal+0x155/0x220
[13342.369347]  ? driver_detach+0x32/0x70
[13342.369349]  ? bus_remove_driver+0x4c/0xc0
[13342.369350]  ? pci_unregister_driver+0x24/0x90
[13342.369359]  ? amdgpu_exit+0x11/0x3b6 [amdgpu]
[13342.369361]  ? SyS_delete_module+0x19d/0x230
[13342.369363]  ? do_syscall_64+0x5b/0x100
[13342.369365]  ? entry_SYSCALL_64_after_hwframe+0x3d/0xa2
[13342.369366] Code:  Bad RIP value.
[13342.369368] RIP:           (null) RSP: ffffb40e025e7d00
[13342.369369] CR2: 0000000000000000
[13342.369370] ---[ end trace 9551ca9b94f5680d ]---


You are receiving this mail because:
  • You are the assignee for the bug.
= --15229339483.DA51f.29833-- --===============1339081982== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1339081982==--