[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 # 15 on bug 104274 from
Seems to be much better or completly (well almost, bug 106820) 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 ]---


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