[Bug 201285] New: Kernel oops in amdgpu with Ryzen5 2400G

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Sat Sep 29 20:17:49 UTC 2018


https://bugzilla.kernel.org/show_bug.cgi?id=201285

            Bug ID: 201285
           Summary: Kernel oops in amdgpu with Ryzen5 2400G
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.19-rc5
          Hardware: Intel
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri at kernel-bugs.osdl.org
          Reporter: phil at kantaka.co.uk
        Regression: No

I'm seeing this oops on every boot, consistently ever since this hardware
started consistently coming up at all.

Hardware is;

Gigabyte AB350N-Gaming WIFI/AB350N-Gaming WIFI-CF, BIOS F23.
8Gb RAM
Ryzen 5 2400G Vega.
Kernel 4.19-rc5 (but this oops has been there ever since the hardware started
working consistently somewhere in the early 4.19-rc releases.)

Display is Dell U2518D 25" 2560x1440 connected via Displayport.

[    3.096828] amdgpu: [powerplay] dpm has been enabled
[    3.096900] [drm] DM_PPLIB: values for Invalid clock
[    3.096900] [drm] DM_PPLIB:   0 in kHz
[    3.096901] [drm] DM_PPLIB:   0 in kHz
[    3.096901] [drm] DM_PPLIB:   0 in kHz
[    3.096901] [drm] DM_PPLIB:   1333000 in kHz
[    3.096977] WARNING: CPU: 0 PID: 316 at
drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:1372
dcn_bw_update_from_pplib+0x16b/0x280 [amdgpu]
[    3.096977] Modules linked in: usbhid(+) hid arc4 binfmt_misc nls_ascii
nls_cp437 vfat fat edac_mce_amd kvm_amd ccp rng_core iwlmvm kvm irqbypass btusb
mac80211 crct10dif_pclmul amdkfd btrtl crc32_pclmul btbcm btintel
ghash_clmulni_intel pcbc iwlwifi snd_hda_codec_realtek bluetooth efi_pstore
snd_hda_codec_generic amdgpu(+) snd_hda_codec_hdmi jitterentropy_rng chash
snd_hda_intel gpu_sched ttm snd_hda_codec drbg wmi_bmof snd_hda_core ansi_cprng
aesni_intel drm_kms_helper aes_x86_64 evdev snd_hwdep ecdh_generic cfg80211
crypto_simd drm cryptd rfkill glue_helper pcspkr efivars k10temp sg
i2c_algo_bit snd_pcm snd_timer snd soundcore sp5100_tco wmi pcc_cpufreq video
button acpi_cpufreq efivarfs ip_tables x_tables autofs4 ext4 crc32c_generic
crc16 mbcache jbd2 fscrypto sd_mod ahci xhci_pci libahci r8169
[    3.097005]  xhci_hcd crc32c_intel libata i2c_piix4 libphy usbcore scsi_mod
gpio_amdpt gpio_generic
[    3.097010] CPU: 0 PID: 316 Comm: systemd-udevd Not tainted 4.19.0-rc5 #16
[    3.097011] Hardware name: Gigabyte Technology Co., Ltd. AB350N-Gaming
WIFI/AB350N-Gaming WIFI-CF, BIOS F23 08/08/2018
[    3.097059] RIP: 0010:dcn_bw_update_from_pplib+0x16b/0x280 [amdgpu]
[    3.097060] Code: d8 ca d8 f1 d9 5a 50 8b 44 fc 14 49 8b 94 24 78 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 83 55 fe ff 84 c0 0f 84
[    3.097061] RSP: 0018:ffffa7588144f7b8 EFLAGS: 00010246
[    3.097062] RAX: 0000000000000001 RBX: ffffa7588144f818 RCX:
0000000000000000
[    3.097062] RDX: 0000000000000000 RSI: 0000000000000004 RDI:
ffff8f70d7a166a0
[    3.097063] RBP: ffff8f70d1af5000 R08: 00000000000004d3 R09:
0000000000000004
[    3.097063] R10: 0000000000000000 R11: 0000000000000001 R12:
ffff8f70d18f1000
[    3.097064] R13: ffff8f70cf471920 R14: ffff8f70d18f1000 R15:
0000000000000000
[    3.097065] FS:  00007f38d41ef8c0(0000) GS:ffff8f70d7a00000(0000)
knlGS:0000000000000000
[    3.097066] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    3.097066] CR2: 00007fd9234ecfe0 CR3: 000000021450a000 CR4:
00000000003406f0
[    3.097067] Call Trace:
[    3.097073]  ? _cond_resched+0x15/0x30
[    3.097138]  dcn10_create_resource_pool+0x781/0x9d0 [amdgpu]
[    3.097191]  ? dal_aux_engine_dce110_create+0x39/0x70 [amdgpu]
[    3.097236]  dc_create_resource_pool+0x42/0x180 [amdgpu]
[    3.097237]  ? _cond_resched+0x15/0x30
[    3.097240]  ? __kmalloc+0x177/0x210
[    3.097290]  ? dal_gpio_service_create+0x8f/0x110 [amdgpu]
[    3.097348]  dc_create+0x20f/0x620 [amdgpu]
[    3.097416]  dm_hw_init+0xc8/0x130 [amdgpu]
[    3.097483]  amdgpu_device_init.cold.28+0x10ea/0x1295 [amdgpu]
[    3.097573]  amdgpu_driver_load_kms+0x86/0x2c0 [amdgpu]
[    3.097584]  drm_dev_register+0x109/0x140 [drm]
[    3.097649]  amdgpu_pci_probe+0x13c/0x1c0 [amdgpu]
[    3.097652]  local_pci_probe+0x41/0x90
[    3.097655]  pci_device_probe+0x189/0x1a0
[    3.097657]  really_probe+0x235/0x3a0
[    3.097659]  driver_probe_device+0xb3/0xf0
[    3.097660]  __driver_attach+0xdd/0x110
[    3.097662]  ? driver_probe_device+0xf0/0xf0
[    3.097663]  bus_for_each_dev+0x76/0xc0
[    3.097665]  ? klist_add_tail+0x3b/0x70
[    3.097666]  bus_add_driver+0x152/0x230
[    3.097668]  ? 0xffffffffc0e3b000
[    3.097669]  driver_register+0x6b/0xb0
[    3.097670]  ? 0xffffffffc0e3b000
[    3.097672]  do_one_initcall+0x46/0x1c3
[    3.097674]  ? _cond_resched+0x15/0x30
[    3.097677]  ? kmem_cache_alloc_trace+0x155/0x1d0
[    3.097691]  do_init_module+0x5a/0x210
[    3.097705]  load_module+0x20b1/0x22c0
[    3.097708]  ? __do_sys_finit_module+0xa8/0x110
[    3.097709]  __do_sys_finit_module+0xa8/0x110
[    3.097711]  do_syscall_64+0x55/0xe0
[    3.097713]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[    3.097714] RIP: 0033:0x7f38d4e51a79
[    3.097716] 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
[    3.097717] RSP: 002b:00007ffdc62527b8 EFLAGS: 00000246 ORIG_RAX:
0000000000000139
[    3.097719] RAX: ffffffffffffffda RBX: 0000562eaf698600 RCX:
00007f38d4e51a79
[    3.097719] RDX: 0000000000000000 RSI: 00007f38d4b590ed RDI:
0000000000000014
[    3.097720] RBP: 00007f38d4b590ed R08: 0000000000000000 R09:
0000000000000000
[    3.097720] R10: 0000000000000014 R11: 0000000000000246 R12:
0000000000000000
[    3.097721] R13: 0000562eaf6d1450 R14: 0000000000020000 R15:
0000562eaf698600
[    3.097722] ---[ end trace 0b370350fb262101 ]---
[    3.097883] [drm] DM_PPLIB: values for Invalid clock
[    3.097884] [drm] DM_PPLIB:   300000 in kHz
[    3.097884] [drm] DM_PPLIB:   600000 in kHz
[    3.097884] [drm] DM_PPLIB:   626000 in kHz
[    3.097885] [drm] DM_PPLIB:   654000 in kHz
[    3.098234] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector
ObjectID from Adapter Service for connector index:1! type 0 expected 3
[    3.098284] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector
ObjectID from Adapter Service for connector index:2! type 0 expected 3
[    3.106418] [drm] Display Core initialized with v3.1.59!
[    3.134934] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.134935] [drm] Driver supports precise vblank timestamp query.

Happy to test any patches etc.

Kernel is compiled with:

CONFIG_DRM_AMDGPU=m
CONFIG_DRM_AMDGPU_SI=y
CONFIG_DRM_AMDGPU_CIK=y
CONFIG_DRM_AMDGPU_USERPTR=y
# CONFIG_DRM_AMDGPU_GART_DEBUGFS is not set
CONFIG_DRM_AMD_ACP=y
CONFIG_DRM_AMD_DC=y
CONFIG_DRM_AMD_DC_DCN1_0=y

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the dri-devel mailing list