<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Loading amdgpu hits general protection fault: 0000 [#1] SMP NOPTI"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105684#c34">Comment # 34</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Loading amdgpu hits general protection fault: 0000 [#1] SMP NOPTI"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105684">bug 105684</a>
from <span class="vcard"><a class="email" href="mailto:pmenzel+bugs.freedesktop@molgen.mpg.de" title="Paul Menzel <pmenzel+bugs.freedesktop@molgen.mpg.de>"> <span class="fn">Paul Menzel</span></a>
</span></b>
<pre>Booting with `systemd.unit=multi-user.target`, that means GDM is not started,
amdgpu doesn’t crash.
[ 14.975926] [drm] Found VCN firmware Version: 1.73 Family ID: 18
[ 15.144612] amdgpu: [powerplay] dpm has been enabled
[ 15.150055] [drm] DM_PPLIB: values for Invalid clock
[ 15.155237] [drm] DM_PPLIB: 0 in kHz
[ 15.159053] [drm] DM_PPLIB: 400000 in kHz
[ 15.163319] [drm] DM_PPLIB: 933000 in kHz
[ 15.167552] [drm] DM_PPLIB: 1067000 in kHz
[ 15.171934] WARNING: CPU: 2 PID: 360 at
drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:1355
dcn_bw_update_from_pplib+0x16b/0x280 [amdgpu]
[ 15.185819] Modules linked in: edac_mce_amd kvm_amd nls_ascii ccp nls_cp437
amdkfd rng_core kvm vfat snd_hda_codec_realtek fat irqbypass amdgpu(+)
snd_hda_codec_hdmi snd_hda_codec_generic snd_hda_intel crct10dif_pclmul chash
snd_hda_codec i2c_algo_bit gpu_sched crc32_pclmul drm_kms_helper
ghash_clmulni_intel efi_pstore snd_hda_core uas syscopyarea snd_hwdep
sysfillrect sysimgblt fb_sys_fops snd_pcm snd_timer usb_storage ttm efivars
pcspkr sp5100_tco r8169 snd sg soundcore mii drm k10temp i2c_piix4 video button
efivarfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2
fscrypto dm_crypt dm_mod sd_mod evdev hid_generic usbhid hid crc32c_intel ahci
xhci_pci libahci aesni_intel aes_x86_64 xhci_hcd crypto_simd libata cryptd
glue_helper usbcore scsi_mod gpio_amdpt gpio_generic
[ 15.259960] CPU: 2 PID: 360 Comm: systemd-udevd Not tainted 4.18.0-rc5+ #3
[ 15.267349] Hardware name: MSI MS-7A37/B350M MORTAR (MS-7A37), BIOS 1.G1
05/17/2018
[ 15.275647] RIP: 0010:dcn_bw_update_from_pplib+0x16b/0x280 [amdgpu]
[ 15.282360] Code: d8 ca d8 f1 d9 5a 50 8b 44 fc 14 49 8b 94 24 70 01 00 00
48 89 04 24 df 2c 24 d8 f1 db 42 78 de c9 de ca de f9 d9 5a 4c eb 02 <0f> 0b 48
89 da be 04 00 00 00 48 89 ef e8 33 5a fe ff 84 c0 0f 84
[ 15.302582] RSP: 0018:ffffa6ce81fa77c8 EFLAGS: 00010246
[ 15.308188] RAX: 0000000000000001 RBX: ffffa6ce81fa7828 RCX:
0000000000000000
[ 15.315825] RDX: 0000000000000000 RSI: 0000000000000004 RDI:
ffff9530de896738
[ 15.323477] RBP: ffff9530c3014540 R08: 00000000000008d8 R09:
0000000000000000
[ 15.331106] R10: 0000000000000002 R11: 000000000000000f R12:
ffff9530c2f29000
[ 15.338734] R13: ffff9530ca9bb4c0 R14: ffff9530c2f29000 R15:
0000000000000000
[ 15.346383] FS: 00007fc5b86178c0(0000) GS:ffff9530de880000(0000)
knlGS:0000000000000000
[ 15.355050] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 15.361199] CR2: 00007fe4fb3affe8 CR3: 000000040b0de000 CR4:
00000000003406e0
[ 15.368848] Call Trace:
[ 15.371538] dcn10_create_resource_pool+0x75b/0x9a0 [amdgpu]
[ 15.377658] dc_create_resource_pool+0x42/0x180 [amdgpu]
[ 15.383360] ? __kmalloc+0x1b4/0x250
[ 15.387260] ? dal_gpio_service_create+0x8f/0x110 [amdgpu]
[ 15.393203] dc_create+0x228/0x650 [amdgpu]
[ 15.397734] ? amdgpu_cgs_create_device+0x23/0x50 [amdgpu]
[ 15.403662] dm_hw_init+0xc8/0x130 [amdgpu]
[ 15.408199] amdgpu_device_init.cold.28+0x10ea/0x1295 [amdgpu]
[ 15.414489] amdgpu_driver_load_kms+0x86/0x2c0 [amdgpu]
[ 15.420085] drm_dev_register+0x109/0x140 [drm]
[ 15.424990] amdgpu_pci_probe+0x13c/0x1c0 [amdgpu]
[ 15.430150] local_pci_probe+0x41/0x90
[ 15.434194] pci_device_probe+0x189/0x1a0
[ 15.438517] driver_probe_device+0x2b9/0x460
[ 15.443091] __driver_attach+0xdd/0x110
[ 15.447220] ? driver_probe_device+0x460/0x460
[ 15.451987] bus_for_each_dev+0x76/0xc0
[ 15.456116] ? klist_add_tail+0x3b/0x70
[ 15.460234] bus_add_driver+0x152/0x230
[ 15.464353] ? 0xffffffffc09cd000
[ 15.467905] driver_register+0x6b/0xb0
[ 15.471926] ? 0xffffffffc09cd000
[ 15.475484] do_one_initcall+0x46/0x1c3
[ 15.479588] ? kmem_cache_alloc_trace+0x183/0x1f0
[ 15.484654] ? do_init_module+0x22/0x210
[ 15.488885] do_init_module+0x5a/0x210
[ 15.492911] load_module+0x21c4/0x2410
[ 15.496935] ? vfs_read+0x110/0x140
[ 15.500678] ? __do_sys_finit_module+0xa8/0x110
[ 15.505534] __do_sys_finit_module+0xa8/0x110
[ 15.510196] do_syscall_64+0x55/0xe0
[ 15.514050] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 15.519450] RIP: 0033:0x7fc5b9674a79
[ 15.523286] Code: 00 f3 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89
f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01
f0 ff ff 73 01 c3 48 8b 0d df 43 0c 00 f7 d8 64 89 01 48
[ 15.543529] RSP: 002b:00007fffa4622ca8 EFLAGS: 00000246 ORIG_RAX:
0000000000000139
[ 15.551649] RAX: ffffffffffffffda RBX: 000055663e956cc0 RCX:
00007fc5b9674a79
[ 15.559309] RDX: 0000000000000000 RSI: 00007fc5b937c0ed RDI:
0000000000000018
[ 15.566963] RBP: 00007fc5b937c0ed R08: 0000000000000000 R09:
0000000000000000
[ 15.574611] R10: 0000000000000018 R11: 0000000000000246 R12:
0000000000000000
[ 15.582257] R13: 000055663e936990 R14: 0000000000020000 R15:
000055663e956cc0
[ 15.589979] WARNING: CPU: 2 PID: 360 at
drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:1355
dcn_bw_update_from_pplib+0x16b/0x280 [amdgpu]
[ 15.604311] ---[ end trace a12997ffe6f8dea6 ]---
[ 15.609258] [drm] DM_PPLIB: values for Invalid clock
[ 15.614633] [drm] DM_PPLIB: 300000 in kHz
[ 15.619072] [drm] DM_PPLIB: 600000 in kHz
[ 15.623518] [drm] DM_PPLIB: 626000 in kHz
[ 15.627989] [drm] DM_PPLIB: 654000 in kHz
[ 15.635929] [drm] Display Core initialized with v3.1.52!
[ 15.663219] [drm] SADs count is: -2, don't need to read it
[ 15.679318] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 15.686300] [drm] Driver supports precise vblank timestamp query.
[ 15.710275] [drm] VCN decode and encode initialized successfully.
[ 15.729477] [drm] fb mappable at 0xA1100000
[ 15.733926] [drm] vram apper at 0xA0000000
[ 15.738182] [drm] size 9216000
[ 15.741407] [drm] fb depth is 24
[ 15.744783] [drm] pitch is 7680
[ 15.748631] fbcon: amdgpudrmfb (fb0) is primary device
[ 15.770534] Console: switching to colour frame buffer device 240x75
[ 15.804032] amdgpu 0000:38:00.0: fb0: amdgpudrmfb frame buffer device
[ 15.830137] amdgpu 0000:38:00.0: ring 0(gfx) uses VM inv eng 4 on hub 0
[ 15.837277] amdgpu 0000:38:00.0: ring 1(comp_1.0.0) uses VM inv eng 5 on hub
0
[ 15.844955] amdgpu 0000:38:00.0: ring 2(comp_1.1.0) uses VM inv eng 6 on hub
0
[ 15.844956] amdgpu 0000:38:00.0: ring 3(comp_1.2.0) uses VM inv eng 7 on hub
0
[ 15.844957] amdgpu 0000:38:00.0: ring 4(comp_1.3.0) uses VM inv eng 8 on hub
0
[ 15.844958] amdgpu 0000:38:00.0: ring 5(comp_1.0.1) uses VM inv eng 9 on hub
0
[ 15.844959] amdgpu 0000:38:00.0: ring 6(comp_1.1.1) uses VM inv eng 10 on
hub 0
[ 15.844960] amdgpu 0000:38:00.0: ring 7(comp_1.2.1) uses VM inv eng 11 on
hub 0
[ 15.844961] amdgpu 0000:38:00.0: ring 8(comp_1.3.1) uses VM inv eng 12 on
hub 0
[ 15.844962] amdgpu 0000:38:00.0: ring 9(kiq_2.1.0) uses VM inv eng 13 on hub
0
[ 15.844963] amdgpu 0000:38:00.0: ring 10(sdma0) uses VM inv eng 4 on hub 1
[ 15.844964] amdgpu 0000:38:00.0: ring 11(vcn_dec) uses VM inv eng 5 on hub 1
[ 15.844965] amdgpu 0000:38:00.0: ring 12(vcn_enc0) uses VM inv eng 6 on hub
1
[ 15.844966] amdgpu 0000:38:00.0: ring 13(vcn_enc1) uses VM inv eng 7 on hub
1
[ 15.844967] amdgpu 0000:38:00.0: ring 14(vcn_jpeg) uses VM inv eng 8 on hub
1
[ 15.855693] [drm] Initialized amdgpu 3.26.0 20150101 for 0000:38:00.0 on
minor 0
[ 15.951219] initcall amdgpu_init+0x0/0x86 [amdgpu] returned 0 after 954562
usecs
The trace is present in drm-tip (not in Linux master) and I reported it already
in <a class="bz_bug_link
bz_status_NEW "
title="NEW - WARNING: CPU: 0 PID: 370 at drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:1355 dcn_bw_update_from_pplib+0x16b/0x280 [amdgpu]"
href="show_bug.cgi?id=107296">bug 107296</a> [1].
[1]: <a class="bz_bug_link
bz_status_NEW "
title="NEW - WARNING: CPU: 0 PID: 370 at drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:1355 dcn_bw_update_from_pplib+0x16b/0x280 [amdgpu]"
href="show_bug.cgi?id=107296">https://bugs.freedesktop.org/show_bug.cgi?id=107296</a></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>