Bug 2089380 - [abrt] radeon_bo_unref: WARNING: CPU: 4 PID: 1837 at drivers/gpu/drm/radeon/radeon_object.c:83 radeon_ttm_bo_destroy+0xde/0xf0 [radeon] [radeon]
Summary: [abrt] radeon_bo_unref: WARNING: CPU: 4 PID: 1837 at drivers/gpu/drm/radeon/r...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-ati
Version: 36
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:73190b992c9e1bcb78e10968046...
: 2104505 2109272 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-23 14:20 UTC by Nate Dudley
Modified: 2023-05-25 15:23 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-25 15:23:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: dmesg (127.92 KB, text/plain)
2022-05-23 14:21 UTC, Nate Dudley
no flags Details

Description Nate Dudley 2022-05-23 14:20:55 UTC
Description of problem:
This happens when I try to suspend my system.

Additional info:
reporter:       libreport-2.17.1
WARNING: CPU: 4 PID: 1837 at drivers/gpu/drm/radeon/radeon_object.c:83 radeon_ttm_bo_destroy+0xde/0xf0 [radeon]
Modules linked in: tls uinput rfcomm snd_seq_dummy snd_hrtimer nft_objref nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set nf_tables nfnetlink qrtr bnep sunrpc nls_utf8 hfsplus intel_rapl_msr intel_rapl_common snd_hda_codec_cirrus x86_pkg_temp_thermal snd_hda_codec_generic intel_powerclamp snd_hda_codec_hdmi coretemp ledtrig_audio mei_pxp snd_hda_intel kvm_intel snd_intel_dspcfg snd_intel_sdw_acpi iTCO_wdt intel_pmc_bxt joydev mei_hdcp snd_hda_codec iTCO_vendor_support btusb btrtl snd_hda_core brcmfmac kvm btbcm applesmc brcmutil btintel snd_hwdep btmtk snd_seq irqbypass bluetooth rapl cfg80211 snd_seq_device intel_cstate snd_pcm intel_uncore ecdh_generic bcm5974 snd_timer apple_mfi_fastcharge mmc_core pcspkr mei_me snd thunderbolt i2c_i801 lpc_ich intel_pch_thermal i2c_smbus mei rfkill acpi_als
 soundcore sbs industrialio_triggered_buffer kfifo_buf apple_gmux sbshc industrialio apple_bl zram amdgpu iommu_v2 gpu_sched radeon crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel uas usb_storage drm_ttm_helper hid_apple ttm video ip6_tables ip_tables ipmi_devintf ipmi_msghandler fuse
CPU: 4 PID: 1837 Comm: gnome-shell Not tainted 5.17.7-300.fc36.x86_64 #1
Hardware name: Apple Inc. MacBookPro11,5/Mac-06F11F11946D27C5, BIOS 428.40.10.0.0 09/25/2021
RIP: 0010:radeon_ttm_bo_destroy+0xde/0xf0 [radeon]
Code: 00 00 00 74 0f 48 8b b3 b0 01 00 00 48 89 df e8 f8 41 65 ea 48 89 df e8 20 50 64 ea 4c 89 e7 5b 5d 41 5c 41 5d e9 d2 07 10 ea <0f> 0b eb cd 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 0f 1f 44 00
RSP: 0018:ffffb137413afd08 EFLAGS: 00010202
RAX: ffff9d4cc3635e70 RBX: ffff9d4cc3635c78 RCX: ffff9d4cc117b800
RDX: ffff9d4d6d8da480 RSI: ffff9d4cc3635c00 RDI: ffff9d4cc0dbdcb8
RBP: ffffffffffffffff R08: 0000000000000000 R09: 000000008020001f
R10: ffff9d4cddd90800 R11: 0000000000000000 R12: ffff9d4cc3635c00
R13: ffff9d4d12de1e58 R14: ffff9d4d12de1e40 R15: 00000000000000ad
FS:  00007f56019035c0(0000) GS:ffff9d503f300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000564a78415930 CR3: 000000011e8be002 CR4: 00000000001706e0
Call Trace:
 <TASK>
 radeon_bo_unref+0x1a/0x30 [radeon]
 radeon_gem_object_free+0x20/0x30 [radeon]
 drm_gem_object_release_handle+0x69/0x80
 ? drm_gem_handle_create+0x40/0x40
 drm_gem_handle_delete+0x59/0xa0
 ? drm_gem_handle_create+0x40/0x40
 drm_ioctl_kernel+0x9e/0x140
 drm_ioctl+0x21c/0x410
 ? drm_gem_handle_create+0x40/0x40
 ? ioctl_has_perm.constprop.0.isra.0+0xaa/0xf0
 ? xen_cpuhp_setup+0x19/0x70
 radeon_drm_ioctl+0x49/0x80 [radeon]
 __x64_sys_ioctl+0x8d/0xc0
 do_syscall_64+0x3a/0x80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f5606f08b0f
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 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24 18 64 48 2b 04 25 28 00 00
RSP: 002b:00007ffcd09510a0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 000055f0177ed720 RCX: 00007f5606f08b0f
RDX: 00007ffcd0951148 RSI: 0000000040086409 RDI: 000000000000000d
RBP: 00007ffcd0951148 R08: 0000000000000007 R09: 0000000000000001
R10: 000055f014ab6010 R11: 0000000000000246 R12: 0000000040086409
R13: 000000000000000d R14: 0000000110fb6000 R15: 000055f014c3f960
 </TASK>

