[Bug 216143] [bisected] garbled screen when starting X + dmesg cluttered with "[drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed in the dependencies handling -1431655766!"

bugzilla-daemon at kernel.org bugzilla-daemon at kernel.org
Mon Aug 15 14:09:33 UTC 2022


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

--- Comment #10 from Erhard F. (erhard_f at mailbox.org) ---
Created attachment 301573
  --> https://bugzilla.kernel.org/attachment.cgi?id=301573&action=edit
kernel dmesg (kernel 6.0-rc1, AMD Ryzen 9 5950X)

No change with v6-0-rc1.
[...]
[drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed in the dependencies handling
-1431655766!
[drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed in the dependencies handling
-1431655766!
[drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed in the dependencies handling -22!
[drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed in the dependencies handling
-1431655766!
[...]

Additionally I get:
[...]
------------[ cut here ]------------
refcount_t: underflow; use-after-free.
WARNING: CPU: 7 PID: 2120 at lib/refcount.c:28 refcount_warn_saturate+0x93/0xf0
Modules linked in: rfkill dm_crypt nhpoly1305_avx2 nhpoly1305 aes_generic
aesni_intel libaes crypto_simd cryptd chacha_generic chacha_x86_64 libchacha
adiantum libpoly1305 algif_skcipher joydev input_leds hid_generic usbhid hid
ext4 mbcache crc16 jbd2 sr_mod amdgpu cdrom snd_hda_codec_realtek
snd_hda_codec_generic ledtrig_audio dm_mod led_class mfd_core
snd_hda_codec_hdmi drm_buddy r8169 gpu_sched evdev wmi_bmof drm_ttm_helper
snd_hda_intel ttm snd_intel_dspcfg realtek i2c_algo_bit snd_hda_codec
drm_display_helper snd_hwdep mdio_devres drm_kms_helper snd_hda_core sysimgblt
syscopyarea snd_pcm sysfillrect libphy fb_sys_fops xhci_pci snd_timer ahci
xhci_hcd snd libahci soundcore usbcore libata k10temp usb_common i2c_piix4
gpio_amdpt gpio_generic button pkcs8_key_parser nct6775 hwmon_vid nct6775_core
wmi hwmon zram zsmalloc amd_pstate drm fuse drm_panel_orientation_quirks
backlight configfs efivarfs
CPU: 7 PID: 2120 Comm: X:cs0 Not tainted 6.0.0-rc1-Zen3 #1
Hardware name: To Be Filled By O.E.M. B450M Steel Legend/B450M Steel Legend,
BIOS P4.30 02/25/2022
RIP: 0010:refcount_warn_saturate+0x93/0xf0
Code: c7 c7 6d 4b e9 b2 e8 cc 13 bf ff 0f 0b c3 80 3d 5b fe da 00 00 75 af c6
05 52 fe da 00 01 48 c7 c7 ad 45 ea b2 e8 ad 13 bf ff <0f> 0b c3 80 3d 39 fe da
00 00 75 90 c6 05 30 fe da 00 01 48 c7 c7
RSP: 0018:ffffbc8ac1b7fb38 EFLAGS: 00010246
RAX: d8250f016f21c100 RBX: 0000000000000038 RCX: 0000000000000027
RDX: 00000000ffffbfff RSI: 0000000000000004 RDI: ffffa0db5ebd71c8
RBP: 0000000000000003 R08: 0000000000000000 R09: ffffa0db5e8a0000
R10: 0000000000000419 R11: 0000000000000000 R12: 00000000aaaaaaaa
R13: ffffa0d4f3e20000 R14: ffffa0d5a62ccc00 R15: 0000000000000003
FS:  00007f879006c640(0000) GS:ffffa0db5ebc0000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000563c67cfb000 CR3: 00000002c3938000 CR4: 0000000000350ee0
Call Trace:
 <TASK>
 amdgpu_cs_ioctl+0x498/0xdd0 [amdgpu]
 ? amdgpu_cs_report_moved_bytes+0x60/0x60 [amdgpu]
 drm_ioctl_kernel+0xdb/0x150 [drm]
 drm_ioctl+0x301/0x440 [drm]
 ? amdgpu_cs_report_moved_bytes+0x60/0x60 [amdgpu]
 amdgpu_drm_ioctl+0x42/0x80 [amdgpu]
 __se_sys_ioctl+0x72/0xc0
 do_syscall_64+0x6a/0x90
 ? do_user_addr_fault+0x2da/0x410
 ? exc_page_fault+0x5f/0x90
 entry_SYSCALL_64_after_hwframe+0x4b/0xb5
RIP: 0033:0x7f879b42496b
Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24
08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <41> 89 c0 3d 00 f0 ff ff
77 1b 48 8b 44 24 18 64 48 2b 04 25 28 00
RSP: 002b:00007f879006b590 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00000000c0186444 RCX: 00007f879b42496b
RDX: 00007f879006b8a8 RSI: 00000000c0186444 RDI: 000000000000000d
RBP: 00007f879006b8e0 R08: 00007f879006b970 R09: 0000000000000003
R10: 0000560b4e0cdc40 R11: 0000000000000246 R12: 000000000000000d
R13: 0000560b4e175968 R14: 0000000000000000 R15: 00007f879006b8a8
 </TASK>
---[ end trace 0000000000000000 ]---

-- 
You may reply to this email to add a comment.

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


More information about the dri-devel mailing list