From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 105684] Loading amdgpu hits general protection fault: 0000 [#1] SMP NOPTI Date: Fri, 11 May 2018 03:20:26 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1839896657==" 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 ED77D6E35F for ; Fri, 11 May 2018 03:20:26 +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 --===============1839896657== Content-Type: multipart/alternative; boundary="15260088264.daB1C70.26072" Content-Transfer-Encoding: 7bit --15260088264.daB1C70.26072 Date: Fri, 11 May 2018 03:20:26 +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=3D105684 --- Comment #24 from jian-hong@endlessm.com --- Created attachment 139485 --> https://bugs.freedesktop.org/attachment.cgi?id=3D139485&action=3Dedit dmesg of loading amdgpu module - tested in 4.17-rc4 I also tried Linux kernel 4.17-rc4 again. However, the system still hung up with the following error. The attachment is the full dmesg. [ 81.260098] [drm] use_doorbell being set to: [true] [ 81.270714] [drm] Found VCN firmware Version: 1.45 Family ID: 18 [ 81.435566] amdgpu: [powerplay] dpm has been enabled [ 81.435840] general protection fault: 0000 [#1] SMP NOPTI [ 81.435844] Modules linked in: amdkfd amd_iommu_v2 amdgpu(+) chash gpu_s= ched ttm drm_kms_helper drm i2c_algo_bit fb_sys_fops syscopyarea sysfillrect sysimgblt deflate efi_pstore cmac bnep arc4 edac_mce_amd kvm_amd ccp kvm bt= usb btrtl btbcm btintel bluetooth ecdh_generic input_leds irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc snd_hda_codec_realtek ath10k_pci aesni_intel snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_int= el aes_x86_64 ath10k_core ath r8169 sparse_keymap mii crypto_simd mac80211 cfg80211 wmi_bmof snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_timer cr= yptd snd glue_helper psmouse soundcore i2c_piix4 shpchp k10temp video wmi mac_hid zram ip_tables x_tables hid_generic serio_raw usbhid hid uas usb_storage ah= ci libahci [ 81.435919] CPU: 4 PID: 877 Comm: modprobe Not tainted 4.17.0-rc4+ #1 [ 81.435922] Hardware name: Acer Aspire TC-380/Aspire TC-380, BIOS D05 02/01/2018 [ 81.435932] RIP: 0010:prefetch_freepointer+0x14/0x30 [ 81.435936] RSP: 0018:ffff99ec83ee33d8 EFLAGS: 00010202 [ 81.435940] RAX: 0000000000000000 RBX: ffff88ad20ced800 RCX: 0000000000000fe4 [ 81.435943] RDX: 0000000000000fe3 RSI: 0d95bdbe4f99878a RDI: ffff88ad3f006e80 [ 81.435946] RBP: ffff99ec83ee33d8 R08: ffff88ad3f727160 R09: ffffffffc08abb4b [ 81.435950] R10: ffffc456df68a140 R11: 0000000000000001 R12: 00000000014080c0 [ 81.435953] R13: ffff88ad3f006e80 R14: ffff88ad20ced800 R15: ffff88ad3f006e80 [ 81.435957] FS: 00007f108441d700(0000) GS:ffff88ad3f700000(0000) knlGS:0000000000000000 [ 81.435961] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 81.435964] CR2: 00007f9eab130740 CR3: 00000007f66ac000 CR4: 00000000003406e0 [ 81.435968] Call Trace: [ 81.435976] kmem_cache_alloc_trace+0xbb/0x1d0 [ 81.436062] ? dal_ddc_service_create+0x3c/0x120 [amdgpu] [ 81.436139] dal_ddc_service_create+0x3c/0x120 [amdgpu] [ 81.436221] ? dal_gpio_service_create_irq+0x44/0x70 [amdgpu] [ 81.436296] construct+0x249/0x750 [amdgpu] [ 81.436373] link_create+0x38/0x60 [amdgpu] [ 81.436437] dc_create+0x2dd/0x670 [amdgpu] [ 81.436488] dm_hw_init+0xe8/0xe50 [amdgpu] [ 81.436493] ? vprintk_func+0x27/0x60 [ 81.436496] ? printk+0x52/0x6e [ 81.436537] amdgpu_device_init+0x13a4/0x1470 [amdgpu] [ 81.436579] amdgpu_driver_load_kms+0x8b/0x2c0 [amdgpu] [ 81.436594] drm_dev_register+0x146/0x1d0 [drm] [ 81.436635] amdgpu_pci_probe+0x13f/0x1f0 [amdgpu] [ 81.436641] local_pci_probe+0x45/0xa0 [ 81.436643] pci_device_probe+0x109/0x1b0 [ 81.436647] driver_probe_device+0x2b2/0x490 [ 81.436650] __driver_attach+0xdf/0xf0 [ 81.436652] ? driver_probe_device+0x490/0x490 [ 81.436656] bus_for_each_dev+0x64/0xb0 [ 81.436658] ? kmem_cache_alloc_trace+0x1bf/0x1d0 [ 81.436661] driver_attach+0x1e/0x20 [ 81.436663] bus_add_driver+0x170/0x260 [ 81.436665] driver_register+0x60/0xe0 [ 81.436668] ? 0xffffffffc09f0000 [ 81.436671] __pci_register_driver+0x5a/0x60 [ 81.436712] amdgpu_init+0x7a/0x89 [amdgpu] [ 81.436716] do_one_initcall+0x4f/0x1c4 [ 81.436719] ? __vunmap+0x81/0xb0 [ 81.436722] ? _cond_resched+0x1a/0x50 [ 81.436725] ? kmem_cache_alloc_trace+0xbb/0x1d0 [ 81.436728] ? do_init_module+0x27/0x219 [ 81.436731] do_init_module+0x5f/0x219 [ 81.436733] load_module+0x25b5/0x2dd0 [ 81.436737] __do_sys_finit_module+0xe5/0x120 [ 81.436739] ? __do_sys_finit_module+0xe5/0x120 [ 81.436742] __x64_sys_finit_module+0x1a/0x20 [ 81.436745] do_syscall_64+0x54/0x110 [ 81.436749] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 81.436751] RIP: 0033:0x7f1083f60229 [ 81.436753] RSP: 002b:00007ffeb5502ca8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 81.436756] RAX: ffffffffffffffda RBX: 0000559dfae99480 RCX: 00007f1083f60229 [ 81.436758] RDX: 0000000000000000 RSI: 0000559df9088638 RDI: 000000000000000d [ 81.436760] RBP: 0000559df9088638 R08: 0000000000000000 R09: 0000000000000000 [ 81.436762] R10: 000000000000000d R11: 0000000000000246 R12: 0000000000000000 [ 81.436764] R13: 0000559dfae995b0 R14: 0000000000040000 R15: 0000000000000000 [ 81.436767] Code: 58 30 b2 e8 72 f0 e9 ff eb 91 0f 1f 00 66 2e 0f 1f 84 = 00 00 00 00 00 0f 1f 44 00 00 55 48 85 f6 48 89 e5 74 13 8b 47 20 48 01 c6 <48= > 33 36 48 33 b7 38 01 00 00 0f 18 0e 5d c3 0f 1f 00 66 2e 0f=20 [ 81.436794] RIP: prefetch_freepointer+0x14/0x30 RSP: ffff99ec83ee33d8 [ 81.436797] ---[ end trace 7ba07fc735cbae7d ]--- --=20 You are receiving this mail because: You are the assignee for the bug.= --15260088264.daB1C70.26072 Date: Fri, 11 May 2018 03:20:26 +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 # 24 on bug 10568= 4 from jian-hong&= #64;endlessm.com
Created attachment 139485 [details]
dmesg of loading amdgpu module - tested in 4.17-rc4

I also tried Linux kernel 4.17-rc4 again.  However, the system still hung up
with the following error.  The attachment is the full dmesg.

[   81.260098] [drm] use_doorbell being set to: [true]
[   81.270714] [drm] Found VCN firmware Version: 1.45 Family ID: 18
[   81.435566] amdgpu: [powerplay] dpm has been enabled
[   81.435840] general protection fault: 0000 [#1] SMP NOPTI
[   81.435844] Modules linked in: amdkfd amd_iommu_v2 amdgpu(+) chash gpu_s=
ched
ttm drm_kms_helper drm i2c_algo_bit fb_sys_fops syscopyarea sysfillrect
sysimgblt deflate efi_pstore cmac bnep arc4 edac_mce_amd kvm_amd ccp kvm bt=
usb
btrtl btbcm btintel bluetooth ecdh_generic input_leds irqbypass
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc snd_hda_codec_realtek
ath10k_pci aesni_intel snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_int=
el
aes_x86_64 ath10k_core ath r8169 sparse_keymap mii crypto_simd mac80211
cfg80211 wmi_bmof snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_timer cr=
yptd
snd glue_helper psmouse soundcore i2c_piix4 shpchp k10temp video wmi mac_hid
zram ip_tables x_tables hid_generic serio_raw usbhid hid uas usb_storage ah=
ci
libahci
[   81.435919] CPU: 4 PID: 877 Comm: modprobe Not tainted 4.17.0-rc4+ #1
[   81.435922] Hardware name: Acer Aspire TC-380/Aspire TC-380, BIOS D05
02/01/2018
[   81.435932] RIP: 0010:prefetch_freepointer+0x14/0x30
[   81.435936] RSP: 0018:ffff99ec83ee33d8 EFLAGS: 00010202
[   81.435940] RAX: 0000000000000000 RBX: ffff88ad20ced800 RCX:
0000000000000fe4
[   81.435943] RDX: 0000000000000fe3 RSI: 0d95bdbe4f99878a RDI:
ffff88ad3f006e80
[   81.435946] RBP: ffff99ec83ee33d8 R08: ffff88ad3f727160 R09:
ffffffffc08abb4b
[   81.435950] R10: ffffc456df68a140 R11: 0000000000000001 R12:
00000000014080c0
[   81.435953] R13: ffff88ad3f006e80 R14: ffff88ad20ced800 R15:
ffff88ad3f006e80
[   81.435957] FS:  00007f108441d700(0000) GS:ffff88ad3f700000(0000)
knlGS:0000000000000000
[   81.435961] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   81.435964] CR2: 00007f9eab130740 CR3: 00000007f66ac000 CR4:
00000000003406e0
[   81.435968] Call Trace:
[   81.435976]  kmem_cache_alloc_trace+0xbb/0x1d0
[   81.436062]  ? dal_ddc_service_create+0x3c/0x120 [amdgpu]
[   81.436139]  dal_ddc_service_create+0x3c/0x120 [amdgpu]
[   81.436221]  ? dal_gpio_service_create_irq+0x44/0x70 [amdgpu]
[   81.436296]  construct+0x249/0x750 [amdgpu]
[   81.436373]  link_create+0x38/0x60 [amdgpu]
[   81.436437]  dc_create+0x2dd/0x670 [amdgpu]
[   81.436488]  dm_hw_init+0xe8/0xe50 [amdgpu]
[   81.436493]  ? vprintk_func+0x27/0x60
[   81.436496]  ? printk+0x52/0x6e
[   81.436537]  amdgpu_device_init+0x13a4/0x1470 [amdgpu]
[   81.436579]  amdgpu_driver_load_kms+0x8b/0x2c0 [amdgpu]
[   81.436594]  drm_dev_register+0x146/0x1d0 [drm]
[   81.436635]  amdgpu_pci_probe+0x13f/0x1f0 [amdgpu]
[   81.436641]  local_pci_probe+0x45/0xa0
[   81.436643]  pci_device_probe+0x109/0x1b0
[   81.436647]  driver_probe_device+0x2b2/0x490
[   81.436650]  __driver_attach+0xdf/0xf0
[   81.436652]  ? driver_probe_device+0x490/0x490
[   81.436656]  bus_for_each_dev+0x64/0xb0
[   81.436658]  ? kmem_cache_alloc_trace+0x1bf/0x1d0
[   81.436661]  driver_attach+0x1e/0x20
[   81.436663]  bus_add_driver+0x170/0x260
[   81.436665]  driver_register+0x60/0xe0
[   81.436668]  ? 0xffffffffc09f0000
[   81.436671]  __pci_register_driver+0x5a/0x60
[   81.436712]  amdgpu_init+0x7a/0x89 [amdgpu]
[   81.436716]  do_one_initcall+0x4f/0x1c4
[   81.436719]  ? __vunmap+0x81/0xb0
[   81.436722]  ? _cond_resched+0x1a/0x50
[   81.436725]  ? kmem_cache_alloc_trace+0xbb/0x1d0
[   81.436728]  ? do_init_module+0x27/0x219
[   81.436731]  do_init_module+0x5f/0x219
[   81.436733]  load_module+0x25b5/0x2dd0
[   81.436737]  __do_sys_finit_module+0xe5/0x120
[   81.436739]  ? __do_sys_finit_module+0xe5/0x120
[   81.436742]  __x64_sys_finit_module+0x1a/0x20
[   81.436745]  do_syscall_64+0x54/0x110
[   81.436749]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[   81.436751] RIP: 0033:0x7f1083f60229
[   81.436753] RSP: 002b:00007ffeb5502ca8 EFLAGS: 00000246 ORIG_RAX:
0000000000000139
[   81.436756] RAX: ffffffffffffffda RBX: 0000559dfae99480 RCX:
00007f1083f60229
[   81.436758] RDX: 0000000000000000 RSI: 0000559df9088638 RDI:
000000000000000d
[   81.436760] RBP: 0000559df9088638 R08: 0000000000000000 R09:
0000000000000000
[   81.436762] R10: 000000000000000d R11: 0000000000000246 R12:
0000000000000000
[   81.436764] R13: 0000559dfae995b0 R14: 0000000000040000 R15:
0000000000000000
[   81.436767] Code: 58 30 b2 e8 72 f0 e9 ff eb 91 0f 1f 00 66 2e 0f 1f 84 =
00
00 00 00 00 0f 1f 44 00 00 55 48 85 f6 48 89 e5 74 13 8b 47 20 48 01 c6 <=
;48> 33
36 48 33 b7 38 01 00 00 0f 18 0e 5d c3 0f 1f 00 66 2e 0f=20
[   81.436794] RIP: prefetch_freepointer+0x14/0x30 RSP: ffff99ec83ee33d8
[   81.436797] ---[ end trace 7ba07fc735cbae7d ]---


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