Potential duplicate: bug 1998628

Comment 1 Nate Dudley 2022-05-23 14:21:00 UTC
Created attachment 1882425 [details]
File: dmesg

Comment 2 Garrett Mitchener 2022-07-01 21:12:57 UTC
I'm seeing something similar.

In my case, it happens after I suspend the machine, then resume.
Things function normally for a moment, then both screens go blank, enter power-save mode, wake back up, and show noise with a square that moves with the mouse.
No response to keyboard, though.
Not sure, but it seems like clicking on something in firefox triggers the actual lock-up.

kernel 5.18.7-200.fc36.x86_64, xorg-x11-drv-ati-19.1.0-7.fc36.x86_64

lspci shows these video devices:

00:02.0 VGA compatible controller: Intel Corporation HD Graphics P530 (rev 06)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Oland GL [FirePro W2100]

abrt shows this kernel command line:

BOOT_IMAGE=(hd6,gpt2)/vmlinuz-5.18.7-200.fc36.x86_64 root=/dev/mapper/fedora-root ro resume=/dev/mapper/fedora-swap rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap nopti spectre_v2=off

and this reason:

WARNING: CPU: 4 PID: 2592 at drivers/gpu/drm/radeon/radeon_object.c:62 radeon_ttm_bo_destroy+0xde/0xf0 [radeon] [radeon]

and this backtrace:

WARNING: CPU: 4 PID: 2592 at drivers/gpu/drm/radeon/radeon_object.c:62 radeon_ttm_bo_destroy+0xde/0xf0 [radeon]
Modules linked in: cdc_acm tls tun ntfs3 rfcomm snd_seq_dummy snd_hrtimer xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT bridge stp llc xt_comment nf_nat_tftp nf_conntrack_netbios_ns nf_conntrack_broadcast nft_objref nf_conntrack_tftp nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nf_log_syslog nft_log nft_ct nft_chain_nat nf_tables ebtable_nat ebtable_broute ip6table_nat ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_raw iptable_security vboxnetadp(OE) vboxnetflt(OE) ip_set nfnetlink ebtable_filter ebtables vboxdrv(OE) ip6table_filter iptable_filter qrtr bnep sunrpc binfmt_misc vfat fat squashfs loop intel_rapl_msr mei_pxp mei_wdt mei_hdcp iTCO_wdt ee1004 intel_pmc_bxt iTCO_vendor_support btusb dell_smm_hwmon btrtl btbcm btintel uvcvideo btmtk videobuf2_vmalloc videobuf2_memops bluetooth videobuf2_v4l2 intel_rapl_common
 snd_usb_audio videobuf2_common snd_usbmidi_lib videodev snd_hda_codec_realtek snd_rawmidi ecdh_generic intel_tcc_cooling rfkill mc x86_pkg_temp_thermal snd_hda_codec_generic snd_hda_codec_hdmi intel_powerclamp coretemp kvm_intel snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi pktcdvd snd_hda_codec kvm snd_hda_core dell_wmi irqbypass snd_hwdep ledtrig_audio rapl snd_seq intel_cstate snd_seq_device dell_smbios intel_uncore snd_pcm dcdbas intel_wmi_thunderbolt sparse_keymap wmi_bmof snd_timer dell_wmi_descriptor pcspkr mei_me snd i2c_i801 mei intel_pch_thermal i2c_smbus ie31200_edac soundcore acpi_pad zram amdgpu hid_logitech_hidpp iommu_v2 gpu_sched hid_logitech_dj wacom hid_multitouch ums_realtek i915 crct10dif_pclmul crc32_pclmul crc32c_intel radeon firewire_ohci ghash_clmulni_intel e1000e serio_raw firewire_core crc_itu_t drm_ttm_helper drm_buddy uas ttm usb_storage drm_dp_helper wmi video ip6_tables ip_tables analog gameport joydev ipmi_devintf ipmi_msghandler fuse
