Bug 106402 - amdgpu causes kernel Oops: 0002 [#1] SMP PTI
Summary: amdgpu causes kernel Oops: 0002 [#1] SMP PTI
Status: RESOLVED DUPLICATE of bug 105760
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/AMDgpu (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-04 13:09 UTC by Tim Cuthbertson
Modified: 2018-05-21 20:11 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Full dmesg output after reboot (74.72 KB, text/plain)
2018-05-10 11:56 UTC, Tim Cuthbertson
no flags Details

Description Tim Cuthbertson 2018-05-04 13:09:08 UTC
This is a fully updated Fedora 28 system. It boots successfully and presents the Gnome login screen. When credentials are entered, this crash occurs. The crash can be worked around by booting with kernel parameter amdgpu.dpm=0.

May 04 07:11:14 tim-fedora-hp kernel: [drm:atom_op_jump [amdgpu]] *ERROR* atombios stuck in loop for more than 5secs aborting
May 04 07:11:14 tim-fedora-hp kernel: [drm:amdgpu_atom_execute_table_locked [amdgpu]] *ERROR* atombios stuck executing 770C (len 272, WS 0, PS 4) @ 0x7755
May 04 07:11:14 tim-fedora-hp kernel: [drm:amdgpu_atom_execute_table_locked [amdgpu]] *ERROR* atombios stuck executing 634E (len 79, WS 0, PS 8) @ 0x637D
May 04 07:11:14 tim-fedora-hp kernel: [drm:amdgpu_device_resume [amdgpu]] *ERROR* amdgpu asic init failed
May 04 07:11:14 tim-fedora-hp kernel: amdgpu 0000:01:00.0: Wait for MC idle timedout !
May 04 07:11:15 tim-fedora-hp kernel: amdgpu 0000:01:00.0: Wait for MC idle timedout !
May 04 07:11:15 tim-fedora-hp kernel: [drm] PCIE GART of 256M enabled (table at 0x000000F400040000).
May 04 07:11:15 tim-fedora-hp kernel: amdgpu: [powerplay] smu not running, upload firmware again 
May 04 07:11:15 tim-fedora-hp kernel: BUG: unable to handle kernel paging request at ffffb87c01dfcfec
May 04 07:11:15 tim-fedora-hp kernel: IP: smu7_populate_single_firmware_entry.isra.6+0x55/0xd0 [amdgpu]
May 04 07:11:15 tim-fedora-hp kernel: PGD 42f930067 P4D 42f930067 PUD 0 
May 04 07:11:15 tim-fedora-hp kernel: Oops: 0002 [#1] SMP PTI
May 04 07:11:15 tim-fedora-hp kernel: Modules linked in: ccm xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun nf_conntrack_netbios_ns nf_conntrack_broadcast xt_CT ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack devlink ip_set nfnetlink ebtable_nat ebtable_broute bridge stp llc ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security cmac iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c iptable_mangle iptable_raw iptable_security ebtable_filter ebtables ip6table_filter ip6_tables bnep sunrpc vfat fat btusb btrtl btbcm btintel bluetooth uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev media ecdh_generic arc4 snd_soc_skl snd_soc_skl_ipc snd_hda_ext_core snd_soc_sst_dsp intel_rapl snd_soc_sst_ipc
May 04 07:11:15 tim-fedora-hp kernel:  snd_soc_acpi iwlmvm x86_pkg_temp_thermal intel_powerclamp coretemp snd_soc_core snd_hda_codec_hdmi mac80211 iTCO_wdt iTCO_vendor_support snd_hda_codec_conexant snd_hda_codec_generic kvm hp_wmi sparse_keymap intel_wmi_thunderbolt snd_compress wmi_bmof snd_pcm_dmaengine ac97_bus snd_hda_intel iwlwifi snd_hda_codec irqbypass crct10dif_pclmul snd_hda_core crc32_pclmul snd_hwdep snd_seq ghash_clmulni_intel cfg80211 snd_seq_device intel_cstate snd_pcm intel_uncore intel_rapl_perf snd_timer snd joydev rtsx_pci_ms soundcore i2c_i801 memstick rfkill tpm_infineon mei_me shpchp mei intel_pch_thermal wmi tpm_tis tpm_tis_core hp_accel tpm lis3lv02d acpi_pad hp_wireless input_polldev btrfs amdkfd xor zstd_decompress zstd_compress amd_iommu_v2 xxhash amdgpu i915 rtsx_pci_sdmmc mmc_core chash gpu_sched
May 04 07:11:15 tim-fedora-hp kernel:  i2c_algo_bit drm_kms_helper raid6_pq ttm crc32c_intel drm serio_raw rtsx_pci r8169 mii video
May 04 07:11:15 tim-fedora-hp kernel: CPU: 0 PID: 801 Comm: systemd-logind Not tainted 4.16.5-300.fc28.x86_64 #1
May 04 07:11:15 tim-fedora-hp kernel: Hardware name: HP HP ProBook 450 G3/8101, BIOS N78 Ver. 01.24 01/29/2018
May 04 07:11:15 tim-fedora-hp kernel: RIP: 0010:smu7_populate_single_firmware_entry.isra.6+0x55/0xd0 [amdgpu]
May 04 07:11:15 tim-fedora-hp kernel: RSP: 0018:ffffb86002513970 EFLAGS: 00010246
May 04 07:11:15 tim-fedora-hp kernel: RAX: 000000000000007e RBX: ffffb87c01dfcfec RCX: 000000000053a000
May 04 07:11:15 tim-fedora-hp kernel: RDX: ffffffffc074ca83 RSI: 0000000000000000 RDI: ffff8e7b6df54260
May 04 07:11:15 tim-fedora-hp kernel: RBP: 0000000000000003 R08: 0000000000033930 R09: 000000000000042a
May 04 07:11:15 tim-fedora-hp kernel: R10: 0000000000000000 R11: 0000000000000001 R12: ffff8e7b64347010
May 04 07:11:15 tim-fedora-hp kernel: R13: ffff8e7b669e8000 R14: 00000000000005fe R15: ffff8e7b6dbed0a0
May 04 07:11:15 tim-fedora-hp kernel: FS:  00007f60935ea9c0(0000) GS:ffff8e7b80400000(0000) knlGS:0000000000000000
May 04 07:11:15 tim-fedora-hp kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 04 07:11:15 tim-fedora-hp kernel: CR2: ffffb87c01dfcfec CR3: 000000041afca001 CR4: 00000000003606f0
May 04 07:11:15 tim-fedora-hp kernel: Call Trace:
May 04 07:11:15 tim-fedora-hp kernel:  smu7_request_smu_load_fw+0x94/0x2f0 [amdgpu]
May 04 07:11:15 tim-fedora-hp kernel:  ? pp_resume+0x59/0xa0 [amdgpu]
May 04 07:11:15 tim-fedora-hp kernel:  ? amdgpu_device_ip_resume_phase2+0x51/0xb0 [amdgpu]
May 04 07:11:15 tim-fedora-hp kernel:  ? amdgpu_device_resume+0xc1/0x3b0 [amdgpu]
May 04 07:11:15 tim-fedora-hp kernel:  ? __pci_set_master+0x31/0xd0
May 04 07:11:15 tim-fedora-hp kernel:  ? vga_switcheroo_set_dynamic_switch+0x80/0x80
May 04 07:11:15 tim-fedora-hp kernel:  ? amdgpu_pmops_runtime_resume+0x6b/0xb0 [amdgpu]
May 04 07:11:15 tim-fedora-hp kernel:  ? pci_pm_runtime_resume+0x7a/0xa0
May 04 07:11:15 tim-fedora-hp kernel:  ? __rpm_callback+0xca/0x210
May 04 07:11:15 tim-fedora-hp kernel:  ? vga_switcheroo_set_dynamic_switch+0x80/0x80
May 04 07:11:15 tim-fedora-hp kernel:  ? rpm_callback+0x1f/0x70
May 04 07:11:15 tim-fedora-hp kernel:  ? vga_switcheroo_set_dynamic_switch+0x80/0x80
May 04 07:11:15 tim-fedora-hp kernel:  ? rpm_resume+0x560/0x780
May 04 07:11:15 tim-fedora-hp kernel:  ? cred_has_capability+0x69/0x110
May 04 07:11:15 tim-fedora-hp kernel:  ? __pm_runtime_resume+0x47/0x70
May 04 07:11:15 tim-fedora-hp kernel:  ? amdgpu_driver_open_kms+0x34/0x180 [amdgpu]
May 04 07:11:15 tim-fedora-hp kernel:  ? security_capable+0x47/0x60
May 04 07:11:15 tim-fedora-hp kernel:  ? drm_open+0x20a/0x470 [drm]
May 04 07:11:15 tim-fedora-hp kernel:  ? drm_stub_open+0xb6/0x100 [drm]
May 04 07:11:15 tim-fedora-hp kernel:  ? chrdev_open+0xa2/0x1c0
May 04 07:11:15 tim-fedora-hp kernel:  ? cdev_put.part.0+0x20/0x20
May 04 07:11:15 tim-fedora-hp kernel:  ? do_dentry_open+0x1ab/0x2d0
May 04 07:11:15 tim-fedora-hp kernel:  ? path_openat+0x41b/0x1560
May 04 07:11:15 tim-fedora-hp kernel:  ? terminate_walk+0xe4/0x100
May 04 07:11:15 tim-fedora-hp kernel:  ? seccomp_run_filters+0x58/0xb0
May 04 07:11:15 tim-fedora-hp kernel:  ? do_filp_open+0x93/0x100
May 04 07:11:15 tim-fedora-hp kernel:  ? _cond_resched+0x15/0x30
May 04 07:11:15 tim-fedora-hp kernel:  ? __check_object_size+0x9c/0x171
May 04 07:11:15 tim-fedora-hp kernel:  ? __alloc_fd+0x3d/0x140
May 04 07:11:15 tim-fedora-hp kernel:  ? do_sys_open+0x186/0x210
May 04 07:11:15 tim-fedora-hp kernel:  ? do_syscall_64+0x74/0x180
May 04 07:11:15 tim-fedora-hp kernel:  ? entry_SYSCALL_64_after_hwframe+0x3d/0xa2
May 04 07:11:15 tim-fedora-hp kernel: Code: 48 89 e7 48 89 e2 f3 48 ab 49 8b 3c 24 89 f0 0f b6 b0 e0 54 84 c0 48 8b 07 48 8b 40 70 e8 c4 2b 4a cb 85 c0 75 4d 0f b7 44 24 02 <66> 89 2b 48 c7 43 0c 00 00 00 00 66 89 43 02 48 8b 44 24 10 48 
May 04 07:11:15 tim-fedora-hp kernel: RIP: smu7_populate_single_firmware_entry.isra.6+0x55/0xd0 [amdgpu] RSP: ffffb86002513970
May 04 07:11:15 tim-fedora-hp kernel: CR2: ffffb87c01dfcfec
May 04 07:11:15 tim-fedora-hp kernel: ---[ end trace 5b8bce045fef46ea ]---
Comment 1 Alex Deucher 2018-05-08 21:14:35 UTC
Please attach your full dmesg output and xorg log if you are using X.
Comment 2 Tim Cuthbertson 2018-05-10 11:54:27 UTC
I am running Wayland, so no Xorg log.

I do not know how to get dmesg from a previous crashed session, so I am attaching dmesg from a session that was started with amdgpu.dpm=0. If this is not what you need, I will need help to find what you need. When the kernel OOPS occurs, the system is completely frozen, and I have to power off with the hardware power button to get back up.
Comment 3 Tim Cuthbertson 2018-05-10 11:56:05 UTC
Created attachment 139464 [details]
Full dmesg output after reboot
Comment 4 taijian 2018-05-21 20:05:06 UTC
to get a kernel log from a previous boot attempt, try something like:

  journalctl -kb -1 > error.log

where -1 would be the previous boot, -2 the one before that, etc.
Comment 5 taijian 2018-05-21 20:10:50 UTC
Also, this is a duplicate of Bug 105760 which is fixed in the current drm-next-4.18-wip.
Comment 6 taijian 2018-05-21 20:11:18 UTC

*** This bug has been marked as a duplicate of bug 105760 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.