[linux52] RIP: 0010:dc_stream_log+0x6/0xb0 [amdgpu]

Hey,
Not sure where to best report this. Hopefully someone can forward it to the right place.

What happened was that the screen suddenly froze. The video playing in mpv stopped but the game that was running still played its audio.

Kernel version: 5.2.4-1-MANJARO
GPU (since the call trace mentiones amdgpu): AMD R9 390

After a hard reset and reboot this was in the logs:

Aug 09 03:59:47 LaughingMan kernel: BUG: kernel NULL pointer dereference, address: 00000000000002b4
Aug 09 03:59:47 LaughingMan kernel: #PF: supervisor read access in kernel mode
Aug 09 03:59:47 LaughingMan kernel: #PF: error_code(0x0000) - not-present page
Aug 09 03:59:47 LaughingMan kernel: PGD 0 P4D 0 
Aug 09 03:59:47 LaughingMan kernel: Oops: 0000 [#1] PREEMPT SMP PTI
Aug 09 03:59:47 LaughingMan kernel: CPU: 3 PID: 22599 Comm: kworker/u8:3 Tainted: G           OE     5.2.4-1-MANJARO #1
Aug 09 03:59:47 LaughingMan kernel: Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H77 Pro4/MVP, BIOS P1.30 05/10/2012
Aug 09 03:59:47 LaughingMan kernel: Workqueue: events_unbound commit_work [drm_kms_helper]
Aug 09 03:59:47 LaughingMan kernel: RIP: 0010:dc_stream_log+0x6/0xb0 [amdgpu]
Aug 09 03:59:47 LaughingMan kernel: Code: 04 00 00 49 8b bc 02 80 02 00 00 48 8b 07 48 8b 40 50 e8 5d be 00 e9 b8 01 00 00 00 c3 0f 1f 80 00 00 00 00 0f 1f 44 00 00 53 <8b> 86 b4 02 00 00 48 89 f3 48 89 f2 8b 8e 10 01 00 00 bf 04 00 00
Aug 09 03:59:47 LaughingMan kernel: RSP: 0018:ffffa1318b2cfaf0 EFLAGS: 00010202
Aug 09 03:59:47 LaughingMan kernel: RAX: 0000000000000000 RBX: ffff93fed9c4b000 RCX: 0000000000000002
Aug 09 03:59:47 LaughingMan kernel: RDX: ffffffffc107f710 RSI: 0000000000000000 RDI: ffff93fed9c4b000
Aug 09 03:59:47 LaughingMan kernel: RBP: ffff93fac83d0000 R08: ffff93fac83d0000 R09: 0000000000000000
Aug 09 03:59:47 LaughingMan kernel: R10: ffff93fac83d0000 R11: 0000000000000000 R12: 0000000000000001
Aug 09 03:59:47 LaughingMan kernel: R13: ffffa1318b2cfd58 R14: ffff93fece54cff0 R15: 0000000000000000
Aug 09 03:59:47 LaughingMan kernel: FS:  0000000000000000(0000) GS:ffff93fedf180000(0000) knlGS:0000000000000000
Aug 09 03:59:47 LaughingMan kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 09 03:59:47 LaughingMan kernel: CR2: 00000000000002b4 CR3: 000000036020a004 CR4: 00000000001606e0
Aug 09 03:59:47 LaughingMan kernel: Call Trace:
Aug 09 03:59:47 LaughingMan kernel:  dc_commit_state+0x9a/0x5a0 [amdgpu]
Aug 09 03:59:47 LaughingMan kernel:  amdgpu_dm_atomic_commit_tail+0xc5d/0x19a0 [amdgpu]
Aug 09 03:59:47 LaughingMan kernel:  ? check_preempt_curr+0x75/0x90
Aug 09 03:59:47 LaughingMan kernel:  ? ttwu_do_wakeup.isra.0+0x19/0x160
Aug 09 03:59:47 LaughingMan kernel:  ? try_to_wake_up+0x267/0x630
Aug 09 03:59:47 LaughingMan kernel:  ? cpuacct_charge+0x56/0x80
Aug 09 03:59:47 LaughingMan kernel:  ? update_curr+0x108/0x1f0
Aug 09 03:59:47 LaughingMan kernel:  ? __switch_to_asm+0x40/0x70
Aug 09 03:59:47 LaughingMan kernel:  ? __switch_to_asm+0x34/0x70
Aug 09 03:59:47 LaughingMan kernel:  ? __switch_to_asm+0x40/0x70
Aug 09 03:59:47 LaughingMan kernel:  ? __switch_to_asm+0x34/0x70
Aug 09 03:59:47 LaughingMan kernel:  ? __switch_to_asm+0x40/0x70
Aug 09 03:59:47 LaughingMan kernel:  ? __switch_to_asm+0x34/0x70
Aug 09 03:59:47 LaughingMan kernel:  ? __switch_to_asm+0x40/0x70
Aug 09 03:59:47 LaughingMan kernel:  ? __switch_to_asm+0x34/0x70
Aug 09 03:59:47 LaughingMan kernel:  ? __switch_to_asm+0x40/0x70
Aug 09 03:59:47 LaughingMan kernel:  ? _raw_spin_unlock_irq+0x1d/0x30
Aug 09 03:59:47 LaughingMan kernel:  ? finish_task_switch+0x84/0x2d0
Aug 09 03:59:47 LaughingMan kernel:  ? commit_tail+0x3c/0x70 [drm_kms_helper]
Aug 09 03:59:47 LaughingMan kernel:  commit_tail+0x3c/0x70 [drm_kms_helper]
Aug 09 03:59:47 LaughingMan kernel:  process_one_work+0x1d1/0x3e0
Aug 09 03:59:47 LaughingMan kernel:  worker_thread+0x4a/0x3d0
Aug 09 03:59:47 LaughingMan kernel:  kthread+0xfb/0x130
Aug 09 03:59:47 LaughingMan kernel:  ? process_one_work+0x3e0/0x3e0
Aug 09 03:59:47 LaughingMan kernel:  ? kthread_park+0x80/0x80
Aug 09 03:59:47 LaughingMan kernel:  ret_from_fork+0x35/0x40
Aug 09 03:59:47 LaughingMan kernel: Modules linked in: snd_seq_dummy snd_seq snd_seq_device uas usb_storage tun fuse snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio nct6775 hwmon_vid amdgpu input_leds mousedev joydev i915 amd_iommu_v2 gpu_sched radeon intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel ttm i2c_algo_bit kvm mei_hdcp iTCO_wdt iTCO_vendor_support snd_hda_codec_hdmi drm_kms_helper snd_hda_intel snd_hda_codec drm irqbypass r8169 intel_cstate intel_uncore snd_hda_core intel_rapl_perf snd_hwdep realtek snd_pcm libphy snd_timer mei_me intel_gtt lpc_ich i2c_i801 pcspkr snd mei agpgart syscopyarea sysfillrect sysimgblt fb_sys_fops soundcore ie31200_edac evdev mac_hid pcc_cpufreq intel_smartconnect uinput vboxpci(OE) vboxnetflt(OE) vboxnetadp(OE) vboxdrv(OE) crypto_user ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 algif_skcipher af_alg dm_crypt dm_mod hid_generic sr_mod cdrom sd_mod usbhid hid crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel
Aug 09 03:59:47 LaughingMan kernel:  aes_x86_64 crypto_simd ahci cryptd glue_helper libahci libata xhci_pci scsi_mod xhci_hcd ehci_pci ehci_hcd
Aug 09 03:59:47 LaughingMan kernel: CR2: 00000000000002b4
Aug 09 03:59:47 LaughingMan kernel: ---[ end trace d992a00b0ec9408e ]---
Aug 09 03:59:47 LaughingMan kernel: RIP: 0010:dc_stream_log+0x6/0xb0 [amdgpu]
Aug 09 03:59:47 LaughingMan kernel: Code: 04 00 00 49 8b bc 02 80 02 00 00 48 8b 07 48 8b 40 50 e8 5d be 00 e9 b8 01 00 00 00 c3 0f 1f 80 00 00 00 00 0f 1f 44 00 00 53 <8b> 86 b4 02 00 00 48 89 f3 48 89 f2 8b 8e 10 01 00 00 bf 04 00 00
Aug 09 03:59:47 LaughingMan kernel: RSP: 0018:ffffa1318b2cfaf0 EFLAGS: 00010202
Aug 09 03:59:47 LaughingMan kernel: RAX: 0000000000000000 RBX: ffff93fed9c4b000 RCX: 0000000000000002
Aug 09 03:59:47 LaughingMan kernel: RDX: ffffffffc107f710 RSI: 0000000000000000 RDI: ffff93fed9c4b000
Aug 09 03:59:47 LaughingMan kernel: RBP: ffff93fac83d0000 R08: ffff93fac83d0000 R09: 0000000000000000
Aug 09 03:59:47 LaughingMan kernel: R10: ffff93fac83d0000 R11: 0000000000000000 R12: 0000000000000001
Aug 09 03:59:47 LaughingMan kernel: R13: ffffa1318b2cfd58 R14: ffff93fece54cff0 R15: 0000000000000000
Aug 09 03:59:47 LaughingMan kernel: FS:  0000000000000000(0000) GS:ffff93fedf180000(0000) knlGS:0000000000000000
Aug 09 03:59:47 LaughingMan kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 09 03:59:47 LaughingMan kernel: CR2: 00000000000002b4 CR3: 000000036020a004 CR4: 00000000001606e0

UPSTREAM :point_right: https://bugzilla.kernel.org/show_bug.cgi?id=204181

WORKAROUND ?

vr00m 2019-08-07 17:43:34 UTC
I experienced issues after upgrading kernel from 5.1 to 5.2 on my notebook with 2500 U. I tried kernel boot param iommu=soft and that fixed it.

Ah, good to see there's already a bug report. So far it only happened one time. I'll try the workaround once I have an idea how often this bug triggers.

This topic was automatically closed after 180 days. New replies are no longer allowed.

Forum kindly sponsored by