CPU: 4 PID: 2592 Comm: Xorg Tainted: G           OE     5.18.7-200.fc36.x86_64 #1
Hardware name: Dell Inc. Precision Tower 3620/09WH54, BIOS 2.18.1 07/09/2021
RIP: 0010:radeon_ttm_bo_destroy+0xde/0xf0 [radeon]
Code: 00 00 00 74 0f 48 8b b3 b0 01 00 00 48 89 df e8 c8 ee 25 fc 48 89 df e8 70 f9 24 fc 4c 89 e7 5b 5d 41 5c 41 5d e9 32 da cf fb <0f> 0b eb cd 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 0f 1f 44 00
RSP: 0018:ffffb27f83af7ce8 EFLAGS: 00010283
RAX: ffff94bccd196270 RBX: ffff94bccd196078 RCX: ffff94bbaa3a8800
RDX: ffff94bacecf8480 RSI: ffff94bccd196000 RDI: ffff94bdfc1c1cc8
RBP: ffffffffffffffff R08: 0000000000000000 R09: 000000008020001f
R10: ffff94bc9fe76ba8 R11: ffffb27f83af7d20 R12: ffff94bccd196000
R13: ffff94baea98c058 R14: ffff94baea98c040 R15: 000000000000008f
FS:  00007f06bb428fc0(0000) GS:ffff94bdea500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000011109f109fb8 CR3: 000000043c2f0005 CR4: 00000000003706e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 radeon_bo_unref+0x1a/0x30 [radeon]
 radeon_gem_object_free+0x20/0x30 [radeon]
 drm_gem_object_release_handle+0x69/0x80
 ? drm_gem_handle_create+0x40/0x40
 drm_gem_handle_delete+0x59/0xa0
 ? drm_gem_handle_create+0x40/0x40
 drm_ioctl_kernel+0x9b/0x140
 drm_ioctl+0x21c/0x410
 ? drm_gem_handle_create+0x40/0x40
 ? ioctl_has_perm.constprop.0.isra.0+0xaa/0xf0
 radeon_drm_ioctl+0x49/0x80 [radeon]
 __x64_sys_ioctl+0x8a/0xc0
 do_syscall_64+0x58/0x80
 ? do_syscall_64+0x67/0x80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f06bab0776f
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 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24 18 64 48 2b 04 25 28 00 00
RSP: 002b:00007ffc5f62de60 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00005638ec7693b0 RCX: 00007f06bab0776f
RDX: 00007ffc5f62df08 RSI: 0000000040086409 RDI: 0000000000000011
RBP: 00007ffc5f62df08 R08: 00007f06babf8410 R09: 00005638eb3e0780
R10: 0000000000000011 R11: 0000000000000246 R12: 0000000040086409
R13: 0000000000000011 R14: 000000011a360000 R15: 00005638ed66afe0
 </TASK>

Possibly related:

https://bugzilla.redhat.com/show_bug.cgi?id=2022980

https://bugzilla.redhat.com/show_bug.cgi?id=2091306

https://ask.fedoraproject.org/t/where-to-report-amd-gpu-lockups-crasher-hangs-bugs-related-to-seemingly-triggered-by-firefox-va-api-after-resuming-from-suspend

Comment 3 Eugene Kanter 2022-07-06 13:45:26 UTC
*** Bug 2104505 has been marked as a duplicate of this bug. ***

Comment 4 Colin Barker 2022-07-20 20:20:44 UTC
*** Bug 2109272 has been marked as a duplicate of this bug. ***

Comment 5 Eugene Kanter 2022-08-18 01:59:08 UTC
In my case no relation to suspend. It is semi-reliably reproducible when I use Firefox to play videos from a particular video hosting. Youtube seems not affected though.

Comment 6 Eugene Kanter 2023-03-14 20:01:39 UTC
Here is another lengthy discussion, GPU lockup, ring N stalled https://gitlab.freedesktop.org/drm/amd/-/issues/2252

Comment 7 Ben Cotton 2023-04-25 17:13:48 UTC
This message is a reminder that Fedora Linux 36 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '36'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 36 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 8 Ludek Smid 2023-05-25 15:23:26 UTC
Fedora Linux 36 entered end-of-life (EOL) status on 2023-05-16.

Fedora Linux 36 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.